/* ==================================================================
   shop.css, les clés, la barre de genres, les boutons d'ouverture
   et l'écran de butin de l'ouverture par dix.
   ================================================================== */

/* ------------------------------ les clés ------------------------------ */

.keys {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 42%, transparent);
  background: color-mix(in srgb, var(--accent-2) 12%, transparent);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.keys-ico {
  width: 15px; height: 15px;
  color: var(--accent-2);
}
.keys b { font-weight: 700; }
.keys span { font-size: 11.5px; color: var(--ink-3); }
.keys.is-empty {
  border-color: rgba(255,77,109,.45);
  background: rgba(255,77,109,.12);
}
.keys.is-empty .keys-ico { color: var(--danger); }
.keys.is-empty .keys-next { display: inline !important; color: #ffb3c1; }

/* ---------------------- navigation du présentoir ----------------------

   Deux niveaux : la famille, puis la collection. Le troisième, le volume
 , est plus bas, sous le sachet, parce qu'il ne concerne que la
   collection déjà choisie.
   --------------------------------------------------------------------- */

.browse {
  /* au-dessus du présentoir : les couches décoratives du sachet débordent
     largement de sa boîte et venaient recouvrir le rail */
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto 18px;
  width: 100%;
}

/* --- familles --- */

.fam-bar {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 4px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}
.fam {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, background .25s;
}
.fam:hover { color: var(--ink); }
.fam[aria-selected="true"] {
  color: #fff;
  background: rgba(255, 255, 255, .11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

/* --- rail des collections --- */

.rail-wrap { position: relative; }

.rail {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 3px 44px;
  /* les cartes disparaissent en fondu sous les flèches plutôt que d'être
     coupées net : on voit qu'il y en a d'autres */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px,
                                      #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 40px,
                                      #000 calc(100% - 40px), transparent);
}
.rail::-webkit-scrollbar { display: none; }

.coll {
  --hue: 268;
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 9px;
  width: 152px;
  padding: 9px 12px 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: var(--panel);
  color: var(--ink-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .18s, color .2s;
}
.coll:hover {
  transform: translateY(-2px);
  color: var(--ink);
  border-color: hsl(var(--hue) 70% 60% / .6);
}
.coll[aria-selected="true"] {
  color: #fff;
  border-color: hsl(var(--hue) 82% 64% / .9);
  background:
    linear-gradient(140deg, hsl(var(--hue) 70% 50% / .3), hsl(var(--hue) 70% 40% / .08)),
    var(--panel-2);
  box-shadow: 0 10px 26px -14px hsl(var(--hue) 90% 58%);
}

.coll-ico {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  font-style: normal;
  font-size: 15px;
  color: hsl(var(--hue) 90% 74%);
  background: hsl(var(--hue) 70% 50% / .18);
  border: 1px solid hsl(var(--hue) 70% 60% / .3);
}
.coll-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coll-sub {
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coll[aria-selected="true"] .coll-sub { color: rgba(255, 255, 255, .72); }

/* la jauge de complétion, posée au ras du bord bas */
.coll-fill {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  background: hsl(var(--hue) 90% 62%);
  box-shadow: 0 0 8px hsl(var(--hue) 90% 62%);
  transition: width .5s var(--ease-out);
}

.rail-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 4;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(12, 12, 20, .9);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 11px;
  cursor: pointer;
  transition: background .2s, opacity .25s;
}
.rail-nav:hover { background: rgba(255, 255, 255, .16); }
.rail-nav.is-off { opacity: .25; pointer-events: none; }
.rail-nav.is-prev { left: 0; }
.rail-nav.is-next { right: 0; }

/* --- volumes de la collection choisie --- */

/* Les volumes tiennent toujours sur une ligne, qui défile au besoin, et
   la place reste réservée quand la collection n'a qu'un volume : la
   barre passait d'une à deux lignes (ou disparaissait) selon la
   collection, et tout le présentoir se redimensionnait à chaque
   changement, la pochette avec. */
.shop-vols {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  justify-content: safe center;
  max-width: min(560px, 100%);
  min-height: 54px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.shop-vols::-webkit-scrollbar { display: none; }
.shop-vols:empty { visibility: hidden; }
.shop-vols .vol { flex: 0 0 auto; }

.vol {
  --hue: 268;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.vol b { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.vol span { font-size: 10.5px; font-variant-numeric: tabular-nums; opacity: .8; }
.vol:hover { color: var(--ink); border-color: hsl(var(--hue) 70% 60% / .6); }
.vol.is-on {
  color: #fff;
  background: hsl(var(--hue) 75% 55% / .24);
  border-color: hsl(var(--hue) 85% 64% / .9);
  box-shadow: 0 0 16px -6px hsl(var(--hue) 90% 60%);
}

@media (max-width: 720px) {
  .fam { padding: 7px 13px; font-size: 12.5px; }
  .rail { padding: 3px 12px; -webkit-mask-image: none; mask-image: none; }
  .rail-nav { display: none; }
  .coll { width: 138px; }
}

/* ----------------------- avancement de la série ----------------------- */

.shop-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: min(340px, 80vw);
}
.shop-progress:empty { display: none; }
.sp-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.sp-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,
    hsl(var(--hue) 70% 45%), hsl(var(--hue) 90% 65%));
  box-shadow: 0 0 12px -2px hsl(var(--hue) 90% 60%);
  transition: width .6s var(--ease-out);
}
.shop-progress span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.shop-progress b { color: var(--ink); }

/* -------------------------- boutons d'ouverture -------------------------- */

.shop-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.btn .cost {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 7px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.btn .cost .i { width: 13px; height: 13px; color: var(--accent-2); }
.btn.is-prem .cost .i { color: #ffd36a; }
/* sans clé, le bouton reste cliquable (il dit quand revient la prochaine)
   mais il se met en retrait */
.btn.is-locked { opacity: .55; filter: saturate(.5); box-shadow: none; }
.btn.is-locked:hover { transform: none; }

.btn-ten {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.btn-ten em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffd36a;
  margin-left: 9px;
  padding-left: 9px;
  border-left: 1px solid var(--line-2);
}
.btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  filter: saturate(.4);
}
.btn:disabled:hover { transform: none; }

/* ============================ le butin ============================ */

.haul {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2.5vw, 32px);
}
.haul-scrim {
  position: absolute; inset: 0;
  background: rgba(4,4,9,.88);
  opacity: 0;
  transition: opacity .35s;
}
.haul.is-on .haul-scrim { opacity: 1; }

.haul-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(1180px, 100%);
  max-height: 92vh;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(22,22,34,.97), rgba(9,9,16,.99));
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(26px) scale(.97);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.haul.is-on .haul-panel { opacity: 1; transform: none; }

.haul-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 34px; height: 34px; }
.haul-close:hover { transform: rotate(90deg); }

.haul-head { text-align: center; }
.haul-head h2 { font-size: clamp(22px, 3.4vw, 32px); }
.haul-sub {
  margin-top: 10px;
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}
.haul-chip {
  font-size: 11.5px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  background: color-mix(in srgb, var(--c) 24%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
}
.haul-new { font-size: 11.5px; color: var(--ink-3); align-self: center; margin-left: 4px; }

.haul-grid {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 20px 14px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  justify-items: center;
  padding: 6px 6px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.haul-grid::-webkit-scrollbar { width: 7px; }
.haul-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 99px; }

.haul-card {
  --w: 150px;
  animation: haul-in .45s var(--ease-out) both;
  animation-delay: var(--delay);
  content-visibility: auto;
  contain-intrinsic-size: 150px 224px;
}
@keyframes haul-in { from { opacity: 0; transform: translateY(16px) scale(.92); } }

.haul-loading {
  grid-column: 1/-1;
  display: grid; place-items: center; gap: 18px;
  text-align: center; color: var(--ink-2); padding: 50px 0;
}
.haul-foot { display: flex; gap: 10px; justify-content: center; }

@media (max-width: 720px) {
  .haul-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 16px 10px; }
  .haul-card { --w: 128px; contain-intrinsic-size: 128px 191px; }
  .btn-ten em { display: none; }
  .keys span { display: none; }
}

/* ========================= les Decibelz ========================= */

.dbz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #ffb020 42%, transparent);
  background: color-mix(in srgb, #ffb020 12%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.dbz:hover { background: color-mix(in srgb, #ffb020 24%, transparent); }
.dbz-ico { width: 15px; height: 15px; color: #ffd36a; }
.dbz b { font-weight: 700; }
.dbz span { font-size: 11px; color: var(--ink-3); }
.dbz.is-rich { box-shadow: 0 0 16px -6px #ffb020; }

.dbzp { position: fixed; inset: 0; z-index: 7200; display: grid; place-items: center; padding: 18px; }
@media (max-width: 559px) {
  /* sur téléphone, les fenêtres montent du bas, à portée du pouce */
  .dbzp { place-items: end center; padding: 0; }
  .dbzp .dbzp-box {
    width: 100% !important;
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(22px + var(--safe-b));
    transform: translateY(40px);
  }
  .dbzp.is-on .dbzp-box { transform: none; }
}
.dbzp-scrim {
  position: absolute; inset: 0;
  background: rgba(4,4,9,.8);
  opacity: 0; transition: opacity .3s;
}
.dbzp.is-on .dbzp-scrim { opacity: 1; }

.dbzp-box {
  position: relative;
  width: min(430px, 100%);
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(24,22,32,.97), rgba(10,9,15,.99));
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px) scale(.97);
  transition: opacity .35s, transform .45s var(--ease-out);
}
.dbzp.is-on .dbzp-box { opacity: 1; transform: none; }

.dbzp-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; }
.dbzp-close .i { width: 14px; height: 14px; }
.dbzp-box h2 { font-size: 19px; padding-right: 40px; }
.dbzp-balance {
  display: flex; align-items: baseline; gap: 8px;
  margin: 14px 0 6px;
  font-size: 34px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #ffd36a;
  text-shadow: 0 0 22px rgba(255,176,32,.45);
}
.dbzp-balance .i { width: 28px; height: 28px; align-self: center; }
.dbzp-balance b { font-weight: 800; }
.dbzp-lead { font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }

.dbzp-rows { display: flex; flex-direction: column; gap: 8px; }
.dbzp-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line-2); border-radius: 13px;
  background: var(--panel); color: var(--ink);
  font: inherit; font-size: 14px; text-align: left;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}
.dbzp-row:hover:not(:disabled) { background: var(--panel-2); transform: translateX(3px); }
.dbzp-row:disabled { opacity: .4; cursor: not-allowed; }
.dbzp-v { font-weight: 700; color: #ffd36a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dbzp-k { display: inline-flex; align-items: center; gap: 9px; }
.dbzp-k .i { width: 16px; height: 16px; color: #ffd36a; }
.dbzp-row.is-danger { color: #ffc2ce; border-color: rgba(255,77,109,.35); }
.dbzp-row.is-danger:hover { background: rgba(255,77,109,.12); }
.dbzp-scale-h {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-3);
}

.dbzp-scale {
  margin-top: 8px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  font-size: 11.5px; color: var(--ink-3);
}
.dbzp-scale i {
  display: inline-block; width: 7px; height: 7px; margin-right: 5px;
  border-radius: 50%; background: var(--c); box-shadow: 0 0 7px var(--c);
}
.dbzp-scale b { color: var(--ink-2); font-weight: 600; }

/* la vignette de la collection dans le rail : la pochette plutôt que le glyphe */
.coll-ico.has-art {
  background-size: cover;
  background-position: center;
  border-color: hsl(var(--hue) 70% 60% / .5);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4);
}

/* ------------------- recherche et accessibilité ------------------- */

.browse-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.coll-find {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, .24);
}
.coll-find svg {
  width: 14px; height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 2;
  stroke-linecap: round;
}
.coll-find input {
  width: 168px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.coll-find input::placeholder { color: var(--ink-3); }
.coll-find input:focus { outline: none; }
.coll-find:focus-within { border-color: hsl(268 70% 62% / .8); }

.rail-empty {
  margin: 0 auto;
  padding: 16px 0;
  font-size: 13px;
  color: var(--ink-3);
}

/* Un repère de focus visible partout. Sans lui, la navigation au clavier
   avance à l'aveugle dès que le rail dépasse l'écran. */
.fam:focus-visible,
.coll:focus-visible,
.vol:focus-visible,
.rail-nav:focus-visible,
.shop-nav:focus-visible,
.tab:focus-visible,
.btn:focus-visible,
.dbz:focus-visible,
.seg-btn:focus-visible,
.chip:focus-visible {
  outline: 2px solid #8bb4ff;
  outline-offset: 2px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  z-index: 9999;
  translate: -50% 0;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: #8bb4ff;
  color: #0b0b13;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Le texte secondaire du rail passait sous le seuil de contraste. */
.coll-sub { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .rail { scroll-behavior: auto; }
  .coll, .coll-fill { transition: none; }
}

/* ------------------- l'atelier de série personnelle ------------------- */

.dbzp-box.is-wide { width: min(520px, 100%); }

.coll.is-new {
  border-style: dashed;
  border-color: hsl(var(--hue) 70% 60% / .55);
}
.coll.is-new .coll-ico { font-size: 18px; }

.perso-field { display: block; margin-bottom: 12px; }
.perso-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
}
.perso-field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(0, 0, 0, .3);
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
}
.perso-field input:focus {
  outline: none;
  border-color: hsl(190 80% 60% / .85);
}

.perso-hint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.perso-hint a { color: #6fd6ff; }

.perso-progress { margin-bottom: 12px; --hue: 190; }
.perso-progress span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-2);
}

.perso-error {
  margin-bottom: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 77, 109, .45);
  border-radius: 10px;
  background: rgba(255, 77, 109, .12);
  font-size: 12.5px;
  color: #ffc2ce;
}

.perso-note {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* la clé premium se distingue au premier regard de la clé simple */
.keys.is-prem {
  border-color: color-mix(in srgb, #ffb020 45%, transparent);
  background: color-mix(in srgb, #ffb020 12%, transparent);
}
.keys.is-prem .keys-ico { color: #ffd36a; }
.keys.is-prem.is-empty {
  border-color: rgba(255,77,109,.45);
  background: rgba(255,77,109,.12);
}
.keys.is-prem.is-empty .keys-ico { color: var(--danger); }

@media (max-width: 900px) {
  .keys.is-prem span, .keys span { display: none; }
}

.btn-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.btn-link:hover { color: var(--ink); }

/* ------------------------- les favoris ------------------------- */

.coll-wrap {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: center;
}
.coll-wrap .coll { width: 152px; }

.fav-star {
  position: absolute;
  top: 3px; right: 3px;
  z-index: 3;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .22);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, transform .15s, background .2s;
}
.fav-star:hover { color: #ffd36a; transform: scale(1.18); background: rgba(0,0,0,.35); }
.fav-star.is-on {
  color: #ffd36a;
  text-shadow: 0 0 8px rgba(255, 176, 32, .85);
}

@media (max-width: 720px) { .coll-wrap .coll { width: 138px; } }

/* ----------------------------- mise en vente ----------------------------- */

.sell-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 8%, transparent);
}
.sell-card img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.sell-card > span { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; color: var(--ink-2); }
.sell-card b { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sell-card em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--c); }
.sell-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sell-grid .perso-field { margin-bottom: 8px; }
.perso-field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(0, 0, 0, .3);
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
}
.perso-field select option { background: #14141f; }
.sell-net { font-size: 14px; color: var(--ink-2); margin: 4px 0 2px; }
.sell-net b { color: #ffd36a; font-size: 16px; }

/* ------------------------- un album vendu en lot ------------------------- */

.sell-card.is-bundle img {
  box-shadow: 5px -4px 0 -1px color-mix(in srgb, var(--c) 35%, #1a1a26),
              10px -8px 0 -2px color-mix(in srgb, var(--c) 18%, #1a1a26);
  margin-right: 8px;
}
.sell-picks {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: min(34vh, 240px);
  overflow-y: auto;
  margin-bottom: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .18);
  overscroll-behavior: contain;
}
.sell-pick {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s;
}
.sell-pick:hover { background: rgba(255, 255, 255, .05); }
.sell-pick input { width: 17px; height: 17px; margin: 0; accent-color: #ffd36a; }
.sell-pick .sp-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sell-pick .sp-tier {
  padding: 0 5px;
  border-radius: 5px;
  background: var(--c);
  color: #0b0b12;
  font-size: 9.5px;
  font-weight: 800;
}
.sell-pick .sp-n { font-size: 11px; color: var(--ink-3); min-width: 40px; text-align: right; }
.sell-pick:has(input:not(:checked)) { opacity: .5; }
#sell-panel.is-bundle .dbzp-lead { margin-bottom: 10px; }

.detail-bundle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 211, 106, .5);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 211, 106, .16), rgba(255, 122, 217, .1));
  color: #ffe9a8;
  font-weight: 700;
  font-size: 13px;
}
.detail-bundle:hover { background: linear-gradient(135deg, rgba(255, 211, 106, .26), rgba(255, 122, 217, .16)); }
.detail-bundle .i { width: 16px; height: 16px; }
