/* PlayTab Big Picture
   Dessiné pour 1920×1080 : 1rem = 16 px de maquette (la taille de base suit l'écran, voir bigpicture.js).
   Même direction artistique que le site : noir et vert, le vert est réservé à ce qui lance un jeu et au focus. */
:root {
  --bg: #090b0a; --bg-raise: #0f1311; --card: #141a17; --card-2: #1b221e; --line: #222b26; --line-2: #2c3832;
  --fg: #ecf2ee; --fg-2: #c9d2cd; --muted: #98a39d; --dim: #69746e;
  --accent: #34e27f; --accent-hover: #6ff0a6; --accent-ink: #02150a; --accent-soft: rgba(52, 226, 127, .16);
  --danger: #ff8270;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad-x: 4.5rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --t: .22s;
  color-scheme: dark;
}
html.bp-reduce { --t: 0s; }
html.bp-reduce *, html.bp-reduce *::before, html.bp-reduce *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); }
body { color: var(--fg); font: 400 1.25rem/1.45 var(--body); -webkit-font-smoothing: antialiased; user-select: none; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img { display: block; }
.ic { width: 1.6rem; height: 1.6rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f { outline: none; }
.f:focus-visible { outline: none; }
html[data-input="mouse"] body { cursor: default; }
html[data-input="pad"] body, html[data-input="key"] body { cursor: none; }

.bp { position: fixed; inset: 0; overflow: hidden; --hue: 140; }

/* ------------------------------------------------------------------ démarrage */
.bp-splash { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 1.6rem; background: radial-gradient(60% 60% at 50% 45%, #10241a 0%, var(--bg) 70%); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.bp-splash.is-gone { opacity: 0; transform: scale(1.06); pointer-events: none; }
.bp-splash-mark svg { width: 8rem; height: auto; filter: drop-shadow(0 0 2.5rem rgba(52, 226, 127, .45)); animation: bp-pop 1s var(--spring) both; }
.bp-splash-word { font: 850 2.6rem/1 var(--display); font-stretch: 125%; letter-spacing: -.01em; animation: bp-rise .8s .25s var(--ease) both; }
.bp-splash-word span { color: var(--accent); font-weight: 600; font-stretch: 100%; margin-inline-start: .3em; }
.bp-splash-bar { width: 16rem; height: .3rem; border-radius: 1rem; background: var(--line); overflow: hidden; animation: bp-rise .8s .4s var(--ease) both; }
.bp-splash-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--accent); animation: bp-load 1.1s .4s var(--ease) infinite; }
.logo-mark path:first-child { fill: var(--accent); }
.logo-mark path:last-child { fill: var(--accent-ink); }
@keyframes bp-pop { 0% { opacity: 0; transform: scale(.5) rotate(-8deg); } 100% { opacity: 1; transform: none; } }
@keyframes bp-rise { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }
@keyframes bp-load { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes bp-fade { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------------ arrière-plan */
.bp-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.bp-bg-img { position: absolute; inset: -3%; background: center / cover no-repeat; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 8s linear; }
.bp-bg-img.is-on { opacity: 1; transform: scale(1); }
.bp-bg-img.is-blur { filter: blur(2.2rem) saturate(1.2); opacity: 0; }
.bp-bg-img.is-blur.is-on { opacity: .85; }
.bp-bg-img.is-art { background: radial-gradient(110% 120% at 80% 0%, hsl(var(--h) 45% 30%) 0%, hsl(var(--h) 55% 11%) 50%, var(--bg) 100%); }
.bp-bg-art { position: absolute; right: -2rem; top: -2rem; font: 900 34rem/1 var(--display); font-stretch: 125%; letter-spacing: -.05em; color: rgba(236, 242, 238, .06); white-space: nowrap; transition: opacity .5s; pointer-events: none; }
.bp-bg-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 11, 10, .94) 0%, rgba(9, 11, 10, .62) 42%, rgba(9, 11, 10, .12) 78%), linear-gradient(180deg, rgba(9, 11, 10, .55) 0%, rgba(9, 11, 10, 0) 18%, rgba(9, 11, 10, .35) 48%, var(--bg) 78%); }
.bp-bg-grain { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 1.4rem); mix-blend-mode: screen; }
.bp:has(.bp-set) .bp-bg-img, .bp:has(.bp-search) .bp-bg-img { opacity: .25; }

/* ------------------------------------------------------------------ cadre : barre du haut, vues, aide des boutons */
.bp-stage { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-rows: 6rem 1fr 5.25rem; transition: transform .35s var(--ease), filter .35s var(--ease), opacity .35s; }
.bp.has-menu .bp-stage { transform: translateX(6rem) scale(.96); filter: brightness(.45); }
.bp.has-qam .bp-stage { transform: translateX(-6rem) scale(.96); filter: brightness(.45); }
.bp.has-modal .bp-stage, .bp.has-ad .bp-stage { transform: scale(.97); filter: brightness(.4); }
.bp.is-playing .bp-stage { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }

.bp-top { display: flex; align-items: center; gap: 2.5rem; padding: 0 var(--pad-x); position: relative; z-index: 2; }
.bp-logo { display: flex; align-items: center; gap: .9rem; font: 850 1.65rem/1 var(--display); font-stretch: 125%; }
.bp-logo svg { width: 2.8rem; height: auto; }
.bp-nav { display: flex; align-items: center; gap: .4rem; }
.bp-nav-k { display: inline-flex; margin: 0 .4rem; opacity: .8; }
.bp-nav-btn { position: relative; padding: .7rem 1.4rem; border-radius: 99rem; font-size: 1.4rem; font-weight: 650; color: var(--fg-2); transition: background var(--t), color var(--t), transform var(--t) var(--spring); }
.bp-nav-btn.is-cur { color: var(--fg); }
.bp-nav-btn.is-cur::after { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; bottom: .25rem; height: .2rem; border-radius: 1rem; background: var(--accent); animation: bp-grow .35s var(--ease); }
.bp-nav-btn.is-f { background: var(--fg); color: var(--bg); transform: scale(1.06); }
.bp-nav-btn.is-f::after { display: none; }
@keyframes bp-grow { from { transform: scaleX(0); } }
.bp-status { margin-inline-start: auto; display: flex; align-items: center; gap: 1.8rem; color: var(--fg-2); }
.bp-pads { display: flex; align-items: center; gap: .3rem; color: var(--dim); transition: color .3s; }
.bp-pads .ic { width: 2rem; height: 2rem; }
.bp-pads.is-on { color: var(--accent); }
.bp-pads b { font: 600 1rem var(--mono); }
.bp-clock { font: 500 1.4rem var(--mono); color: var(--fg); }
.bp-avatar { width: 3.3rem; height: 3.3rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 850; font-size: 1.3rem; overflow: hidden; transition: transform var(--t) var(--spring), box-shadow var(--t); }
.bp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bp-avatar .ic { width: 1.8rem; height: 1.8rem; }
.bp-quit { display: flex; align-items: center; gap: .6rem; height: 3.3rem; padding: 0 1.1rem 0 .9rem; border-radius: 99rem; border: .07rem solid var(--line-2); background: rgba(15, 19, 17, .6); font-size: 1.15rem; font-weight: 650; color: var(--fg-2); transition: transform var(--t) var(--spring), background var(--t), color var(--t), box-shadow var(--t); }
.bp-quit .ic { width: 1.5rem; height: 1.5rem; }
.bp-quit.is-f, html[data-input="mouse"] .bp-quit:hover { background: var(--danger); border-color: var(--danger); color: #1a0603; transform: scale(1.06); box-shadow: 0 0 0 .25rem var(--fg); }
.bp.is-leaving { animation: bp-leave .38s var(--ease) forwards; }
@keyframes bp-leave { to { opacity: 0; transform: scale(.96); filter: blur(4px); } }
.bp-avatar.is-f { transform: scale(1.12); box-shadow: 0 0 0 .25rem var(--fg), 0 0 0 .55rem rgba(52, 226, 127, .35); }

.bp-views { position: relative; min-height: 0; }
.bp-view { position: absolute; inset: 0; display: flex; }
.bp-view.is-in { animation: bp-view-in .42s var(--ease) both; }
.bp-view.is-in-back { animation: bp-view-back .42s var(--ease) both; }
.bp-view.is-out { animation: bp-view-out .28s var(--ease) both; pointer-events: none; }
.bp-view.is-out-back { animation: bp-view-out-back .28s var(--ease) both; pointer-events: none; }
@keyframes bp-view-in { from { opacity: 0; transform: translateX(3rem); } }
@keyframes bp-view-back { from { opacity: 0; transform: translateX(-3rem); } }
@keyframes bp-view-out { to { opacity: 0; transform: translateX(-2rem) scale(.98); } }
@keyframes bp-view-out-back { to { opacity: 0; transform: translateX(2rem) scale(.98); } }
.bp-scroll { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 4rem; scroll-behavior: smooth; }
.bp-scroll::-webkit-scrollbar { display: none; }

.bp-hints { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 var(--pad-x); background: linear-gradient(180deg, rgba(9, 11, 10, 0), rgba(9, 11, 10, .92) 45%); position: relative; z-index: 2; }
.bp-hints-l, .bp-hints-r { display: flex; align-items: center; gap: 2.2rem; }
.bp-hint { display: flex; align-items: center; gap: .75rem; font-size: 1.3rem; color: #d4dcd7; padding: .4rem .6rem; border-radius: .6rem; transition: background .15s, color .15s; animation: bp-fade .25s both; }
html[data-input="mouse"] .bp-hint:hover { background: var(--card-2); color: var(--fg); }

/* Icônes de boutons (manette ou clavier) */
.bp-g { display: inline-grid; place-items: center; min-width: 2.15rem; height: 2.15rem; padding: 0 .35rem; border-radius: 50%; font: 900 1.05rem/1 var(--body); color: #fff; background: #3a4741; flex: none; }
.bp-g.is-wide { border-radius: .55rem; min-width: 2.6rem; padding: 0 .55rem; font-size: .9rem; }
/* Boutons de face par position : s (bas), e (droite), w (gauche), n (haut) */
.bp-g-xbox.bp-g-s { background: #5fbf3f; color: #061a00; } .bp-g-xbox.bp-g-e { background: #e5484d; } .bp-g-xbox.bp-g-w { background: #3b82f6; } .bp-g-xbox.bp-g-n { background: #f5b400; color: #1a1300; }
.bp-g-ps { background: #1b221e; border: .14rem solid #4d5a53; font-size: 1.2rem; }
.bp-g-ps.bp-g-s { color: #7aa6ff; } .bp-g-ps.bp-g-e { color: #ff6b6b; } .bp-g-ps.bp-g-w { color: #e88ad6; } .bp-g-ps.bp-g-n { color: #4fd1a5; }
.bp-g-nin { background: #2a332e; border: .14rem solid #4d5a53; }
.bp-g-generic { background: #3a4741; }
.bp-g.is-xwide { font-size: .72rem; letter-spacing: .02em; }
.bp-pad-face { margin-inline-start: auto; display: grid; grid-template-columns: repeat(3, 1.7rem); grid-template-rows: repeat(3, 1.7rem); }
.bp-pad-face .bp-g { min-width: 1.6rem; height: 1.6rem; font-size: .8rem; padding: 0; }
.bp-pad-face .bp-g-s { grid-area: 3 / 2; } .bp-pad-face .bp-g-e { grid-area: 2 / 3; } .bp-pad-face .bp-g-w { grid-area: 2 / 1; } .bp-pad-face .bp-g-n { grid-area: 1 / 2; }
.bp-g-lb, .bp-g-rb, .bp-g-lt, .bp-g-rt, .bp-g-view, .bp-g-menu, .bp-g-home { background: #222b26; border: .14rem solid #3d4a43; color: var(--fg); font-size: .95rem; }
.bp-g-lb, .bp-g-rb, .bp-g-lt, .bp-g-rt { border-radius: .55rem; }
.bp-g-key { border-radius: .45rem; background: #1b221e; border: .14rem solid #3d4a43; border-bottom-width: .3rem; color: var(--fg); font: 600 .9rem var(--mono); height: 2.2rem; }

/* ------------------------------------------------------------------ boutons */
.bp-btn { display: inline-flex; align-items: center; gap: .9rem; height: 4rem; padding: 0 1.9rem; border-radius: .8rem; border: .07rem solid rgba(236, 242, 238, .22); background: rgba(9, 11, 10, .55); backdrop-filter: blur(8px); font-size: 1.4rem; font-weight: 650; white-space: nowrap; transition: transform var(--t) var(--spring), box-shadow var(--t), background var(--t), color var(--t); }
.bp-btn .ic { width: 1.7rem; height: 1.7rem; }
.bp-btn.is-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 850; padding-inline-start: 1rem; }
.bp-btn.is-primary .bp-g { background: var(--accent-ink); color: var(--accent); border: 0; }
.bp-btn.is-xl { height: 5rem; font-size: 1.85rem; padding-inline-end: 2.8rem; }
.bp-btn.is-icon { width: 4rem; padding: 0; justify-content: center; }
.bp-btn.is-on .ic { fill: var(--accent); stroke: var(--accent); }
.bp-btn.is-f { transform: scale(1.06); box-shadow: 0 0 0 .25rem var(--fg), 0 0 0 .55rem rgba(52, 226, 127, .35), 0 1.2rem 3rem rgba(0, 0, 0, .5); }
.bp-btn:not(.is-primary).is-f { background: var(--fg); color: var(--bg); }
.bp-btn.is-primary.is-f { box-shadow: 0 0 0 .25rem var(--fg), 0 0 0 .6rem rgba(52, 226, 127, .4), 0 1.2rem 3rem rgba(52, 226, 127, .3); animation: bp-breathe 2.4s ease-in-out infinite; }
@keyframes bp-breathe { 50% { box-shadow: 0 0 0 .25rem var(--fg), 0 0 0 .9rem rgba(52, 226, 127, .18), 0 1.2rem 3.5rem rgba(52, 226, 127, .45); } }
.is-press { animation: bp-press .22s var(--ease) !important; }
@keyframes bp-press { 40% { transform: scale(.94); } }
.bump-l { animation: bp-bump-l .3s var(--ease); } .bump-r { animation: bp-bump-r .3s var(--ease); }
.bump-u { animation: bp-bump-u .3s var(--ease); } .bump-d { animation: bp-bump-d .3s var(--ease); }
@keyframes bp-bump-l { 30% { translate: -.5rem 0; } } @keyframes bp-bump-r { 30% { translate: .5rem 0; } }
@keyframes bp-bump-u { 30% { translate: 0 -.5rem; } } @keyframes bp-bump-d { 30% { translate: 0 .5rem; } }

/* ------------------------------------------------------------------ jaquettes */
.bp-tile { position: relative; flex: none; width: 13.1rem; aspect-ratio: 2 / 3; border-radius: .8rem; overflow: hidden; background: var(--card); transform-origin: 50% 70%; transition: transform .25s var(--spring), box-shadow .25s var(--ease), opacity .25s, filter .25s; box-shadow: 0 .6rem 1.6rem rgba(0, 0, 0, .35); animation: bp-tile-in .5s calc(var(--i, 0) * 30ms) var(--ease) backwards; }
@keyframes bp-tile-in { from { opacity: 0; transform: translateY(1.5rem) scale(.96); } }
.bp-tile.is-big { width: 18.8rem; }
.bp-tile.is-wide { aspect-ratio: 460 / 215; width: 25rem; }
.bp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.bp-tile img.is-alt, .bp-tile img.is-contain { object-fit: cover; object-position: center; }
/* Image large (bannière) dans une jaquette verticale : le nom dessiné derrière est masqué, il dépassait sous l'image */

.bp-tile img[src] { animation: bp-img-in .45s .05s both; }
@keyframes bp-img-in { to { opacity: 1; } }
.bp-art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem; background: linear-gradient(135deg, hsl(var(--h) 45% 32%), hsl(var(--h) 55% 11%)); overflow: hidden; }
.bp-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 1rem); }
.bp-art-fr { position: relative; font: 600 .8rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(236, 242, 238, .75); }
.bp-art-nm { position: relative; font: 900 var(--fs, 2.4rem)/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; overflow-wrap: break-word; }
.bp-tile.is-big .bp-art-nm { font-size: calc(var(--fs, 2.4rem) * 1.4); }
.bp-grid .bp-art-nm { font-size: calc(var(--fs, 2.4rem) * .95); }
.bp-tile.is-wide .bp-art-nm { font-size: calc(var(--fs, 2.4rem) * 1.3); }
.bp-tile:not(:has(img)) .bp-tile-name { display: none; }
/* Avec une image : elle remplit toute la carte, le nom du jeu reste au premier plan en bas */
.bp-tile:has(img) .bp-tile-name { opacity: 1; transform: none; z-index: 1; }
.bp-tile:has(img) .bp-art > * { visibility: hidden; }
.bp-tile-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; font-size: 1.05rem; font-weight: 700; line-height: 1.2; background: linear-gradient(180deg, transparent, rgba(5, 7, 6, .92)); opacity: 0; transform: translateY(.5rem); transition: opacity .2s, transform .25s var(--ease); }
.bp-tile-fav { position: absolute; top: .6rem; right: .6rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: rgba(5, 7, 6, .7); }
.bp-tile-fav .ic { width: 1.25rem; height: 1.25rem; fill: var(--accent); stroke: var(--accent); }
.bp-tile-fav.is-pop { animation: bp-heart .5s var(--spring); }
@keyframes bp-heart { 0% { transform: scale(0); } 60% { transform: scale(1.4); } }
.bp-tile-rate { position: absolute; top: .6rem; left: .6rem; padding: .2rem .55rem; border-radius: .4rem; background: rgba(5, 7, 6, .75); font: 600 .95rem var(--mono); color: #ffd36b; }
.bp-tile.is-f { transform: scale(1.08); z-index: 2; box-shadow: 0 0 0 .25rem var(--fg), 0 0 0 .55rem rgba(52, 226, 127, .35), 0 1.6rem 3.6rem rgba(0, 0, 0, .65); }
.bp-tile.is-f .bp-tile-name { opacity: 1; transform: none; }
.bp-tile.is-f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%); transform: translateX(-100%); animation: bp-shine .9s .1s var(--ease) both; pointer-events: none; }
@keyframes bp-shine { to { transform: translateX(100%); } }

/* ------------------------------------------------------------------ étagères */
.bp-shelf { padding-top: 1.6rem; }
.bp-shelf-t { margin: 0 var(--pad-x) 1rem; font-size: 1.85rem; font-weight: 750; display: flex; align-items: baseline; gap: 1rem; }
.bp-shelf-t small { font-size: 1.2rem; font-weight: 400; color: var(--muted); }
.bp-strip { position: relative; display: flex; align-items: flex-end; gap: 1.4rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 3rem var(--pad-x) 2rem; margin-top: -1.8rem; scroll-padding-inline: var(--pad-x); }
.bp-strip::-webkit-scrollbar { display: none; }
.bp-strip > :last-child { margin-inline-end: calc(100vw - 20rem); }

/* Catégories */
.bp-cat { flex: none; position: relative; width: 17rem; height: 7.4rem; border-radius: .9rem; padding: 1.1rem 1.3rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h, 150) 40% 24%), hsl(var(--h, 150) 50% 10%)); transition: transform .25s var(--spring), box-shadow .25s; animation: bp-tile-in .5s var(--ease) backwards; }
.bp-cat::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 1rem); }
.bp-cat b { position: relative; font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.bp-cat small { position: relative; font: 500 .95rem var(--mono); color: rgba(236, 242, 238, .7); }
.bp-cat.is-rand { background: var(--card-2); border: .07rem solid var(--line-2); align-items: flex-start; }
.bp-cat.is-rand .ic { width: 2.4rem; height: 2.4rem; color: var(--accent); }
.bp-cat.is-f { transform: scale(1.07); box-shadow: 0 0 0 .25rem var(--fg), 0 0 0 .55rem rgba(52, 226, 127, .35), 0 1.2rem 3rem rgba(0, 0, 0, .55); z-index: 2; }
.bp-cat.is-rand.is-f .ic { animation: bp-roll .6s var(--spring); }
@keyframes bp-roll { from { transform: rotate(-200deg) scale(.6); } }

/* ------------------------------------------------------------------ accueil */
.bp-home, .bp-game { flex-direction: column; }
.bp-hero { flex: none; padding: 1.4rem var(--pad-x) .4rem; display: flex; align-items: flex-end; min-height: 19.5rem; }
.bp-hero-in { width: 100%; max-width: 76rem; display: flex; flex-direction: column; gap: .8rem; }
.bp-home .bp-scroll, .bp-game .bp-scroll { flex: 1; min-height: 0; padding-bottom: 12rem; }
.bp-home .bp-tile { width: 11.6rem; }
.bp-home .bp-tile.is-big { width: 15.2rem; }
.bp-home .bp-shelf:first-child { padding-top: .6rem; }
.bp-hero.is-swap .bp-hero-eye, .bp-hero.is-swap .bp-hero-t, .bp-hero.is-swap .bp-hero-meta, .bp-hero.is-swap .bp-hero-d { animation: bp-swap .45s var(--ease) both; }
.bp-hero.is-swap .bp-hero-t { animation-delay: .03s; } .bp-hero.is-swap .bp-hero-meta { animation-delay: .06s; } .bp-hero.is-swap .bp-hero-d { animation-delay: .09s; }
@keyframes bp-swap { from { opacity: 0; transform: translateY(.8rem); filter: blur(4px); } }
.bp-hero-eye { margin: 0; font: 600 1.1rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 1rem; }
.bp-hero-t { margin: 0; padding-block: .1em; font: 900 4.4rem/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 .4rem 2rem rgba(0, 0, 0, .5); }
.bp-hero-t.is-long { font-size: 3.3rem; font-stretch: 105%; }
.bp-hero-t.is-xlong { font-size: 2.5rem; font-stretch: 100%; }
.bp-hero-meta { margin: 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 1.35rem; color: var(--fg-2); }
.bp-hero-meta i { width: .35rem; height: .35rem; border-radius: 50%; background: var(--dim); }
.bp-hero-meta .is-acc { color: var(--accent); font-weight: 650; }
.bp-hero-d { margin: 0; max-width: 54rem; font-size: 1.3rem; line-height: 1.5; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-hero-actions { display: flex; gap: 1rem; margin-top: .8rem; }

/* ------------------------------------------------------------------ bibliothèque */
.bp-lib-head { padding: .55rem var(--pad-x); display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 2rem; position: sticky; top: 0; z-index: 3; min-height: 4.4rem; background: rgba(9, 11, 10, .9); backdrop-filter: blur(10px); border-bottom: .07rem solid var(--line); }
.bp-lib-head .bp-tabs { min-width: 0; }
.bp-lib-head .bp-tab { padding: .55rem 1.1rem; font-size: 1.3rem; height: 3.1rem; }
.bp-lib-head .bp-chip { height: 3.1rem; }
.bp-lib-head .bp-nav-k { margin: 0 .2rem; }
.bp-lib-tools { flex: none; }
.bp-tabs { display: flex; align-items: center; gap: .5rem; }
.bp-tab { padding: .75rem 1.5rem; border-radius: .7rem; font-size: 1.4rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: .6rem; transition: background var(--t), color var(--t), transform var(--t) var(--spring); }
.bp-tab small { font: 500 1.05rem var(--mono); opacity: .8; }
.bp-tab.is-cur { background: var(--accent); color: var(--accent-ink); }
.bp-tab.is-f { transform: scale(1.06); box-shadow: 0 0 0 .2rem var(--fg); color: var(--fg); }
.bp-tab.is-cur.is-f { color: var(--accent-ink); }
.bp-lib-tools { display: flex; align-items: center; gap: 1rem; }
.bp-chip { display: inline-flex; align-items: center; gap: .7rem; height: 3.2rem; padding: 0 1.2rem; border-radius: 99rem; border: .07rem solid var(--line-2); background: rgba(15, 19, 17, .7); font-size: 1.2rem; font-weight: 600; color: var(--fg-2); transition: transform var(--t) var(--spring), background var(--t), color var(--t), box-shadow var(--t); }
.bp-chip .ic { width: 1.3rem; height: 1.3rem; }
.bp-chip .bp-g { min-width: 1.8rem; height: 1.8rem; font-size: .9rem; }
.bp-chip small { font: 500 .95rem var(--mono); color: var(--muted); }
.bp-chip.is-on { border-color: var(--accent); color: var(--accent); }
.bp-chip.is-f { background: var(--fg); color: var(--bg); transform: scale(1.06); box-shadow: 0 0 0 .2rem rgba(52, 226, 127, .4); }
.bp-count { font: 500 1.05rem var(--mono); color: var(--muted); min-width: 6rem; text-align: end; }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.6rem, 1fr)); gap: 2.2rem 1.5rem; padding: 1.6rem var(--pad-x) 3rem; }
.bp-grid .bp-tile { width: auto; }
.bp-grid:not(.is-anim) .bp-tile { animation: none; }
.bp-empty { grid-column: 1 / -1; margin: 3rem 0; font-size: 1.5rem; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------ fiche du jeu */
.bp-game-top { flex: none; display: flex; gap: 4rem; padding: 2.4rem var(--pad-x) 1rem; align-items: flex-start; }
.bp-game-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.3rem; animation: bp-rise .5s var(--ease) both; }
.bp-game-t { margin: 0; padding-block: .08em; font: 900 6rem/.95 var(--display); font-stretch: 125%; letter-spacing: -.03em; text-wrap: balance; text-shadow: 0 .4rem 2rem rgba(0, 0, 0, .5); }
.bp-game-t.is-long { font-size: 4.2rem; font-stretch: 110%; }
.bp-game-d { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bp-game-d { margin: 0; max-width: 54rem; font-size: 1.5rem; line-height: 1.55; color: var(--fg-2); }
.bp-pill { padding: .2rem .7rem; border-radius: 99rem; background: var(--accent-soft); color: var(--accent); font-size: .9rem; letter-spacing: .06em; }
.bp-info { flex: 0 0 31rem; background: rgba(15, 19, 17, .82); border: .07rem solid var(--line); border-radius: 1.1rem; padding: .6rem 2rem; backdrop-filter: blur(10px); animation: bp-rise .5s .1s var(--ease) both; }
.bp-info-r { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; border-bottom: .07rem solid var(--line); font-size: 1.3rem; }
.bp-info-r:last-child { border-bottom: 0; }
.bp-info-r span { color: var(--muted); }
.bp-info-r b { font-weight: 650; text-align: end; }
.bp-info-r.is-col { flex-direction: column; gap: .5rem; }
.bp-info-r.is-col small { font-size: 1.1rem; line-height: 1.45; color: var(--muted); }
.bp-info-r.is-warn span { color: #ffb547; }

/* ------------------------------------------------------------------ recherche + clavier virtuel */
.bp-search { flex-direction: column; }
.bp-search .bp-scroll { padding-bottom: 2rem; }
.bp-field { margin: 2rem var(--pad-x) 0; width: calc(100% - var(--pad-x) * 2); height: 5.5rem; display: flex; align-items: center; gap: 1.2rem; padding: 0 1.8rem; border-radius: 1rem; background: var(--card); border: .13rem solid var(--line-2); transition: border-color var(--t), box-shadow var(--t); }
.bp-field .ic { width: 2.1rem; height: 2.1rem; color: var(--muted); }
.bp-field.is-f, .bp-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 .4rem rgba(52, 226, 127, .18); }
.bp-search-in { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 2.1rem; font-weight: 650; caret-color: var(--accent); }
.bp-search-in::placeholder { color: var(--dim); font-weight: 400; }
.bp-search-in::-webkit-search-cancel-button { display: none; }
.bp-field-n { font: 500 1.1rem var(--mono); color: var(--muted); white-space: nowrap; }
.bp-search-info { margin: 1.2rem var(--pad-x) 0; font-size: 1.3rem; color: var(--muted); min-height: 1.9rem; }
.bp-search-cats { display: flex; flex-wrap: wrap; gap: .8rem; margin: .8rem var(--pad-x) 0; }
.bp-grid.is-search { grid-template-columns: repeat(auto-fill, minmax(11.4rem, 1fr)); }
.bp-kb { flex: none; padding: 1.8rem 0 1.4rem; background: rgba(15, 19, 17, .96); border-top: .07rem solid var(--line); display: flex; flex-direction: column; align-items: center; gap: .7rem; animation: bp-kb-in .35s var(--ease) both; }
.bp-kb[hidden] { display: none; }
@keyframes bp-kb-in { from { transform: translateY(100%); } }
.bp-kb-row { display: flex; gap: .7rem; }
.bp-key { display: grid; place-items: center; text-align: center; width: 5.4rem; height: 4.4rem; border-radius: .6rem; background: var(--card-2); font-size: 1.75rem; font-weight: 650; text-transform: uppercase; transition: transform .14s var(--spring), background .14s, color .14s; }
.bp-key.is-wide { width: 9rem; font-size: 1.3rem; text-transform: none; }
.bp-key.is-space { width: 31rem; font-size: 1.3rem; text-transform: none; }
.bp-key.is-ok { background: var(--accent); color: var(--accent-ink); font-weight: 850; }
.bp-key.is-f { background: var(--fg); color: var(--bg); transform: scale(1.1); box-shadow: 0 0 0 .3rem rgba(52, 226, 127, .45); }
.bp-kb.is-typed .bp-key.is-f { animation: bp-press .2s var(--ease); }

/* ------------------------------------------------------------------ paramètres */
.bp-set { gap: 0; }
.bp-set-side { flex: 0 0 27rem; padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: .3rem; background: rgba(15, 19, 17, .85); border-inline-end: .07rem solid var(--line); }
.bp-set-title { margin: 0 1.2rem 1.6rem; font: 850 2.4rem/1 var(--display); font-stretch: 115%; }
.bp-set-sec { display: flex; align-items: center; gap: 1rem; height: 4.2rem; padding: 0 1.2rem; border-radius: .8rem; font-size: 1.45rem; font-weight: 600; color: var(--fg-2); transition: background var(--t), color var(--t), transform var(--t) var(--spring); }
.bp-set-sec.is-cur { color: var(--accent); }
.bp-set-sec.is-f { background: var(--fg); color: var(--bg); transform: scale(1.03); }
.bp-set-panel { padding: 2.4rem 5rem 4rem; max-width: 80rem; }
.bp-set-panel.is-anim > * { animation: bp-rise .4s var(--ease) backwards; }
.bp-set-panel.is-anim > :nth-child(2) { animation-delay: .03s; } .bp-set-panel.is-anim > :nth-child(3) { animation-delay: .06s; } .bp-set-panel.is-anim > :nth-child(4) { animation-delay: .09s; } .bp-set-panel.is-anim > :nth-child(n+5) { animation-delay: .12s; }
.bp-set-h { margin: 2rem 0 .8rem; font: 600 1rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bp-set-h:first-child { margin-top: 0; }
.bp-set-row { width: 100%; min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .6rem 1.6rem; margin-bottom: .6rem; border-radius: .8rem; background: var(--card); border: .07rem solid var(--line); font-size: 1.4rem; text-align: start; transition: transform var(--t) var(--spring), background var(--t), box-shadow var(--t); }
.bp-set-row.is-f { transform: scale(1.015); box-shadow: 0 0 0 .2rem var(--fg), 0 0 0 .45rem rgba(52, 226, 127, .3); background: var(--card-2); }
.bp-set-row .ic { width: 1.8rem; height: 1.8rem; color: var(--muted); }
.bp-switch { flex: none; width: 4rem; height: 2.25rem; border-radius: 99rem; background: #2a332e; position: relative; transition: background .2s; }
.bp-switch i { position: absolute; left: .25rem; top: .25rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--muted); transition: transform .25s var(--spring), background .2s; }
.bp-set-row.is-on .bp-switch { background: var(--accent); }
.bp-set-row.is-on .bp-switch i { transform: translateX(1.75rem); background: var(--accent-ink); }
.bp-choice { display: flex; align-items: center; gap: 1rem; color: var(--accent); font-weight: 700; }
.bp-choice i { font-style: normal; color: var(--dim); }
.bp-set-row.is-f .bp-choice i { color: var(--fg); }
.bp-choice.is-tick { animation: bp-press .2s var(--ease); }
.bp-slider { flex: 1; max-width: 22rem; height: .5rem; border-radius: 1rem; background: #2a332e; position: relative; }
.bp-slider i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--accent); transition: width .15s; }
.bp-slider i::after { content: ""; position: absolute; right: -.75rem; top: -.5rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--fg); }
.bp-set-row > b { font: 600 1.15rem var(--mono); min-width: 3.5rem; text-align: end; }
.bp-dot { width: .8rem; height: .8rem; border-radius: 50%; background: var(--accent); }
.bp-set-text { font-size: 1.35rem; line-height: 1.6; color: var(--fg-2); max-width: 60rem; }
.bp-muted { color: var(--muted); font-size: 1.2rem; margin: .4rem 0; }
.bp-set-pads { display: flex; flex-direction: column; gap: .6rem; }
.bp-pad-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.4rem; border-radius: .8rem; background: var(--card); border: .07rem solid var(--line); margin-bottom: .5rem; }
.bp-pad-card > i { width: .8rem; height: .8rem; border-radius: 50%; background: var(--dim); }
.bp-pad-card > i.is-on { background: var(--accent); box-shadow: 0 0 .8rem var(--accent); }
.bp-pad-card b { display: block; font-size: 1.25rem; }
.bp-pad-card small { font: 500 .95rem var(--mono); color: var(--muted); }
.bp-keymap { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .8rem; }
.bp-keymap > div { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: .8rem; background: var(--card); font-size: 1.2rem; }
.bp-test { padding: 1.6rem; border-radius: 1rem; background: var(--bg-raise); border: .07rem solid var(--line); }
.bp-test-sticks { display: flex; gap: 2rem; margin-bottom: 1.2rem; }
.bp-stick { width: 6rem; height: 6rem; border-radius: 50%; border: .14rem solid var(--line-2); display: grid; place-items: center; }
.bp-stick i { width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 1rem rgba(52, 226, 127, .5); transition: transform .05s linear; }
.bp-test-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.bp-tb { min-width: 3.4rem; height: 3.4rem; padding: 0 .6rem; border-radius: .6rem; background: var(--card); border: .07rem solid var(--line-2); display: grid; place-items: center; font: 600 .95rem var(--mono); color: var(--muted); transition: transform .1s, background .1s, box-shadow .1s; }
.bp-tb.is-on { background: var(--accent); color: var(--accent-ink); transform: scale(1.12); box-shadow: 0 0 1.2rem rgba(52, 226, 127, .6); }

/* ------------------------------------------------------------------ superpositions */
.bp-layer { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.bp.has-ov .bp-layer { pointer-events: auto; }
.bp-ov { position: absolute; inset: 0; }
.bp-side { background: rgba(3, 5, 4, 0); transition: background .3s; }
.bp-side.is-open { background: rgba(3, 5, 4, .35); }
.bp-side > * { position: absolute; top: 0; bottom: 0; width: 34rem; background: var(--bg-raise); box-shadow: 0 0 5rem rgba(0, 0, 0, .7); display: flex; flex-direction: column; transition: transform .35s var(--ease); }
.bp-side.is-left > * { left: 0; border-inline-end: .07rem solid var(--line); transform: translateX(-102%); }
.bp-side.is-right > * { right: 0; border-inline-start: .07rem solid var(--line); transform: translateX(102%); }
.bp-side.is-open > * { transform: none; }
.bp-side.is-closing { background: transparent; }

.bp-menu { padding: 3rem 1.8rem 2rem; gap: 0; }
.bp-menu-user { display: flex; align-items: center; gap: 1.2rem; padding: 0 1.2rem 2.2rem; }
.bp-menu-user .bp-avatar { width: 4.6rem; height: 4.6rem; font-size: 1.7rem; }
.bp-menu-user b { display: block; font-size: 1.65rem; }
.bp-menu-user small { font-size: 1.1rem; color: var(--muted); }
.bp-menu-user small.is-on { color: var(--accent); }
.bp-menu-nav, .bp-menu-foot { display: flex; flex-direction: column; gap: .25rem; }
.bp-menu-foot { margin-top: auto; padding-top: 1.2rem; border-top: .07rem solid var(--line); }
.bp-menu-it { display: flex; align-items: center; gap: 1.2rem; height: 4.4rem; padding: 0 1.2rem; border-radius: .8rem; font-size: 1.6rem; font-weight: 650; color: var(--fg-2); transition: background var(--t), color var(--t), transform var(--t) var(--spring); }
.bp-menu-it.is-small { height: 3.8rem; font-size: 1.35rem; color: var(--muted); }
.bp-menu-it b { margin-inline-start: auto; color: var(--accent); }
.bp-menu-it.is-cur { color: var(--accent); }
.bp-menu-it.is-f { background: var(--fg); color: var(--bg); transform: translateX(.4rem); }
.bp-side.is-open .bp-menu-it { animation: bp-slide .4s var(--ease) backwards; }
.bp-side.is-open .bp-menu-nav > :nth-child(2) { animation-delay: .03s; } .bp-side.is-open .bp-menu-nav > :nth-child(3) { animation-delay: .06s; } .bp-side.is-open .bp-menu-nav > :nth-child(4) { animation-delay: .09s; } .bp-side.is-open .bp-menu-nav > :nth-child(5) { animation-delay: .12s; }
@keyframes bp-slide { from { opacity: 0; transform: translateX(-1.5rem); } }

.bp-qam { padding: 2.6rem 2rem 2rem; gap: .5rem; overflow-y: auto; scrollbar-width: none; }
.bp-qam-k { margin: 1.2rem 0 .4rem; font: 600 .95rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bp-qam-k:first-child { margin-top: 0; }
.bp-qam-now { display: flex; align-items: center; gap: 1.1rem; margin-bottom: .8rem; }
.bp-qam-cover { position: relative; width: 4.8rem; aspect-ratio: 2 / 3; border-radius: .6rem; overflow: hidden; flex: none; }
.bp-qam-cover .bp-art-nm { font-size: 1.1rem; } .bp-qam-cover .bp-art-fr { display: none; } .bp-qam-cover .bp-art { padding: .4rem; }
.bp-qam-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-qam-now b { display: block; font-size: 1.5rem; }
.bp-qam-now small { font-size: 1.05rem; color: var(--muted); }
.bp-qam-it { display: flex; align-items: center; gap: 1rem; min-height: 4rem; padding: 0 1.2rem; border-radius: .8rem; background: var(--card); border: .07rem solid var(--line); font-size: 1.35rem; font-weight: 600; transition: transform var(--t) var(--spring), background var(--t), color var(--t); }
.bp-qam-it.is-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 800; }
.bp-qam-it.is-danger { color: var(--danger); border-color: #5a2f2a; background: transparent; }
.bp-qam-it.is-f { transform: scale(1.03); box-shadow: 0 0 0 .2rem var(--fg); }
.bp-qam-it:not(.is-primary).is-f { background: var(--fg); color: var(--bg); }
.bp-qam-empty { font-size: 1.3rem; color: var(--fg-2); line-height: 1.5; }
.bp-qam-row { display: flex; gap: .6rem; margin-top: 1rem; }
.bp-qam-q { flex: 1; min-height: 3.6rem; padding: .4rem .8rem; border-radius: .8rem; background: var(--card); border: .07rem solid var(--line); font-size: 1.1rem; font-weight: 600; color: var(--muted); text-align: center; transition: transform var(--t) var(--spring), background var(--t), color var(--t); }
.bp-qam-q.is-on { color: var(--accent); border-color: rgba(52, 226, 127, .5); }
.bp-qam-q.is-f { transform: scale(1.04); background: var(--fg); color: var(--bg); }
.bp-qam-hint { margin-top: auto; padding-top: 1.4rem; font-size: 1.05rem; line-height: 1.5; color: var(--dim); }

.bp-modal-wrap { display: grid; place-items: center; background: rgba(3, 5, 4, 0); transition: background .25s; }
.bp-modal-wrap.is-open { background: rgba(3, 5, 4, .45); }
.bp-modal { width: min(52rem, 90vw); max-height: 86vh; display: flex; flex-direction: column; gap: 1.3rem; padding: 2.4rem 2.6rem; border-radius: 1.4rem; background: var(--bg-raise); border: .07rem solid var(--line-2); box-shadow: 0 2rem 6rem rgba(0, 0, 0, .7); opacity: 0; transform: translateY(1.5rem) scale(.96); transition: opacity .25s, transform .35s var(--spring); }
.bp-modal-wrap.is-open .bp-modal { opacity: 1; transform: none; }
.bp-modal-wrap.is-closing .bp-modal { opacity: 0; transform: scale(.97); transition-duration: .2s; }
.bp-modal-ic { width: 4.6rem; height: 4.6rem; border-radius: 1.1rem; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.bp-modal-ic .ic { width: 2.6rem; height: 2.6rem; }
.bp-modal h2 { margin: 0; font-size: 2.1rem; font-weight: 850; line-height: 1.15; }
.bp-modal p { margin: 0; font-size: 1.35rem; line-height: 1.5; color: var(--fg-2); }
.bp-modal-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .6rem; }
.bp-modal.is-list { width: min(40rem, 90vw); }
.bp-pick { display: flex; flex-direction: column; gap: .35rem; max-height: 62vh; padding: .6rem; margin: -.6rem; }
.bp-pick-it { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.6rem; padding: 0 1.2rem; border-radius: .7rem; font-size: 1.35rem; font-weight: 600; transition: background var(--t), color var(--t); }
.bp-pick-it small { font: 500 1rem var(--mono); color: var(--muted); }
.bp-pick-it.is-on { color: var(--accent); }
.bp-pick-it.is-f { background: var(--fg); color: var(--bg); }
.bp-pick-it.is-f small { color: #3d4a43; }
.bp-stars-f { align-self: flex-start; padding: .8rem 1rem; border-radius: 1rem; transition: box-shadow var(--t); }
.bp-stars-f.is-f { box-shadow: 0 0 0 .2rem var(--fg), 0 0 0 .5rem rgba(52, 226, 127, .3); }
.bp-stars { display: flex; gap: .6rem; }
.bp-star .ic { width: 3.6rem; height: 3.6rem; color: #4d5a53; transition: transform .2s var(--spring), color .15s, fill .15s; }
.bp-star.is-on .ic { color: #ffd36b; fill: #ffd36b; transform: scale(1.08); }

.bp-adview { display: flex; flex-direction: column; background: rgba(3, 5, 4, .9); padding: 3rem; gap: 1.2rem; opacity: 0; transition: opacity .3s; }
.bp-adview.is-open { opacity: 1; }
.bp-adview iframe { flex: 1; width: 100%; border: 0; border-radius: 1rem; background: #fff; }
.bp-adview-bar { margin: 0; display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: 1.4rem; color: var(--fg-2); min-height: 5rem; }
.bp-adview-bar > b { font: 600 2rem var(--mono); color: var(--accent); }

/* ------------------------------------------------------------------ notifications */
.bp-toasts { position: absolute; top: 6.6rem; right: var(--pad-x); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; pointer-events: none; }
.bp-toast { display: flex; align-items: center; gap: .9rem; max-width: 34rem; padding: 1rem 1.4rem; border-radius: .9rem; background: rgba(27, 34, 30, .96); border: .07rem solid var(--line-2); box-shadow: 0 1rem 3rem rgba(0, 0, 0, .5); font-size: 1.2rem; animation: bp-toast-in .45s var(--spring) both; }
.bp-toast .ic { color: var(--accent); }
.bp-toast.is-out { animation: bp-toast-out .35s var(--ease) both; }
@keyframes bp-toast-in { from { opacity: 0; transform: translateX(3rem) scale(.95); } }
@keyframes bp-toast-out { to { opacity: 0; transform: translateX(2rem); } }

/* ------------------------------------------------------------------ lancement et lecteur */
.bp-launch { position: fixed; z-index: 30; border-radius: .8rem; overflow: hidden; transition: left .55s var(--ease), top .55s var(--ease), width .55s var(--ease), height .55s var(--ease), border-radius .55s var(--ease), opacity .5s; box-shadow: 0 2rem 6rem rgba(0, 0, 0, .7); }
.bp-launch.is-full { left: 0 !important; top: 0 !important; width: 100vw !important; height: 100vh !important; border-radius: 0; }
.bp-launch.is-gone { opacity: 0; }
.bp-launch-bg { position: absolute; inset: 0; }
.bp-launch-bg .bp-art { justify-content: center; align-items: center; }
.bp-launch-bg .bp-art-fr { display: none; }
.bp-launch.is-full .bp-art-nm { font-size: 14rem; opacity: .14; transition: font-size .55s var(--ease); }
.bp-launch-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) blur(0); transition: filter .8s; }
.bp-launch.is-full .bp-launch-bg img { filter: brightness(.3) blur(.6rem); }
.bp-launch-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.8rem; opacity: 0; transition: opacity .3s .35s; }
.bp-launch.is-full .bp-launch-in { opacity: 1; }
.bp-launch-in p { margin: 0; font-size: 1.7rem; font-weight: 700; text-shadow: 0 .2rem 1rem rgba(0, 0, 0, .6); }
.bp-launch-ring { width: 5.5rem; height: 5.5rem; border-radius: 50%; border: .4rem solid rgba(236, 242, 238, .15); border-top-color: var(--accent); animation: bp-spin .9s linear infinite; }
@keyframes bp-spin { to { transform: rotate(360deg); } }
.bp-player { position: absolute; inset: 0; z-index: 10; background: #000; animation: bp-fade .4s both; }
.bp-player[hidden] { display: none; }
.bp-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Barre du lecteur (souris) : en haut au centre, rétractable en languette */
.bp-dock { position: absolute; top: 0; left: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, calc(-100% + 1.6rem)); transition: transform .35s var(--ease), opacity .25s; opacity: .55; }
.bp-dock.is-open { transform: translate(-50%, 0); }
.bp-dock:hover, .bp-dock:focus-within { opacity: 1; }
.bp-dock-bar { display: flex; align-items: center; gap: .4rem; padding: .45rem .5rem .45rem 1rem; border-radius: 0 0 1.1rem 1.1rem; background: rgba(15, 19, 17, .9); border: .07rem solid var(--line-2); border-top: 0; box-shadow: 0 .8rem 2.4rem rgba(0, 0, 0, .5); backdrop-filter: blur(8px); }
.bp-dock-name { max-width: 18rem; margin-inline-end: .5rem; font-size: 1.05rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg-2); }
.bp-dock-btn { display: inline-flex; align-items: center; gap: .45rem; height: 2.7rem; padding: 0 .9rem; border-radius: .7rem; font-size: 1rem; font-weight: 650; color: var(--fg-2); transition: background .15s, color .15s; }
.bp-dock-btn .ic { width: 1.3rem; height: 1.3rem; }
.bp-dock-btn:hover, .bp-dock-btn:focus-visible { background: var(--fg); color: var(--bg); outline: none; }
.bp-dock-btn.is-main { color: var(--accent); }
.bp-dock-btn.is-main:hover { background: var(--accent); color: var(--accent-ink); }
.bp-dock-btn.is-danger:hover { background: var(--danger); color: #1a0603; }
.bp-dock-tab { width: 4.4rem; height: 1.6rem; margin-top: -.07rem; border-radius: 0 0 .8rem .8rem; display: grid; place-items: center; background: rgba(15, 19, 17, .9); border: .07rem solid var(--line-2); border-top: 0; color: var(--fg-2); }
.bp-dock-tab .ic { width: 1.2rem; height: 1.2rem; transition: transform .3s var(--ease); }
.bp-dock:not(.is-open) .bp-dock-tab .ic { transform: rotate(180deg); }
.bp-dock-tab:hover { color: var(--accent); }
.bp.has-ov .bp-dock { opacity: 0; pointer-events: none; }
html[data-input="pad"] .bp-dock, html[data-input="key"] .bp-dock { cursor: default; }
@media (max-width: 700px) { .bp-dock-btn span { display: none; } }

/* ------------------------------------------------------------------ petits écrans (tablette, portable en fenêtre) */
@media (max-aspect-ratio: 4/3) {
  :root { --pad-x: 3rem; }
  .bp-game-top { flex-direction: column; }
  .bp-info { flex-basis: auto; width: 100%; }
  .bp-nav-btn { padding: .7rem 1rem; }
}
/* Accueil : jaquettes plus petites, nom dessiné réduit d'autant (jamais coupé au milieu d'un mot) */
.bp-home .bp-tile .bp-art-nm { font-size: calc(var(--fs, 2.4rem) * .8); }
.bp-home .bp-tile.is-big .bp-art-nm { font-size: calc(var(--fs, 2.4rem) * 1.05); }

/* ------------------------------------------------------------------ bêta */
.bp-beta { display: inline-flex; align-items: center; height: 1.5rem; padding: 0 .55rem; border-radius: .4rem; background: var(--accent-soft); border: .07rem solid rgba(52, 226, 127, .45); color: var(--accent); font: 700 .8rem/1 var(--mono); letter-spacing: .14em; font-stretch: 100%; vertical-align: middle; }
.bp-splash-word .bp-beta { height: 2rem; font-size: 1rem; margin-inline-start: .6rem; animation: bp-beta-in .6s .7s var(--spring) both; position: relative; top: -.3rem; }
@keyframes bp-beta-in { from { opacity: 0; transform: scale(.4) rotate(-10deg); } }
.bp-logo .bp-beta { margin-inline-start: .2rem; }

/* ------------------------------------------------------------------ retours (bug / suggestion) */
.bp-modal.is-fb { width: min(72rem, 94vw); max-height: 94vh; overflow-y: auto; scrollbar-width: none; }
.bp-modal.is-list.is-fb { width: min(46rem, 92vw); }
.bp-fb-pick > p { margin: 0 0 1rem; }
.bp-pick-it.is-2l { min-height: 5rem; padding: .7rem 1.3rem; }
.bp-pick-it.is-2l > span { display: flex; flex-direction: column; gap: .2rem; }
.bp-pick-it.is-2l b { font-size: 1.4rem; }
.bp-pick-it.is-2l small { font: 400 1.1rem var(--body); }
.bp-fb { display: flex; flex-direction: column; gap: 1rem; }
.bp-fb-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.bp-fb-tag { height: 3rem; padding: 0 1.1rem; border-radius: 99rem; border: .07rem solid var(--line-2); background: var(--card); font-size: 1.15rem; font-weight: 600; color: var(--fg-2); transition: transform var(--t) var(--spring), background var(--t), color var(--t), box-shadow var(--t); }
.bp-fb-tag.is-on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.bp-fb-tag.is-on::before { content: "✓ "; }
.bp-fb-tag.is-f { transform: scale(1.06); box-shadow: 0 0 0 .2rem var(--fg); }
.bp-fb-field { border-radius: .9rem; border: .13rem solid var(--line-2); background: var(--card); transition: border-color var(--t), box-shadow var(--t); }
.bp-fb-field.is-f, .bp-fb-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 .4rem rgba(52, 226, 127, .18); }
.bp-fb-field.is-shake { animation: bp-shake .4s; }
@keyframes bp-shake { 20%, 60% { transform: translateX(-.5rem); } 40%, 80% { transform: translateX(.5rem); } }
.bp-fb-ta { display: block; width: 100%; min-height: 7rem; resize: none; padding: 1rem 1.2rem; border: 0; outline: none; background: none; font-size: 1.35rem; line-height: 1.45; caret-color: var(--accent); user-select: text; }
.bp-fb-ta::placeholder { color: var(--dim); }
.bp-kb.is-inline { background: none; border: 0; padding: .2rem 0; animation: none; gap: .5rem; }
.bp-kb.is-inline .bp-kb-row { gap: .5rem; }
.bp-kb.is-inline .bp-key { width: 4.4rem; height: 3.6rem; font-size: 1.45rem; }
.bp-kb.is-inline .bp-key.is-wide { width: 7.5rem; font-size: 1.1rem; }
.bp-kb.is-inline .bp-key.is-space { width: 24rem; font-size: 1.1rem; }
.bp-fb-ctx { margin: 0; font-size: 1rem !important; color: var(--dim) !important; }

/* ------------------------------------------------------------------ pastille « Compatible manette » */
.bp-tile-pad { position: absolute; top: .6rem; left: .6rem; z-index: 1; width: 2.2rem; height: 2.2rem; border-radius: .6rem; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .45); }
.bp-tile-pad .ic { width: 1.35rem; height: 1.35rem; stroke-width: 2.2; }
.bp-pad-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .2rem .7rem .2rem .5rem; border-radius: 99rem; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.bp-pad-pill .ic { width: 1.25rem; height: 1.25rem; }
.bp-info-r.is-col .bp-pad-pill { align-self: flex-start; font-size: 1.15rem; }

/* ------------------------------------------------------------------ paramètres : description du réglage, test des boutons */
.bp-set-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bp-set-main .bp-set-panel { flex: 1; min-height: 0; max-width: none; padding-right: 5rem; }
.bp-set-main .bp-set-panel > * { max-width: 75rem; }
.bp-set-help { flex: none; margin: 0; min-height: 4.2rem; padding: 1rem 5rem; border-top: .07rem solid var(--line); background: rgba(15, 19, 17, .92); font-size: 1.2rem; line-height: 1.45; color: var(--fg-2); opacity: 0; transition: opacity .2s; }
.bp-set-help.is-on { opacity: 1; }
.bp-test.is-f { box-shadow: 0 0 0 .2rem var(--fg), 0 0 0 .45rem rgba(52, 226, 127, .3); }
.bp-set-row small.bp-muted { margin: 0; font: 600 1rem var(--mono); }

/* ------------------------------------------------------------------ fin de partie : note + manette */
.bp-modal.is-after { width: min(54rem, 92vw); }
.bp-after { display: flex; gap: 1.8rem; align-items: center; }
.bp-after-cover { position: relative; flex: none; width: 9rem; aspect-ratio: 2 / 3; border-radius: .8rem; overflow: hidden; }
.bp-after-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-after-cover .bp-art-nm { font-size: 1.6rem; }
.bp-after-q { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.bp-after-k { margin: .6rem 0 0 !important; font: 600 1rem var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.bp-pad-vote { display: inline-flex; align-items: center; gap: .6rem; height: 3.6rem; padding: 0 1.5rem; font-size: 1.3rem; }
.bp-pad-vote .ic { width: 1.4rem; height: 1.4rem; }

/* ------------------------------------------------------------------ premier lancement */
.bp-modal.is-welcome { width: min(62rem, 94vw); max-height: 94vh; overflow-y: auto; scrollbar-width: none; }
.bp-welcome { display: flex; flex-direction: column; gap: .7rem; }
.bp-welcome-lead { margin: 0 0 .4rem !important; }
.bp-check { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1rem 1.2rem; border-radius: .9rem; background: var(--card); border: .07rem solid var(--line); font-size: 1.25rem; line-height: 1.45; text-align: start; color: var(--fg-2); transition: transform var(--t) var(--spring), box-shadow var(--t), background var(--t), border-color var(--t); }
.bp-check-box { flex: none; width: 2rem; height: 2rem; border-radius: .5rem; border: .14rem solid var(--line-2); display: grid; place-items: center; margin-top: .05rem; transition: background .2s, border-color .2s; }
.bp-check-box .ic { width: 1.4rem; height: 1.4rem; stroke-width: 3; color: var(--accent-ink); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s var(--spring); }
.bp-check.is-on { border-color: rgba(52, 226, 127, .5); color: var(--fg); }
.bp-check.is-on .bp-check-box { background: var(--accent); border-color: var(--accent); }
.bp-check.is-on .bp-check-box .ic { opacity: 1; transform: none; }
.bp-check.is-f { transform: scale(1.01); box-shadow: 0 0 0 .2rem var(--fg), 0 0 0 .45rem rgba(52, 226, 127, .3); }
.bp-welcome-prefs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.bp-set-row.is-compact { min-height: 3.8rem; font-size: 1.2rem; margin: 0; }
.bp-btn.is-wait:not(.is-ready) { opacity: .45; filter: saturate(.4); animation: none; }

.bp-lib-head .bp-tab { white-space: nowrap; }
.bp-lib-head .bp-chip { white-space: nowrap; }
.bp-tile:has(.bp-tile-pad) .bp-art-fr { padding-left: 2.4rem; }

/* Bouton « Signaler » de la barre du haut (à côté de « Quitter ») */
.bp-report { display: flex; align-items: center; gap: .6rem; height: 3.3rem; padding: 0 1.1rem 0 .9rem; border-radius: 99rem; border: .07rem solid var(--line-2); background: rgba(15, 19, 17, .6); font-size: 1.15rem; font-weight: 650; color: var(--fg-2); transition: transform var(--t) var(--spring), background var(--t), color var(--t), box-shadow var(--t); }
.bp-report .ic { width: 1.4rem; height: 1.4rem; color: #ffb547; }
.bp-report.is-f, html[data-input="mouse"] .bp-report:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); transform: scale(1.06); box-shadow: 0 0 0 .25rem rgba(52, 226, 127, .35); }
.bp-report.is-f .ic, html[data-input="mouse"] .bp-report:hover .ic { color: #b86b00; }

/* Lecteur en place (taille de l'écran) mais invisible pendant l'animation de lancement */
.bp-player.is-starting { opacity: 0; pointer-events: none; animation: none; }

/* ------------------------------------------------------------------ tutoriel manette + raccourci de secours */
.bp-modal.is-tut { width: min(84rem, 94vw); max-height: 94vh; overflow-y: auto; scrollbar-width: none; }
.bp-tut { display: flex; flex-direction: column; gap: 1.2rem; }
.bp-tut-dots { display: flex; gap: .5rem; }
.bp-tut-dots i { width: 2.4rem; height: .35rem; border-radius: 1rem; background: var(--line-2); transition: background .3s; }
.bp-tut-dots i.is-done { background: rgba(52, 226, 127, .45); }
.bp-tut-dots i.is-on { background: var(--accent); }
.bp-tut-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; animation: bp-rise .4s var(--ease) both; }
.bp-tut-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.4rem; border-radius: 1.2rem; background: radial-gradient(70% 70% at 50% 40%, rgba(52, 226, 127, .08), transparent 70%), var(--card); border: .07rem solid var(--line); }
.bp-tut-model { font-size: 1.2rem; color: var(--fg-2); }
.bp-tut-txt { display: flex; flex-direction: column; gap: .8rem; }
.bp-tut-txt h3 { margin: 0; font-size: 1.9rem; font-weight: 850; }
.bp-tut-txt > p { margin: 0; font-size: 1.3rem; line-height: 1.5; color: var(--fg-2); }
.bp-tut-status { margin: .4rem 0 0 !important; padding: .8rem 1.1rem; border-radius: .8rem; background: var(--bg); border: .07rem solid var(--line-2); font-weight: 650; color: var(--fg) !important; }
.bp-tut-status.is-ok { border-color: var(--accent); color: var(--accent) !important; background: var(--accent-soft); }
.bp-tut-soft { margin: 0 !important; font-size: 1.1rem !important; color: var(--muted) !important; }
.bp-tut-warn { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: .8rem; border: .07rem solid #6b5a18; background: rgba(255, 181, 71, .08); color: #ffd28a; }
.bp-tut-warn[hidden] { display: none; }
.bp-tut-warn .ic { color: #ffb547; margin-top: .1rem; }
.bp-tut-warn p { margin: 0; font-size: 1.15rem; line-height: 1.5; color: inherit; }
.bp-tut-result:empty { display: none; }
.bp-bind { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.bp-bind > i { font-style: normal; color: var(--muted); font-weight: 700; }
.bp-set-row .bp-bind .bp-g { min-width: 2rem; height: 2rem; }
/* Illustration de la manette */
.bp-padart { width: 100%; max-width: 30rem; height: auto; overflow: visible; }
.bp-padart .body { fill: #141a17; stroke: #3a4741; stroke-width: 2.5; }
.bp-padart .pad-touch { fill: #1b221e; stroke: #3a4741; stroke-width: 2; }
.bp-padart .pb circle, .bp-padart .pb rect { fill: #1b221e; stroke: #3d4a43; stroke-width: 2; transition: fill .1s, stroke .1s; }
.bp-padart .pb text { fill: #c9d2cd; font: 700 11px var(--mono); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.bp-padart.is-xbox .face.fs circle { stroke: #5fbf3f; } .bp-padart.is-xbox .face.fe circle { stroke: #e5484d; } .bp-padart.is-xbox .face.fw circle { stroke: #3b82f6; } .bp-padart.is-xbox .face.fn circle { stroke: #f5b400; }
.bp-padart.is-ps .face.fs text { fill: #7aa6ff; } .bp-padart.is-ps .face.fe text { fill: #ff6b6b; } .bp-padart.is-ps .face.fw text { fill: #e88ad6; } .bp-padart.is-ps .face.fn text { fill: #4fd1a5; }
.bp-padart .pb.home circle { stroke: var(--accent); stroke-width: 2.5; }
.bp-padart .pb.is-mark circle, .bp-padart .pb.is-mark rect { stroke: var(--accent); stroke-width: 3; fill: rgba(52, 226, 127, .18); }
.bp-padart .pb.home.is-mark circle { animation: bp-tut-pulse 1.4s ease-in-out infinite; }
@keyframes bp-tut-pulse { 50% { fill: rgba(52, 226, 127, .38); } }
.bp-padart .pb.is-on circle, .bp-padart .pb.is-on rect { fill: var(--accent); stroke: var(--accent); }
.bp-padart .pb.is-on text { fill: var(--accent-ink); }
/* Cercle de maintien (enregistrement et test) */
.bp-tut-ring { position: absolute; right: 1.2rem; top: 1.2rem; width: 4.6rem; height: 4.6rem; border-radius: 50%; --p: 0; background: conic-gradient(var(--accent) calc(var(--p) * 360deg), var(--line-2) 0); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.bp-tut-ring i { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--card); }
.bp-tut-ring.is-live, .bp-tut-ring.is-ok { opacity: 1; }
.bp-tut-ring.is-ok i::after { content: "✓"; display: grid; place-items: center; height: 100%; color: var(--accent); font-size: 1.8rem; font-weight: 900; }
.bp-modal-actions .f.is-dim { opacity: .35; }
@media (max-aspect-ratio: 4/3) { .bp-tut-cols { grid-template-columns: 1fr; } }

/* Téléphone et tablette : Big Picture indisponible pour le moment */
.bp-mobile { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: radial-gradient(70% 60% at 50% 30%, #10241a, var(--bg) 75%); font-size: 16px; }
.bp-mobile-card { width: min(420px, 100%); display: grid; justify-items: center; gap: 14px; padding: 30px 24px; border-radius: 22px; background: var(--bg-raise); border: 1px solid var(--line-2); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: bp-rise .4s var(--ease) both; }
.bp-mobile-ic { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.bp-mobile-ic svg { width: 40px; height: 40px; }
.bp-mobile-k { margin: 0; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.bp-mobile h1 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 850; }
.bp-mobile-b { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--fg-2); }
.bp-mobile-go { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 6px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-size: 16px; font-weight: 850; text-decoration: none; }

/* Arrière-plan sans grande image : la jaquette nette, calée à droite sur toute la hauteur, fondue vers la gauche */
.bp-bg-img.is-side { inset: 0 0 0 auto; background-position: right center; background-size: cover; transform: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 35%, #000 70%), linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 35%, #000 70%), linear-gradient(180deg, #000 60%, transparent 100%); mask-composite: intersect; }
.bp-bg-img.is-side.is-on { opacity: .9; transform: none; }
/* Catégorie « Manette » (à côté de « Au hasard ») */
.bp-cat.is-pad { background: linear-gradient(135deg, rgba(52, 226, 127, .28), rgba(52, 226, 127, .06)); border: .07rem solid rgba(52, 226, 127, .45); }
.bp-cat.is-pad .ic { position: relative; width: 2.4rem; height: 2.4rem; color: var(--accent); }

/* ------------------------------------------------------------------ carte « Reprendre » (premier élément de l'étagère) */
.bp-resume { position: relative; flex: none; display: flex; width: 40rem; height: 17.4rem; border-radius: 1rem; overflow: hidden; background: var(--card); border: .07rem solid var(--line-2); text-align: start; transform-origin: 30% 70%; transition: transform .25s var(--spring), box-shadow .25s var(--ease); animation: bp-tile-in .5s var(--ease) backwards; }
.bp-resume-art { position: relative; flex: none; width: 55%; height: 100%; overflow: hidden; }
.bp-resume-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-resume-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--card)); }
.bp-resume-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 1.4rem 1.6rem 1.4rem .4rem; }
.bp-resume-tx small { font: 600 .9rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.bp-resume-tx b { font-size: 1.7rem; line-height: 1.1; font-weight: 850; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-resume-tx > span { font-size: 1.05rem; color: var(--muted); }
.bp-resume-go { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; margin-top: .4rem; height: 2.8rem; padding: 0 1.1rem 0 .8rem; border-radius: .7rem; background: var(--accent); color: var(--accent-ink); font-style: normal; font-weight: 850; font-size: 1.1rem; }
.bp-resume-go .ic { width: 1.2rem; height: 1.2rem; }
.bp-resume.is-f { transform: scale(1.05); box-shadow: 0 0 0 .25rem var(--fg), 0 0 0 .55rem rgba(52, 226, 127, .35), 0 1.6rem 3.6rem rgba(0, 0, 0, .65); z-index: 2; }
.bp-home .bp-resume { width: 34rem; height: 17.4rem; }

/* Touches du jeu (fiche et accès rapide) */
.bp-keys { margin: 0; white-space: pre-wrap; font: 500 1.05rem/1.55 var(--mono); color: var(--fg-2); }
.bp-keys.is-qam { padding: .8rem 1rem; border-radius: .7rem; background: var(--card); border: .07rem solid var(--line); font-size: .95rem; max-height: 12rem; overflow: auto; }
/* Bibliothèque : repère de chargement des jaquettes suivantes */
.bp-grid-more { grid-column: 1 / -1; height: 1px; }
