/**
 * RShop — fond neutre (gris/noir doux) + identité violet (#7c3aed)
 * Pas de dominant bleu slate — accents violets réservés aux CTA / états
 */

:root {
  --rs-font: "Inter", system-ui, sans-serif;
  --rs-display: "Plus Jakarta Sans", var(--rs-font);
  --rs-bg0: #0a0a0c;
  --rs-bg1: #121214;
  --rs-surface: #1f1f24;
  --rs-surface2: #18181c;
  --rs-elevated: #2a2a32;
  --rs-text: #fafafa;
  --rs-text-soft: #e4e4e7;
  --rs-muted: #a1a1aa;
  --rs-muted2: #71717a;
  --rs-border: rgba(255, 255, 255, 0.08);
  --rs-border2: rgba(255, 255, 255, 0.12);
  --rs-primary: #7c3aed;
  --rs-secondary: #5b21b6;
  --rs-accent: #8b5cf6;
  --rs-accent-strong: #7c3aed;
  --rs-accent-deep: #5b21b6;
  --rs-on-primary: #ffffff;
  --rs-radius: 16px;
  --rs-radius-sm: 11px;
  --rs-radius-pill: 999px;
  --rs-max: 1120px;
  --rs-header-h: 4.625rem;
  --rs-gradient-page: radial-gradient(ellipse 90% 55% at 50% -15%, rgba(124, 58, 237, 0.09), transparent 52%),
    linear-gradient(180deg, var(--rs-bg0) 0%, #0e0e11 45%, var(--rs-bg0) 100%);
  --rs-gradient-btn: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 48%, #6d28d9 100%);
  --rs-gradient-btn-hover: linear-gradient(180deg, #a78bfa 0%, #8b5cf6 45%, #7c3aed 100%);
  --rs-shadow-nav: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --rs-shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 4px 8px rgba(0, 0, 0, 0.35), 0 16px 44px rgba(0, 0, 0, 0.4);
  --rs-shadow-card-hover: 0 1px 0 rgba(255, 255, 255, 0.055) inset, 0 10px 24px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(124, 58, 237, 0.14);
  --rs-shadow-btn: 0 2px 4px rgba(0, 0, 0, 0.25), 0 10px 28px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --rs-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  /* Accueil — hero : dégradé équilibré (inchangé pour la landing) */
  --rs-overlay-photo-subtle: linear-gradient(
    180deg,
    rgba(91, 33, 182, 0.11) 0%,
    rgba(124, 58, 237, 0.045) 7%,
    rgba(124, 58, 237, 0.012) 14%,
    rgba(0, 0, 0, 0) 22%,
    rgba(0, 0, 0, 0.02) 36%,
    rgba(0, 0, 0, 0.04) 48%,
    rgba(0, 0, 0, 0.1) 58%,
    rgba(0, 0, 0, 0.22) 72%,
    rgba(0, 0, 0, 0.38) 86%,
    rgba(2, 2, 6, 0.5) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.rs-store {
  margin: 0;
  min-height: 100vh;
  font-family: var(--rs-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rs-text);
  background-color: var(--rs-bg0);
  background-image: var(--rs-gradient-page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body.rs-store h1,
body.rs-store h2,
body.rs-store h3,
body.rs-store .rs-display {
  font-family: var(--rs-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}

body.rs-store .muted {
  color: var(--rs-muted) !important;
}

.rs-shell {
  width: 100%;
  max-width: var(--rs-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* ========== Navbar — barre premium commerce ========== */
.rs-header.rshop-header {
  position: sticky;
  top: 0;
  z-index: 300;
  min-height: var(--rs-header-h);
  background: rgba(10, 10, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, var(--rs-shadow-nav);
}

.rs-header__bar {
  min-height: var(--rs-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.rs-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--rs-text);
  font-family: var(--rs-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.035em;
  flex-shrink: 0;
  z-index: 2;
}

.rs-logo img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rs-nav-panel {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 0.5rem;
}

.rs-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.rs-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--rs-radius-pill);
  font-size: 0.898rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--rs-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.22s var(--rs-ease-out), background 0.22s var(--rs-ease-out), border-color 0.22s var(--rs-ease-out), box-shadow 0.22s var(--rs-ease-out);
}

.rs-nav__link:hover {
  color: var(--rs-text);
  background: rgba(124, 58, 237, 0.1);
}

.rs-nav__link[aria-current="page"] {
  color: #fff;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(139, 92, 246, 0.38);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, inset 0 0 0 1px rgba(139, 92, 246, 0.12);
}

.rs-nav-aside {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Connexion Discord header : rshop-glass-buttons.css */

.rs-user {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.65rem;
  padding: 0.28rem 0.9rem 0.28rem 0.35rem;
  border-radius: var(--rs-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: var(--rs-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  max-width: 220px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition: background 0.22s var(--rs-ease-out), border-color 0.22s var(--rs-ease-out), box-shadow 0.22s var(--rs-ease-out);
}

.rs-user:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(139, 92, 246, 0.38);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 4px 20px rgba(0, 0, 0, 0.15);
}

.rs-user img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.28);
}

.rs-burger.rshop-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--rs-border2);
  border-radius: var(--rs-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.rs-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--rs-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.rshop-header--open .rs-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.rshop-header--open .rs-burger span:nth-child(2) {
  opacity: 0;
}
.rshop-header--open .rs-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .rs-burger.rshop-burger {
    display: inline-flex;
  }

  .rs-nav-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--rs-header-h);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 1.75rem;
    background: rgba(15, 15, 18, 0.97);
    border-bottom: 1px solid var(--rs-border);
    backdrop-filter: blur(16px);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.24s ease, opacity 0.2s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }

  .rshop-header--open .rs-nav-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .rs-nav {
    flex-direction: column;
    flex: none;
    gap: 0.35rem;
  }

  .rs-nav__link {
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .rs-nav-aside {
    margin-left: 0;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--rs-border);
    width: 100%;
  }
}

/* ========== Hero — landing commerciale, lisible, premium ========== */
.rs-hero {
  position: relative;
  min-height: min(76vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 11vw, 6.5rem) 1rem;
  overflow: hidden;
}

.rs-hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--rs-bg0);
  background-image: url("/assets/vitrine/hero-gta-keyart-a.png");
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.02);
}

.rs-hero__overlay {
  position: absolute;
  inset: 0;
  /* Aligné sur --rs-overlay-photo-subtle + voile latéral léger (lisibilité titres) */
  background:
    linear-gradient(
      102deg,
      rgba(18, 12, 28, 0.14) 0%,
      rgba(10, 8, 14, 0.03) 46%,
      rgba(10, 8, 16, 0.1) 100%
    ),
    var(--rs-overlay-photo-subtle),
    radial-gradient(ellipse 82% 52% at 70% 10%, rgba(124, 58, 237, 0.03), transparent 58%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.rs-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(0.75rem, 3vw, 1.25rem);
}

/* Badge hero : rshop-glass-buttons.css */

.rs-hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.15rem, 5.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.038em;
  color: var(--rs-text);
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(10, 10, 12, 0.45);
}

/* « FiveM » : violet identité, ton clair pour contraste fort sur overlay sombre (pas de gradient texte) */
.rs-hero__accent {
  color: #ddd6fe;
  text-shadow: 0 0 40px rgba(124, 58, 237, 0.25), 0 2px 12px rgba(0, 0, 0, 0.45);
}

.rs-hero__lead {
  margin: 0 auto 2.35rem;
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  color: #e8e8ed;
  max-width: 38rem;
  text-wrap: balance;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

.rs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Boutons & badge hero : rshop-glass-buttons.css */

.rs-btn--block {
  width: 100%;
}

/* Sections — rythme vertical plus aéré */
.rs-section {
  padding: clamp(4rem, 10vw, 6rem) 0;
  position: relative;
}

.rs-section--muted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--rs-border);
  border-bottom: 1px solid var(--rs-border);
}

.rs-section__head {
  margin-bottom: 2.5rem;
  max-width: 38rem;
}

.rs-section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--rs-text);
}

.rs-section__lead {
  margin: 0;
  font-size: 1rem;
  color: var(--rs-muted);
  line-height: 1.6;
}

.rs-section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.rs-section__head--center .rs-section__title {
  position: relative;
  display: inline-block;
}

.rs-section__head--center .rs-section__title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--rs-accent-strong), var(--rs-accent-deep), transparent);
  opacity: 0.9;
}

/* Avantages — cartes « vitrine » (surface contrastée, accent discret) */
.rs-features {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .rs-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
  }
}

.rs-feature {
  position: relative;
  padding: 2rem 1.65rem 2rem 1.85rem;
  background: linear-gradient(165deg, #232328 0%, #161618 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--rs-radius);
  box-shadow: var(--rs-shadow-card);
  transition: transform 0.3s var(--rs-ease-out), box-shadow 0.3s var(--rs-ease-out), border-color 0.3s var(--rs-ease-out);
}

.rs-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--rs-accent) 0%, var(--rs-accent-deep) 100%);
  opacity: 0.85;
  pointer-events: none;
}

.rs-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--rs-shadow-card-hover);
  border-color: rgba(124, 58, 237, 0.24);
}

.rs-feature__icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.45rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.rs-feature__title {
  margin: 0 0 0.65rem;
  font-size: 1.075rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.3;
  color: var(--rs-text);
}

.rs-feature__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--rs-muted);
  line-height: 1.68;
}

/* 1ʳᵉ carte avantages : ancrage visuel (après la base .rs-feature) */
.rs-features .rs-feature:first-child {
  background: linear-gradient(165deg, #232328 0%, #161618 100%);
  border-color: rgba(124, 58, 237, 0.16);
  box-shadow: var(--rs-shadow-card), 0 0 0 1px rgba(124, 58, 237, 0.06);
}

/* ========== Accueil — Nos Réalisations (carrousel) ========== */
.rs-showcase {
  position: relative;
  padding: clamp(3rem, 8vw, 4.25rem) 0 clamp(2.75rem, 6vw, 3.75rem);
  margin-bottom: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 58, 237, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(10, 10, 14, 0.4) 0%, transparent 40%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rs-showcase-shell {
  max-width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.rs-showcase-head {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.35rem);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.rs-showcase-eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
}

.rs-showcase-title {
  margin: 0 0 0.65rem;
  font-family: var(--rs-display);
  font-size: clamp(1.6rem, 3.2vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.18;
  color: var(--rs-text);
}

.rs-showcase-sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rs-muted);
}

.rs-showcase-carousel {
  position: relative;
}

.rs-showcase__viewport {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--rs-radius) + 10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.12),
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 80px -20px rgba(124, 58, 237, 0.25);
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 620px);
}

@media (max-width: 640px) {
  .rs-showcase__viewport {
    aspect-ratio: 4 / 3;
    max-height: none;
    border-radius: calc(var(--rs-radius) + 4px);
  }
}

.rs-showcase__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  will-change: transform;
}

.rs-showcase__slide {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  margin: 0;
  padding: 0;
}

.rs-showcase__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

.rs-showcase__slide-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 14, 0.12) 0%,
    transparent 35%,
    transparent 65%,
    rgba(10, 10, 14, 0.35) 100%
  );
  border-radius: inherit;
}

.rs-showcase__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(14, 14, 18, 0.72);
  color: #f4f2fc;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.rs-showcase__nav:hover {
  background: rgba(124, 58, 237, 0.22);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.2);
}

.rs-showcase__nav:focus-visible {
  outline: 2px solid rgba(196, 181, 253, 0.85);
  outline-offset: 3px;
}

.rs-showcase__nav--prev {
  left: clamp(0.65rem, 2vw, 1rem);
}

.rs-showcase__nav--next {
  right: clamp(0.65rem, 2vw, 1rem);
}

@media (max-width: 480px) {
  .rs-showcase__nav {
    width: 2.35rem;
    height: 2.35rem;
  }
  .rs-showcase__nav svg {
    width: 18px;
    height: 18px;
  }
}

.rs-showcase__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding: 0;
}

.rs-showcase__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.rs-showcase__dot:hover {
  background: rgba(196, 181, 253, 0.55);
  transform: scale(1.15);
}

.rs-showcase__dot.is-active {
  background: linear-gradient(135deg, #c4b5fd, #7c3aed);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.55);
  transform: scale(1.2);
}

.rs-showcase__dot:focus-visible {
  outline: 2px solid rgba(196, 181, 253, 0.8);
  outline-offset: 2px;
}

/* ========== Accueil — preuve sociale (stats) ========== */
.rs-proof-section {
  position: relative;
  padding: clamp(3.5rem, 9vw, 5.25rem) 0;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.07), transparent 55%),
    rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--rs-border);
  border-bottom: 1px solid var(--rs-border);
}

.rs-proof-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.45), transparent);
  pointer-events: none;
}

.rs-proof-shell {
  max-width: var(--rs-max);
}

.rs-proof-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.rs-proof-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.rs-proof-title {
  margin: 0 0 0.75rem;
  font-family: var(--rs-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--rs-text);
}

.rs-proof-sub {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--rs-muted);
}

.rs-proof-stats {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 48rem;
}

@media (min-width: 640px) {
  .rs-proof-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.rs-proof-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.85rem 1.35rem 1.75rem;
  border-radius: calc(var(--rs-radius) + 4px);
  background: linear-gradient(165deg, rgba(34, 32, 40, 0.95) 0%, rgba(18, 18, 22, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--rs-ease-out), border-color 0.35s var(--rs-ease-out), box-shadow 0.35s var(--rs-ease-out);
  justify-content: center;
}

.rs-proof-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(124, 58, 237, 0.1);
}

.rs-proof-stat__value {
  font-family: var(--rs-display);
  font-size: clamp(2.15rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.rs-proof-stat__value--sm {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
}

.rs-proof-stat__label {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #e5e7eb;
  margin-bottom: 0.35rem;
}

.rs-proof-stat__hint {
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.45;
}

.rs-proof-cta {
  margin-top: clamp(1.85rem, 4.5vw, 2.65rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.rs-proof-cta__intro {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--rs-muted);
  letter-spacing: -0.01em;
}

/* CTA avis Discord : rshop-glass-buttons.css */

.rs-proof-discord-cta__icon {
  flex-shrink: 0;
  opacity: 0.95;
}

/* Bandeau avis pleine largeur (hors .rs-shell) */
.rs-proof-marquee-bleed {
  width: 100%;
  max-width: 100%;
  margin: 0 0 2.75rem;
}

.rs-proof-marquee-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
  box-sizing: border-box;
}

.rs-proof-marquee-label {
  margin: 0 0 1.1rem;
  padding: 0 clamp(0.25rem, 1vw, 0.5rem);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-muted2);
  text-align: center;
}

.rs-proof-marquee {
  position: relative;
  width: 100%;
}

.rs-proof-marquee__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(72px, 11vw, 160px);
  z-index: 2;
  pointer-events: none;
}

.rs-proof-marquee__edge--left {
  left: 0;
  background: linear-gradient(90deg, #0a0a0c 0%, rgba(10, 10, 12, 0.85) 35%, transparent 100%);
}

.rs-proof-marquee__edge--right {
  right: 0;
  background: linear-gradient(270deg, #0a0a0c 0%, rgba(10, 10, 12, 0.85) 35%, transparent 100%);
}

.rs-proof-marquee__viewport {
  overflow: hidden;
  width: 100%;
  padding: 0.4rem 0 0.55rem;
  mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
}

.rs-proof-marquee__track {
  display: flex;
  width: max-content;
  animation: rs-proof-marquee 72s linear infinite;
  will-change: transform;
}

.rs-proof-marquee__viewport:hover .rs-proof-marquee__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .rs-proof-marquee__track {
    animation: none;
  }

  .rs-proof-marquee__viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
  }

  .rs-proof-marquee__group {
    scroll-snap-align: start;
  }
}

@keyframes rs-proof-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rs-proof-marquee__group {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.rs-quote-card {
  flex: 0 0 auto;
  width: clamp(240px, 22vw, 290px);
  min-height: 100%;
  margin: 0;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: var(--rs-radius);
  background: linear-gradient(155deg, rgba(30, 28, 36, 0.98) 0%, rgba(14, 14, 17, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 32px rgba(0, 0, 0, 0.38);
}

@media (max-width: 479px) {
  .rs-quote-card {
    width: min(280px, 85vw);
  }
}

.rs-quote-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.rs-quote-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rs-display);
  font-size: 1rem;
  font-weight: 700;
  color: #ede9fe;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.45) 0%, rgba(91, 33, 182, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.rs-quote-card__avatar--img {
  display: block;
  padding: 0;
  object-fit: cover;
  font-size: 0;
  line-height: 0;
}

.rs-quote-card__when {
  display: block;
  font-size: 0.75rem;
  color: var(--rs-muted2);
  margin-top: 0.2rem;
  font-weight: 500;
}

.rs-quote-card--placeholder .rs-quote-card__text {
  color: var(--rs-muted2);
}

.rs-quote-card__who {
  flex: 1;
  min-width: 0;
}

.rs-quote-card__name {
  display: block;
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rs-text);
  line-height: 1.25;
}

.rs-quote-card__handle {
  display: block;
  font-size: 0.8125rem;
  color: var(--rs-muted2);
  margin-top: 0.15rem;
}

.rs-quote-card__stars {
  flex-shrink: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #a78bfa;
  line-height: 1;
  margin-top: 0.1rem;
}

.rs-quote-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--rs-text-soft);
  letter-spacing: 0.01em;
}

.rs-proof-foot {
  margin: 0;
  text-align: center;
}

/* Catalogue */
.rs-catalog__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .rs-catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .rs-catalog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rs-catalog__grid--single {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Cartes produit — contraste sur fond neutre, ombre noire (pas bleutée) */
.rs-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #2a292f 0%, #1e1e22 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--rs-radius) + 2px);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 4px 12px rgba(0, 0, 0, 0.45), 0 20px 48px rgba(0, 0, 0, 0.38);
  transition: transform 0.3s var(--rs-ease-out), box-shadow 0.3s var(--rs-ease-out), border-color 0.3s var(--rs-ease-out);
}

.rs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.28);
}

.rs-card:focus-within {
  outline: 2px solid rgba(124, 58, 237, 0.45);
  outline-offset: 2px;
}

.rs-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0a0c;
  overflow: hidden;
}

.rs-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(10, 10, 12, 0.68) 100%);
  pointer-events: none;
  z-index: 1;
}

.rs-card__media-link {
  display: block;
  height: 100%;
  position: relative;
  z-index: 0;
}

.rs-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.rs-card:hover .rs-card__media img {
  transform: scale(1.04);
}

.rs-card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ede9fe;
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid rgba(124, 58, 237, 0.45);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.rs-card__body {
  padding: 1.5rem 1.45rem 1.55rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.rs-card__title {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.rs-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.rs-card__title a:hover {
  color: var(--rs-accent-strong);
}

.rs-card__desc {
  margin: 0;
  font-size: 0.898rem;
  color: var(--rs-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.75rem;
}

.rs-card__perk {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--rs-muted2);
  letter-spacing: 0.01em;
}

.rs-card__perk::before {
  content: "✓ ";
  color: #a78bfa;
  font-weight: 800;
}

.rs-card__price-block {
  margin-top: 0.35rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.rs-card__price-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.rs-card__price-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rs-muted2);
}

.rs-card__price {
  font-family: var(--rs-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fafafa;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rs-card__buy-label {
  vertical-align: middle;
}

.rs-card__buy-arrow {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.25s var(--rs-ease-out);
  opacity: 0.9;
}

.rs-card:hover .rs-card__buy-arrow {
  transform: translateX(3px);
}

/* Bouton catalogue (.rs-card__buy) : rshop-glass-buttons.css */

.rs-card__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.06), #0a0a0c);
}

.rs-card__body > .rs-btn {
  margin-top: 0.4rem;
}

/* Réassurance */
.rs-trust {
  padding: clamp(3.25rem, 8vw, 4.5rem) 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--rs-border);
}

.rs-trust__grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 640px) {
  .rs-trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rs-trust__item {
  padding: 1.5rem 1.25rem;
  background: var(--rs-surface);
  border-radius: var(--rs-radius);
  border: 1px solid var(--rs-border);
  box-shadow: var(--rs-shadow-card);
}

.rs-trust__value {
  display: block;
  font-family: var(--rs-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--rs-text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

.rs-trust__label {
  font-size: 0.875rem;
  color: var(--rs-muted);
  line-height: 1.45;
}

/* CTA — bloc distinct, centré (réutilisable hors accueil) */
.rs-cta {
  padding: clamp(3.5rem, 9vw, 5rem) 0;
  border-top: 1px solid var(--rs-border);
  background: radial-gradient(ellipse 85% 90% at 50% 100%, rgba(124, 58, 237, 0.07), transparent 58%), var(--rs-bg0);
}

.rs-cta .rs-shell {
  display: flex;
  justify-content: center;
  width: 100%;
}

.rs-cta__box {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 2.65rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: calc(var(--rs-radius) + 4px);
  background: linear-gradient(165deg, rgba(38, 36, 46, 0.92) 0%, rgba(18, 18, 20, 0.99) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 8px 32px rgba(0, 0, 0, 0.4);
}

.rs-cta__title {
  margin: 0;
  max-width: 26rem;
  font-size: clamp(1.28rem, 2.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--rs-text);
}

.rs-cta__box .rs-btn {
  min-width: 12rem;
}

/* Footer */
.rs-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--rs-border);
  background: rgba(8, 8, 10, 0.97);
}

.rs-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--rs-border);
}

@media (min-width: 720px) {
  .rs-footer__top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}

.rs-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--rs-text);
  font-family: var(--rs-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.rs-footer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--rs-border2);
}

.rs-footer__tag {
  margin: 0;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--rs-muted);
  line-height: 1.5;
}

.rs-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.rs-footer__nav a {
  color: var(--rs-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.rs-footer__nav a:hover {
  color: var(--rs-accent);
}

.rs-footer__copy {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--rs-muted2);
  letter-spacing: 0.02em;
}

/*
 * Boutique — fond page : identique au thème rs-store (pas de photo / overlay sur tout le body).
 * Image + dégradé = uniquement .rs-boutique-hero__bg / __overlay.
 */
body.rs-store.rshop-boutique-page {
  position: relative;
  background-color: var(--rs-bg0);
  background-image: var(--rs-gradient-page);
  background-attachment: fixed;
}

body.rs-store.rshop-boutique-page .checkout-modal {
  z-index: 400;
}

/* Boutique — page catalogue premium */
.rs-boutique-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.75rem, 7vw, 4.25rem) 0 clamp(2rem, 4vw, 2.75rem);
  overflow: hidden;
  border-bottom: 1px solid var(--rs-border);
  background: transparent;
}

/* Image + overlay dans la hero (calques réels — ne dépend pas du body seul) */
.rs-boutique-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/boutique-hero-bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  pointer-events: none;
}

.rs-boutique-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Uniquement dans la hero : léger violet haut, centre ouvert, bas un peu plus sombre */
  background: linear-gradient(
    to bottom,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(124, 58, 237, 0.05) 18%,
    rgba(0, 0, 0, 0.03) 42%,
    rgba(0, 0, 0, 0.22) 78%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.rs-boutique-hero__glow {
  position: absolute;
  inset: -30% -20% auto;
  z-index: 2;
  height: min(420px, 70vw);
  background: radial-gradient(ellipse closest-side at 50% 0%, rgba(139, 92, 246, 0.09), transparent 72%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 38%, transparent 100%);
}

.rs-boutique-hero__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.rs-boutique-hero__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.38rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ddd6fe;
  border-radius: var(--rs-radius-pill);
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(91, 33, 182, 0.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.rs-boutique-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--rs-text);
}

.rs-boutique-hero__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--rs-text-soft);
  text-wrap: balance;
}

.rs-boutique-banner {
  margin-top: 1.25rem;
  text-align: left;
}

.rs-shop-strip {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rs-border);
  background: rgba(255, 255, 255, 0.02);
}

.rs-shop-strip__inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .rs-shop-strip__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rs-shop-strip__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  font-size: 0.875rem;
  color: var(--rs-muted);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--rs-radius-sm) + 2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.25s var(--rs-ease-out), box-shadow 0.25s var(--rs-ease-out);
}

.rs-shop-strip__item:hover {
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.rs-shop-strip__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.22);
}

.rs-shop-strip__item strong {
  display: block;
  color: var(--rs-text);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.rs-shop-strip__detail {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--rs-muted);
}

.rs-shop-main {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

/* Boutique : la grille suit directement le bandeau confiance (pas de titre/tri ni réassurance bas de page) */
#boutique-catalog.rs-shop-main {
  padding-top: clamp(1.2rem, 2.8vw, 1.75rem);
  padding-bottom: clamp(2.35rem, 5.5vw, 3.75rem);
}

.rs-catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}

@media (min-width: 720px) {
  .rs-catalog-toolbar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
  }
}

.rs-catalog-toolbar__intro {
  max-width: 36rem;
}

.rs-catalog-toolbar__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rs-text);
}

.rs-catalog-toolbar__blurb {
  margin: 0;
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--rs-muted);
}

.rs-catalog-toolbar__controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .rs-catalog-toolbar__controls {
    align-items: flex-end;
    min-width: 12.5rem;
  }
}

.rs-boutique-sort-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-muted2);
  text-align: left;
}

.rs-boutique-alert {
  margin-top: 1.5rem;
  text-align: center;
}

.rs-boutique-reassure {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.25rem 1.35rem;
  border-radius: var(--rs-radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.rs-boutique-reassure__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem 1.5rem;
}

@media (min-width: 768px) {
  .rs-boutique-reassure__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1.25rem;
  }
}

.rs-boutique-reassure__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--rs-muted);
}

.rs-boutique-reassure__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.45);
}

.rs-empty {
  text-align: center;
  padding: 2.75rem 1.5rem;
  border: 1px dashed rgba(124, 58, 237, 0.28);
  border-radius: var(--rs-radius);
  background: rgba(255, 255, 255, 0.02);
  max-width: 28rem;
  margin: 0 auto;
  color: var(--rs-muted);
}

.rs-empty strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--rs-display);
  color: var(--rs-text);
}

/* Produit */
.rs-product {
  padding: 1.5rem 0 3rem;
}

.rs-breadcrumb {
  font-size: 0.875rem;
  color: var(--rs-muted);
  margin-bottom: 1.35rem;
}

.rs-breadcrumb a {
  color: var(--rs-accent);
  text-decoration: none;
  font-weight: 500;
}

.rs-breadcrumb a:hover {
  text-decoration: underline;
}

.rs-product__layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .rs-product__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.rs-gallery-main {
  border-radius: var(--rs-radius);
  overflow: hidden;
  border: 1px solid var(--rs-border);
  background: #0a0a0c;
  aspect-ratio: 16 / 10;
  box-shadow: var(--rs-shadow-card);
}

.rs-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rs-gallery-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.08), #0a0a0c);
}

.rs-product__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.rs-product__thumb {
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--rs-surface);
  transition: border-color 0.2s;
}

.rs-product__thumb.is-active {
  border-color: var(--rs-accent-strong);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.45);
}

.rs-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-product__price {
  font-family: var(--rs-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 1rem;
  color: var(--rs-text);
}

.rs-product__trust {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--rs-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
}

.rs-product__trust li {
  margin: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.rs-product__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}

.rs-product__h2 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rs-text);
}

.rs-product__desc {
  color: var(--rs-muted);
  line-height: 1.65;
  font-size: 0.9375rem;
  white-space: pre-wrap;
}

.rs-product__lead {
  font-weight: 500;
  color: var(--rs-text-soft) !important;
  margin-bottom: 1rem !important;
}

.rs-product__buy {
  margin-top: 1rem;
}

/* Bouton achat fiche produit : rshop-glass-buttons.css */

body.rs-store .page-title {
  color: var(--rs-text);
}

/* Compte */
.rs-account-hero {
  padding: clamp(2.25rem, 6vw, 3.25rem) 0 1.75rem;
  border-bottom: 1px solid var(--rs-border);
  background: rgba(255, 255, 255, 0.02);
}

.rs-account-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  font-weight: 800;
  color: var(--rs-text);
}

.rs-account-hero .lead {
  margin: 0 0 0.85rem;
  color: var(--rs-muted);
  max-width: 40rem;
}

.rs-account-main {
  max-width: var(--rs-max);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 1.5rem) 3.5rem;
}

body.rs-store .account-card {
  background: linear-gradient(165deg, var(--rs-surface2) 0%, var(--rs-surface) 100%);
  border: 1px solid var(--rs-border);
  color: var(--rs-text);
  box-shadow: var(--rs-shadow-card);
}

body.rs-store .account-card h2 {
  color: var(--rs-text);
}

body.rs-store .pack {
  background: var(--rs-surface);
  border: 1px solid var(--rs-border);
  color: var(--rs-text);
}

body.rs-store .pack:hover {
  border-color: rgba(124, 58, 237, 0.28);
}

body.rs-store .sync-line {
  color: var(--rs-muted);
}

body.rs-store .sync-line::before {
  background: #34d399;
}

/* Checkout & alertes dark */
body.rs-store .checkout-modal__backdrop {
  background: rgba(0, 0, 0, 0.78);
}

body.rs-store .checkout-modal__panel {
  background: linear-gradient(165deg, #242428 0%, #141416 100%) !important;
  border: 1px solid var(--rs-border) !important;
  color: var(--rs-text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55) !important;
}

body.rs-store .checkout-modal__close {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--rs-border) !important;
  color: var(--rs-text) !important;
}

.checkout-promo-row {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
}
.checkout-promo-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(180, 175, 205, 0.85);
  margin-bottom: 0.4rem;
}
.checkout-promo-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.checkout-promo-input {
  flex: 1;
  min-width: 8rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: rgba(8, 6, 14, 0.55);
  color: #fafafa;
  font-size: 0.875rem;
}
.checkout-promo-msg {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
}
.checkout-price-old {
  text-decoration: line-through;
  opacity: 0.55;
  margin-right: 0.35rem;
}
.checkout-price-new {
  color: #c4b5fd;
  font-weight: 700;
}

body.rs-store .rshop-checkout-price {
  color: var(--rs-text) !important;
}

body.rs-store .alert {
  border-radius: var(--rs-radius-sm);
}

body.rs-store .alert.info {
  background: rgba(124, 58, 237, 0.1) !important;
  border-color: rgba(124, 58, 237, 0.3) !important;
  color: var(--rs-text-soft) !important;
}

/* ========== Mon compte — dashboard premium ========== */
/*
 * Fond page = thème standard (comme body.rs-store). Pas d’overlay violet sur tout l’écran.
 * Photo + dégradé = seulement .acc-hero__bg / .acc-hero__overlay.
 */
body.rs-store.acc-page {
  position: relative;
  background-color: var(--rs-bg0);
  background-image: var(--rs-gradient-page);
  background-attachment: fixed;
}

.acc-page .acc-page-alert {
  max-width: var(--rs-max);
  margin: 1rem auto 0;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

.acc-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.25rem, 6vw, 3.5rem) 0 clamp(2.75rem, 6vw, 4rem);
  overflow: hidden;
  border-bottom: none;
  background: transparent;
}

.acc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/account-hero-bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  pointer-events: none;
}

.acc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(124, 58, 237, 0.05) 18%,
    rgba(0, 0, 0, 0.03) 42%,
    rgba(0, 0, 0, 0.22) 78%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.acc-hero__glow {
  position: absolute;
  inset: -40% -30% auto;
  z-index: 2;
  height: min(520px, 90vw);
  background: radial-gradient(ellipse closest-side at 50% 0%, rgba(139, 92, 246, 0.09), transparent 72%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
}

.acc-hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 100%);
}

.acc-hero__inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.acc-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.acc-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--rs-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--rs-text);
}

.acc-hero__sync {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--rs-muted);
}

.acc-dashboard {
  position: relative;
  padding: clamp(0.25rem, 1.2vw, 0.75rem) 0 clamp(3rem, 7vw, 4.5rem);
  border-top: none;
  box-shadow: none;
}

.acc-dashboard__grid {
  display: grid;
  gap: clamp(1.35rem, 3vw, 1.75rem);
  grid-template-columns: 1fr;
  align-items: start;
}

.acc-dashboard__aside {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .acc-dashboard__grid {
    /* Colonne latérale un peu plus large : l’historique portefeuille reste lisible */
    grid-template-columns: minmax(0, 1fr) min(360px, 38%);
    gap: 1.75rem;
  }

  .acc-dashboard__aside {
    position: sticky;
    align-self: start;
    top: calc(var(--rs-header-h) + 1rem);
  }
}

.acc-wallet-aside-mount {
  width: 100%;
  min-width: 0;
}

.acc-wallet-aside-mount.hidden {
  display: none !important;
}

/* Portefeuille sous « Actions » : aligné largeur carte Actions */
.acc-dashboard__aside .acc-wallet-premium {
  margin-bottom: 0;
}

.acc-mount {
  min-width: 0;
}

.acc-spotlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: calc(var(--rs-radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 100%),
    linear-gradient(145deg, rgba(124, 58, 237, 0.12) 0%, rgba(18, 16, 28, 0.92) 55%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(124, 58, 237, 0.08);
}

@media (min-width: 640px) {
  .acc-spotlight {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
}

.acc-spotlight__avatar-ring {
  flex-shrink: 0;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196, 181, 254, 0.55), rgba(124, 58, 237, 0.45), rgba(91, 33, 182, 0.6));
  box-shadow: 0 12px 40px rgba(91, 33, 182, 0.35);
}

.acc-spotlight__avatar {
  display: block;
  width: clamp(96px, 22vw, 120px);
  height: clamp(96px, 22vw, 120px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(10, 10, 12, 0.95);
}

.acc-spotlight__body {
  flex: 1;
  min-width: 0;
}

.acc-spotlight__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ddd6fe;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(91, 33, 182, 0.35);
}

.acc-spotlight__name {
  margin: 0 0 0.35rem;
  font-family: var(--rs-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rs-text);
}

.acc-spotlight__role {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--rs-text-soft);
}

.acc-spotlight__id {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rs-muted2);
  font-variant-numeric: tabular-nums;
}

.acc-spotlight__id-label {
  color: var(--rs-muted);
  font-weight: 600;
  margin-right: 0.35rem;
}

.acc-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: clamp(1.35rem, 3vw, 1.75rem);
}

@media (min-width: 640px) {
  .acc-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.acc-stat {
  padding: 1.05rem 1rem;
  border-radius: var(--rs-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(12, 12, 16, 0.85) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  text-align: center;
}

.acc-stat__value {
  display: block;
  font-family: var(--rs-display);
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fafafa;
  margin-bottom: 0.35rem;
}

.acc-stat__value--sm {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  letter-spacing: -0.02em;
}

.acc-stat__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-muted2);
  line-height: 1.35;
}

.acc-panels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acc-card {
  border-radius: calc(var(--rs-radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, rgba(34, 32, 40, 0.95) 0%, rgba(16, 16, 20, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 1.25rem 1.35rem 1.35rem;
}

.acc-card--purchases {
  padding-bottom: 1.5rem;
}

.acc-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.acc-card__title {
  margin: 0;
  font-family: var(--rs-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rs-text);
}

.acc-card__meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rs-muted);
}

.acc-role-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.acc-role-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: ui-monospace, monospace;
  color: #e9d5ff;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.12);
  max-width: 100%;
  word-break: break-all;
}

.acc-access-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--rs-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.acc-access-list li {
  margin: 0.4rem 0;
}

.acc-access-list a {
  color: var(--rs-accent);
  font-weight: 600;
  text-decoration: none;
}

.acc-access-list a:hover {
  text-decoration: underline;
}

.acc-highlight {
  color: #ddd6fe;
  font-weight: 700;
}

.acc-muted-inline {
  margin: 0;
  font-size: 0.875rem;
  color: var(--rs-muted);
  line-height: 1.55;
}

.acc-empty {
  text-align: center;
  padding: 1.5rem 1rem;
}

.acc-empty--inline {
  padding: 1.75rem 1.25rem;
}

.acc-empty__visual {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  filter: grayscale(0.2);
}

.acc-empty__title {
  margin: 0 0 0.5rem;
  font-family: var(--rs-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rs-text);
}

.acc-empty__text {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--rs-muted);
  line-height: 1.55;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.acc-empty__cta {
  display: inline-flex;
  justify-content: center;
}

.acc-purchase-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.acc-purchase-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--rs-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.acc-purchase-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.acc-purchase-row__name {
  font-weight: 700;
  color: var(--rs-text);
  font-size: 0.9375rem;
}

.acc-purchase-row__date {
  font-size: 0.75rem;
  color: var(--rs-muted2);
  font-variant-numeric: tabular-nums;
}

.acc-purchase-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.acc-purchase-badge--ok {
  color: #bbf7d0;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(6, 78, 59, 0.35);
}

.acc-purchase-badge--pending {
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(120, 53, 15, 0.35);
}

.acc-purchase-badge--wait {
  color: #e9d5ff;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(91, 33, 182, 0.25);
}

.acc-side-card {
  padding: 1.35rem 1.25rem 1.45rem;
  border-radius: calc(var(--rs-radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(12, 12, 16, 0.92) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 16px 48px rgba(0, 0, 0, 0.4);
}

.acc-side-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--rs-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rs-text);
}

.acc-side-card__hint {
  margin: 0 0 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--rs-muted);
}

.acc-side-card__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.acc-side-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.acc-guest-card {
  padding: clamp(2rem, 5vw, 2.75rem) 1.5rem;
  text-align: center;
  border-radius: calc(var(--rs-radius) + 4px);
  border: 1px dashed rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.06);
}

.acc-guest-card__icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.acc-guest-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--rs-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rs-text);
}

.acc-guest-card__text {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--rs-muted);
}

.acc-products {
  margin-top: clamp(2rem, 5vw, 2.75rem);
  padding-top: clamp(1.75rem, 4vw, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.acc-products__head {
  margin-bottom: 1.35rem;
}

.acc-products__title {
  margin: 0 0 0.45rem;
  font-family: var(--rs-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rs-text);
}

.acc-products__sub {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--rs-muted);
  line-height: 1.55;
  max-width: 40rem;
}

.acc-pack-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acc-pack {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: calc(var(--rs-radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, rgba(32, 30, 38, 0.98) 0%, rgba(14, 14, 18, 0.99) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 36px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s var(--rs-ease-out), box-shadow 0.25s var(--rs-ease-out), transform 0.25s var(--rs-ease-out);
}

.acc-pack:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 16px 48px rgba(0, 0, 0, 0.42);
}

.acc-pack--minimal.acc-pack--open {
  border-color: rgba(255, 255, 255, 0.1);
}

.acc-pack__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.acc-pack__title {
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
  font-family: var(--rs-display);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--rs-text);
}

.acc-pack__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.acc-pack__dl {
  white-space: nowrap;
}

.acc-pack-empty {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acc-empty--packs {
  padding: 2rem 1.25rem;
  border-radius: calc(var(--rs-radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

/* Portefeuille — flux : infos → historique ; décor uniquement en fond (hors flux) */
.acc-wallet-premium {
  position: relative;
  margin-bottom: clamp(1.35rem, 3vw, 1.85rem);
  padding: 0;
  border-radius: calc(var(--rs-radius) + 8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #0e0e12 0%, #0a0a0e 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 22px 56px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.acc-wallet-premium__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 90% 70% at 92% 8%, rgba(124, 58, 237, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 45%, rgba(91, 33, 182, 0.12), transparent 50%),
    linear-gradient(165deg, transparent 40%, rgba(10, 10, 14, 0.85) 100%);
}

.acc-wallet-premium__main {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 3.5vw, 2rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.acc-dashboard__aside .acc-wallet-premium__main {
  padding: clamp(1.25rem, 3vw, 1.65rem);
}

.acc-wallet-premium__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.acc-wallet-premium__label {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rs-text-soft);
}

.acc-wallet-premium__amount {
  margin: 0 0 0.75rem;
  font-family: var(--rs-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--rs-text);
  text-shadow: 0 2px 28px rgba(124, 58, 237, 0.22);
  line-height: 1.1;
}

.acc-wallet-premium__hint {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--rs-muted);
  max-width: 26rem;
}

.acc-wallet-recharge {
  align-self: flex-start;
  margin-top: 0.15rem;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.22);
}

.acc-wallet-history {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: clamp(1.15rem, 2.8vw, 1.5rem) clamp(0.85rem, 2.4vw, 1.65rem);
  padding-top: clamp(1.25rem, 2.8vw, 1.55rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
  overflow: visible;
  min-width: 0;
}

.acc-wallet-history__title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rs-text);
}

/* --- Historique portefeuille : structure fixe (date | libellé | montant), pas de compression aléatoire --- */
.acc-wallet-tx-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  min-width: 0;
}

.acc-wallet-tx {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}

/*
 * Grille explicite : colonne date ~fixe | libellé flexible | montant auto.
 * min-width:0 sur la colonne centrale autorise le rétrécissement sans min-content énorme ;
 * le libellé utilise des coupures de mots normales, jamais break-all.
 */
.acc-wallet-tx__inner {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.8rem;
  border-radius: var(--rs-radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.875rem;
  line-height: 1.45;
}

.acc-wallet-tx__date {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  color: var(--rs-muted2);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-wallet-tx__main {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 100%;
}

.acc-wallet-tx__label {
  display: block;
  margin: 0;
  color: var(--rs-text-soft);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.acc-wallet-tx__amt {
  grid-column: 3;
  grid-row: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  min-width: 4.75rem;
  justify-self: end;
}

.acc-wallet-tx__amt.is-pos {
  color: #c4b5fd;
}

.acc-wallet-tx__amt.is-neg {
  color: #fca5a5;
}

/* Mobile : ligne 1 = libellé + montant, ligne 2 = date pleine largeur */
@media (max-width: 520px) {
  .acc-wallet-tx__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: 0.45rem;
    column-gap: 0.65rem;
  }

  .acc-wallet-tx__main {
    grid-column: 1;
    grid-row: 1;
  }

  .acc-wallet-tx__amt {
    grid-column: 2;
    grid-row: 1;
  }

  .acc-wallet-tx__date {
    grid-column: 1 / -1;
    grid-row: 2;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 0.8rem;
  }
}

.acc-wallet-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.acc-wallet-preset-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--rs-text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.acc-wallet-preset-btn:hover {
  border-color: rgba(167, 139, 250, 0.45);
}

.acc-wallet-preset-btn.is-selected {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(124, 58, 237, 0.14);
}

.acc-wallet-custom {
  margin-bottom: 1rem;
}

.acc-wallet-custom__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  color: var(--rs-muted);
}

.acc-wallet-custom__input {
  width: 100%;
  max-width: 12rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--rs-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--rs-text);
}

.acc-wallet-topup-go {
  width: 100%;
  max-width: 20rem;
}

.checkout-credits-hint {
  margin-top: 0.85rem;
}

.checkout-credits-box {
  padding: 0.85rem 1rem;
  border-radius: var(--rs-radius);
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: rgba(124, 58, 237, 0.07);
}

.checkout-credits-balance {
  margin: 0;
  font-size: 0.9rem;
}

.checkout-credits-pay {
  width: 100%;
  margin-top: 0.35rem;
}

.checkout-credits-box a {
  color: #c4b5fd;
  font-weight: 600;
}

/* Boutons compte / catalogue : rshop-glass-buttons.css */

/* Page 403 admin (admin-access-denied.html) */
.adm-forbidden-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.adm-forbidden {
  width: 100%;
  max-width: 28rem;
}
.adm-forbidden__card {
  padding: 2rem 1.75rem;
  border-radius: var(--rs-radius-lg, 1rem);
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: linear-gradient(165deg, rgba(15, 15, 22, 0.95), rgba(10, 10, 16, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.adm-forbidden__eyebrow {
  font-family: var(--rs-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a78bfa;
  margin: 0 0 0.5rem;
}
.adm-forbidden__title {
  font-family: var(--rs-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #f4f4f8;
}
.adm-forbidden__text {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(228, 228, 240, 0.88);
}
.adm-forbidden__text code {
  font-size: 0.82em;
  color: #c4b5fd;
}
.adm-forbidden__text a {
  color: #c4b5fd;
  font-weight: 600;
}
.adm-forbidden__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

/* —— Administration : même DA que Mon compte (pas de sidebar / pas de thème « console ») —— */
.adm-gate {
  padding: 2rem 0 0;
}
.adm-dashboard {
  padding-bottom: 3rem;
}
.adm-top-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.adm-page .acc-card.adm-profile-slot {
  padding: 1.2rem 1.35rem;
}
.adm-kpi-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.adm-metric-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(10, 8, 18, 0.55);
  min-width: 6.5rem;
}
.adm-metric-pill__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(180, 175, 205, 0.88);
}
.adm-metric-pill__value {
  font-family: var(--rs-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5f3ff;
}
.adm-profile-card__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.adm-profile-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(167, 139, 250, 0.45);
  flex-shrink: 0;
}
.adm-profile-card__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #faf8ff;
  margin: 0 0 0.2rem;
}
.adm-profile-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.adm-profile-card__roles {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(200, 195, 225, 0.9);
  word-break: break-all;
}
.adm-profile-card__roles strong {
  color: #e9d5ff;
}
.adm-profile-card__roles code {
  font-size: 0.78rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(124, 58, 237, 0.25);
}
.adm-muted-placeholder {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(180, 175, 205, 0.75);
}
.adm-muted-inline {
  color: rgba(180, 175, 205, 0.75);
  font-size: 0.85em;
}

.adm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.14);
}
.adm-tab {
  font-family: var(--rs-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(8, 8, 14, 0.45);
  color: rgba(220, 215, 245, 0.85);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.adm-tab:hover {
  border-color: rgba(167, 139, 250, 0.4);
  color: #f5f3ff;
}
.adm-tab--active {
  border-color: rgba(167, 139, 250, 0.55);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.22), rgba(45, 25, 85, 0.35));
  color: #faf8ff;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.12);
}

.adm-section-head {
  margin-bottom: 1rem;
}
.adm-section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.adm-dashboard-actions {
  flex-shrink: 0;
}
.adm-stat-flash {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(22, 101, 52, 0.2);
  color: #bbf7d0;
  font-size: 0.9rem;
}
.adm-baseline-hint {
  margin: -0.25rem 0 0.85rem;
}
.adm-reset-stats-modal .adm-reset-stats-lead {
  margin: 0 0 0.75rem;
  line-height: 1.45;
  color: rgba(230, 225, 255, 0.92);
  font-size: 0.92rem;
}
.adm-reset-stats-warning {
  margin-bottom: 0.65rem;
}
.adm-reset-stats-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}
.adm-reset-stats-label input {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.06em;
}
.adm-reset-stats-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.adm-panels {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.adm-panel {
  animation: adm-fade 0.25s ease;
}
@keyframes adm-fade {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

.adm-kpi-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  margin-bottom: 1.5rem;
}
.adm-kpi {
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: linear-gradient(165deg, rgba(22, 16, 38, 0.55), rgba(8, 8, 14, 0.85));
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 4.5rem;
  justify-content: flex-end;
}
.adm-kpi__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(180, 175, 205, 0.9);
}
.adm-kpi__value {
  font-family: var(--rs-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #f5f3ff;
  line-height: 1.2;
}
.adm-kpi--accent .adm-kpi__value {
  color: #d8b4fe;
}

.adm-table-section {
  margin-bottom: 1.5rem;
}
.adm-table-section--spaced {
  margin-top: 1rem;
}
.adm-table-scroll {
  overflow-x: auto;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}
.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.adm-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(180, 175, 205, 0.9);
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}
.adm-table td {
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(235, 232, 250, 0.92);
}
.adm-table tbody tr:hover td {
  background: rgba(124, 58, 237, 0.06);
}
.adm-table__mono {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}
.adm-table__roles {
  max-width: 12rem;
  font-size: 0.78rem;
  word-break: break-all;
}

.adm-empty-cell {
  padding: 2rem 1rem !important;
  text-align: center;
  border: none !important;
}
.adm-empty-state__glyph {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  opacity: 0.5;
  color: #a78bfa;
}
.adm-empty-state__title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: #eee8ff;
}
.adm-empty-state__hint {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(180, 175, 205, 0.85);
}

.adm-hint {
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(180, 175, 205, 0.92);
  margin: 0 0 1rem;
}
.adm-hint code {
  font-size: 0.85em;
  color: #d8b4fe;
}
.adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
}
.adm-toolbar-actions {
  margin: 0 0 1rem;
}
.adm-input-search {
  min-width: min(100%, 240px);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: rgba(6, 6, 12, 0.65);
  color: #f4f4f8;
  font: inherit;
}
.adm-check {
  font-size: 0.86rem;
  color: rgba(210, 205, 230, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.adm-input {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(6, 6, 12, 0.55);
  color: inherit;
  font: inherit;
}
.adm-discord-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.45rem;
}
.adm-discord-row .adm-input {
  flex: 1;
  min-width: 120px;
}

.adm-badge-warn {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.adm-fieldset {
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0;
}
.adm-fieldset legend {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0 0.35rem;
  color: #e9d5ff;
}
.adm-page .admin-form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.adm-page .admin-form-stack label {
  font-size: 0.86rem;
  color: rgba(220, 215, 245, 0.92);
}
.adm-page .admin-form-stack input,
.adm-page .admin-form-stack textarea {
  margin-top: 0.25rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(6, 6, 12, 0.55);
  color: inherit;
  font: inherit;
}

.adm-pre {
  margin: 0;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(124, 58, 237, 0.15);
  font-size: 0.78rem;
  overflow: auto;
  max-height: 60vh;
  white-space: pre-wrap;
  word-break: break-word;
}

.adm-log-panel {
  max-height: 420px;
  overflow: auto;
}
.adm-log-line {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(215, 210, 235, 0.9);
}

.adm-pack-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.adm-pack-gallery__item {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.2);
}
.adm-pack-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.adm-pack-gallery__actions {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
  padding: 0.25rem;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75));
}
.adm-pack-gallery__actions button {
  font-size: 0.65rem;
  padding: 0.15rem 0.25rem;
}

.adm-split-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .adm-split-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.adm-pack-main-preview {
  font-size: 0.82rem;
  color: rgba(180, 175, 205, 0.9);
}

.adm-dashboard-extras {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* —— Admin : gestion utilisateurs —— */
.adm-user-modal-panel {
  max-width: 420px;
  width: calc(100vw - 2rem);
}
.adm-user-history-panel {
  max-width: min(720px, calc(100vw - 2rem));
  width: 100%;
  max-height: min(85vh, 640px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.adm-user-modal-title {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}
.adm-user-modal-lead {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(200, 195, 225, 0.92);
}
.adm-user-modal-lead strong {
  color: #ede9fe;
  font-weight: 600;
}
.adm-user-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.adm-user-menu-actions .btn {
  width: 100%;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.adm-user-menu-actions .btn:active {
  transform: scale(0.98);
}
.adm-user-amount-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(200, 195, 225, 0.95);
  margin-bottom: 0.75rem;
}
.adm-user-amount-field input {
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(8, 6, 14, 0.65);
  color: #fafafa;
  font-size: 1rem;
}
.adm-user-amount-err {
  color: #fca5a5;
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
}
.adm-user-amount-back {
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.adm-ok-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  color: #bbf7d0;
  background: rgba(6, 24, 14, 0.75);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.adm-user-balance {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #e9d5ff;
}
.adm-user-hist-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.adm-mini-tab {
  font-family: var(--rs-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  background: rgba(12, 10, 20, 0.55);
  color: rgba(200, 195, 225, 0.9);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.adm-mini-tab:hover {
  border-color: rgba(167, 139, 250, 0.45);
  color: #f5f3ff;
}
.adm-mini-tab--active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(91, 33, 182, 0.25));
  border-color: rgba(167, 139, 250, 0.55);
  color: #faf5ff;
  box-shadow: 0 4px 20px rgba(88, 28, 135, 0.25);
}
.adm-user-hist-pane {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-right: 0.25rem;
}
.adm-table.adm-table--compact th,
.adm-table.adm-table--compact td {
  padding: 0.4rem 0.5rem;
  font-size: 0.78rem;
}

/* Détail commande admin — fiche structurée */
body.adm-page .adm-order-detail-panel {
  max-width: min(560px, 96vw);
  max-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.adm-order-detail-root {
  padding: 1rem 1.15rem 1.25rem;
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.adm-order-detail-loading {
  margin: 0;
  padding: 1rem 0;
}
.adm-order-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.adm-od-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}
.adm-od-hero__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(180, 175, 205, 0.85);
}
.adm-od-hero__title {
  margin: 0.15rem 0 0;
  font-family: var(--rs-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #faf5ff;
}
.adm-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.adm-badge-pill--ok {
  color: #bbf7d0;
  background: rgba(6, 78, 59, 0.35);
  border-color: rgba(52, 211, 153, 0.35);
}
.adm-badge-pill--warn {
  color: #fde68a;
  background: rgba(120, 53, 15, 0.35);
  border-color: rgba(251, 191, 36, 0.4);
}
.adm-badge-pill--danger {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.4);
  border-color: rgba(248, 113, 113, 0.35);
}
.adm-badge-pill--muted {
  color: rgba(200, 195, 215, 0.9);
  background: rgba(30, 27, 45, 0.65);
  border-color: rgba(124, 58, 237, 0.2);
}
.adm-badge-pill--neutral {
  color: #e9d5ff;
  background: rgba(88, 28, 135, 0.25);
  border-color: rgba(167, 139, 250, 0.3);
}
.adm-od-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  font-size: 0.82rem;
  color: rgba(200, 195, 220, 0.92);
}
.adm-od-dates strong {
  color: rgba(230, 225, 245, 0.95);
  font-weight: 600;
  margin-right: 0.35rem;
}
.adm-od-copybar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.adm-od-copybar .btn {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
}
.adm-od-card {
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: linear-gradient(165deg, rgba(22, 18, 36, 0.55), rgba(10, 8, 16, 0.88));
  padding: 0.85rem 1rem;
}
.adm-od-card--muted {
  border-style: dashed;
  opacity: 0.95;
}
.adm-od-card__title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(196, 181, 253, 0.95);
}
.adm-od-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.adm-od-row {
  display: grid;
  grid-template-columns: minmax(7rem, 38%) 1fr;
  gap: 0.5rem 0.75rem;
  align-items: baseline;
  font-size: 0.88rem;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .adm-od-row {
    grid-template-columns: 1fr;
  }
}
.adm-od-row__k {
  color: rgba(165, 160, 190, 0.9);
  font-weight: 500;
}
.adm-od-row__v {
  color: #f5f3ff;
  text-align: right;
  justify-self: end;
}
.adm-od-row__v code {
  font-size: 0.82rem;
}
.adm-od-mono {
  word-break: break-all;
  font-size: 0.78rem;
}
.adm-od-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.adm-od-timeline__item {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-left: 2px solid rgba(124, 58, 237, 0.25);
}
.adm-od-timeline__item:last-child {
  padding-bottom: 0;
}
.adm-od-timeline__dot {
  position: absolute;
  left: -6px;
  top: 0.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.85);
  box-shadow: 0 0 0 3px rgba(22, 18, 36, 0.95);
}
.adm-od-timeline__dot--wallet {
  background: rgba(52, 211, 153, 0.9);
}
.adm-od-timeline__date {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(165, 160, 190, 0.88);
  font-variant-numeric: tabular-nums;
}
.adm-od-timeline__title {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ede9fe;
}
.adm-od-timeline__detail {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: rgba(200, 195, 220, 0.88);
  line-height: 1.45;
  word-break: break-word;
}
.adm-od-details {
  border-radius: 12px;
  border: 1px dashed rgba(124, 58, 237, 0.22);
  background: rgba(8, 6, 14, 0.45);
  padding: 0.5rem 0.75rem;
}
.adm-od-details > summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(196, 181, 253, 0.95);
  list-style: none;
}
.adm-od-details > summary::-webkit-details-marker {
  display: none;
}
.adm-od-details[open] > summary {
  margin-bottom: 0.5rem;
}
.adm-od-tech {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.adm-od-subdetails {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.5rem;
}
.adm-od-subdetails summary {
  cursor: pointer;
  font-size: 0.75rem;
  color: rgba(180, 175, 205, 0.95);
}
.adm-od-pre {
  margin: 0.4rem 0 0.35rem;
  padding: 0.5rem 0.55rem;
  max-height: 220px;
  overflow: auto;
  font-size: 0.68rem;
  line-height: 1.35;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, 'Cascadia Code', monospace;
  color: rgba(220, 215, 240, 0.92);
}

.hidden {
  display: none !important;
}
