/* Mes cartes + salle d’échange */

.ld-mes-cartes {
  --ld-mes-line: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 212, 255, 0.55) 28%,
    rgba(255, 45, 149, 0.5) 72%,
    transparent 100%
  );
  position: relative;
  padding-block: calc(var(--ld-header-h, 76px) + 2.25rem) 4.5rem;
  overflow: clip;
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(0, 212, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(255, 45, 149, 0.1), transparent 50%),
    linear-gradient(180deg, var(--ld-bg-2, #0a0e1a) 0%, var(--ld-bg, #05070f) 55%);
}

.ld-mes-cartes::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--ld-gradient, linear-gradient(135deg, #00d4ff, #ff2d95));
  opacity: 0.7;
  pointer-events: none;
}

/* Salle d’échange : cartes stables pour la sélection */
.ld-trade-room .ld-holo-test__card,
#ld-trade-desk .ld-holo-test__card {
  transform: none !important;
  animation: none !important;
  touch-action: manipulation;
  pointer-events: none;
}

.ld-trade-room .ld-holo-test__card.is-animated,
.ld-trade-room .ld-holo-test__card.is-animated::before,
.ld-trade-room .ld-holo-test__card.is-animated::after,
.ld-trade-room .ld-holo-test__card.is-animated .ld-holo-test__rim-foil--grad,
.ld-trade-room .ld-holo-test__card.is-animated .ld-holo-test__rim-foil--spark,
#ld-trade-desk .ld-holo-test__card.is-animated,
#ld-trade-desk .ld-holo-test__card.is-animated::before,
#ld-trade-desk .ld-holo-test__card.is-animated::after,
#ld-trade-desk .ld-holo-test__card.is-animated .ld-holo-test__rim-foil--grad,
#ld-trade-desk .ld-holo-test__card.is-animated .ld-holo-test__rim-foil--spark {
  animation: none !important;
  transition: none !important;
}

.ld-trade-room .ld-holo-test__wrap {
  perspective: none;
  transform: none;
}

/* Mes cartes : foil idle + tap = agrandir ; pan-y pour scroller sur mobile */
.ld-mes-cartes__grid .ld-holo-test__card {
  cursor: zoom-in;
  touch-action: pan-y;
}

/* Fiche marché : clic sur la grande carte = agrandir */
.ld-market-detail-art .ld-holo-test__card {
  cursor: zoom-in;
}

.ld-mes-cartes > .ld-container {
  position: relative;
}

.ld-mes-cartes__fiche-link {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem;
}

.ld-mes-cartes__fiche-link .ld-btn {
  white-space: nowrap;
}

@media (min-width: 900px) {
  .ld-mes-cartes__fiche-link {
    position: absolute;
    top: 0.15rem;
    right: 0;
    z-index: 2;
    margin: 0;
    justify-content: flex-end;
  }
}

.ld-mes-cartes__fav-count {
  margin-left: 0.35rem;
  color: #fff;
  font-weight: 700;
}

.ld-mes-cartes__hero {
  max-width: 36rem;
  margin: 0 auto 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1.35rem;
}

.ld-mes-cartes__hero::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: var(--ld-mes-line);
  pointer-events: none;
}

.ld-mes-cartes__hero .ld-eyebrow {
  margin-bottom: 0.4rem;
}

.ld-mes-cartes__hero h1 {
  margin: 0 0 0.45rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.ld-mes-cartes__hero p {
  margin: 0;
  color: var(--ld-muted, #9aa3b8);
  font-size: 1.05rem;
  line-height: 1.5;
}

.ld-mes-cartes__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  justify-content: flex-start;
  margin: 0 0 0.85rem;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 720px) {
  .ld-mes-cartes__tabs {
    justify-content: center;
  }
}

/* Pastille crédits partagée (Mes cartes / boutique / MARKETPLACE) — style capsule */
.ld-credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.42rem 0.95rem 0.42rem 0.55rem;
  border: 1px solid rgba(0, 200, 220, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(8, 28, 36, 0.95), rgba(4, 14, 20, 0.92));
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.06);
  white-space: nowrap;
}

.ld-credits-pill__coin {
  position: relative;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffe9b0, #f0b429 48%, #c07a00 78%, #7a4a00);
  box-shadow:
    inset 0 0 0 1px rgba(255, 230, 160, 0.45),
    0 0 10px rgba(255, 196, 72, 0.35);
}

.ld-credits-pill__coin-mark {
  display: none;
}

.ld-credits-pill__k {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8b7c4;
}

.ld-credits-pill__v {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #77e0ff;
}

.ld-credits-pill__unit {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffd581;
}

/* Boutique + MARKETPLACE — pastille solde renforcée */
.ld-credits-pill--wallet {
  position: relative;
  gap: 0.7rem;
  padding: 0.5rem 1.15rem 0.5rem 0.5rem;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(0, 220, 240, 0.55);
  background:
    linear-gradient(125deg, rgba(0, 212, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(10, 36, 46, 0.98), rgba(3, 12, 18, 0.96));
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.12),
    0 0 22px rgba(0, 180, 210, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ld-credits-pill--wallet::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 48%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: ld-credits-pill-sheen 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.ld-credits-pill--wallet > * {
  position: relative;
  z-index: 1;
}

.ld-credits-pill--wallet .ld-credits-pill__coin {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  background:
    radial-gradient(circle at 30% 25%, #fff6d2 0%, #ffd56a 28%, #e8a520 55%, #b86e08 82%, #6a3d00 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 236, 180, 0.55),
    inset 0 -3px 6px rgba(90, 45, 0, 0.35),
    0 0 14px rgba(255, 196, 72, 0.45),
    0 0 2px rgba(0, 0, 0, 0.4);
  animation: ld-credits-coin-pulse 3.2s ease-in-out infinite;
}

.ld-credits-pill--wallet .ld-credits-pill__coin::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(120, 70, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 190, 0.25);
  pointer-events: none;
}

.ld-credits-pill--wallet .ld-credits-pill__coin-mark {
  display: block;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #5a3200;
  text-shadow: 0 1px 0 rgba(255, 236, 180, 0.45);
}

.ld-credits-pill--wallet .ld-credits-pill__copy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  min-width: 0;
  line-height: 1.05;
}

.ld-credits-pill--wallet .ld-credits-pill__k {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(180, 210, 225, 0.82);
}

.ld-credits-pill--wallet .ld-credits-pill__v {
  gap: 0.32rem;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #8aefff;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

.ld-credits-pill--wallet .ld-credits-pill__unit {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #ffd581;
  text-shadow: 0 0 8px rgba(255, 196, 72, 0.25);
}

.ld-credits-pill--wallet.is-updating .ld-credits-pill__v {
  animation: ld-credits-amount-flash 0.55s ease;
}

@keyframes ld-credits-pill-sheen {
  0%,
  55%,
  100% {
    background-position: 140% 0;
  }
  70% {
    background-position: -40% 0;
  }
}

@keyframes ld-credits-coin-pulse {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.08);
    transform: scale(1.04);
  }
}

@keyframes ld-credits-amount-flash {
  0% {
    color: #fff;
    text-shadow: 0 0 16px rgba(0, 255, 220, 0.7);
  }
  100% {
    color: #8aefff;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-credits-pill--wallet::before,
  .ld-credits-pill--wallet .ld-credits-pill__coin,
  .ld-credits-pill--wallet.is-updating .ld-credits-pill__v {
    animation: none;
  }
}

.ld-credits-pill.ld-mes-cartes__credits {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.35rem auto;
  margin-left: auto;
  margin-right: 0;
}

.ld-mes-cartes__tab {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--ld-muted, #9aa3b8);
  text-decoration: none;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  transition: color 0.2s var(--ld-ease, ease), border-color 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__tab span {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
  background: none;
}

.ld-mes-cartes__tab:hover {
  color: #fff;
}

.ld-mes-cartes__tab:hover span,
.ld-mes-cartes__tab.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.ld-mes-cartes__tab.is-active {
  color: #fff;
  border-bottom-color: var(--ld-cyan, #00d4ff);
}

.ld-mes-cartes__panel {
  max-width: 72rem;
  margin: 0 auto;
}

.ld-mes-cartes__sub {
  margin: 0 0 0.85rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ld-mes-cartes__hint,
.ld-mes-cartes__empty {
  color: var(--ld-muted, #9aa3b8);
  line-height: 1.55;
  text-align: center;
}

.ld-mes-cartes__empty {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  padding: 1.35rem 1.4rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--ld-radius, 4px);
  background: rgba(5, 7, 15, 0.35);
}

.ld-mes-cartes__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ld-radius, 4px);
  background:
    linear-gradient(180deg, rgba(18, 24, 42, 0.72), rgba(5, 7, 15, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.ld-mes-cartes__toolbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--ld-gradient, linear-gradient(135deg, #00d4ff, #ff2d95));
  opacity: 0.65;
  pointer-events: none;
}

.ld-mes-cartes__toolbar-meta {
  flex: 0 1 auto;
  min-width: 0;
}

.ld-mes-cartes__toolbar-k {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ld-gradient, linear-gradient(135deg, #00d4ff, #ff2d95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ld-mes-cartes__toolbar-hint {
  margin: 0;
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.88rem;
  line-height: 1.45;
}

.ld-mes-cartes__browse {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.65rem 0.85rem;
  flex: 0 0 auto;
}

.ld-mes-cartes__select-wrap {
  display: grid;
  gap: 0.3rem;
  width: 12.5rem;
  min-width: 11rem;
  flex: 0 0 12.5rem;
  max-width: 12.5rem;
}

.ld-mes-cartes__filter-label {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ld-mes-cartes__select {
  appearance: none;
  width: 100%;
  padding: 0.7rem 2.1rem 0.7rem 0.85rem;
  border: 1px solid var(--ld-line, rgba(255, 255, 255, 0.08));
  border-radius: var(--ld-radius, 4px);
  color: var(--ld-text, #f4f7ff);
  font-family: var(--ld-font-body, "DM Sans", sans-serif);
  font-size: 0.92rem;
  background:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%) calc(100% - 1rem) calc(50% - 0.18rem) / 0.35rem 0.35rem no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 50%, transparent 50%) calc(100% - 0.7rem) calc(50% - 0.18rem) / 0.35rem 0.35rem no-repeat,
    var(--ld-bg-2, #0a0e1a);
  cursor: pointer;
  transition: border-color 0.2s var(--ld-ease, ease), box-shadow 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__select:hover {
  border-color: rgba(0, 212, 255, 0.35);
}

.ld-mes-cartes__select:focus-visible {
  outline: none;
  border-color: var(--ld-cyan, #00d4ff);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.ld-mes-cartes__select option {
  color: #111;
  background: #fff;
}

.ld-mes-cartes__filter-empty {
  margin: 0.5rem 0 1rem;
  text-align: center;
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.9rem;
}

.ld-mes-cartes__filter-empty[hidden] {
  display: none !important;
}

.ld-mes-cartes__grid {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.ld-mes-cartes__grid[hidden] {
  display: none !important;
}

.ld-mes-cartes__panel,
.ld-mes-cartes__opts,
.ld-mes-cartes__card-meta {
  min-width: 0;
}

.ld-mes-cartes__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin: 1.75rem 0 0;
  padding: 1rem 0 0;
  position: relative;
}

.ld-mes-cartes__pager::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  background: var(--ld-mes-line);
  pointer-events: none;
}

.ld-mes-cartes__pager[hidden] {
  display: none !important;
}

.ld-mes-cartes__pager-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ld-radius, 4px);
  color: #fff;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(5, 7, 15, 0.45);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ld-ease, ease),
    background 0.2s var(--ld-ease, ease),
    transform 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__pager-btn:hover:not(:disabled):not(.is-disabled),
.ld-mes-cartes__pager-btn:focus-visible:not(:disabled):not(.is-disabled) {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.ld-mes-cartes__pager-btn.is-active {
  border-color: transparent;
  background: var(--ld-gradient, linear-gradient(135deg, #00d4ff, #ff2d95));
  color: #05070f;
}

.ld-mes-cartes__pager-btn:disabled,
.ld-mes-cartes__pager-btn.is-disabled {
  opacity: 0.35;
  cursor: default;
}

.ld-mes-cartes__pager-pages {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.ld-mes-cartes__tag {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ld-cyan, #00d4ff);
}

.ld-mes-cartes__grid > li {
  position: relative;
  isolation: isolate;
}

.ld-mes-cartes__opts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.ld-mes-cartes__offer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ld-radius, 4px);
  background: rgba(5, 7, 15, 0.45);
  cursor: pointer;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s var(--ld-ease, ease), color 0.2s var(--ld-ease, ease), background 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__offer input {
  width: 0.9rem;
  height: 0.9rem;
  accent-color: var(--ld-cyan, #00d4ff);
  flex: none;
}

.ld-mes-cartes__offer:hover {
  border-color: rgba(0, 212, 255, 0.35);
  color: #fff;
}

.ld-mes-cartes__offer:has(input:checked) {
  border-color: rgba(0, 212, 255, 0.55);
  color: #fff;
  background: rgba(0, 212, 255, 0.12);
}

.ld-mes-cartes__card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  margin: 0.55rem 0 0;
  min-height: 1.6rem;
}

.ld-mes-cartes__card-name {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  line-height: 1.25;
}

.ld-mes-cartes__rank {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex: none;
}

.ld-mes-cartes__rank[hidden] {
  display: none !important;
}

.ld-mes-cartes__rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.35rem;
  border: 1px solid rgba(255, 45, 149, 0.55);
  border-radius: 999px;
  background: rgba(255, 45, 149, 0.18);
  color: #ff9fd0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.ld-mes-cartes__rank-move {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ld-radius, 4px);
  background: rgba(5, 7, 15, 0.45);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s var(--ld-ease, ease), color 0.2s var(--ld-ease, ease), background 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__rank-move:hover:not(:disabled),
.ld-mes-cartes__rank-move:focus-visible:not(:disabled) {
  border-color: rgba(255, 45, 149, 0.55);
  color: #fff;
  outline: none;
}

.ld-mes-cartes__rank-move:disabled {
  opacity: 0.28;
  cursor: default;
}

.ld-mes-cartes__owner {
  margin: 0.35rem 0 0;
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
}

.ld-mes-cartes__fav-btn,
.ld-mes-cartes__public-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ld-radius, 4px);
  background: rgba(5, 7, 15, 0.45);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s var(--ld-ease, ease), background 0.2s var(--ld-ease, ease), color 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__fav-btn:hover,
.ld-mes-cartes__fav-btn:focus-visible,
.ld-mes-cartes__public-link:hover,
.ld-mes-cartes__public-link:focus-visible {
  border-color: rgba(0, 212, 255, 0.45);
  color: #fff;
  outline: none;
}

.ld-mes-cartes__fav-btn.is-on {
  border-color: rgba(255, 45, 149, 0.65);
  background: rgba(255, 45, 149, 0.16);
  color: #ff9fd0;
}

.ld-mes-cartes__fav-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.ld-mes-cartes__public-link {
  border-color: rgba(0, 212, 255, 0.28);
  color: var(--ld-cyan, #00d4ff);
}

.ld-mes-cartes__sell-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(126, 233, 255, 0.35);
  border-radius: var(--ld-radius, 4px);
  background: rgba(0, 212, 255, 0.1);
  color: #7ee9ff;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ld-mes-cartes__sell-btn:hover,
.ld-mes-cartes__sell-btn:focus-visible {
  border-color: rgba(126, 233, 255, 0.7);
  background: rgba(0, 212, 255, 0.2);
  color: #fff;
  outline: none;
}

.ld-mes-cartes__sell-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.ld-mes-cartes__market-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ld-mes-cartes__market-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 196, 72, 0.45);
  border-radius: var(--ld-radius, 4px);
  background: rgba(255, 176, 32, 0.12);
  color: #ffd27a;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.ld-mes-cartes__market-btn:hover,
.ld-mes-cartes__market-btn:focus-visible {
  border-color: rgba(255, 196, 72, 0.8);
  background: rgba(255, 176, 32, 0.22);
  color: #fff;
  outline: none;
}

.ld-mes-cartes__market-btn:disabled,
.ld-mes-cartes__market-btn.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  filter: grayscale(0.55);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.45);
}

.ld-mes-cartes__market-btn:disabled:hover,
.ld-mes-cartes__market-btn.is-disabled:hover,
.ld-mes-cartes__market-btn:disabled:focus-visible,
.ld-mes-cartes__market-btn.is-disabled:focus-visible {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.45);
}

.ld-mes-cartes__qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ld-radius, 4px);
  background: rgba(5, 7, 15, 0.45);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.ld-mes-cartes__market-choice {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ld-mes-cartes__market-choice .ld-btn,
.ld-mes-cartes__market-dialog .ld-btn {
  width: 100%;
  justify-content: center;
}

/* Contraste : pas de blanc sur blanc dans la modale Vendre */
.ld-mes-cartes__market-dialog .ld-btn:not(.ld-btn--ghost) {
  background: linear-gradient(135deg, #ffc347 0%, #e8a010 100%);
  border-color: rgba(255, 210, 122, 0.55);
  color: #121722;
  box-shadow: none;
}

.ld-mes-cartes__market-dialog .ld-btn:not(.ld-btn--ghost):hover,
.ld-mes-cartes__market-dialog .ld-btn:not(.ld-btn--ghost):focus-visible {
  color: #05070f;
  background: linear-gradient(135deg, #ffd27a 0%, #f0b020 100%);
  transform: none;
}

.ld-mes-cartes__market-dialog .ld-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f2f4f8;
}

.ld-mes-cartes__market-dialog .ld-btn--ghost:hover,
.ld-mes-cartes__market-dialog .ld-btn--ghost:focus-visible {
  border-color: rgba(255, 210, 122, 0.55);
  color: #fff;
  transform: none;
}

.ld-mes-cartes__market-dialog .ld-btn--ghost:disabled,
.ld-mes-cartes__market-dialog .ld-btn--ghost.is-disabled,
.ld-mes-cartes__market-dialog .ld-btn--ghost:disabled:hover,
.ld-mes-cartes__market-dialog .ld-btn--ghost.is-disabled:hover,
.ld-mes-cartes__market-dialog .ld-btn--ghost:disabled:focus-visible,
.ld-mes-cartes__market-dialog .ld-btn--ghost.is-disabled:focus-visible {
  opacity: 0.42;
  filter: grayscale(0.55);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(220, 225, 235, 0.55);
  background: rgba(255, 255, 255, 0.03);
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.ld-mes-cartes__market-recycle-hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ld-muted, #9aa3b8);
}

.ld-mes-cartes__market-recycle-hint[hidden] {
  display: none;
}

.ld-mes-cartes__market-locked {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ld-muted, #9aa3b8);
}

.ld-mes-cartes__panel--market {
  max-width: 72rem;
  margin-inline: auto;
  width: 100%;
}

.ld-market-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.15rem;
}

.ld-market-hd__eyebrow {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eb8ff;
}

.ld-market-hd__name {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #fff;
}

.ld-market-hd__side {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 0 1 auto;
}

.ld-market-hd__balance,
.ld-market-hd__pot,
.ld-market-hd__pot-wrap {
  flex: 0 0 auto;
  margin: 0;
}

.ld-market-hd__pot-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.ld-market-hd__pot .ld-credits-pill__k {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ld-market-help {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.12);
  color: #8aefff;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  vertical-align: middle;
  touch-action: manipulation;
}

.ld-market-help:hover,
.ld-market-help:focus-visible,
.ld-market-help[aria-expanded="true"] {
  border-color: rgba(255, 213, 122, 0.7);
  background: rgba(255, 196, 72, 0.16);
  color: #ffd581;
  outline: none;
}

.ld-market-help-tip {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.4rem);
  right: 0;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: var(--ld-radius, 4px);
  background: rgba(6, 18, 28, 0.98);
  color: #d7f7ff;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  width: min(18rem, calc(100vw - 2rem));
}

.ld-market-help-tip[hidden] {
  display: none !important;
}

.ld-market-hd__side:has(.ld-market-help-tip:not([hidden])) {
  margin-bottom: 3.25rem;
}

@media (max-width: 720px) {
  .ld-market-hd {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .ld-market-hd__title {
    text-align: center;
  }

  .ld-market-hd__eyebrow,
  .ld-market-hd__name {
    text-align: center;
  }

  .ld-market-hd__side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
    width: 100%;
    justify-content: stretch;
  }

  .ld-market-hd__balance,
  .ld-market-hd__pot-wrap {
    width: 100%;
    min-width: 0;
  }

  .ld-market-hd__pot-wrap .ld-market-hd__pot {
    width: 100%;
  }

  .ld-market-hd__side .ld-credits-pill--wallet {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    padding-right: 0.65rem;
  }

  /* Tip ancré au bloc des 2 pastilles (pas seulement la cellule pot). */
  .ld-market-hd__pot-wrap {
    position: static;
  }

  .ld-market-help-tip {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
}

.ld-market-tabs {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ld-market-tabs::-webkit-scrollbar {
  display: none;
}

.ld-market-tabs__item {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ld-muted, #9aa3b8);
  text-decoration: none;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.ld-market-tabs__item span {
  display: inline-flex;
  min-width: 1.25rem;
  justify-content: center;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.ld-market-tabs__item.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.ld-market-tabs__item:hover,
.ld-market-tabs__item:focus-visible {
  color: #fff;
  outline: none;
}

.ld-market-filters {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
}

.ld-market-filters__search input[type="search"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(8, 12, 22, 0.7);
  color: inherit;
  font: inherit;
}

.ld-market-filters__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ld-market-filters__row select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(8, 12, 22, 0.7);
  color: inherit;
  font: inherit;
}

.ld-market-filters__reset {
  margin: 0;
  font-size: 0.8rem;
}

.ld-market-filters__reset a {
  color: var(--ld-muted, #9aa3b8);
}

.ld-market-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-market-sell-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.35rem;
  text-align: center;
}

.ld-market-hint--sell {
  margin: 0;
}

.ld-market-sell-count {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #c9d2e3;
}

.ld-market-sell-goto {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
}

.ld-market-grid--sell {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 0.95rem;
}

.ld-market-tile--sell {
  flex: 0 1 10.5rem;
  width: 100%;
  max-width: 11rem;
}

.ld-market-tile--sell .ld-market-tile__art {
  width: 78%;
  max-width: 8.25rem;
}

.ld-market-tile__qty {
  margin: 0.15rem 0;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/*
 * Marketplace vignettes + historique : fond / calques / cadre / badge,
 * sans overlays holo (glare, mid/fg fx-holo, foil de surface).
 * Fiche détail (.ld-market-detail-art) : effets complets inchangés.
 */
#ld-market-desk .ld-market-tile__art .ld-holo-test__wrap,
#ld-market-desk .ld-market-tile__art .ld-holo-test__wrap--static,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__wrap,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__wrap--static {
  perspective: none !important;
  transform: none !important;
}

#ld-market-desk .ld-market-tile__art .ld-holo-test__card,
#ld-market-desk .ld-market-tile__art .ld-holo-test__card.is-animated,
#ld-market-desk .ld-market-tile__art .ld-holo-test__card.is-active,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__card,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__card.is-animated,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__card.is-active {
  transform: none !important;
  transition: none !important;
  cursor: default;
  touch-action: manipulation;
  pointer-events: none;
  animation: none !important;
}

#ld-market-desk .ld-market-tile__art .ld-holo-test__card::before,
#ld-market-desk .ld-market-tile__art .ld-holo-test__card::after,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__card::before,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__card::after {
  display: none !important;
  opacity: 0 !important;
  content: none !important;
  animation: none !important;
  background: none !important;
}

#ld-market-desk .ld-market-tile__art .ld-holo-test__glare,
#ld-market-desk .ld-market-tile__art .ld-holo-test__fg-glare,
#ld-market-desk .ld-market-tile__art .ld-holo-test__mid-holo,
#ld-market-desk .ld-market-tile__art .ld-holo-test__mid-fx,
#ld-market-desk .ld-market-tile__art .ld-holo-test__fg-holo,
#ld-market-desk .ld-market-tile__art .ld-holo-test__fg-fx,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__glare,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__fg-glare,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__mid-holo,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__mid-fx,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__fg-holo,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__fg-fx {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
}

#ld-market-desk .ld-market-tile__art .ld-holo-test__rim-foil,
#ld-market-desk .ld-market-tile__art .ld-holo-test__edition-foil,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__rim-foil,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__edition-foil {
  animation: none !important;
}

#ld-market-desk .ld-market-tile__art .ld-holo-test__rim-foil--spark,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__rim-foil--spark {
  opacity: 0.45 !important;
}

/* Titre / série : texte plat (coupe foil + chrome) */
#ld-market-desk .ld-market-tile__art .ld-holo-test__text-foil,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__text-foil {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
  background: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

#ld-market-desk .ld-market-tile__art .ld-holo-test__text-face,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__text-face {
  color: var(--ld-card-text, #fff) !important;
  -webkit-text-fill-color: var(--ld-card-text, #fff) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  animation: none !important;
  opacity: 1 !important;
}

#ld-market-desk .ld-market-tile__art .ld-holo-test__card--text-holo .ld-holo-test__text-face,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__card--text-holo .ld-holo-test__text-face,
#ld-market-desk .ld-market-tile__art .ld-holo-test__card--text-fx-chrome .ld-holo-test__text-face,
#ld-market-desk .ld-market-row-thumb .ld-holo-test__card--text-fx-chrome .ld-holo-test__text-face {
  color: var(--ld-card-text, #fff) !important;
  -webkit-text-fill-color: var(--ld-card-text, #fff) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  filter: none !important;
}

/* Badge : coupe sheen / anim métal */
#ld-market-desk .ld-market-tile__art .ld-collect-card__rarity,
#ld-market-desk .ld-market-row-thumb .ld-collect-card__rarity,
#ld-market-desk .ld-market-tile__art .ld-rarity-badge--metal,
#ld-market-desk .ld-market-row-thumb .ld-rarity-badge--metal {
  animation: none !important;
  background-size: 100% 100% !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

#ld-market-desk .ld-market-tile__art .ld-collect-card__rarity::before,
#ld-market-desk .ld-market-tile__art .ld-collect-card__rarity::after,
#ld-market-desk .ld-market-row-thumb .ld-collect-card__rarity::before,
#ld-market-desk .ld-market-row-thumb .ld-collect-card__rarity::after {
  display: none !important;
  content: none !important;
  animation: none !important;
  opacity: 0 !important;
}

.ld-market-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.55rem;
}

@media (min-width: 720px) {
  .ld-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 0.9rem;
  }
}

@media (min-width: 980px) {
  .ld-market-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem 1rem;
  }
}

@media (min-width: 1200px) {
  .ld-market-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.ld-market-tile__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.ld-market-tile__link--static {
  cursor: default;
}

.ld-market-tile__art {
  position: relative;
  display: block;
  width: 72%;
  max-width: 7.5rem;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.ld-market-tile__art .ld-holo-test__wrap {
  margin: 0 auto;
  max-width: 100%;
}

.ld-market-tile__art .ld-holo-test__wrap > *,
.ld-market-tile__art .ld-holo-test__card {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.ld-market-tile__watch {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 2;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(8, 12, 22, 0.72);
  color: #ffd27a;
  font-size: 0.7rem;
  line-height: 1;
  pointer-events: none;
}

.ld-market-tile__owned {
  position: absolute;
  right: 0.3rem;
  bottom: 0.3rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 255, 176, 0.55);
  background: rgba(8, 18, 14, 0.88);
  color: #7dffb0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ld-market-tile__owned-ico {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.ld-market-tile__owned-lbl {
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.ld-market-detail-art-wrap {
  position: relative;
  width: min(14rem, 58vw);
  margin: 0 auto;
}

.ld-market-detail-art-wrap .ld-market-detail-art {
  width: 100%;
  margin: 0;
}

.ld-market-tile__owned--detail {
  right: 0.45rem;
  bottom: 0.45rem;
  height: 1.55rem;
  padding: 0 0.55rem;
  font-size: 0.8rem;
}

.ld-market-tile__owned--detail .ld-market-tile__owned-lbl {
  font-size: 0.68rem;
}

.ld-market-detail-art {
  width: min(14rem, 58vw);
  margin: 0 auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.ld-market-detail-art .ld-holo-test__card {
  width: 100% !important;
  max-width: 100% !important;
}

.ld-market-product__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
  margin: 0 0 1.1rem;
}

.ld-market-product__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  text-align: center;
}

.ld-market-product__eyebrow {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(126, 233, 255, 0.75);
}

.ld-market-product__title {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
}

.ld-market-product__own {
  margin: 0.15rem 0 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.ld-market-product__own.is-owned {
  color: rgba(255, 45, 149, 0.95);
}

.ld-market-product__own.is-new {
  color: rgba(126, 233, 255, 0.95);
}

.ld-market-watch {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.15rem 0 0;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  color: #7ee9ff;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ld-market-watch:hover,
.ld-market-watch:focus-visible {
  border-color: rgba(255, 210, 122, 0.65);
  background: rgba(255, 176, 32, 0.12);
  color: #ffd27a;
  outline: none;
}

.ld-market-watch.is-on {
  background: rgba(255, 176, 32, 0.22);
  border-color: rgba(255, 210, 122, 0.75);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 196, 72, 0.18);
}

.ld-market-stats {
  list-style: none;
  margin: 0.85rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
  max-width: 22rem;
  text-align: center;
  justify-items: stretch;
}

.ld-market-stats__item,
.ld-market-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 4.1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  text-align: center;
}

.ld-market-stats__item--price {
  border-color: rgba(255, 210, 122, 0.35);
  background:
    linear-gradient(160deg, rgba(255, 176, 32, 0.14), rgba(255, 255, 255, 0.02));
}

.ld-market-stats__item--hint {
  border-color: rgba(0, 212, 255, 0.28);
  background:
    linear-gradient(160deg, rgba(0, 212, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.ld-market-stats__k {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-muted, #9aa3b8);
}

.ld-market-stats__v {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.ld-market-stats__item--price .ld-market-stats__v {
  color: #ffd27a;
  font-size: 1.08rem;
}

.ld-market-stats__v--hint {
  color: #7ee9ff;
}

.ld-market-sellers-summary {
  margin: 0.75rem auto 0;
  font-size: 0.8rem;
  color: var(--ld-muted, #9aa3b8);
  text-align: center;
  line-height: 1.4;
  max-width: 22rem;
}

.ld-market-tile__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  padding: 0 0.15rem;
  text-align: center;
}

.ld-market-tile__name {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-market-tile__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
}

.ld-market-tile__price {
  color: #ffd27a;
  font-weight: 700;
  font-size: 0.92rem;
}

.ld-market-tile__price--hint {
  color: var(--ld-muted, #9aa3b8);
  font-weight: 600;
  font-size: 0.8rem;
}

.ld-market-tile__count {
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.75rem;
}

.ld-market-tile__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 122, 0.55);
  background: rgba(255, 176, 32, 0.18);
  color: #ffd27a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.ld-market-tile__link:hover .ld-market-tile__chev,
.ld-market-tile__link:focus-visible .ld-market-tile__chev {
  color: #fff;
  border-color: rgba(255, 210, 122, 0.9);
  background: rgba(255, 176, 32, 0.38);
}

.ld-market-tile__sell {
  margin-top: 0.55rem;
  width: 100%;
  min-height: 2.55rem;
  padding: 0.55rem 0.7rem;
  justify-content: center;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.ld-market-tile__sell.ld-btn--primary {
  color: #05070f;
}

.ld-market-tile__sell.ld-btn--primary:hover,
.ld-market-tile__sell.ld-btn--primary:focus-visible {
  color: #05070f;
}

.ld-market-row-thumb {
  flex: 0 0 3.6rem;
  width: 3.6rem;
  height: 5rem;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  position: relative;
}

.ld-market-row-thumb > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Mini carte complète (fond + calque 2 + calque 3). */
.ld-market-row-thumb .ld-holo-test__wrap {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  max-width: none;
}

.ld-market-row-thumb .ld-holo-test__wrap > *,
.ld-market-row-thumb .ld-holo-test__card {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

.ld-market-row-thumb .ld-holo-test__art,
.ld-market-row-thumb .ld-holo-test__art--bg,
.ld-market-row-thumb .ld-holo-test__art--mid,
.ld-market-row-thumb .ld-holo-test__art--fg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
}

.ld-market-row-thumb .ld-holo-test__name,
.ld-market-row-thumb .ld-holo-test__meta,
.ld-market-row-thumb .ld-holo-test__badge,
.ld-market-row-thumb .ld-holo-test__text,
.ld-market-row-thumb .ld-holo-test__text-foil,
.ld-market-row-thumb .ld-holo-test__rim-foil {
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: 0.92;
}

.ld-mes-cartes__market-seller-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ld-market-sale-title-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  min-width: 0;
}

.ld-market-sale-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.12rem 0.42rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #00d4ff 0%, #3a8dff 100%);
  color: #061018;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.35);
}

.ld-market-sale-new[hidden] {
  display: none !important;
}

.ld-mes-cartes__market-row--mine {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.ld-mes-cartes__market-row--mine .ld-market-bid-list {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  padding: 0.55rem 0.65rem;
  list-style: none;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.18);
}

.ld-market-bid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.85rem;
}

.ld-market-bid__who {
  font-size: 0.88rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-market-bid__who a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.ld-market-bid__prices {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.ld-market-bid__offer {
  color: #7dffb0;
  font-size: 1rem;
}

.ld-market-bid__list {
  color: rgba(154, 163, 184, 0.85);
  font-size: 0.86rem;
}

.ld-market-bid__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.ld-market-bid__actions--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.4rem;
  max-width: 100%;
}

.ld-market-bid__actions--inline .ld-btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
}

.ld-market-bid__wait {
  font-size: 0.82rem;
  color: rgba(154, 163, 184, 0.9);
  font-style: italic;
}

.ld-market-bid.is-waiting {
  opacity: 0.92;
}

.ld-market-offers-pending-count {
  color: #ffd27a !important;
}

.ld-notifs-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.ld-notifs-hd__title {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ld-notifs-hd__sub {
  margin: 0.25rem 0 0;
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.92rem;
}

.ld-notifs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ld-notifs-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.ld-notifs-item.is-unread {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.08);
}

.ld-notifs-item__title {
  display: block;
  font-size: 0.98rem;
  color: #fff;
}

.ld-notifs-item__when {
  display: block;
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(0, 212, 255, 0.85);
}

.ld-notifs-item__body {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-notifs-empty-recent {
  margin-bottom: 1rem;
}

.ld-notifs-archive {
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.ld-notifs-archive__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d7deef;
  user-select: none;
}

.ld-notifs-archive__summary::-webkit-details-marker {
  display: none;
}

.ld-notifs-archive__summary::after {
  content: "+";
  font-size: 1.1rem;
  color: rgba(0, 212, 255, 0.9);
}

.ld-notifs-archive[open] .ld-notifs-archive__summary::after {
  content: "−";
}

.ld-notifs-archive__count {
  margin-left: auto;
  margin-right: 0.35rem;
  min-width: 1.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.14);
  color: #7fe9ff;
  font-size: 0.78rem;
  text-align: center;
}

.ld-notifs-list--archive {
  padding: 0 0.65rem 0.75rem;
  gap: 0.45rem;
}

.ld-notifs-list--archive .ld-notifs-item {
  opacity: 0.88;
}

.ld-notifs-item__prices {
  margin: 0.4rem 0 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.ld-notifs-item__actions {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .ld-mes-cartes__market-row--mine {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "seller"
      "price"
      "actions";
  }

  .ld-mes-cartes__market-row--mine .ld-mes-cartes__market-seller {
    grid-area: seller;
  }

  .ld-mes-cartes__market-row--mine .ld-mes-cartes__market-price {
    grid-area: price;
    align-items: flex-start;
  }

  .ld-market-bid {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .ld-market-bid__who,
  .ld-market-bid__prices,
  .ld-market-bid__wait {
    width: 100%;
  }

  .ld-market-bid__actions,
  .ld-market-bid__actions--inline {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.45rem;
  }

  .ld-market-bid__actions .ld-btn,
  .ld-market-bid__actions--inline .ld-btn {
    width: 100%;
    box-sizing: border-box;
    min-height: 2.55rem;
    min-width: 0;
  }

  .ld-mes-cartes__market-row.has-counter-turn .ld-mes-cartes__market-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.45rem;
  }

  .ld-mes-cartes__market-row.has-counter-turn .ld-market-bid__actions--inline {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .ld-mes-cartes__market-row--mine .ld-mes-cartes__market-actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 0.45rem;
  }

  .ld-mes-cartes__market-row--mine .ld-mes-cartes__market-actions .ld-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

.ld-mes-cartes__market-avg {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-mes-cartes__market-exp {
  color: #9ad0ff !important;
}

.ld-mes-cartes__market-history {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ld-market-sales-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.ld-market-sales-head .ld-mes-cartes__sub {
  margin: 0;
}

.ld-market-sales-all {
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ld-cyan, #00d4ff);
  text-decoration: none;
}

.ld-market-sales-all:hover,
.ld-market-sales-all:focus-visible {
  text-decoration: underline;
}

.ld-mes-cartes__market-row--hist,
.ld-mes-cartes__market-row--sale {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ld-market-sale-party {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-market-sale-who {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.ld-market-sale-who img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ld-market-sale-who a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.ld-market-sale-who a:hover,
.ld-market-sale-who a:focus-visible {
  color: var(--ld-cyan, #00d4ff);
}

.ld-market-sale-arrow {
  color: rgba(255, 45, 149, 0.85);
  font-weight: 700;
}

.ld-market-sale-party-inline {
  display: block;
  margin-top: 0.2rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-mes-cartes__market-balance {
  margin: 0.65rem 0 0;
  font-weight: 700;
  color: #7ee9ff;
}

.ld-mes-cartes__market-back {
  display: flex;
  justify-content: center;
  margin: 0 0 1.25rem;
}

@media (min-width: 900px) {
  .ld-mes-cartes__market-back {
    justify-content: flex-start;
  }
}

.ld-mes-cartes__market-detail,
.ld-market-product {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: start;
  justify-items: center;
}

@media (min-width: 900px) {
  .ld-mes-cartes__market-detail,
  .ld-market-product {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    justify-items: stretch;
  }
}

.ld-mes-cartes__market-detail-card,
.ld-market-product__aside {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  text-align: center;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(12, 18, 28, 0.92), rgba(6, 9, 16, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 900px) {
  .ld-mes-cartes__market-detail-card,
  .ld-market-product__aside {
    max-width: none;
    margin-inline: 0;
  }
}

.ld-market-offers {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 1rem 1.05rem 1.15rem;
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(8, 22, 32, 0.92), rgba(5, 10, 16, 0.9));
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ld-market-offers__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  margin: 0 0 1rem;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ld-market-offers__head-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ld-market-offers__eyebrow {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(126, 233, 255, 0.7);
}

.ld-market-offers__title {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.ld-market-offers__sort {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ld-muted, #9aa3b8);
}

.ld-market-offers__empty {
  margin: 0.5rem 0 0;
}

.ld-market-offers__list {
  flex: 1 1 auto;
}

.ld-market-offers__you {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.12);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ee9ff;
}

.ld-mes-cartes__market-suggested {
  margin: 0.35rem 0 0;
  color: #ffd27a;
  font-size: 0.95rem;
}

.ld-mes-cartes__market-grid {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.ld-mes-cartes__market-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ld-radius, 4px);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ld-mes-cartes__market-card-link:hover,
.ld-mes-cartes__market-card-link:focus-visible {
  border-color: rgba(255, 196, 72, 0.45);
  background: rgba(255, 176, 32, 0.08);
  outline: none;
}

.ld-mes-cartes__market-card-name {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.ld-mes-cartes__market-card-meta,
.ld-mes-cartes__market-card-hint {
  font-size: 0.8rem;
  color: var(--ld-muted, #9aa3b8);
  text-align: center;
}

.ld-mes-cartes__market-card-hint {
  color: #ffd27a;
}

.ld-mes-cartes__market-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ld-mes-cartes__market-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* Contre-offre : vendeur + prix sur une ligne, actions en pleine largeur en dessous (PC). */
.ld-mes-cartes__market-row.has-counter-turn {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "seller price"
    "actions actions";
  align-items: start;
}

.ld-mes-cartes__market-row.has-counter-turn .ld-mes-cartes__market-seller {
  grid-area: seller;
  min-width: 0;
}

.ld-mes-cartes__market-row.has-counter-turn .ld-mes-cartes__market-price {
  grid-area: price;
  align-items: flex-end;
  text-align: right;
}

.ld-mes-cartes__market-row.has-counter-turn .ld-mes-cartes__market-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
}

.ld-mes-cartes__market-row.has-counter-turn .ld-market-bid__actions--inline .ld-btn {
  min-width: 0;
  width: 100%;
  justify-content: center;
}

.ld-mes-cartes__market-row.has-counter-turn .ld-mes-cartes__market-actions > .ld-btn {
  flex: 0 0 auto;
}

@media (min-width: 641px) {
  .ld-mes-cartes__market-row.has-counter-turn .ld-market-bid__actions--inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 1 1 22rem;
    width: auto;
    min-width: min(100%, 22rem);
    max-width: 100%;
    gap: 0.4rem;
  }
}

.ld-mes-cartes__market-row:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.ld-mes-cartes__market-row.is-mine {
  border-color: rgba(0, 212, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.08);
}

@media (max-width: 640px) {
  .ld-market-product {
    gap: 1rem;
    width: 100%;
  }

  .ld-market-product__aside {
    max-width: none;
    padding: 1rem 0.9rem 1.1rem;
  }

  .ld-market-offers {
    padding: 0.9rem 0.85rem 1rem;
  }

  .ld-market-offers__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
  }

  .ld-market-offers__head-copy {
    align-items: flex-start;
    width: 100%;
  }

  .ld-market-offers__sort {
    font-size: 0.72rem;
  }

  .ld-market-offers__list {
    gap: 0.6rem;
  }

  .ld-mes-cartes__market-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "seller price"
      "actions actions";
    gap: 0.75rem 0.65rem;
    align-items: center;
    justify-items: stretch;
    padding: 0.85rem 0.85rem;
    text-align: left;
  }

  .ld-mes-cartes__market-row .ld-mes-cartes__market-seller {
    grid-area: seller;
    justify-content: flex-start;
    min-width: 0;
  }

  .ld-mes-cartes__market-row .ld-mes-cartes__market-seller-copy {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
  }

  .ld-mes-cartes__market-row .ld-mes-cartes__market-seller-copy a,
  .ld-mes-cartes__market-row .ld-mes-cartes__market-seller-copy > span:not(.ld-market-offers__you) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 8.5rem;
  }

  .ld-mes-cartes__market-row .ld-market-offers__you {
    margin-top: 0;
  }

  .ld-mes-cartes__market-row .ld-mes-cartes__market-price {
    grid-area: price;
    align-items: flex-end;
    text-align: right;
  }

  .ld-mes-cartes__market-row .ld-mes-cartes__market-price strong {
    font-size: 1.2rem;
  }

  .ld-mes-cartes__market-row .ld-mes-cartes__market-actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    gap: 0.45rem;
    min-width: 0;
  }

  .ld-mes-cartes__market-row.has-counter-turn .ld-mes-cartes__market-actions,
  .ld-mes-cartes__market-row.has-counter-turn .ld-market-bid__actions--inline {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: none;
    gap: 0.45rem;
  }

  .ld-mes-cartes__market-row .ld-mes-cartes__market-actions .ld-btn,
  .ld-mes-cartes__market-row .ld-mes-cartes__market-actions .ld-market-bid__actions--inline .ld-btn,
  .ld-mes-cartes__market-row.has-counter-turn .ld-market-bid__actions--inline .ld-btn {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 2.65rem;
    flex: none;
    box-sizing: border-box;
  }

  .ld-mes-cartes__market-avatar {
    width: 40px;
    height: 40px;
  }

  .ld-market-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 0.45rem;
  }
}

.ld-mes-cartes__market-seller {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.ld-mes-cartes__market-seller a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.ld-mes-cartes__market-seller a:hover {
  color: #7ee9ff;
}

.ld-mes-cartes__market-seller em {
  font-style: normal;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7ee9ff;
}

.ld-mes-cartes__market-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.ld-mes-cartes__market-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-mes-cartes__market-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.18rem;
  white-space: nowrap;
}

.ld-mes-cartes__market-price strong {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  color: #ffd27a;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ld-mes-cartes__market-price small {
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.75rem;
}

.ld-mes-cartes__market-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.ld-mes-cartes__market-actions .ld-btn {
  min-height: 2.45rem;
  padding-inline: 1rem;
  white-space: nowrap;
}

.ld-mes-cartes__market-cancel-x {
  flex: 0 0 auto;
  width: 2.45rem;
  min-width: 2.45rem;
  padding-inline: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  color: #ff7a9a;
  border-color: rgba(255, 122, 154, 0.45);
}

.ld-mes-cartes__market-cancel-x-label {
  display: none;
}

.ld-mes-cartes__market-cancel-x:hover,
.ld-mes-cartes__market-cancel-x:focus-visible {
  color: #fff;
  border-color: rgba(255, 90, 130, 0.75);
  background: rgba(255, 45, 100, 0.18);
}

@media (max-width: 640px) {
  .ld-mes-cartes__market-row .ld-mes-cartes__market-actions .ld-mes-cartes__market-cancel-x {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    justify-content: center;
    padding-inline: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }

  .ld-mes-cartes__market-cancel-x-icon {
    display: none;
  }

  .ld-mes-cartes__market-cancel-x-label {
    display: inline;
  }
}

.ld-mes-cartes__market-mine {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ld-mes-cartes__market-dialog {
  border: 1px solid rgba(255, 196, 72, 0.35);
  border-radius: var(--ld-radius, 6px);
  padding: 0;
  background: #121722;
  color: #f2f4f8;
  max-width: 22rem;
  width: calc(100% - 2rem);
}

.ld-mes-cartes__market-dialog::backdrop {
  background: rgba(6, 8, 14, 0.72);
}

.ld-mes-cartes__market-dialog-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.ld-mes-cartes__market-dialog-form h2 {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-mes-cartes__market-dialog-hint {
  margin: 0;
  color: #ffd27a;
  font-size: 0.95rem;
  font-weight: 600;
}

.ld-mes-cartes__market-dialog-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 210, 122, 0.22);
  border-radius: var(--ld-radius, 4px);
  background: rgba(255, 176, 32, 0.08);
}

.ld-mes-cartes__market-dialog-k {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 210, 122, 0.75);
}

.ld-mes-cartes__market-dialog-suggested {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffd27a;
  line-height: 1.15;
}

.ld-mes-cartes__market-dialog-block--best {
  border-color: rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.08);
}

.ld-mes-cartes__market-dialog-block--best .ld-mes-cartes__market-dialog-k {
  color: rgba(126, 233, 255, 0.8);
}

.ld-mes-cartes__market-dialog-best {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #7ee9ff;
  line-height: 1.15;
}

.ld-mes-cartes__market-dialog-note {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-mes-cartes__market-dialog-error {
  margin: 0.35rem 0 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 90, 90, 0.45);
  border-radius: var(--ld-radius, 4px);
  background: rgba(255, 60, 60, 0.12);
  color: #ffb4b4;
  font-size: 0.88rem;
  line-height: 1.35;
}

.ld-mes-cartes__market-dialog-error[hidden] {
  display: none;
}

.ld-mes-cartes__market-dialog-label input.is-invalid {
  border-color: rgba(255, 90, 90, 0.65);
  color: #ffb4b4;
  box-shadow: 0 0 0 2px rgba(255, 80, 80, 0.12);
}

.ld-mes-cartes__market-dialog-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ld-mes-cartes__market-dialog-price-field {
  position: relative;
  display: block;
}

.ld-mes-cartes__market-dialog-label input {
  appearance: textfield;
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 2.6rem 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ld-radius, 4px);
  background: rgba(0, 0, 0, 0.4);
  color: #7ee9ff;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ld-mes-cartes__market-dialog-label input:focus {
  outline: none;
  border-color: rgba(126, 233, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

.ld-mes-cartes__market-dialog-price-unit {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffd27a;
  pointer-events: none;
}

.ld-mes-cartes__market-dialog-fee {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(126, 233, 255, 0.2);
  border-radius: var(--ld-radius, 4px);
  background: rgba(0, 212, 255, 0.06);
}

.ld-mes-cartes__market-dialog-fee[hidden] {
  display: none !important;
}

.ld-mes-cartes__market-dialog-fee-net {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.ld-mes-cartes__market-dialog-fee-net strong {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #7ee9ff;
}

.ld-mes-cartes__market-dialog-fee-list {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ld-mes-cartes__market-dialog-fee-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-mes-cartes__market-dialog-fee-list strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.ld-mes-cartes__market-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.ld-mes-cartes__market-dialog-actions .ld-btn {
  flex: 1 1 auto;
}

.ld-mes-cartes__panel--rank {
  max-width: 48rem;
}

.ld-mes-cartes__rank-head {
  margin: 0 0 1.35rem;
  text-align: center;
}

.ld-mes-cartes__rank-head p {
  margin: 0.35rem 0 0;
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Podium top 3 */
.ld-mes-cartes__podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0 0.15rem;
}

.ld-mes-cartes__podium-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.15rem 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(18, 24, 42, 0.85), rgba(5, 7, 15, 0.55));
  text-align: center;
  min-width: 0;
  transition: transform 0.2s var(--ld-ease, ease), border-color 0.2s var(--ld-ease, ease), box-shadow 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__podium-card > * {
  position: relative;
  z-index: 1;
}

.ld-mes-cartes__podium-card:hover {
  transform: translateY(-3px);
}

/*
 * Holo sweep — même principe que .ld-footer__brand-holo
 * (bande cyan → blanc → magenta qui traverse)
 */
.ld-mes-cartes__podium-card.is-top-1::after,
.ld-mes-cartes__podium-card.is-top-2::after,
.ld-mes-cartes__podium-card.is-top-3::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 212, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 45, 149, 0.45) 55%,
    transparent 62%,
    transparent 100%
  );
  background-size: 250% 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: ld-holo-sweep 4.8s ease-in-out infinite;
}

.ld-mes-cartes__podium-card.is-top-1::after {
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 36%,
    rgba(247, 201, 72, 0.45) 44%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 140, 60, 0.4) 56%,
    transparent 64%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation-duration: 4.2s;
}

.ld-mes-cartes__podium-card.is-top-2::after {
  animation-duration: 5.2s;
  animation-delay: 0.35s;
}

.ld-mes-cartes__podium-card.is-top-3::after {
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 36%,
    rgba(230, 150, 95, 0.4) 44%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 45, 149, 0.35) 56%,
    transparent 64%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation-duration: 5.6s;
  animation-delay: 0.7s;
}

.ld-mes-cartes__podium-card.is-top-1:hover::after,
.ld-mes-cartes__podium-card.is-top-2:hover::after,
.ld-mes-cartes__podium-card.is-top-3:hover::after {
  animation-duration: 2.6s;
}

/* Fallback si main.css (keyframes ld-holo-sweep) absent */
@keyframes ld-holo-sweep {
  0% { background-position: 130% 0; }
  100% { background-position: -50% 0; }
}

.ld-mes-cartes__podium-card.is-top-1 {
  padding-top: 0.85rem;
  padding-bottom: 1.25rem;
  border-color: rgba(247, 201, 72, 0.65);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(247, 201, 72, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(28, 24, 14, 0.92), rgba(5, 7, 15, 0.62));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(247, 201, 72, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ld-mes-cartes__podium-card.is-top-2 {
  border-color: rgba(180, 196, 220, 0.55);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(180, 196, 220, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(18, 24, 42, 0.88), rgba(5, 7, 15, 0.58));
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    0 0 18px rgba(160, 190, 230, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ld-mes-cartes__podium-card.is-top-3 {
  border-color: rgba(205, 127, 80, 0.6);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(205, 127, 80, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(24, 16, 12, 0.9), rgba(5, 7, 15, 0.58));
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    0 0 18px rgba(205, 127, 80, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ld-mes-cartes__podium-card.is-me {
  outline: 1px solid rgba(255, 45, 149, 0.45);
}

.ld-mes-cartes__podium-medal {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  flex: none;
  min-width: 1.85rem;
  height: 1.85rem;
  margin: 0;
  padding: 0 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #05070f;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.ld-mes-cartes__podium-card.is-top-1 .ld-mes-cartes__podium-medal {
  background: linear-gradient(135deg, #f7c948, #e8a317);
}

.ld-mes-cartes__podium-card.is-top-2 .ld-mes-cartes__podium-medal {
  background: linear-gradient(135deg, #e8eef8, #a8b8cc);
}

.ld-mes-cartes__podium-card.is-top-3 .ld-mes-cartes__podium-medal {
  background: linear-gradient(135deg, #e0a070, #b86a3a);
  color: #fff;
}

.ld-mes-cartes__podium-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
  color: #fff;
  text-decoration: none;
  z-index: 1;
}

.ld-mes-cartes__podium-avatar {
  position: relative;
  z-index: 1;
  width: 5.25rem;
  height: 5.25rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.ld-mes-cartes__podium-card.is-top-1 .ld-mes-cartes__podium-avatar,
.ld-mes-cartes__podium-card.is-top-2 .ld-mes-cartes__podium-avatar,
.ld-mes-cartes__podium-card.is-top-3 .ld-mes-cartes__podium-avatar {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(0, 212, 255, 0.2);
}

.ld-mes-cartes__podium-card.is-top-1 .ld-mes-cartes__podium-avatar {
  width: 6.25rem;
  height: 6.25rem;
  border-color: rgba(247, 201, 72, 0.85);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(247, 201, 72, 0.35);
}

.ld-mes-cartes__podium-card.is-top-2 .ld-mes-cartes__podium-avatar {
  border-color: rgba(200, 220, 245, 0.75);
}

.ld-mes-cartes__podium-card.is-top-3 .ld-mes-cartes__podium-avatar {
  border-color: rgba(230, 150, 95, 0.8);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(205, 127, 80, 0.3);
}

.ld-mes-cartes__podium-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-mes-cartes__podium-name {
  max-width: 100%;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.ld-mes-cartes__podium-link:hover .ld-mes-cartes__podium-name {
  color: var(--ld-cyan, #00d4ff);
}

.ld-mes-cartes__podium-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.1);
  color: var(--ld-cyan, #00d4ff);
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ld-mes-cartes__podium-value {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #7ee9ff;
}

.ld-mes-cartes__podium-card.is-top-1 .ld-mes-cartes__podium-count {
  border-color: rgba(247, 201, 72, 0.45);
  background: rgba(247, 201, 72, 0.14);
  color: #f7c948;
}

.ld-mes-cartes__podium-card.is-top-2 .ld-mes-cartes__podium-count {
  border-color: rgba(180, 210, 240, 0.45);
  background: rgba(180, 210, 240, 0.12);
  color: #d4e4f8;
}

.ld-mes-cartes__podium-card.is-top-3 .ld-mes-cartes__podium-count {
  border-color: rgba(230, 150, 95, 0.45);
  background: rgba(230, 150, 95, 0.14);
  color: #e8a870;
}

@media (prefers-reduced-motion: reduce) {
  .ld-mes-cartes__podium-card.is-top-1::after,
  .ld-mes-cartes__podium-card.is-top-2::after,
  .ld-mes-cartes__podium-card.is-top-3::after {
    animation: none;
  }
}

/* Liste 4+ */
.ld-mes-cartes__rank-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  max-width: 42rem;
}

.ld-mes-cartes__rank-item {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.04), transparent 40%),
    rgba(5, 7, 15, 0.5);
  transition: border-color 0.2s var(--ld-ease, ease), background 0.2s var(--ld-ease, ease), transform 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__rank-item:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background:
    linear-gradient(90deg, rgba(0, 212, 255, 0.1), transparent 45%),
    rgba(5, 7, 15, 0.68);
  transform: translateX(2px);
}

.ld-mes-cartes__rank-item.is-me {
  border-color: rgba(255, 45, 149, 0.5);
  background:
    linear-gradient(90deg, rgba(255, 45, 149, 0.14), transparent 50%),
    rgba(5, 7, 15, 0.55);
}

.ld-mes-cartes__rank-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.ld-mes-cartes__rank-item.is-top-1 .ld-mes-cartes__rank-pos {
  color: #05070f;
  border-color: rgba(247, 201, 72, 0.55);
  background: linear-gradient(135deg, #f7c948, #e8a317);
}

.ld-mes-cartes__rank-item.is-top-2 .ld-mes-cartes__rank-pos {
  color: #05070f;
  border-color: rgba(180, 196, 220, 0.5);
  background: linear-gradient(135deg, #e8eef8, #a8b8cc);
}

.ld-mes-cartes__rank-item.is-top-3 .ld-mes-cartes__rank-pos {
  color: #fff;
  border-color: rgba(205, 127, 80, 0.55);
  background: linear-gradient(135deg, #e0a070, #b86a3a);
}

.ld-mes-cartes__rank-profile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

a.ld-mes-cartes__rank-profile:hover .ld-mes-cartes__rank-name {
  color: var(--ld-cyan, #00d4ff);
}

.ld-mes-cartes__rank-avatar {
  flex: none;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ld-mes-cartes__rank-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-mes-cartes__rank-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ld-mes-cartes__rank-name {
  min-width: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s var(--ld-ease, ease);
}

.ld-mes-cartes__rank-you {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9fd0;
}

.ld-mes-cartes__rank-count {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.35rem;
  flex: none;
  min-width: 0;
  white-space: nowrap;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  line-height: 1.15;
}

.ld-mes-cartes__rank-count strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.ld-mes-cartes__rank-count span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.ld-mes-cartes__rank-count-sub {
  display: block;
  width: 100%;
  margin-top: 0.15rem;
  text-align: right;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: rgba(255, 255, 255, 0.38) !important;
}

.ld-mes-cartes__rank-count {
  flex-wrap: wrap;
}

.ld-mes-cartes__pager--rank .ld-mes-cartes__pager-btn.is-disabled {
  opacity: 0.28;
  pointer-events: none;
  cursor: default;
}

/* Responsive Mes cartes */
@media (max-width: 980px) {
  .ld-mes-cartes,
  .ld-mes-cartes__grid,
  .ld-mes-cartes__grid .ld-collect-card,
  .ld-mes-cartes__grid .ld-holo-test__card {
    --ld-collect-card-w: 200px;
  }

  .ld-mes-cartes__grid.ld-collection-lab__grid,
  .ld-mes-cartes__grid.ld-collection-lab__grid--large {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--ld-collect-card-w)), var(--ld-collect-card-w)));
    gap: 1.1rem 0.95rem;
    justify-content: center;
  }
}

@media (max-width: 719px) {
  .ld-mes-cartes {
    padding-block: calc(var(--ld-header-h, 76px) + 1.25rem) 3rem;
    overflow-x: clip;
  }

  .ld-mes-cartes > .ld-container {
    width: min(100% - 1.5rem, var(--ld-container, 1180px));
  }

  .ld-mes-cartes,
  .ld-mes-cartes__grid,
  .ld-mes-cartes__grid .ld-collect-card,
  .ld-mes-cartes__grid .ld-holo-test__card {
    --ld-collect-card-w: min(42vw, 168px);
    --ld-collect-radius: 1rem;
  }

  .ld-mes-cartes__grid.ld-collection-lab__grid,
  .ld-mes-cartes__grid.ld-collection-lab__grid--large {
    grid-template-columns: repeat(2, minmax(0, var(--ld-collect-card-w)));
    gap: 0.95rem 0.75rem;
    justify-content: center;
  }

  .ld-mes-cartes__grid > li {
    width: 100%;
    max-width: var(--ld-collect-card-w);
    justify-self: center;
  }

  .ld-mes-cartes__grid .ld-holo-test__wrap,
  .ld-mes-cartes__grid .ld-holo-test__card,
  .ld-mes-cartes__grid .ld-collect-card {
    width: 100%;
    max-width: 100%;
  }

  .ld-mes-cartes__hero {
    margin-bottom: 1.35rem;
    padding-inline: 0.15rem;
    max-width: none;
  }

  .ld-mes-cartes__hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .ld-mes-cartes__hero p {
    font-size: 0.95rem;
  }

  /*
   * Mobile : pas de flex (justify/center laisse « Collection » hors scroll à gauche).
   * Block + nowrap = tout le contenu est atteignable de gauche à droite.
   */
  .ld-mes-cartes__tabs {
    display: block;
    width: calc(100% + 1.5rem);
    max-width: none;
    margin: 0 0 0.65rem -0.75rem;
    padding: 0 0.75rem 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    text-align: left;
    font-size: 0;
    line-height: 0;
  }

  .ld-mes-cartes__tabs::-webkit-scrollbar {
    display: none;
  }

  .ld-mes-cartes__tab {
    display: inline-flex;
    flex: none;
    align-items: baseline;
    vertical-align: bottom;
    margin: 0 1rem 0 0;
    white-space: nowrap;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .ld-mes-cartes__tab:last-child {
    margin-right: 0.75rem;
  }

  .ld-credits-pill.ld-mes-cartes__credits {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 18.5rem);
    margin: 0.15rem auto 1.2rem;
    padding: 0.72rem 1.15rem;
    gap: 0.75rem;
    border-radius: 16px;
    border-color: rgba(0, 230, 255, 0.45);
    background:
      linear-gradient(135deg, rgba(0, 212, 255, 0.18), transparent 48%),
      linear-gradient(320deg, rgba(255, 45, 149, 0.1), transparent 42%),
      linear-gradient(180deg, rgba(12, 40, 52, 0.98), rgba(4, 12, 18, 0.96));
    box-shadow:
      0 0 0 1px rgba(0, 212, 255, 0.16),
      0 8px 28px rgba(0, 0, 0, 0.35),
      0 0 28px rgba(0, 180, 210, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .ld-credits-pill.ld-mes-cartes__credits .ld-credits-pill__coin {
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 auto;
  }

  .ld-credits-pill.ld-mes-cartes__credits .ld-credits-pill__coin-mark {
    font-size: 0.62rem;
  }

  .ld-credits-pill.ld-mes-cartes__credits .ld-credits-pill__copy {
    flex: 0 0 auto;
    align-items: center;
    text-align: center;
  }

  .ld-credits-pill.ld-mes-cartes__credits .ld-credits-pill__k {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: rgba(160, 220, 240, 0.9);
    width: 100%;
    text-align: center;
  }

  .ld-credits-pill.ld-mes-cartes__credits .ld-credits-pill__v {
    justify-content: center;
    font-size: 1.45rem;
    color: #9af3ff;
  }

  .ld-credits-pill.ld-mes-cartes__credits .ld-credits-pill__unit {
    font-size: 0.85rem;
  }

  .ld-mes-cartes__toolbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    justify-content: start;
    padding: 0.9rem 0.85rem;
    gap: 0.7rem;
  }

  .ld-mes-cartes__toolbar-meta {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .ld-mes-cartes__browse {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: stretch;
    width: 100%;
    max-width: 18rem;
    flex: none;
    gap: 0.65rem;
    margin-inline: auto;
  }

  .ld-mes-cartes__select-wrap {
    flex: none;
    width: 100%;
    max-width: 18rem;
    min-width: 0;
    margin: 0;
    text-align: center;
  }

  .ld-mes-cartes__filter-label {
    text-align: center;
  }

  .ld-mes-cartes__select {
    text-align: center;
    text-align-last: center;
  }

  .ld-mes-cartes__card-meta {
    flex-direction: column;
    gap: 0.35rem;
  }

  .ld-mes-cartes__card-name {
    font-size: 0.82rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .ld-mes-cartes__opts {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .ld-mes-cartes__fav-btn,
  .ld-mes-cartes__public-link,
  .ld-mes-cartes__offer,
  .ld-mes-cartes__market-wrap,
  .ld-mes-cartes__market-btn,
  .ld-mes-cartes__qty {
    width: 100%;
    max-width: 16rem;
    justify-content: center;
  }

  .ld-mes-cartes__market-wrap {
    flex-wrap: wrap;
  }

  .ld-mes-cartes__panel--rank {
    max-width: none;
  }

  .ld-mes-cartes__rank-head {
    margin-bottom: 1rem;
  }

  .ld-mes-cartes__rank-head p {
    font-size: 0.88rem;
  }

  /* Podium compact en lignes (évite 3 grosses cartes empilées) */
  .ld-mes-cartes__podium {
    display: flex;
    flex-direction: column;
    /* Reset align-items: end du podium desktop (sinon cartes à droite en escalier). */
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0;
  }

  .ld-mes-cartes__podium-card.is-top-1 {
    order: -3;
  }

  .ld-mes-cartes__podium-card.is-top-2 {
    order: -2;
  }

  .ld-mes-cartes__podium-card.is-top-3 {
    order: -1;
  }

  .ld-mes-cartes__podium-card,
  .ld-mes-cartes__podium-card.is-top-1,
  .ld-mes-cartes__podium-card.is-top-2,
  .ld-mes-cartes__podium-card.is-top-3 {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr) auto;
    align-items: center;
    align-self: stretch;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    gap: 0.55rem 0.65rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    text-align: left;
    transform: none;
  }

  .ld-mes-cartes__podium-card:hover {
    transform: none;
  }

  .ld-mes-cartes__podium-medal {
    position: static;
    transform: none;
    width: 2.1rem;
    height: 2.1rem;
    min-width: 2.1rem;
    padding: 0;
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .ld-mes-cartes__podium-link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: auto;
    min-width: 0;
  }

  .ld-mes-cartes__podium-avatar,
  .ld-mes-cartes__podium-card.is-top-1 .ld-mes-cartes__podium-avatar {
    width: 2.85rem;
    height: 2.85rem;
    margin-top: 0;
    border-width: 1.5px;
    box-shadow: none;
  }

  .ld-mes-cartes__podium-name {
    font-size: 0.95rem;
    text-align: left;
  }

  .ld-mes-cartes__podium-count {
    justify-self: end;
    padding: 0.28rem 0.5rem;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .ld-mes-cartes__rank-list {
    max-width: none;
    gap: 0.45rem;
  }

  .ld-mes-cartes__rank-item {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.5rem 0.55rem;
    padding: 0.65rem 0.7rem;
    border-radius: 12px;
  }

  .ld-mes-cartes__rank-item:hover {
    transform: none;
  }

  .ld-mes-cartes__rank-pos {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .ld-mes-cartes__rank-profile {
    gap: 0.55rem;
  }

  .ld-mes-cartes__rank-avatar {
    width: 2.5rem;
    height: 2.5rem;
  }

  .ld-mes-cartes__rank-name {
    font-size: 0.92rem;
  }

  .ld-mes-cartes__rank-count {
    flex-direction: row;
    align-items: baseline;
    gap: 0.3rem;
    min-width: 0;
    white-space: nowrap;
  }

  .ld-mes-cartes__rank-count strong {
    font-size: 1rem;
  }

  .ld-mes-cartes__rank-count span {
    font-size: 0.68rem;
  }

  .ld-mes-cartes__pager--rank {
    margin-top: 1.25rem;
    padding-top: 0.85rem;
  }

  .ld-mes-cartes__pager {
    gap: 0.4rem;
  }

  .ld-mes-cartes__pager-btn {
    min-width: 2rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
  }

  .ld-mes-cartes__pager::before {
    left: 4%;
    right: 4%;
  }

  .ld-trade-list li {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .ld-trade-room__col {
    padding: 0.85rem;
  }

  .ld-trade-room__pick {
    --ld-trade-card-w: min(42vw, 118px);
  }

  .ld-trade-room__actions .ld-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .ld-mes-cartes,
  .ld-mes-cartes__grid,
  .ld-mes-cartes__grid .ld-collect-card,
  .ld-mes-cartes__grid .ld-holo-test__card {
    --ld-collect-card-w: min(78vw, 220px);
  }

  .ld-mes-cartes__grid.ld-collection-lab__grid,
  .ld-mes-cartes__grid.ld-collection-lab__grid--large {
    grid-template-columns: minmax(0, var(--ld-collect-card-w));
    gap: 1.15rem;
  }

  .ld-mes-cartes__owner {
    font-size: 0.78rem;
  }

  .ld-mes-cartes__fav-btn,
  .ld-mes-cartes__public-link,
  .ld-mes-cartes__offer {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.65rem;
  }

  .ld-trade-room__pick {
    --ld-trade-card-w: min(46vw, 140px);
  }
}


.ld-mes-cartes__actions {
  margin-top: 1.25rem;
  text-align: center;
}

.ld-trade-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ld-trade-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 7, 15, 0.4);
}

.ld-trade-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.ld-trade-list a:hover {
  color: var(--ld-cyan, #00d4ff);
}

.ld-trade-list span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.ld-trade-admin-box {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(247, 201, 72, 0.35);
  border-radius: 12px;
  background: rgba(247, 201, 72, 0.08);
}

.ld-trade-admin-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.ld-trade-room {
  display: grid;
  gap: 1.25rem;
}

.ld-trade-room__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.ld-trade-room__head h2 {
  margin: 0.2rem 0 0;
}

.ld-trade-room__status {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.ld-trade-room__cols {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .ld-trade-room__cols {
    grid-template-columns: 1fr 1fr;
  }
}

.ld-trade-room__col {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(5, 7, 15, 0.45);
  overflow: hidden;
}

.ld-trade-room__col h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.ld-trade-room__meta {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.ld-trade-room__tray {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.08);
}

.ld-trade-room__tray.is-empty {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.ld-trade-room__tray.is-empty p,
.ld-trade-room__tray-label {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.ld-trade-room__tray-label {
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: #fff;
}

.ld-trade-room__tray ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ld-trade-room__tray li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.45rem 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(5, 7, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  color: #fff;
}

.ld-trade-room__tray-remove {
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.ld-trade-room__pick {
  --ld-trade-card-w: 118px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--ld-trade-card-w), 1fr));
  gap: 0.85rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}

.ld-trade-room__pick li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.ld-trade-room__card-head {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: var(--ld-trade-card-w);
  margin-bottom: 0.3rem;
}

.ld-trade-room__zoom-btn {
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 7, 15, 0.75);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  cursor: pointer;
  z-index: 2;
}

.ld-trade-room__zoom-btn:hover {
  border-color: rgba(0, 212, 255, 0.5);
  color: var(--ld-cyan, #00d4ff);
}

.ld-trade-room__pick .ld-holo-test__wrap {
  width: 100%;
  max-width: var(--ld-trade-card-w);
  margin: 0 auto;
  outline: 2px solid transparent;
  outline-offset: 3px;
  border-radius: 10px;
  transition: outline-color 0.15s ease, opacity 0.15s ease;
}

.ld-trade-room__pick .ld-holo-test__card {
  width: 100% !important;
  max-width: 100%;
}

.ld-trade-room__select {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  max-width: var(--ld-trade-card-w);
  margin-top: 0.4rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 7, 15, 0.45);
  cursor: pointer;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.ld-trade-room__select input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--ld-cyan, #00d4ff);
  flex: none;
}

.ld-trade-room__pick li.is-selected .ld-holo-test__wrap {
  outline-color: var(--ld-cyan, #00d4ff);
}

.ld-trade-room__pick li.is-selected .ld-trade-room__select {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.12);
  color: #fff;
}

.ld-trade-room__pick li.is-locked {
  opacity: 0.4;
  pointer-events: none;
}

.ld-trade-room__pick .ld-trade-room__card-title {
  display: block;
  width: 100%;
  max-width: var(--ld-trade-card-w);
  margin-top: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.ld-trade-room__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.ld-trade-room__pager-btn {
  min-width: 2.4rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.ld-trade-room__pager-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ld-trade-room__pager-btn:not(:disabled):hover {
  border-color: rgba(0, 212, 255, 0.45);
  color: var(--ld-cyan, #00d4ff);
}

.ld-trade-room__pager-meta,
.ld-trade-room__pager-meta--solo {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.ld-trade-room__pager .ld-trade-room__pager-meta {
  margin: 0;
}

@media (min-width: 1100px) {
  .ld-trade-room__pick {
    --ld-trade-card-w: 132px;
  }
}

.ld-trade-room__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.ld-trade-room__msg {
  min-height: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.ld-trade-room__msg.is-error {
  color: #ff8f8f;
}

.ld-player-collection__trade-cta {
  margin: 0.85rem 0 0;
}

.ld-player-collection__trade-cta .ld-btn {
  display: inline-flex;
}

/* —— Boutique : shop + œuf quotidien —— */
.ld-mes-cartes__panel--boutique {
  padding-top: 0.5rem;
  display: grid;
  gap: 2.75rem;
}

.ld-shop {
  display: grid;
  gap: 1.5rem;
}

.ld-shop__head {
  text-align: center;
  display: grid;
  gap: 0.4rem;
  max-width: 40rem;
  margin: 0 auto;
}

.ld-shop__title {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.ld-shop__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
  line-height: 1.5;
}

.ld-shop__sections {
  display: grid;
  gap: 2.4rem;
}

.ld-shop__featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.ld-shop__section {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.85rem;
  min-width: 0;
  height: 100%;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%),
    rgba(8, 12, 22, 0.55);
  box-sizing: border-box;
}

.ld-shop__section--egg {
  border-color: rgba(0, 212, 255, 0.22);
}

.ld-shop__section--permanent {
  grid-template-rows: auto auto;
  height: auto;
  padding: 1.15rem 0.85rem 1.2rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 45, 149, 0.08), transparent 55%),
    rgba(8, 12, 22, 0.45);
}

.ld-shop__section-head {
  display: grid;
  gap: 0.2rem;
  text-align: center;
  justify-items: center;
  align-content: start;
  min-height: 3.4rem;
  padding: 0 0.25rem;
  margin: 0;
}

.ld-shop__section-title {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}

.ld-shop__section-empty {
  margin: 0;
  padding: 1.25rem 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  text-align: center;
}

.ld-shop__grid--section {
  --ld-shop-visible: 1;
  justify-content: stretch;
  align-items: stretch;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  cursor: default;
}

.ld-shop__featured .ld-shop__slide {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  height: 100%;
}

.ld-shop__featured .ld-shop__pack {
  height: 100%;
}

.ld-shop__featured .ld-shop__pack .ld-shop__body {
  flex: 1 1 auto;
  justify-content: flex-start;
}

.ld-shop__featured .ld-shop__pack .ld-shop__cta {
  margin-top: auto;
}

.ld-shop__grid--permanent {
  --ld-shop-visible: 3;
}

@media (max-width: 900px) {
  .ld-shop__featured {
    grid-template-columns: 1fr;
  }
}

/* Carrousel boutique (drag / swipe) */
.ld-shop__grid {
  --ld-shop-gap: 1.15rem;
  --ld-shop-visible: 3;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.15rem 0.85rem;
  display: flex;
  justify-content: safe center;
  gap: var(--ld-shop-gap);
  width: 100%;
  max-width: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.45) rgba(255, 255, 255, 0.06);
}

.ld-shop__grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.ld-shop__grid::-webkit-scrollbar {
  height: 6px;
}

.ld-shop__grid::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.4);
  border-radius: 999px;
}

.ld-shop__slide {
  flex: 0 0 calc((100% - (var(--ld-shop-visible) - 1) * var(--ld-shop-gap)) / var(--ld-shop-visible));
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  align-items: stretch;
}

@media (min-width: 961px) {
  .ld-shop__grid {
    justify-content: center;
    align-items: stretch;
  }

  .ld-shop__slide {
    flex: 0 1 18rem;
    width: 18rem;
    max-width: 20rem;
  }
}

.ld-shop__pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 1.35rem 1.05rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 45, 149, 0.1), transparent 45%),
    rgba(8, 12, 22, 0.72);
  width: 100%;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.ld-shop__pack--egg {
  border-color: rgba(0, 212, 255, 0.28);
}

a.ld-shop__pack-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.ld-shop__pack-link:hover,
a.ld-shop__pack-link:focus-visible {
  border-color: rgba(0, 212, 255, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  outline: none;
}

.ld-shop__art--egg img {
  filter: none;
}

.ld-shop__back-wrap {
  margin: 0 0 0.5rem;
}

.ld-shop__back {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(0, 212, 255, 0.9);
}

.ld-shop__back:hover,
.ld-shop__back:focus-visible {
  color: #fff;
}

.ld-shop--pack {
  max-width: 54rem;
  margin-inline: auto;
  width: 100%;
}

.ld-shop__detail {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
  /* visible : tooltip % + tilt/holo du pack ne doivent pas être coupés */
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(0, 212, 255, 0.14), transparent 48%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 45, 149, 0.12), transparent 46%),
    rgba(8, 12, 22, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ld-shop__detail--egg {
  border-color: rgba(0, 212, 255, 0.3);
}

.ld-shop__detail-main {
  display: grid;
  grid-template-columns: minmax(14rem, 1.1fr) minmax(0, 1.05fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.75rem 1.75rem 2rem;
}

.ld-shop__visual {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 320px;
  min-height: 0;
  padding: 0.5rem 0 1.25rem;
  box-sizing: border-box;
  overflow: visible;
}

/* Fiche pack : rendu immersif (ombre + holo, overflow libre) */
.ld-shop__art.ld-shop__art--detail {
  width: 100%;
  max-width: 340px;
  height: auto !important;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.ld-shop__art--detail.is-holding {
  cursor: grabbing;
}

.ld-shop__art--detail img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto !important;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 36px rgba(0, 212, 255, 0.28));
  pointer-events: none;
}

.ld-shop__art--detail .ld-shop__holo-shine,
.ld-shop__art--detail .ld-shop__holo-glare {
  inset: 0;
  pointer-events: none;
}

.ld-shop__art--detail.ld-shop__art--holo.is-hot img {
  filter:
    drop-shadow(0 18px 40px rgba(0, 212, 255, 0.38))
    saturate(1.1)
    brightness(1.04);
}

.ld-shop__detail .ld-shop__title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.1;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.01em;
  justify-self: center;
}

.ld-shop__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(61, 255, 181, 0.45);
  border-radius: 2px;
  color: #3dffb5;
  background: rgba(61, 255, 181, 0.1);
}

.ld-shop__badge--price {
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.4rem 0.7rem;
  border-color: rgba(255, 210, 90, 0.85);
  color: #ffe566;
  background: rgba(12, 14, 22, 0.88);
  letter-spacing: 0.04em;
  box-shadow:
    0 0 0 1px rgba(255, 200, 60, 0.25),
    0 4px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

/* —— Page contenu pack (onglets rareté) —— */
.ld-shop--roster-page {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  text-align: center;
}

.ld-shop--roster-page .ld-shop__back-wrap {
  justify-self: start;
  width: 100%;
  text-align: left;
}

.ld-shop__roster-link {
  margin: 0.75rem 0 0;
  text-align: center;
}

.ld-shop-roster {
  display: grid;
  gap: 1.15rem;
  width: 100%;
  justify-items: center;
}

.ld-shop-roster__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 52rem;
  padding: 0.15rem;
}

.ld-shop-roster__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 12, 22, 0.65);
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.ld-shop-roster__tab:hover,
.ld-shop-roster__tab:focus-visible {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.45);
  outline: none;
}

.ld-shop-roster__tab.is-active {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.15);
}

.ld-shop-roster__tab-count {
  min-width: 1.4rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.ld-shop-roster__tab.is-active .ld-shop-roster__tab-count {
  background: rgba(0, 212, 255, 0.2);
  color: #7cf5ff;
}

.ld-shop-roster__panel {
  display: grid;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 1.1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(8, 12, 22, 0.55);
  justify-items: center;
}

.ld-shop-roster__panel[hidden] {
  display: none !important;
}

.ld-shop-roster__head {
  text-align: center;
  display: grid;
  gap: 0.35rem;
  max-width: 40rem;
  margin: 0 auto;
  justify-items: center;
}

.ld-shop-roster__title {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.ld-shop-roster__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.ld-shop-roster__group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 1.25rem;
  width: 100%;
}

.ld-shop-roster__group-meta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

/* Chip local — PAS .ld-collect-card__rarity (absolute = badge flottant) */
.ld-shop-roster__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  position: static;
}

.ld-shop-roster__chip--common {
  border-color: rgba(160, 210, 120, 0.45);
  background: rgba(120, 180, 80, 0.18);
  color: #c8f0a0;
}

.ld-shop-roster__chip--uncommon {
  border-color: rgba(100, 200, 255, 0.45);
  background: rgba(60, 160, 220, 0.18);
  color: #9fe0ff;
}

.ld-shop-roster__chip--rare {
  border-color: rgba(120, 140, 255, 0.5);
  background: rgba(90, 110, 240, 0.2);
  color: #c4ccff;
}

.ld-shop-roster__chip--epic {
  border-color: rgba(200, 120, 255, 0.5);
  background: rgba(170, 80, 240, 0.2);
  color: #e2b8ff;
}

.ld-shop-roster__chip--legendary {
  border-color: rgba(255, 200, 80, 0.55);
  background: rgba(255, 180, 40, 0.18);
  color: #ffe566;
}

.ld-shop-roster__chip--black {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.ld-shop-roster__chip--prism {
  border-color: rgba(255, 120, 200, 0.55);
  background: rgba(255, 80, 180, 0.18);
  color: #ffb8e4;
}

.ld-shop-roster__chip--limited {
  border-color: rgba(255, 160, 60, 0.55);
  background: rgba(255, 120, 40, 0.18);
  color: #ffc078;
}

.ld-shop-roster__group-count {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ld-shop-roster__group-rate {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffe566;
}

.ld-shop-roster__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 11rem));
  gap: 1.1rem 1rem;
  justify-content: center;
  justify-items: center;
  width: 100%;
}

.ld-shop-roster__card {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  width: 100%;
  max-width: 11rem;
}

.ld-shop-roster__card-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.ld-shop-roster__card-visual .ld-holo-test__wrap,
.ld-shop-roster__card-visual .ld-holo-test__card {
  width: min(100%, 10.5rem);
  position: relative;
}

.ld-shop-roster__mystery {
  width: min(100%, 10.5rem);
  aspect-ratio: 220 / 307;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(120% 80% at 50% 18%, rgba(80, 90, 110, 0.35) 0%, transparent 55%),
    linear-gradient(165deg, #1a1e28 0%, #0a0c12 55%, #05070c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.ld-shop-roster__mystery::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 0.35rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.ld-shop-roster__mystery-q {
  position: relative;
  z-index: 1;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(210, 220, 235, 0.55);
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.55);
}

.ld-shop-roster__card.is-locked .ld-shop-roster__card-name {
  color: rgba(180, 190, 205, 0.72);
}

.ld-shop-roster__card-name {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ld-shop-roster__card-pct {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.9);
  text-align: center;
}

@media (max-width: 640px) {
  .ld-shop-roster__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.65rem;
  }

  .ld-shop-roster__group-head {
    flex-direction: column;
  }
}

.ld-mes-cartes__pending-open {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(61, 224, 255, 0.35);
  border-radius: var(--ld-radius, 6px);
  background: linear-gradient(135deg, rgba(61, 224, 255, 0.1), rgba(255, 176, 32, 0.06));
}

.ld-mes-cartes__pending-open--ok {
  border-color: rgba(110, 231, 160, 0.35);
  background: rgba(110, 231, 160, 0.08);
}

.ld-mes-cartes__pending-open-copy strong {
  display: block;
  margin: 0 0 0.25rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-mes-cartes__pending-open-copy p {
  margin: 0;
  color: var(--ld-muted, rgba(255, 255, 255, 0.68));
  font-size: 0.92rem;
  line-height: 1.4;
}

.ld-mes-cartes__pending-open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ld-mes-cartes__pending-open-msg {
  margin: 0;
  font-size: 0.88rem;
}

.ld-mes-cartes__pending-open-msg.is-error {
  color: #ff8f8f;
}

.ld-mes-cartes__pending-open-msg.is-ok {
  color: #9aefc0;
}

@media (min-width: 720px) {
  .ld-mes-cartes__pending-open {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .ld-mes-cartes__pending-open-msg {
    grid-column: 1 / -1;
  }
}

.ld-shop-stock {
  margin: 0 0 2.25rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(255, 196, 72, 0.22);
  border-radius: var(--ld-radius, 6px);
  background: rgba(255, 176, 32, 0.05);
}

.ld-shop-stock__head {
  margin: 0 0 1rem;
  text-align: center;
}

.ld-shop-stock__title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.2rem 0 0.35rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-shop-stock__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(255, 176, 32, 0.2);
  color: #ffd27a;
}

.ld-shop-stock__lead {
  margin: 0;
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ld-shop-stock__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ld-shop-stock__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ld-radius, 4px);
  background: rgba(0, 0, 0, 0.22);
}

@media (max-width: 640px) {
  .ld-shop-stock__item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .ld-shop-stock__actions {
    grid-column: 1 / -1;
  }
}

.ld-shop-stock__art {
  margin: 0;
  width: 72px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.ld-shop-stock__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-shop-stock__art--empty {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.4rem;
}

.ld-shop-stock__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ld-shop-stock__name {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ld-shop-stock__qty {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffd27a;
}

.ld-shop-stock__slots {
  font-size: 0.8rem;
  color: var(--ld-muted, #9aa3b8);
}

.ld-shop-stock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.ld-shop__balance {
  margin: 0.35rem 0 0.75rem;
}

.ld-shop__buybar-info .ld-shop__balance.ld-credits-pill--wallet {
  margin: 0;
}

.ld-shop__balance:not(.ld-credits-pill) {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.ld-shop__body .ld-credits-pill {
  width: fit-content;
}

.ld-market-hd__balance.ld-credits-pill--wallet,
.ld-market-hd__pot.ld-credits-pill--wallet,
.ld-market-hd__pot-wrap {
  align-self: center;
}

@media (max-width: 720px) {
  .ld-market-hd__balance.ld-credits-pill--wallet,
  .ld-market-hd__pot.ld-credits-pill--wallet,
  .ld-market-hd__pot-wrap {
    align-self: stretch;
  }
}

.ld-shop__stock {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffd27a;
}

.ld-shop__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.ld-shop__buy-msg {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.ld-shop__buy-msg.is-ok {
  color: #3dffb5;
}

.ld-shop__buy-msg.is-error {
  color: #ff8da3;
}

.ld-daily-egg--in-pack {
  width: 100%;
  max-width: none;
  margin: 0.35rem 0 0;
  gap: 0.85rem;
}

.ld-daily-egg--in-pack .ld-daily-egg__btn {
  width: min(70vw, 220px);
}

.ld-daily-egg--in-pack .ld-daily-egg__day,
.ld-daily-egg--in-pack .ld-daily-egg__status {
  max-width: 22rem;
  margin-inline: auto;
}

.ld-shop__art {
  --ld-holo-x: 50%;
  --ld-holo-y: 50%;
  --ld-tilt-x: 0deg;
  --ld-tilt-y: 0deg;
  margin: 0;
  flex: 0 0 auto;
  /* Même slot pour œuf + packs (tu aligneras les PNG) */
  width: 100%;
  max-width: 12rem;
  aspect-ratio: 2 / 3;
  height: auto;
  display: block;
  position: relative;
  isolation: isolate;
  perspective: 900px;
  transform-style: preserve-3d;
  touch-action: none;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.ld-shop__art--egg {
  width: 100%;
  max-width: 12rem;
  aspect-ratio: 2 / 3;
  height: auto;
}

.ld-shop__art img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  object-fit: contain;
  object-position: center;
  /* Pas de drop-shadow ici : il déborde du PNG puis est coupé en rectangle */
  filter: none;
  transition: filter 0.25s ease, transform 0.18s ease-out;
  transform: rotateX(var(--ld-tilt-x)) rotateY(var(--ld-tilt-y)) translateZ(0);
  transform-style: preserve-3d;
  will-change: transform;
  -webkit-user-drag: none;
  user-select: none;
}

.ld-shop__art--holo {
  overflow: hidden;
}

.ld-shop__kicker {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3dffb5;
}

.ld-shop__art--holo.is-hot img,
.ld-shop__art--holo.is-holding img {
  transition: filter 0.12s ease, transform 0.08s linear;
}

.ld-shop__art--interactive {
  width: min(100%, 280px);
  cursor: grab;
  outline: none;
}

.ld-shop__art--interactive:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.55);
  border-radius: 12px;
}

.ld-shop__art--interactive.is-holding {
  cursor: grabbing;
}

.ld-shop__tilt-hint {
  display: none;
}

.ld-shop__holo-shine,
.ld-shop__holo-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  /* Masque = alpha du PNG → l’effet reste dans la silhouette du pack */
  -webkit-mask-image: var(--ld-holo-mask);
  mask-image: var(--ld-holo-mask);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  transform: rotateX(var(--ld-tilt-x)) rotateY(var(--ld-tilt-y)) translateZ(1px);
  transform-style: preserve-3d;
  will-change: transform, opacity, background-position;
}

.ld-shop__holo-shine {
  background: linear-gradient(
    115deg,
    transparent 18%,
    rgba(255, 255, 255, 0.1) 36%,
    rgba(124, 245, 255, 0.55) 47%,
    rgba(255, 106, 213, 0.5) 53%,
    rgba(255, 230, 120, 0.32) 60%,
    transparent 78%
  );
  background-size: 240% 240%;
  background-position: var(--ld-holo-x) var(--ld-holo-y);
  mix-blend-mode: color-dodge;
}

.ld-shop__holo-glare {
  background: radial-gradient(
    circle at var(--ld-holo-x) var(--ld-holo-y),
    rgba(255, 255, 255, 0.5) 0%,
    rgba(124, 245, 255, 0.2) 26%,
    transparent 55%
  );
  mix-blend-mode: soft-light;
}

.ld-shop__art--holo.is-hot .ld-shop__holo-shine {
  opacity: 0.85;
}

.ld-shop__art--holo.is-hot .ld-shop__holo-glare {
  opacity: 0.9;
}

.ld-shop__art--holo.is-hot img {
  filter: saturate(1.08) brightness(1.03);
}

/*
 * Fiche pack — doit venir APRÈS les règles grille (sinon absolute + overflow
 * cassent le tilt / holo et écrasent le drop-shadow).
 */
.ld-shop__art.ld-shop__art--detail {
  width: 100%;
  max-width: 340px;
  height: auto !important;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  overflow: visible !important;
  border-radius: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.ld-shop__art.ld-shop__art--detail.is-holding {
  cursor: grabbing;
}

.ld-shop__art.ld-shop__art--detail img {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 36px rgba(0, 212, 255, 0.28));
  pointer-events: none;
}

.ld-shop__art.ld-shop__art--detail.ld-shop__art--holo.is-hot img {
  filter:
    drop-shadow(0 18px 40px rgba(0, 212, 255, 0.38))
    saturate(1.1)
    brightness(1.04);
}

.ld-shop__art.ld-shop__art--detail .ld-shop__holo-shine,
.ld-shop__art.ld-shop__art--detail .ld-shop__holo-glare {
  inset: 0;
}

.ld-shop__art-fallback {
  font-size: 2.5rem;
  color: rgba(0, 212, 255, 0.55);
}

.ld-shop__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  text-align: center;
}

.ld-shop__pack .ld-shop__body {
  justify-content: flex-start;
}

.ld-shop__detail .ld-shop__body {
  display: grid;
  gap: 0.7rem;
  justify-items: stretch;
  align-content: start;
  flex: none;
  text-align: center;
  overflow: visible;
  position: relative;
  z-index: 4;
}

.ld-shop__detail .ld-shop__stats {
  overflow: visible;
}

.ld-shop__body .ld-eyebrow {
  margin: 0;
  justify-self: center;
}

.ld-shop__tier {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  margin: 0;
  justify-self: center;
  text-align: center;
}

.ld-shop__tier-stars {
  display: inline-flex;
  gap: 0.08rem;
  font-size: 1.15rem;
  line-height: 1;
}

.ld-shop__tier-label {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffc857;
}

.ld-shop__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.35rem;
}

.ld-shop__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 5.4rem;
  padding: 0.85rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(14, 20, 34, 0.92);
  text-align: center;
}

.ld-shop__stat--wide {
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 0;
  padding: 0.95rem 1rem;
  text-align: center;
}

.ld-shop__stat-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
}

.ld-shop__stat-k {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.ld-shop__stat-v {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.ld-shop__stat-v--stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  font-size: 1.55rem;
  color: #ffe566;
}

.ld-shop__stat--rarity {
  position: relative;
  z-index: 5;
  overflow: visible;
}

.ld-shop__rates-btn .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ld-shop__rates-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 210, 90, 0.45);
  border-radius: 999px;
  background: rgba(255, 210, 90, 0.1);
  color: #ffe566;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  z-index: 2;
}

.ld-shop__rates-btn:hover,
.ld-shop__rates-btn:focus-visible,
.ld-shop__stat--rarity.is-tip-open .ld-shop__rates-btn {
  border-color: rgba(255, 210, 90, 0.85);
  background: rgba(255, 210, 90, 0.22);
  color: #fff;
  outline: none;
}

.ld-shop__rates-pop {
  /* Fixed + monté sur body en JS — fond 100 % opaque */
  position: fixed !important;
  left: 0;
  top: 0;
  width: min(17.5rem, calc(100vw - 1.5rem));
  max-height: min(70vh, 28rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.75rem 0.85rem;
  border: 1px solid #2a3348 !important;
  border-radius: 10px;
  background-color: #070b14 !important;
  background-image: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mix-blend-mode: normal !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.85) !important;
  z-index: 2147483000 !important;
  text-align: left;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  isolation: isolate;
  pointer-events: auto;
}

.ld-shop__rates-pop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #070b14;
  pointer-events: none;
}

.ld-shop__rates-pop[hidden] {
  display: none !important;
}

.ld-shop__rates-pop-title {
  margin: 0 0 0.55rem;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ld-shop__rates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ld-shop__rates-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.25;
}

.ld-shop__rates-list li.is-zero .ld-shop__rates-name,
.ld-shop__rates-list li.is-zero .ld-shop__rates-pct {
  color: rgba(255, 255, 255, 0.35);
}

.ld-shop__rates-name {
  color: rgba(255, 255, 255, 0.78);
}

.ld-shop__rates-pct {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-weight: 700;
  color: #ffe566;
  white-space: nowrap;
}

.ld-shop__stat-v--prism {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.ld-shop__stat-muted {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.4rem;
}

.ld-shop__prism-badge {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.28rem 0.55rem !important;
  border-radius: 4px !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.08em;
  line-height: 1.1;
  pointer-events: none;
}

.ld-shop__limit {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}

.ld-shop__name {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.ld-shop__pack .ld-shop__name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6em;
  line-height: 1.2;
}

.ld-shop__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.65rem;
  margin: 0;
}

.ld-shop__stars {
  display: inline-flex;
  gap: 0.08rem;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ld-shop__star {
  color: rgba(255, 255, 255, 0.18);
  text-shadow: none;
}

.ld-shop__star.is-on {
  color: #ffe566;
  text-shadow: 0 0 10px rgba(255, 210, 70, 0.45);
}

.ld-shop__rating-label {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe566;
}

.ld-shop__desc {
  margin: 0;
  width: 100%;
  max-width: 18rem;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
  border: 0;
  border-radius: 0;
  background: none;
}

.ld-shop__pack .ld-shop__desc {
  flex: 1 1 auto;
  min-height: 3.1em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ld-shop__detail .ld-shop__desc {
  max-width: 28rem;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
  flex: none;
  min-height: 0;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  text-align: center;
  justify-self: center;
}

.ld-shop__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.4rem;
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
}

.ld-shop__fact {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 999px;
  color: #7ee9ff;
  background: rgba(0, 212, 255, 0.08);
}

.ld-shop__buybar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem 1.25rem;
  align-items: center;
  padding: 1rem 1.35rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 9, 16, 0.96);
}

.ld-shop__buybar-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  min-width: 0;
}

.ld-shop__buybar .ld-shop__cta-row {
  justify-content: flex-end;
  margin: 0;
}

.ld-shop__buybar .ld-shop__buy-msg {
  grid-column: 1 / -1;
  margin: 0;
  text-align: left;
}

.ld-shop__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 0;
  padding: 0.35rem 0.75rem 0.3rem;
  border: 1px solid rgba(255, 210, 90, 0.75);
  border-radius: 6px;
  background: rgba(12, 14, 22, 0.75);
  box-shadow: 0 0 0 1px rgba(255, 200, 60, 0.15);
}

.ld-shop__price-val {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ffe566;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.ld-shop__price-unit {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 229, 102, 0.85);
}

.ld-shop__meta {
  margin: 0;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.85);
}

.ld-shop__pack .ld-shop__meta {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
}

.ld-shop__detail .ld-shop__stock,
.ld-shop__detail .ld-shop__balance:not(.ld-credits-pill) {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* CTA décoratif dans la grille (le lien parent gère le clic). */
.ld-shop__pack .ld-shop__cta {
  margin-top: 0.35rem;
  margin-inline: auto;
  width: 100%;
  max-width: 12rem;
  min-height: 44px;
  opacity: 0.85;
  cursor: pointer;
  align-self: center;
  justify-self: center;
  box-sizing: border-box;
}

.ld-shop__cta--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  cursor: pointer;
  pointer-events: none;
}

/* Vrais boutons Acheter / Ouvrir sur la fiche booster. */
.ld-shop__cta-row .ld-shop__cta,
.ld-shop__body > .ld-shop__cta,
button.ld-shop__cta.ld-btn {
  margin-top: 0;
  min-height: 42px;
  opacity: 1;
  cursor: pointer;
}

.ld-shop__cta-row .ld-shop__cta:disabled,
button.ld-shop__cta.ld-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

a.ld-shop__pack-link:hover .ld-shop__cta--link,
a.ld-shop__pack-link:focus-visible .ld-shop__cta--link {
  border-color: rgba(0, 212, 255, 0.55);
  color: #fff;
}

@media (max-width: 960px) {
  .ld-shop__grid {
    --ld-shop-visible: 2;
    --ld-shop-gap: 0.85rem;
  }

  .ld-mes-cartes__panel--boutique {
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .ld-mes-cartes__panel--boutique {
    gap: 1.5rem;
    max-width: 100%;
    overflow-x: clip;
  }

  .ld-shop {
    gap: 1.1rem;
    width: 100%;
    max-width: 100%;
  }

  .ld-shop__head {
    max-width: none;
    padding-inline: 0.15rem;
  }

  .ld-shop__title {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .ld-shop__lead {
    font-size: 0.9rem;
  }

  .ld-shop__grid {
    --ld-shop-visible: 1.08;
    --ld-shop-gap: 0.7rem;
    padding: 0.2rem 0 0.65rem;
    margin-inline: -0.15rem;
    width: calc(100% + 0.3rem);
    scroll-padding-inline: 0.35rem;
  }

  .ld-shop__slide {
    scroll-snap-align: center;
  }

  .ld-shop__pack {
    padding: 1rem 0.75rem 1.1rem;
    gap: 0.75rem;
  }

  a.ld-shop__pack-link:hover,
  a.ld-shop__pack-link:focus-visible {
    transform: none;
    box-shadow: none;
  }

  .ld-shop__art,
  .ld-shop__art--egg {
    width: 100%;
    max-width: 11rem;
    aspect-ratio: 2 / 3;
    height: auto;
  }

  .ld-shop__art--holo {
    overflow: hidden;
  }

  .ld-shop__name {
    font-size: 1.05rem;
  }

  .ld-shop__desc {
    font-size: 0.86rem;
    max-width: none;
  }

  .ld-shop__badge {
    top: 0.55rem;
    right: 0.55rem;
    font-size: 0.66rem;
    padding: 0.25rem 0.45rem;
  }

  .ld-shop__badge--price {
    font-size: 0.82rem;
    padding: 0.35rem 0.6rem;
  }

  /* Fiche booster */
  .ld-shop--pack {
    max-width: none;
    width: 100%;
  }

  .ld-shop__detail {
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .ld-shop__detail-main {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.15rem 1rem 1rem;
    justify-items: center;
  }

  .ld-shop__detail-main {
    padding: 1.25rem 1rem 1.5rem;
  }

  .ld-shop__visual {
    max-width: 280px;
    min-height: 0;
    padding-bottom: 1rem;
  }

  .ld-shop__art.ld-shop__art--detail {
    max-width: 280px;
    height: auto !important;
    max-height: none;
  }

  .ld-shop__art--detail img {
    height: auto !important;
    max-height: none;
  }

  .ld-shop__detail .ld-shop__body {
    justify-items: stretch;
    text-align: center;
  }

  .ld-shop__detail .ld-shop__title {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
    text-align: center;
  }

  .ld-shop__tier {
    justify-content: center;
  }

  .ld-shop__detail .ld-shop__desc {
    font-size: 0.92rem;
    text-align: center;
  }

  .ld-shop__stat {
    min-height: 4.8rem;
  }

  .ld-shop__stat-v {
    font-size: 1.75rem;
  }

  .ld-shop__stat-v--stars {
    font-size: 1.35rem;
  }

  .ld-shop__buybar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.95rem 1rem 1.05rem;
    justify-items: stretch;
  }

  .ld-shop__buybar-info {
    justify-content: center;
    text-align: center;
  }

  .ld-shop__buybar .ld-shop__cta-row {
    justify-content: stretch;
    width: 100%;
  }

  .ld-shop__buybar .ld-shop__buy-msg {
    text-align: center;
  }

  .ld-shop__stars {
    font-size: 1.1rem;
  }

  .ld-shop__price-val {
    font-size: 1.45rem;
  }

  .ld-shop__cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .ld-shop__cta-row .ld-shop__cta,
  .ld-shop__cta-row .ld-btn,
  button.ld-shop__cta.ld-btn {
    width: 100%;
    justify-content: center;
  }

  .ld-shop__buy-msg {
    text-align: center;
  }

  /* Inventaire Mes boosters */
  .ld-shop-stock {
    margin: 0 0 1.5rem;
    padding: 0.95rem 0.8rem 1.05rem;
  }

  .ld-shop-stock__title {
    font-size: 1.2rem;
  }

  .ld-shop-stock__lead {
    font-size: 0.86rem;
  }

  .ld-shop-stock__item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.65rem 0.7rem;
  }

  .ld-shop-stock__art {
    width: 56px;
    height: 56px;
  }

  .ld-shop-stock__actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ld-shop-stock__actions .ld-btn {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 42px;
  }

  .ld-shop__back-wrap {
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 400px) {
  .ld-shop__art--detail {
    width: min(100%, 180px);
  }

  .ld-mes-cartes > .ld-container {
    width: min(100% - 1rem, var(--ld-container, 1180px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-shop__holo-shine,
  .ld-shop__holo-glare {
    display: none;
  }

  .ld-shop__art img {
    transform: none !important;
  }

  .ld-shop__art--holo.is-hot img {
    filter: none;
  }

  .ld-shop__tilt-hint {
    display: none;
  }
}

.ld-daily-egg {
  --ld-egg-cyan: #5ce1ff;
  --ld-egg-magenta: #ff4fd8;
  display: grid;
  gap: 1.75rem;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.ld-daily-egg__head {
  display: grid;
  gap: 0.45rem;
}

.ld-daily-egg__title {
  margin: 0;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.ld-daily-egg__lead {
  margin: 0 auto;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
  line-height: 1.45;
}

.ld-daily-egg__stage {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.ld-daily-egg__btn {
  position: relative;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  width: min(72vw, 280px);
  aspect-ratio: 1;
  transition: transform 0.2s ease;
}

.ld-daily-egg__btn:disabled {
  cursor: default;
}

.ld-daily-egg__btn.is-ready:hover {
  transform: scale(1.03);
}

.ld-daily-egg__btn.is-ready:active {
  transform: scale(0.98);
}

.ld-daily-egg__btn.is-pulse {
  animation: ld-daily-egg-pulse 0.55s ease;
}

.ld-daily-egg__btn.is-hatching {
  animation: ld-daily-egg-hatch 0.7s ease;
}

/* Étape 0 : secouer les mauvaises herbes au clic */
.ld-daily-egg__btn.is-weeding {
  animation: ld-daily-egg-weed 0.85s ease both;
}

.ld-daily-egg__btn.is-weeding .ld-daily-egg__img {
  filter: drop-shadow(0 14px 32px rgba(120, 220, 90, 0.45));
}

/* Étape 1 révélée : bounce */
.ld-daily-egg__btn.is-bounce {
  animation: ld-daily-egg-bounce 0.75s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

.ld-daily-egg__btn.is-bounce .ld-daily-egg__img {
  filter: drop-shadow(0 16px 36px rgba(255, 79, 216, 0.5));
}

/* Étape 3 : petite secousse à l’arrivée */
.ld-daily-egg__btn.is-shake-soft {
  animation: ld-daily-egg-shake-soft 0.65s ease both;
}

/* Étape 4 : secousse plus forte */
.ld-daily-egg__btn.is-shake-hard {
  animation: ld-daily-egg-shake-hard 0.85s ease both;
}

.ld-daily-egg__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(92, 225, 255, 0.28));
  transition: filter 0.25s ease, transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.ld-daily-egg__btn.is-ready .ld-daily-egg__img {
  filter: drop-shadow(0 14px 32px rgba(255, 79, 216, 0.35));
}

.ld-daily-egg__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(92, 225, 255, 0.22) 0%,
    rgba(255, 79, 216, 0.12) 45%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.ld-daily-egg__btn.is-ready .ld-daily-egg__glow {
  animation: ld-daily-egg-glow 2.4s ease-in-out infinite;
}

/* Clic étape 1 : flash de lueur blanche derrière l’œuf */
.ld-daily-egg__btn.is-white-glow .ld-daily-egg__glow {
  inset: 4%;
  opacity: 1;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.55) 32%,
    rgba(255, 255, 255, 0.12) 58%,
    transparent 72%
  );
  animation: ld-daily-egg-white-glow 0.9s ease-out both;
  filter: blur(2px);
}

/* Étape 6 : lueur LD (cyan → magenta) qui respire et s’éteint complètement */
.ld-daily-egg__btn.is-glow-loop .ld-daily-egg__glow {
  inset: 0%;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(92, 225, 255, 0.95) 0%,
    rgba(92, 225, 255, 0.45) 28%,
    rgba(255, 79, 216, 0.35) 48%,
    rgba(255, 79, 216, 0.08) 62%,
    transparent 74%
  );
  filter: blur(3px);
  animation: ld-daily-egg-glow-loop 2.2s ease-in-out infinite;
}

.ld-daily-egg__btn.is-glow-loop .ld-daily-egg__img {
  animation: ld-daily-egg-glow-loop-img 2.2s ease-in-out infinite;
}

.ld-daily-egg__meter {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}

.ld-daily-egg__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ld-daily-egg__dot.is-on {
  background: linear-gradient(135deg, var(--ld-egg-cyan), var(--ld-egg-magenta));
  box-shadow: 0 0 10px rgba(92, 225, 255, 0.45);
}

.ld-daily-egg__day {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.ld-daily-egg__status {
  margin: 0;
  min-height: 2.6em;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.4;
}

.ld-daily-egg__status.is-error {
  color: #ff8f8f;
}

.ld-daily-egg__status.is-ok {
  color: #8dffc4;
}

.ld-daily-egg__reward {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 1.25rem 1rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(
    160deg,
    rgba(92, 225, 255, 0.1),
    rgba(255, 79, 216, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ld-daily-egg__reward[hidden] {
  display: none;
}

.ld-daily-egg__reward-label {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.ld-daily-egg__reward-pack {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.ld-daily-egg__reward-card {
  width: min(100%, 220px);
}

.ld-daily-egg__reward-card .ld-holo-test__wrap,
.ld-daily-egg__reward-card .ld-holo-test__card {
  width: 100%;
}

.ld-daily-egg__aside {
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.ld-daily-egg__aside p {
  margin: 0;
}

.ld-daily-egg__hint {
  color: rgba(255, 255, 255, 0.38);
}

@keyframes ld-daily-egg-glow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@keyframes ld-daily-egg-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes ld-daily-egg-hatch {
  0%,
  100% {
    transform: translateX(0) rotate(0deg) scale(1);
  }
  15% {
    transform: translateX(-4px) rotate(-3deg) scale(1.04);
  }
  30% {
    transform: translateX(5px) rotate(3deg) scale(1.06);
  }
  45% {
    transform: translateX(-3px) rotate(-2deg) scale(1.03);
  }
  60% {
    transform: translateX(3px) rotate(2deg) scale(1.05);
  }
  75% {
    transform: translateX(-2px) rotate(-1deg) scale(1.02);
  }
}

@keyframes ld-daily-egg-weed {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  12% {
    transform: translate(-10px, 3px) rotate(-5deg) scale(1.04);
  }
  24% {
    transform: translate(11px, -2px) rotate(6deg) scale(1.06);
  }
  36% {
    transform: translate(-9px, -4px) rotate(-4deg) scale(1.05);
  }
  48% {
    transform: translate(10px, 4px) rotate(5deg) scale(1.07);
  }
  60% {
    transform: translate(-6px, 2px) rotate(-3deg) scale(1.04);
  }
  72% {
    transform: translate(7px, -3px) rotate(3deg) scale(1.05);
  }
  84% {
    transform: translate(-3px, 1px) rotate(-1deg) scale(1.02);
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes ld-daily-egg-bounce {
  0% {
    transform: translateY(18px) scale(0.82);
    opacity: 0.65;
  }
  45% {
    transform: translateY(-14px) scale(1.1);
    opacity: 1;
  }
  65% {
    transform: translateY(6px) scale(0.96);
  }
  80% {
    transform: translateY(-5px) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes ld-daily-egg-white-glow {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  35% {
    opacity: 1;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes ld-daily-egg-glow-loop {
  0%,
  12% {
    opacity: 0;
    transform: scale(0.75);
  }
  40%,
  55% {
    opacity: 1;
    transform: scale(1.18);
  }
  82%,
  100% {
    opacity: 0;
    transform: scale(0.85);
  }
}

@keyframes ld-daily-egg-glow-loop-img {
  0%,
  12% {
    filter: drop-shadow(0 12px 28px rgba(92, 225, 255, 0.12));
  }
  40%,
  55% {
    filter: drop-shadow(0 0 22px rgba(92, 225, 255, 0.75))
      drop-shadow(0 0 36px rgba(255, 79, 216, 0.55));
  }
  82%,
  100% {
    filter: drop-shadow(0 12px 28px rgba(92, 225, 255, 0.12));
  }
}

@keyframes ld-daily-egg-shake-soft {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  15% {
    transform: translateX(-5px) rotate(-2deg);
  }
  30% {
    transform: translateX(5px) rotate(2deg);
  }
  45% {
    transform: translateX(-4px) rotate(-1.5deg);
  }
  60% {
    transform: translateX(4px) rotate(1.5deg);
  }
  75% {
    transform: translateX(-2px) rotate(-0.8deg);
  }
}

@keyframes ld-daily-egg-shake-hard {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  10% {
    transform: translate(-12px, 4px) rotate(-6deg) scale(1.04);
  }
  20% {
    transform: translate(13px, -5px) rotate(7deg) scale(1.06);
  }
  30% {
    transform: translate(-11px, -3px) rotate(-5deg) scale(1.05);
  }
  40% {
    transform: translate(12px, 5px) rotate(6deg) scale(1.07);
  }
  50% {
    transform: translate(-9px, 2px) rotate(-4deg) scale(1.04);
  }
  60% {
    transform: translate(10px, -4px) rotate(5deg) scale(1.05);
  }
  70% {
    transform: translate(-7px, 3px) rotate(-3deg) scale(1.03);
  }
  80% {
    transform: translate(6px, -2px) rotate(2deg) scale(1.02);
  }
  90% {
    transform: translate(-3px, 1px) rotate(-1deg) scale(1.01);
  }
}

/* —— Overlay drop carte (éclosion œuf) —— */
body.ld-egg-reveal-open {
  overflow: hidden;
}

.ld-egg-reveal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.ld-egg-reveal[hidden] {
  display: none !important;
}

.ld-egg-reveal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(92, 225, 255, 0.22), transparent 65%),
    radial-gradient(ellipse 55% 45% at 55% 60%, rgba(255, 79, 216, 0.18), transparent 60%),
    #0b1020;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.ld-egg-reveal__backdrop::before,
.ld-egg-reveal__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(92, 225, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 67% 24%, rgba(255, 79, 216, 0.65), transparent),
    radial-gradient(1px 1px at 81% 58%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 45% 42%, rgba(92, 225, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 9% 88%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 92% 12%, rgba(255, 79, 216, 0.5), transparent);
  opacity: 0.55;
}

.ld-egg-reveal__backdrop::after {
  transform: scale(1.15) rotate(8deg);
  opacity: 0.35;
}

.ld-egg-reveal.is-open .ld-egg-reveal__backdrop {
  opacity: 1;
}

.ld-egg-reveal__flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.ld-egg-reveal.is-open .ld-egg-reveal__flash {
  animation: ld-egg-reveal-flash 0.45s ease-out forwards;
}

.ld-egg-reveal__burst {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(86vw, 320px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.ld-egg-reveal__burst span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(92, 225, 255, 0.55);
  opacity: 0;
  transform: scale(0.35);
}

.ld-egg-reveal__burst span:nth-child(2) {
  border-color: rgba(255, 79, 216, 0.5);
}

.ld-egg-reveal__burst span:nth-child(3) {
  border-color: rgba(255, 255, 255, 0.35);
}

.ld-egg-reveal.is-burst .ld-egg-reveal__burst span {
  animation: ld-egg-reveal-ring 0.85s ease-out forwards;
}

.ld-egg-reveal.is-burst .ld-egg-reveal__burst span:nth-child(2) {
  animation-delay: 0.08s;
}

.ld-egg-reveal.is-burst .ld-egg-reveal__burst span:nth-child(3) {
  animation-delay: 0.16s;
}

.ld-egg-reveal__panel {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  text-align: center;
  width: min(100%, 22rem);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ld-egg-reveal.is-card-in .ld-egg-reveal__panel {
  opacity: 1;
  transform: translateY(0);
}

.ld-egg-reveal__congrats {
  margin: 0;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  background: linear-gradient(105deg, #5ce1ff 0%, #fff 45%, #ff4fd8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ld-egg-reveal__kicker {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(92, 225, 255, 0.85);
}

.ld-egg-reveal__title {
  margin: 0;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.ld-egg-reveal__meta {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 79, 216, 0.95);
}

.ld-egg-reveal__meta[hidden] {
  display: none;
}

.ld-egg-reveal__chance {
  margin: 0.2rem 0 0;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ld-egg-reveal__chance[hidden] {
  display: none;
}

/*
 * Conteneur uniquement — aucun override sur les calques (bg/mid/fg).
 * Le rendu doit être pixel-identique au Lab / collection-lab.css.
 */
.ld-egg-reveal__card-wrap {
  width: min(86vw, 280px);
  margin: 0.35rem 0 0.15rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 28px rgba(92, 225, 255, 0.28));
  transform: scale(0.4);
  opacity: 0;
  transform-origin: center center;
}

.ld-egg-reveal.is-card-in .ld-egg-reveal__card-wrap {
  animation: ld-egg-reveal-card-in 0.55s cubic-bezier(0.22, 1.15, 0.36, 1) forwards;
}

.ld-egg-reveal__card {
  width: 100%;
}

/* Seule adaptation : largeur fluide (la carte Lab est en 220px fixe). */
.ld-egg-reveal__card > .ld-holo-test__card {
  width: 100%;
  max-width: 100%;
}

/* Pendant le drop : pas de tilt souris sur la carte (les calques gardent leurs transform). */
.ld-egg-reveal:not(.is-interactive) .ld-egg-reveal__card > .ld-holo-test__card {
  pointer-events: none;
}

.ld-egg-reveal.is-interactive .ld-egg-reveal__card > .ld-holo-test__card {
  pointer-events: auto;
  touch-action: none;
}

.ld-egg-reveal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.5rem;
}

@keyframes ld-egg-reveal-flash {
  0% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
  }
}

@keyframes ld-egg-reveal-ring {
  0% {
    opacity: 0.85;
    transform: scale(0.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes ld-egg-reveal-card-in {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-daily-egg__btn.is-ready .ld-daily-egg__glow,
  .ld-daily-egg__btn.is-pulse,
  .ld-daily-egg__btn.is-hatching,
  .ld-daily-egg__btn.is-weeding,
  .ld-daily-egg__btn.is-bounce,
  .ld-daily-egg__btn.is-shake-soft,
  .ld-daily-egg__btn.is-shake-hard,
  .ld-daily-egg__btn.is-white-glow .ld-daily-egg__glow,
  .ld-daily-egg__btn.is-glow-loop .ld-daily-egg__glow,
  .ld-daily-egg__btn.is-glow-loop .ld-daily-egg__img {
    animation: none;
  }

  .ld-egg-reveal__backdrop,
  .ld-egg-reveal__panel {
    transition: none;
  }

  .ld-egg-reveal.is-open .ld-egg-reveal__flash,
  .ld-egg-reveal.is-burst .ld-egg-reveal__burst span,
  .ld-egg-reveal.is-card-in .ld-egg-reveal__card-wrap {
    animation: none;
  }

  .ld-egg-reveal.is-open .ld-egg-reveal__backdrop {
    opacity: 1;
  }

  .ld-egg-reveal.is-card-in .ld-egg-reveal__panel,
  .ld-egg-reveal.is-card-in .ld-egg-reveal__card-wrap {
    opacity: 1;
    transform: none;
  }
}
