/* ==========================================================================
   Leader Drive ? Design system
   ========================================================================== */

:root {
  --ld-bg: #05070f;
  --ld-bg-2: #0a0e1a;
  --ld-bg-3: #12182a;
  --ld-cyan: #00d4ff;
  --ld-magenta: #ff2d95;
  --ld-text: #f4f7ff;
  --ld-muted: #9aa3b8;
  --ld-line: rgba(255, 255, 255, 0.08);
  --ld-gradient: linear-gradient(135deg, var(--ld-cyan), var(--ld-magenta));
  --ld-font-display: "Rajdhani", sans-serif;
  --ld-font-body: "DM Sans", sans-serif;
  --ld-container: 1180px;
  --ld-gutter: 1.25rem;
  --ld-header-h: 76px;
  --ld-radius: 4px;
  --ld-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.ld-theme {
  margin: 0;
  background: var(--ld-bg);
  color: var(--ld-text);
  font-family: var(--ld-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.ld-theme.ld-nav-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ld-cyan);
  text-decoration: none;
  transition: color 0.2s var(--ld-ease);
}

a:hover {
  color: var(--ld-magenta);
}

h1, h2, h3, h4 {
  font-family: var(--ld-font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(1.55rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.8rem); }

p { margin: 0 0 1rem; color: var(--ld-muted); }

.ld-container {
  width: min(100% - (var(--ld-gutter) * 2), var(--ld-container));
  margin-inline: auto;
}

.ld-eyebrow {
  display: inline-block;
  font-family: var(--ld-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ld-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.ld-gradient-text {
  background: var(--ld-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-family: var(--ld-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--ld-radius);
  cursor: pointer;
  transition: transform 0.25s var(--ld-ease), box-shadow 0.25s var(--ld-ease), background 0.25s, border-color 0.25s;
}

.ld-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.ld-btn--primary {
  background: var(--ld-gradient);
  color: #05070f;
  box-shadow: 0 0 0 rgba(0, 212, 255, 0);
}

.ld-btn--primary:hover {
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.35);
  color: #05070f;
}

.ld-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ld-text);
}

.ld-btn--ghost:hover {
  border-color: var(--ld-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.18);
}

.ld-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Header */
.ld-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--ld-header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 15, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 0;
  transition: background 0.3s;
}

.ld-header.is-scrolled {
  background: rgba(5, 7, 15, 0.92);
}

/* Ligne Pulse glow entre menu et hero */
.ld-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, transparent, var(--ld-cyan), var(--ld-magenta), transparent);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.55), 0 0 18px rgba(255, 45, 149, 0.35);
  animation: ld-header-pulse 4.8s ease-in-out infinite;
}

@keyframes ld-header-pulse {
  0%,
  100% {
    opacity: 0.35;
    filter: brightness(0.8);
  }
  50% {
    opacity: 1;
    filter: brightness(1.35);
  }
}

.ld-header__inner {
  --ld-header-pad: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: var(--ld-header-pad);
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .ld-header__inner {
    --ld-header-pad: clamp(3.5rem, 8vw, 9rem);
  }
}

@media (min-width: 1800px) {
  .ld-header__inner {
    --ld-header-pad: clamp(5rem, 10vw, 12rem);
  }
}

@media (min-width: 2200px) {
  .ld-header__inner {
    --ld-header-pad: clamp(6.5rem, 11vw, 16rem);
  }
}

.ld-brand {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--ld-text);
  line-height: 1;
}

.ld-brand:hover { color: var(--ld-text); }

.ld-brand img {
  display: block;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.ld-brand__name {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--ld-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: translate(-0.28em, 0.14em);
}

.ld-brand__name span:first-child { color: var(--ld-cyan); }
.ld-brand__name span:last-child { color: var(--ld-magenta); }

.ld-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ld-nav > ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.ld-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ld-nav > ul > li {
  position: relative;
}

.ld-nav a {
  color: var(--ld-muted);
  font-family: var(--ld-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}

/* Underline electrique (menu) ? visible seulement hover / actif */
.ld-nav > ul > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--ld-cyan), #fff, var(--ld-magenta));
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.55), 0 0 10px rgba(255, 45, 149, 0.25);
  transition: width 0.35s var(--ld-ease);
}

.ld-nav a:hover,
.ld-nav .current-menu-item > a,
.ld-nav .current-menu-ancestor > a {
  color: var(--ld-text);
}

.ld-nav > ul > li > a:hover::before,
.ld-nav > ul > li.current-menu-item > a::before,
.ld-nav > ul > li.current-menu-ancestor > a::before {
  width: 100%;
}

/* Dropdown */
.ld-nav .sub-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 180px;
  padding: 0.55rem 0;
  background: rgba(8, 12, 22, 0.97);
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ld-ease), transform 0.2s var(--ld-ease), visibility 0.2s;
  z-index: 120;
}

.ld-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.85rem;
  height: 0.85rem;
}

.ld-nav .menu-item-has-children:hover > .sub-menu,
.ld-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ld-nav .sub-menu a {
  display: block;
  padding: 0.65rem 1.1rem;
  white-space: nowrap;
  font-size: 0.9rem;
}

.ld-nav .sub-menu a:hover {
  color: var(--ld-cyan);
  background: rgba(0, 212, 255, 0.06);
}

.ld-nav .menu-item-has-children > a {
  padding-right: 0.15rem;
}

.ld-nav__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.ld-nav > ul > li.menu-item-ld-login > a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--ld-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}

.ld-nav > ul > li.menu-item-ld-login > a::before {
  display: none;
}

.ld-nav > ul > li.menu-item-ld-login > a:hover {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.1);
  color: var(--ld-cyan);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.12);
}

.ld-nav > ul > li.menu-item-ld-cta > a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.1);
  color: var(--ld-cyan);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ld-nav > ul > li.menu-item-ld-cta > a::before {
  display: none;
}

.ld-nav > ul > li.menu-item-ld-cta > a:hover {
  border-color: rgba(255, 45, 149, 0.55);
  background: rgba(255, 45, 149, 0.12);
  color: var(--ld-text);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.15);
}

.ld-nav .menu-item-logout > a {
  color: #ff8da3;
}

.ld-nav .menu-item-logout > a:hover {
  color: #ffb3c1;
  background: rgba(255, 70, 100, 0.08);
}

/* Desktop : logo gauche ? menu centre ? membre + reseaux a droite */
@media (min-width: 1024px) {
  .ld-nav > ul > li.menu-item-ld-member-start {
    margin-left: 0.85rem;
    padding-left: 1.15rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .ld-header__inner {
    gap: 1.5rem;
  }

  .ld-brand {
    flex: 0 0 auto;
  }

  .ld-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-width: 0;
  }

  .ld-nav > ul {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .ld-nav__social {
    flex: 0 0 auto;
    margin-left: 0.85rem;
  }
}

.ld-nav__social a,
.ld-social-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ld-line);
  border-radius: 50%;
  color: var(--ld-muted);
  transition: color 0.2s var(--ld-ease), border-color 0.2s var(--ld-ease), box-shadow 0.2s var(--ld-ease);
}

.ld-nav__social a svg,
.ld-social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ld-nav__social a:hover,
.ld-social-icon:hover {
  border-color: var(--ld-cyan);
  color: var(--ld-cyan);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.2);
}

.ld-burger {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ld-line);
  background: transparent;
  border-radius: var(--ld-radius);
  cursor: pointer;
  padding: 0;
}

.ld-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ld-text);
}

.ld-nav-veil {
  display: none;
}

.ld-nav__sub-toggle {
  display: none;
}

/* Hero ? tailles de base (~1080?1366), puis scale-up grands ecrans */
.ld-hero {
  --ld-hero-max: 1100px;
  --ld-hero-gap: 3rem;
  --ld-hero-logo: 400px;
  --ld-hero-copy: 36rem;
  --ld-hero-title: 2.9rem;
  --ld-hero-lead: 1.12rem;
  --ld-hero-brand: 1.1rem;
  --ld-hero-btn: 1rem;
  --ld-hero-btn-pad-y: 0.9rem;
  --ld-hero-btn-pad-x: 1.45rem;

  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--ld-header-h) + 2.5rem) 0 3.5rem;
  overflow: hidden;
}

.ld-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(18, 24, 42, 0.9), transparent 70%),
    linear-gradient(135deg, #060a14 0%, #05070f 45%, #0c0614 100%);
  z-index: 0;
}

.ld-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform, opacity;
}

.ld-hero__orb--cyan {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  left: -8%;
  top: 10%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.38) 0%, transparent 70%);
  animation: ld-orb-float 11s ease-in-out infinite alternate;
}

.ld-hero__orb--magenta {
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  right: -5%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(255, 45, 149, 0.32) 0%, transparent 70%);
  animation: ld-orb-float 14s ease-in-out infinite alternate-reverse;
}

.ld-hero__beams {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, transparent 42%, rgba(0, 212, 255, 0.07) 48%, transparent 54%),
    linear-gradient(125deg, transparent 0%, transparent 58%, rgba(255, 45, 149, 0.06) 64%, transparent 70%);
  background-size: 180% 180%;
  animation: ld-beams-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.ld-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

@keyframes ld-orb-float {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(6%, 4%) scale(1.12); opacity: 1; }
}

@keyframes ld-beams-drift {
  0% { background-position: 0% 40%, 100% 60%; opacity: 0.55; }
  100% { background-position: 100% 50%, 0% 40%; opacity: 0.95; }
}

/* Bloc hero compact : texte + logo colles, scale selon resolution */
.ld-hero__inner.ld-container,
.ld-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--ld-hero-gap);
  width: min(100% - (var(--ld-gutter) * 2), var(--ld-hero-max));
  max-width: none;
}

.ld-hero__logo-wrap {
  position: relative;
  flex: 0 0 var(--ld-hero-logo);
  width: var(--ld-hero-logo);
  max-width: 100%;
  z-index: 1;
  pointer-events: none;
  isolation: isolate;
  animation: ld-float 7s ease-in-out infinite;
}

.ld-hero__logo {
  display: block;
  width: var(--ld-hero-logo);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 0 22px rgba(0, 212, 255, 0.4))
    drop-shadow(0 0 40px rgba(255, 45, 149, 0.25));
  animation: ld-holo-glow 5s ease-in-out infinite;
}

/* Halo doux derri?re (pas de silhouette) */
.ld-hero__logo-wrap::before {
  content: "";
  position: absolute;
  inset: 18%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.35) 0%,
    rgba(255, 45, 149, 0.22) 45%,
    transparent 70%
  );
  filter: blur(28px);
  z-index: 0;
  animation: ld-holo-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

/* Reflet holographique masqu? pile sur le logo */
.ld-hero__logo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 212, 255, 0.35) 46%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 45, 149, 0.4) 54%,
    transparent 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: ld-holo-sweep 4.5s ease-in-out infinite;
  -webkit-mask-image: var(--ld-logo-mask, url("../img/logo.png"));
  mask-image: var(--ld-logo-mask, url("../img/logo.png"));
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

@keyframes ld-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ld-holo-sweep {
  0% { background-position: 130% 0; }
  100% { background-position: -50% 0; }
}

@keyframes ld-holo-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 20px rgba(0, 212, 255, 0.38))
      drop-shadow(0 0 36px rgba(255, 45, 149, 0.2));
  }
  50% {
    filter:
      drop-shadow(0 0 30px rgba(255, 45, 149, 0.38))
      drop-shadow(0 0 48px rgba(0, 212, 255, 0.28));
  }
}

@keyframes ld-holo-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

.ld-hero__content {
  position: relative;
  z-index: 2;
  flex: 0 1 var(--ld-hero-copy);
  min-width: 0;
  max-width: var(--ld-hero-copy);
}

.ld-hero__brand {
  font-family: var(--ld-font-display);
  font-size: var(--ld-hero-brand);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--ld-text);
}

.ld-hero__brand .c { color: var(--ld-cyan); }
.ld-hero__brand .m { color: var(--ld-magenta); }

.ld-hero h1 {
  margin-bottom: 1rem;
  font-size: var(--ld-hero-title);
  max-width: 18ch;
  line-height: 1.15;
}

.ld-hero__lead {
  font-size: var(--ld-hero-lead);
  max-width: none;
}

.ld-hero__lead--2 {
  margin-top: -0.35rem;
}

.ld-hero .ld-btn {
  font-size: var(--ld-hero-btn);
  padding: var(--ld-hero-btn-pad-y) var(--ld-hero-btn-pad-x);
}

/* Scale-up : ecrans larges / 1440 / 2K ? meme composition, plus grand */
@media (min-width: 1400px) {
  .ld-hero {
    --ld-hero-max: 1240px;
    --ld-hero-gap: 3.5rem;
    --ld-hero-logo: 460px;
    --ld-hero-copy: 40rem;
    --ld-hero-title: 3.25rem;
    --ld-hero-lead: 1.18rem;
    --ld-hero-brand: 1.15rem;
  }
}

@media (min-width: 1680px) {
  .ld-hero {
    --ld-hero-max: 1380px;
    --ld-hero-gap: 4rem;
    --ld-hero-logo: 520px;
    --ld-hero-copy: 44rem;
    --ld-hero-title: 3.55rem;
    --ld-hero-lead: 1.22rem;
    --ld-hero-brand: 1.2rem;
    --ld-hero-btn: 1.05rem;
    --ld-hero-btn-pad-y: 1rem;
    --ld-hero-btn-pad-x: 1.6rem;
  }
}

@media (min-width: 1920px) {
  .ld-hero {
    --ld-hero-max: 1520px;
    --ld-hero-gap: 4.5rem;
    --ld-hero-logo: 560px;
    --ld-hero-copy: 48rem;
    --ld-hero-title: 3.85rem;
    --ld-hero-lead: 1.28rem;
    --ld-hero-brand: 1.25rem;
  }
}

@media (min-width: 2400px) {
  .ld-hero {
    --ld-hero-max: 1680px;
    --ld-hero-gap: 5rem;
    --ld-hero-logo: 620px;
    --ld-hero-copy: 52rem;
    --ld-hero-title: 4.15rem;
    --ld-hero-lead: 1.35rem;
    --ld-hero-brand: 1.3rem;
    --ld-hero-btn: 1.1rem;
    --ld-hero-btn-pad-y: 1.05rem;
    --ld-hero-btn-pad-x: 1.75rem;
  }
}

/* Sections */
.ld-section {
  padding: 5.5rem 0;
  position: relative;
}

.ld-section--alt {
  background: linear-gradient(180deg, var(--ld-bg-2), var(--ld-bg));
}

.ld-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.ld-section__head p {
  font-size: 1.1rem;
}

.ld-section__head--center {
  text-align: center;
  margin-inline: auto;
}

.ld-section__head--center p {
  margin-inline: auto;
}

/* Stats */
.ld-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 0;
  border-bottom: 0;
  padding: 2.25rem 0;
}

.ld-stat__value {
  font-family: var(--ld-font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  background: var(--ld-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.ld-stat__label {
  margin-top: 0.4rem;
  color: var(--ld-muted);
  font-size: 0.95rem;
  transition: opacity 0.55s var(--ld-ease), transform 0.55s var(--ld-ease);
}

.ld-section--stats .ld-stat.ld-reveal {
  transition-delay: var(--ld-stat-delay, 0s);
  transition-duration: 0.85s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.ld-section--stats .ld-stat__value {
  position: relative;
  display: inline-block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s var(--ld-ease);
}

.ld-section--stats .ld-stat.ld-reveal:not(.is-visible) .ld-stat__label {
  opacity: 0;
  transform: translateY(10px);
}

.ld-section--stats .ld-stat.ld-reveal.is-visible .ld-stat__label {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--ld-stat-delay, 0s) + 0.12s);
}

.ld-section--stats .ld-stat.ld-reveal.is-visible .ld-stat__value {
  animation: ld-stat-pop 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--ld-stat-delay, 0s);
}

@keyframes ld-stat-pop {
  0% {
    transform: translateY(18px) scale(0.72);
    opacity: 0.35;
  }
  55% {
    transform: translateY(-4px) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-section--stats .ld-stat.ld-reveal.is-visible .ld-stat__value {
    animation: none;
  }
}

/* Dual split */
.ld-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  border: 0;
}

.ld-dual__item {
  padding: 2.5rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius, 12px);
}

/* Voile sombre fort pour lisibilit? */
.ld-dual__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 15, 0.35) 0%, rgba(5, 7, 15, 0.55) 35%, rgba(5, 7, 15, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 7, 15, 0.45) 0%, transparent 55%);
  z-index: 0;
}

.ld-dual__item--esport::before {
  background:
    linear-gradient(180deg, rgba(5, 7, 15, 0.4) 0%, rgba(5, 7, 15, 0.6) 40%, rgba(5, 7, 15, 0.94) 100%),
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(0, 212, 255, 0.12), transparent 60%);
}

.ld-dual__item--social::before {
  background:
    linear-gradient(180deg, rgba(5, 7, 15, 0.4) 0%, rgba(5, 7, 15, 0.6) 40%, rgba(5, 7, 15, 0.94) 100%),
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255, 45, 149, 0.14), transparent 60%);
}

.ld-dual__item > * { position: relative; z-index: 1; }

.ld-dual__item--esport {
  background-image: var(--ld-dual-bg, url("../img/esport.jpg"));
}

.ld-dual__item--social {
  background-image: var(--ld-dual-bg, url("../img/humain.jpg"));
}

.ld-dual__item:hover {
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.35);
}

.ld-dual__meta {
  font-family: var(--ld-font-display);
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--ld-cyan);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.55), 0 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 700;
}

.ld-dual__item--social .ld-dual__meta {
  color: #ff6bb5;
  text-shadow: 0 0 18px rgba(255, 45, 149, 0.55), 0 2px 8px rgba(0, 0, 0, 0.85);
}

.ld-dual h3 {
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.95),
    0 0 24px rgba(0, 0, 0, 0.7);
}

.ld-dual p {
  margin-bottom: 1.25rem;
  color: #f0f3ff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.8);
  max-width: 36ch;
}

.ld-dual .ld-btn--ghost {
  background: rgba(5, 7, 15, 0.55);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  align-self: flex-start;
}

.ld-dual .ld-btn--ghost:hover {
  background: rgba(0, 212, 255, 0.18);
  border-color: var(--ld-cyan);
  color: #fff;
}

.ld-dual__item--social .ld-btn--ghost:hover {
  background: rgba(255, 45, 149, 0.18);
  border-color: var(--ld-magenta);
}

/* Teams grid */
.ld-teams {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ld-team {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  background: linear-gradient(180deg, #0e1424 0%, #090d18 100%);
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.35s var(--ld-ease),
    transform 0.35s var(--ld-ease),
    box-shadow 0.35s var(--ld-ease);
  position: relative;
  transform-style: preserve-3d;
}

/* Liseré haut — comme .ld-member-card */
.ld-team::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--ld-gradient);
  opacity: 0.55;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.35s var(--ld-ease);
}

.ld-team::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35), rgba(255, 45, 149, 0.35), transparent);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.35s var(--ld-ease);
}

.ld-team:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 212, 255, 0.08);
}

.ld-team:hover::before {
  opacity: 1;
}

.ld-team:hover::after {
  opacity: 1;
}

/* Haut carte — même langage que .ld-member-card__media */
.ld-team__media {
  height: 168px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0.65rem 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 45, 149, 0.14), transparent 45%),
    radial-gradient(ellipse 55% 80% at 50% 115%, rgba(0, 212, 255, 0.1), transparent 55%),
    linear-gradient(120deg, #071018 0%, #0d1224 42%, #160a18 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 212, 255, 0.12),
    inset 0 0 0 1px rgba(255, 45, 149, 0.08);
}

.ld-team__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 85% at 50% 50%, #000 20%, transparent 75%);
}

.ld-team__media::after {
  content: "";
  position: absolute;
  inset: -30% -10%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(0, 212, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 45, 149, 0.08) 55%,
    transparent 70%
  );
  animation: ld-team-banner-sheen 7s ease-in-out infinite;
}

.ld-team__media-fade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(9, 13, 24, 0.92));
}

.ld-team__media > * {
  position: relative;
  z-index: 1;
}

.ld-team__media > .ld-team__badge {
  z-index: 3;
}

@keyframes ld-team-banner-sheen {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0.45;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.85;
  }
}

.ld-team__media img:not(.ld-team__logo) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Holo foil ? logos ?quipe (cyan ? magenta ? lime) */
.ld-team__logo-holo {
  position: relative;
  display: grid;
  place-items: center;
  width: min(48%, 128px);
  aspect-ratio: 1;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ld-ease);
}

.ld-team__logo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 0 14px rgba(0, 212, 255, 0.32))
    drop-shadow(0 0 22px rgba(255, 45, 149, 0.16));
  animation: ld-team-holo-glow 6s ease-in-out infinite;
  transition: filter 0.35s var(--ld-ease);
}

/* Halo doux derri?re le logo */
.ld-team__logo-holo::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: 0;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.28) 0%,
    rgba(255, 45, 149, 0.16) 42%,
    rgba(184, 255, 60, 0.08) 58%,
    transparent 72%
  );
  filter: blur(18px);
  opacity: 0.65;
  pointer-events: none;
  animation: ld-team-holo-pulse 6s ease-in-out infinite;
}

/* Reflet iridescent masqu? pile sur le PNG */
.ld-team__logo-holo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 212, 255, 0.45) 44%,
    rgba(255, 255, 255, 0.75) 49%,
    rgba(255, 45, 149, 0.5) 53%,
    rgba(184, 255, 60, 0.35) 57%,
    transparent 64%,
    transparent 100%
  );
  background-size: 260% 100%;
  mix-blend-mode: soft-light;
  opacity: 0.85;
  pointer-events: none;
  animation: ld-holo-sweep 5.5s ease-in-out infinite;
  -webkit-mask-image: var(--ld-team-logo-mask);
  mask-image: var(--ld-team-logo-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.ld-team:hover .ld-team__logo-holo {
  transform: perspective(420px) rotateY(-6deg) rotateX(3deg) scale(1.04);
}

.ld-team:hover .ld-team__logo {
  filter:
    drop-shadow(0 0 18px rgba(0, 212, 255, 0.45))
    drop-shadow(0 0 28px rgba(255, 45, 149, 0.28));
  animation-duration: 3.2s;
}

.ld-team:hover .ld-team__logo-holo::after {
  animation-duration: 2.4s;
  opacity: 1;
  mix-blend-mode: overlay;
}

.ld-team:hover .ld-team__logo-holo::before {
  opacity: 0.9;
  animation-duration: 3.2s;
}

@keyframes ld-team-holo-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 12px rgba(0, 212, 255, 0.3))
      drop-shadow(0 0 20px rgba(255, 45, 149, 0.14));
  }
  50% {
    filter:
      drop-shadow(0 0 16px rgba(255, 45, 149, 0.32))
      drop-shadow(0 0 24px rgba(184, 255, 60, 0.14));
  }
}

@keyframes ld-team-holo-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}

/* Badge haut-droite — comme .ld-member-card__role */
.ld-team__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  left: auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #05070f;
  background: var(--ld-gradient);
}

.ld-team__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.5rem;
}
.ld-team__meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  min-height: 34px;
}

.ld-team__title {
  font-size: 1.25rem;
  margin: 0;
  text-align: center;
  min-width: 0;
  max-width: calc(100% - 2.5rem);
}

.ld-team__title a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.45rem;
}

.ld-team__name {
  min-width: 0;
}

.ld-team__tag {
  color: var(--ld-cyan);
  font-family: var(--ld-font-display);
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ld-team__meta-right {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.ld-team__avg-rank {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.25));
}
.ld-team__body p { font-size: 0.95rem; margin: 0; }

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

.ld-roster--full {
  grid-template-columns: 1fr;
}

.ld-roster__item {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.88rem;
  min-width: 0;
}

.ld-roster__person {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

a.ld-roster__person:hover .ld-roster__name,
a.ld-roster__person:focus-visible .ld-roster__name {
  color: var(--ld-cyan);
}

.ld-roster__item--clickable {
  transition: border-color 0.2s var(--ld-ease), background 0.2s var(--ld-ease);
}

.ld-roster__item--clickable:hover,
.ld-roster__item--clickable:focus-within {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
}

.ld-roster__flag {
  font-size: 1.05rem;
  line-height: 1;
}

.ld-roster__name {
  color: var(--ld-text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ld-roster__rank {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.ld-roster__code,
.ld-roster__role {
  font-family: var(--ld-font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-muted);
}

.ld-roster__role {
  color: var(--ld-magenta);
}

.ld-team__coach {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 45, 149, 0.28);
  display: grid;
  gap: 0.4rem;
}

.ld-team__coach-row {
  display: grid;
  grid-template-columns: 1.35rem auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(255, 45, 149, 0.28);
  background: rgba(255, 45, 149, 0.08);
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
}

a.ld-team__coach-row--link:hover .ld-roster__name,
a.ld-team__coach-row--link:focus-visible .ld-roster__name {
  color: var(--ld-cyan);
}

a.ld-team__coach-row--link:hover,
a.ld-team__coach-row--link:focus-visible {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.1);
  outline: none;
}

.ld-team__coach-label {
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ld-magenta);
  font-weight: 700;
}

.ld-team__coach--manager {
  border-top-color: rgba(0, 212, 255, 0.28);
}

.ld-team__coach--manager .ld-team__coach-row {
  border-color: rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.08);
}

.ld-team__coach--manager .ld-team__coach-label {
  color: var(--ld-cyan);
}

.ld-team__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 212, 255, 0.18);
}

.ld-team__comps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.ld-team__comps-label {
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ld-muted);
  font-weight: 700;
}

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

.ld-team__comp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.1);
  color: var(--ld-cyan);
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ld-team__comp-badge--rrc {
  border-color: rgba(255, 45, 149, 0.4);
  background: rgba(255, 45, 149, 0.1);
  color: var(--ld-magenta);
}

.ld-team__comp-badge--rlcs {
  border-color: rgba(255, 196, 0, 0.45);
  background: rgba(255, 196, 0, 0.12);
  color: #ffe08a;
}

.ld-team__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.08);
  color: var(--ld-cyan);
  font-family: var(--ld-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    color 0.25s var(--ld-ease),
    background 0.25s var(--ld-ease),
    border-color 0.25s var(--ld-ease),
    transform 0.25s var(--ld-ease);
}

.ld-team__cta:hover,
.ld-team__cta:focus-visible {
  color: #05070f;
  background: var(--ld-gradient);
  border-color: transparent;
  outline: none;
  transform: translateY(-1px);
}

.ld-roster--page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.85rem;
  /* 3 cartes max par ligne */
  max-width: calc(240px * 3 + 0.85rem * 2);
  margin-inline: auto;
  width: 100%;
}

.ld-roster--page > .ld-roster__item {
  flex: 0 1 240px;
  width: 240px;
  max-width: 240px;
}

.ld-team-coaches__head {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid transparent;
  background-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 45, 149, 0.45) 35%,
      #ff2d95 48%,
      #00d4ff 62%,
      transparent 100%
    );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 0;
}

.ld-roster--coaches .ld-roster__item {
  max-width: 240px;
}

.ld-roster--page .ld-roster__item {
  --ld-holo-x: 50%;
  --ld-holo-y: 40%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  padding: 0;
  height: 100%;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(5, 7, 15, 0.92), rgba(5, 7, 15, 0.92)) padding-box,
    linear-gradient(
      135deg,
      rgba(0, 212, 255, 0.75),
      rgba(255, 255, 255, 0.35),
      rgba(255, 45, 149, 0.7),
      rgba(184, 255, 60, 0.45),
      rgba(0, 212, 255, 0.55)
    ) border-box;
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, 0% 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 1rem;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    border-color 0.25s var(--ld-ease),
    box-shadow 0.25s var(--ld-ease),
    background-position 0.45s var(--ld-ease),
    transform 0.35s var(--ld-ease);
  animation: ld-roster-holo-border 8s ease-in-out infinite;
}

.ld-roster--page .ld-roster__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 36%,
      rgba(0, 212, 255, 0.16) 44%,
      rgba(255, 255, 255, 0.22) 50%,
      rgba(255, 45, 149, 0.18) 56%,
      rgba(184, 255, 60, 0.1) 60%,
      transparent 68%,
      transparent 100%
    ),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 220% 100%, 28px 28px, 28px 28px;
  background-position: 130% 0, 0 0, 0 0;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 20%, transparent 75%);
  animation: ld-holo-sweep 6.5s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

.ld-roster--page .ld-roster__item--coach {
  background:
    linear-gradient(rgba(5, 7, 15, 0.92), rgba(5, 7, 15, 0.92)) padding-box,
    linear-gradient(
      135deg,
      rgba(255, 45, 149, 0.8),
      rgba(255, 255, 255, 0.35),
      rgba(0, 212, 255, 0.55),
      rgba(184, 255, 60, 0.4),
      rgba(255, 45, 149, 0.65)
    ) border-box;
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, 0% 50%;
  animation: ld-roster-holo-border 8s ease-in-out infinite;
}

.ld-roster--page .ld-roster__item.ld-holo::after {
  z-index: 4;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 28%,
    rgba(0, 212, 255, 0.35) 40%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 45, 149, 0.4) 54%,
    rgba(184, 255, 60, 0.28) 60%,
    transparent 72%,
    transparent 100%
  );
  background-size: 240% 240%;
  background-position: var(--ld-holo-x) var(--ld-holo-y);
  mix-blend-mode: color-dodge;
  opacity: 0.22;
  transition: opacity 0.2s var(--ld-ease);
}

.ld-roster--page .ld-roster__item.ld-holo:hover::after,
.ld-roster--page .ld-roster__item.ld-holo.is-holo-active::after {
  opacity: 0.85;
}

.ld-roster--page .ld-roster__item--link:hover,
.ld-roster--page .ld-roster__item--link:focus-within,
.ld-roster--page .ld-roster__item.is-holo-active {
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.25),
    0 0 28px rgba(0, 212, 255, 0.18),
    0 0 42px rgba(255, 45, 149, 0.14),
    0 18px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ld-roster--page .ld-roster__item--coach.ld-roster__item--link:hover,
.ld-roster--page .ld-roster__item--coach.ld-roster__item--link:focus-within,
.ld-roster--page .ld-roster__item--coach.is-holo-active {
  box-shadow:
    0 0 0 1px rgba(255, 45, 149, 0.3),
    0 0 28px rgba(255, 45, 149, 0.2),
    0 0 42px rgba(0, 212, 255, 0.12),
    0 18px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@keyframes ld-roster-holo-border {
  0%,
  100% {
    background-position: 0 0, 0% 40%;
  }
  50% {
    background-position: 0 0, 100% 60%;
  }
}

.ld-roster--page .ld-roster__link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.65rem;
  height: 100%;
  padding: 0.85rem 0.8rem 0.9rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.ld-roster__link--static {
  cursor: default;
}

.ld-roster--page .ld-roster__avatar {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.16), transparent 55%),
    rgba(8, 12, 24, 0.85);
}

.ld-roster--page .ld-roster__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ld-ease);
}

.ld-roster--page .ld-roster__avatar--default {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.04), transparent 62%),
    rgba(8, 12, 24, 0.92);
}

.ld-roster--page .ld-roster__avatar--default img {
  object-fit: contain;
  padding: 8%;
  opacity: 0.48;
  filter: grayscale(1) brightness(1.05);
}

.ld-roster--page .ld-roster__item--link:hover .ld-roster__avatar img,
.ld-roster--page .ld-roster__item--link:focus-within .ld-roster__avatar img {
  transform: scale(1.04);
}

.ld-roster--page .ld-roster__item--link:hover .ld-roster__avatar--default img,
.ld-roster--page .ld-roster__item--link:focus-within .ld-roster__avatar--default img {
  opacity: 0.55;
}

.ld-roster--page .ld-roster__identity {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  width: 100%;
  text-align: center;
}

.ld-roster--page .ld-roster__flag-img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.ld-roster--page .ld-roster__name {
  font-family: var(--ld-font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.2;
  word-break: break-word;
  text-align: center;
  text-wrap: balance;
}

.ld-roster--page .ld-roster__item--link:hover .ld-roster__name,
.ld-roster--page .ld-roster__item--link:focus-within .ld-roster__name {
  color: var(--ld-cyan);
}

.ld-roster--page .ld-roster__meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  width: 100%;
  margin-top: auto;
}

.ld-roster--page .ld-roster__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 212, 255, 0.06);
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-muted);
  line-height: 1.2;
  white-space: nowrap;
}

.ld-roster--page .ld-roster__chip img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.ld-roster--page .ld-roster__chip--age {
  gap: 0.25rem;
  color: #ff9ec8;
  border-color: rgba(255, 45, 149, 0.28);
  background: rgba(255, 45, 149, 0.1);
  letter-spacing: 0.04em;
  text-transform: none;
}

.ld-roster--page .ld-roster__chip--age-empty {
  color: var(--ld-muted);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.ld-roster--page .ld-roster__age-num {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.ld-roster--page .ld-roster__age-unit {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9ec8;
}

.ld-roster--page .ld-roster__chip--rank {
  color: #fff;
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.28);
}

.ld-roster--page .ld-roster__chip--role {
  color: var(--ld-cyan);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.1);
}

.ld-roster--page .ld-roster__item--coach .ld-roster__chip--role {
  color: var(--ld-magenta);
  border-color: rgba(255, 45, 149, 0.35);
  background: rgba(255, 45, 149, 0.1);
}

.ld-roster--page .ld-roster__item--manager .ld-roster__chip--role {
  color: #5ee7ff;
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.1);
}

@media (max-width: 899px) {
  .ld-roster--page {
    gap: 0.7rem;
    max-width: calc(200px * 2 + 0.7rem);
  }

  .ld-roster--page > .ld-roster__item {
    flex-basis: 200px;
    width: 200px;
    max-width: 200px;
  }

  .ld-roster--coaches .ld-roster__item {
    max-width: 200px;
  }
}

@media (max-width: 767px) {
  .ld-roster--page {
    gap: 0.55rem;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    justify-content: center;
  }

  .ld-roster--page > .ld-roster__item {
    flex: 0 0 calc((100% - 0.55rem) / 2);
    width: calc((100% - 0.55rem) / 2);
    max-width: calc((100% - 0.55rem) / 2);
    min-width: 0;
  }

  .ld-roster--coaches .ld-roster__item {
    flex: 0 0 calc((100% - 0.55rem) / 2);
    width: calc((100% - 0.55rem) / 2);
    max-width: calc((100% - 0.55rem) / 2);
  }

  .ld-roster--page .ld-roster__item {
    display: block;
  }

  .ld-roster--page .ld-roster__link {
    padding: 0.5rem 0.45rem 0.55rem;
    gap: 0.4rem;
  }

  /* Avatar plus petit : plus de carre plein ecran */
  .ld-roster--page .ld-roster__avatar {
    width: 72px;
    height: 72px;
    aspect-ratio: 1;
    margin-inline: auto;
    border-radius: 8px;
  }

  .ld-roster--page .ld-roster__name {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .ld-roster--page .ld-roster__flag-img {
    width: 18px;
    height: 13px;
  }

  .ld-roster--page .ld-roster__identity {
    gap: 0.3rem;
  }

  .ld-roster--page .ld-roster__meta {
    gap: 0.22rem;
  }

  .ld-roster--page .ld-roster__chip {
    padding: 0.22rem 0.3rem;
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    gap: 0.2rem;
  }

  .ld-roster--page .ld-roster__chip img {
    width: 14px;
    height: 14px;
  }

  .ld-roster--page .ld-roster__age-num {
    font-size: 0.78rem;
  }

  .ld-roster--page .ld-roster__age-unit {
    font-size: 0.55rem;
  }
}

/* Quotes */
.ld-quotes {
  display: grid;
  gap: 1.5rem;
}

.ld-quote {
  padding: 2rem 0;
  border-top: 0;
}

.ld-quote:last-child {
  border-bottom: 0;
}

.ld-quote blockquote {
  margin: 0;
  font-family: var(--ld-font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ld-text);
  max-width: 48rem;
}

/* Accueil phrases phares + Mission témoignages — format compact */
body.ld-home .ld-quotes-section .ld-quote,
body.ld-mission .ld-testimonials__preview .ld-quote {
  padding: 1.15rem 0;
}

body.ld-home .ld-quotes-section .ld-quote blockquote,
body.ld-mission .ld-quote blockquote {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  max-width: 42rem;
}

body.ld-home .ld-quotes-section .ld-quote blockquote::before,
body.ld-mission .ld-quote blockquote::before {
  width: 36px;
  margin-bottom: 0.75rem;
}

body.ld-home .ld-testimonials__preview,
body.ld-mission .ld-testimonials__preview {
  display: grid;
  gap: 1.25rem;
}

.ld-quote blockquote::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ld-gradient);
  margin-bottom: 1rem;
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.45);
}

/* Gallery */
.ld-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.ld-gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--ld-line);
}

.ld-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ld-ease);
}

.ld-gallery figure:hover img {
  transform: scale(1.06);
}

/* Partners */
.ld-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.ld-partner {
  width: 160px;
  height: 72px;
  border: 1px solid var(--ld-line);
  display: grid;
  place-items: center;
  background: var(--ld-bg-2);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.ld-partner:hover { opacity: 1; }
.ld-partner img { max-height: 40px; max-width: 120px; }

/* Paths / join */
.ld-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

body.ld-rocket-league .ld-page-hero p {
  max-width: 44rem;
  text-wrap: balance;
}

body.ld-rocket-league .ld-paths--rl {
  align-items: stretch;
}

body.ld-rocket-league .ld-paths--rl .ld-path {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body.ld-rocket-league .ld-paths--rl .ld-path p {
  margin-bottom: 0;
  text-wrap: pretty;
}

/* Rocket League — Pourquoi RL + logo */
.ld-rrc.ld-rl-why {
  align-items: center;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 3rem;
}

.ld-rrc__logo.ld-rl-why__logo {
  max-width: 420px;
  width: 100%;
}

/* Image = réserve d’espace uniquement */
.ld-rrc__logo.ld-rl-why__logo img {
  position: relative;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: normal;
  filter: none;
  animation: none;
}

/* Face — test : split cyan / magenta + onde verticale */
.ld-rl-why__logo-face {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 212, 255, 0.35) 45%,
      rgba(255, 45, 149, 0.35) 55%,
      transparent 100%
    ),
    linear-gradient(
      90deg,
      #0096cc 0%,
      var(--ld-cyan) 38%,
      var(--ld-magenta) 62%,
      #d01870 100%
    );
  background-size: 100% 220%, 100% 100%;
  background-position: 0 -40%, 0 0;
  background-repeat: no-repeat;
  -webkit-mask-image: var(--ld-rrc-logo-mask);
  mask-image: var(--ld-rrc-logo-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  filter:
    drop-shadow(0 0 10px rgba(0, 212, 255, 0.45))
    drop-shadow(0 0 22px rgba(255, 45, 149, 0.4));
  animation:
    ld-rl-logo-wave 4.5s ease-in-out infinite,
    ld-rl-logo-glow 6s ease-in-out infinite;
}

/* Fond derrière : voile dégradé LD (pas de rotation) */
.ld-rrc__logo.ld-rl-why__logo::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  z-index: 0;
  display: block;
  border-radius: 28%;
  background: linear-gradient(
    105deg,
    rgba(0, 212, 255, 0.28) 0%,
    rgba(0, 212, 255, 0.06) 40%,
    rgba(255, 45, 149, 0.06) 60%,
    rgba(255, 45, 149, 0.28) 100%
  );
  filter: blur(14px);
  opacity: 0.9;
  pointer-events: none;
  animation: ld-rl-logo-veil 5.5s ease-in-out infinite;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Contour néon + pulse (pas de balayage diagonal) */
.ld-rrc__logo.ld-rl-why__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  background: linear-gradient(
    90deg,
    var(--ld-cyan) 0%,
    transparent 35%,
    transparent 65%,
    var(--ld-magenta) 100%
  );
  mix-blend-mode: soft-light;
  opacity: 0.55;
  pointer-events: none;
  animation: ld-rl-logo-edge 3.8s ease-in-out infinite;
  -webkit-mask-image: var(--ld-rrc-logo-mask);
  mask-image: var(--ld-rrc-logo-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Survol discret : pas de tilt 3D, juste un léger éclat */
.ld-rrc__logo.ld-rl-why__logo:hover {
  transform: none;
}

.ld-rrc__logo.ld-rl-why__logo:hover .ld-rl-why__logo-face {
  filter:
    drop-shadow(0 0 14px rgba(0, 212, 255, 0.55))
    drop-shadow(0 0 28px rgba(255, 45, 149, 0.48));
}

.ld-rrc__logo.ld-rl-why__logo:hover::before {
  opacity: 1;
}

.ld-rrc__logo.ld-rl-why__logo:hover::after {
  opacity: 0.75;
}

.ld-rrc__logo.ld-rl-why__logo:hover img {
  filter: none;
  animation: none;
}

@keyframes ld-rl-logo-wave {
  0%,
  100% { background-position: 0 -50%, 0 0; }
  50% { background-position: 0 150%, 0 0; }
}

@keyframes ld-rl-logo-glow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 10px rgba(0, 212, 255, 0.5))
      drop-shadow(0 0 20px rgba(255, 45, 149, 0.28));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(255, 45, 149, 0.55))
      drop-shadow(0 0 24px rgba(0, 212, 255, 0.32));
  }
}

@keyframes ld-rl-logo-veil {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.96);
    filter: blur(14px) hue-rotate(0deg);
  }
  50% {
    opacity: 0.95;
    transform: scaleX(1.04);
    filter: blur(18px) hue-rotate(12deg);
  }
}

@keyframes ld-rl-logo-edge {
  0%,
  100% { opacity: 0.4; filter: saturate(1); }
  50% { opacity: 0.8; filter: saturate(1.35); }
}

@media (prefers-reduced-motion: reduce) {
  .ld-rl-why__logo-face,
  .ld-rl-why__logo::before,
  .ld-rl-why__logo::after {
    animation: none;
  }
}

.ld-rl-why__copy {
  max-width: 40rem;
  min-width: 0;
}

@media (max-width: 1023px) {
  .ld-rrc.ld-rl-why {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
    width: 100%;
  }

  .ld-rrc.ld-rl-why .ld-rl-why__logo {
    width: min(280px, 72vw);
    max-width: min(280px, 72vw);
    order: -1;
  }

  .ld-rrc.ld-rl-why .ld-rl-why__copy {
    width: 100%;
    max-width: 36rem;
    text-align: center;
  }

  .ld-rrc.ld-rl-why .ld-rl-why__copy p {
    margin-inline: auto;
    text-align: center;
  }
}

/* RBRS / Twitch cards: keep CTA inside, aligned on the same row */
.ld-path--cta {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ld-path--cta > .ld-btn {
  margin-top: auto;
  align-self: flex-start;
}

.ld-path {
  padding: 1.75rem;
  border: 1px solid var(--ld-line);
  background: linear-gradient(160deg, var(--ld-bg-2), transparent);
  transition: border-color 0.25s;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.ld-paths--staff .ld-path {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ld-paths--staff .ld-path .ld-path__num,
.ld-paths--staff .ld-path h3 {
  margin-left: auto;
  margin-right: auto;
}

.ld-path--col-2 {
  grid-column: 1 / -1;
}

.ld-path--col-start {
  grid-column: 1;
}

.ld-path--col-end {
  grid-column: 2;
}

.ld-path--col-2.ld-path--col-start,
.ld-path--col-2.ld-path--col-end {
  grid-column: 1 / -1;
}

.ld-path:hover { border-color: rgba(255, 45, 149, 0.45); }

/* Holo card ? reflet souris */
.ld-holo {
  --ld-holo-x: 50%;
  --ld-holo-y: 40%;
}

.ld-holo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 212, 255, 0.14) 46%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 45, 149, 0.16) 54%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 220%;
  background-position: var(--ld-holo-x) var(--ld-holo-y);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.25s var(--ld-ease);
}

.ld-holo:hover::after,
.ld-holo.is-holo-active::after {
  opacity: 1;
}

.ld-holo > * {
  position: relative;
  z-index: 1;
}

.ld-path__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  margin: 0 0 1.1rem;
  border: 1px solid var(--ld-line);
}

.ld-path--split {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 42%);
  gap: 0;
  padding: 0;
  align-items: stretch;
}

.ld-path__body {
  padding: 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.15rem;
}

.ld-path__body h3 {
  margin: 0 0 0.5rem;
}

.ld-path__body p {
  margin: 0 0 1.15rem;
}

.ld-path__body .ld-btn {
  margin-top: auto;
}

.ld-path__photo--split {
  margin: 0;
  border: 0;
  border-left: 1px solid var(--ld-line);
  height: 100%;
  min-height: 260px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .ld-path--split {
    grid-template-columns: 1fr;
  }

  .ld-path__photo--split {
    border-left: 0;
    border-top: 1px solid var(--ld-line);
    min-height: 220px;
    aspect-ratio: 1;
    order: -1;
  }
}

.ld-path__num {
  font-family: var(--ld-font-display);
  color: var(--ld-cyan);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

/* Values */
.ld-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ld-value {
  padding: 1.5rem 0;
  border-top: 0;
}

.ld-value h3 { font-size: 1.2rem; }
.ld-value p { margin: 0; font-size: 0.95rem; }

/* CTA band */
.ld-cta {
  padding: 4.5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.12), transparent 55%),
    var(--ld-bg-2);
  border-top: 0;
  border-bottom: 0;
}

.ld-cta h2 { margin-bottom: 0.5rem; }
.ld-cta p { max-width: 36rem; margin: 0 auto 1.5rem; }
.ld-cta .ld-btn-row { justify-content: center; }

/* Forms */
.ld-form {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.ld-form label {
  display: block;
  font-family: var(--ld-font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--ld-text);
}

.ld-form input,
.ld-form select,
.ld-form textarea {
  width: 100%;
  background: var(--ld-bg-2);
  border: 1px solid var(--ld-line);
  color: var(--ld-text);
  padding: 0.85rem 1rem;
  font-family: var(--ld-font-body);
  font-size: 1rem;
  border-radius: var(--ld-radius);
}

.ld-form input:focus,
.ld-form select:focus,
.ld-form textarea:focus {
  outline: none;
  border-color: var(--ld-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.ld-form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.ld-form__status {
  min-height: 1.4em;
  font-size: 0.95rem;
}

.ld-form__status.is-ok { color: var(--ld-cyan); }
.ld-form__status.is-err { color: var(--ld-magenta); }

/* Page hero (inner) */
.ld-page-hero {
  padding: calc(var(--ld-header-h) + 3.5rem) 0 3rem;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(0, 212, 255, 0.12), transparent 40%),
    radial-gradient(ellipse at 90% 20%, rgba(255, 45, 149, 0.1), transparent 40%);
  border-bottom: 0;
}

.ld-page-hero h1 { margin-bottom: 0.75rem; }
.ld-page-hero p { max-width: 38rem; font-size: 1.1rem; }

/* Bannière équipe : avatar à gauche (centré verticalement), nom au centre, rank en haut à droite */
.ld-team-banner .ld-team-banner__inner {
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: center;
  padding-top: 0.35rem;
  min-height: 220px;
}

.ld-team-banner .ld-player-banner__aside {
  position: relative;
  justify-content: center;
  padding-top: 2rem;
}

.ld-team-banner .ld-player-banner__eyebrow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.ld-team-banner__center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: 0;
  text-align: center;
}

/* Réserver l’espace du rank (haut droite) pour centrer le titre entre avatar et rank */
.ld-team-banner:has(.ld-team-banner__rank) .ld-team-banner__center {
  padding-right: clamp(8.75rem, 12vw, 10.5rem);
}

.ld-team-banner__title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  max-width: 100%;
  text-align: center;
}

.ld-team-banner .ld-player-banner__avatar--logo img {
  object-fit: contain;
  padding: 12%;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.28));
}

.ld-team-banner .ld-player-banner__name {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.05;
  text-align: center;
}

.ld-team-banner .ld-player-banner__name > span {
  white-space: normal;
  text-wrap: balance;
  text-align: center;
}

.ld-team-banner__badges {
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
}

.ld-team-banner .ld-member-badge--tag {
  gap: 0.35rem;
  border-color: rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.12);
}

.ld-team-banner .ld-member-badge__k {
  opacity: 0.7;
  font-size: 0.62rem;
}

.ld-team-banner .ld-member-badge__v {
  color: #fff;
}

.ld-team-banner .ld-member-badge--comp {
  --ld-badge: #ff9ec8;
  --ld-badge-rgb: 255, 45, 149;
}

.ld-team-banner .ld-member-badge--alpha {
  --ld-badge: #b8ff3c;
  --ld-badge-rgb: 184, 255, 60;
}

.ld-team-banner__blurb {
  margin: 0;
  max-width: 28rem;
  color: var(--ld-muted);
  font-size: 1rem;
}

.ld-team-banner__rank {
  position: absolute;
  top: calc(var(--ld-header-h) + 1.1rem);
  right: max(var(--ld-gutter), calc((100% - var(--ld-container)) / 2));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 132px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ld-radius);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.14), transparent 62%),
    rgba(5, 7, 15, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.ld-team-banner__rank-label {
  font-family: var(--ld-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ld-cyan);
}

.ld-team-banner__rank-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.ld-team-banner__rank-name {
  font-family: var(--ld-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}

@media (max-width: 767px) {
  .ld-team-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ld-team-banner .ld-player-banner__shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .ld-team-banner .ld-team-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 0;
    padding-top: 0;
    grid-template-columns: none;
  }

  .ld-team-banner .ld-player-banner__aside {
    width: 100%;
    align-items: center;
    padding-top: 1.5rem;
  }

  .ld-team-banner .ld-player-banner__eyebrow {
    position: static;
    left: auto;
    transform: none;
    white-space: normal;
  }

  .ld-team-banner__center,
  .ld-team-banner:has(.ld-team-banner__rank) .ld-team-banner__center {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    align-items: center;
    text-align: center;
  }

  .ld-team-banner__title-block {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .ld-team-banner__badges,
  .ld-team-banner .ld-player-banner__badges {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ld-team-banner .ld-player-banner__name,
  .ld-team-banner .ld-player-banner__name > span {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .ld-team-banner__blurb {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .ld-team-banner__rank {
    position: static;
    margin: 0.35rem auto 0;
    min-width: 0;
    width: min(100%, 14.5rem);
  }
}

.ld-team-body {
  padding-top: 0.25rem;
}

.ld-team-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ld-radius);
  background: rgba(5, 7, 15, 0.45);
}

.ld-team-tabs__btn {
  appearance: none;
  margin: 0;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: calc(var(--ld-radius) - 1px);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--ld-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.ld-team-tabs__btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(255, 45, 149, 0.14));
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.35);
}

.ld-team-panel {
  display: none;
}

.ld-team-panel.is-active {
  display: block;
}

.ld-team-panel__empty {
  margin: 0;
  padding: 1.25rem 0;
  color: var(--ld-muted);
}

.ld-disclaimer {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--ld-magenta);
  background: rgba(255, 45, 149, 0.08);
  color: var(--ld-muted);
  font-size: 0.95rem;
}

.ld-content-block { max-width: 46rem; }
.ld-content-block + .ld-content-block { margin-top: 2.5rem; }

.ld-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.ld-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ld-muted);
}

.ld-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--ld-gradient);
  border-radius: 1px;
}

/* News */
.ld-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ld-news article {
  border-top: 0;
  padding-top: 1.25rem;
}

.ld-news time {
  font-size: 0.85rem;
  color: var(--ld-cyan);
  font-family: var(--ld-font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ld-news h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
}

.ld-news h3 a { color: var(--ld-text); }
.ld-news h3 a:hover { color: var(--ld-cyan); }

/* Footer */
.ld-footer {
  padding: 4.5rem 0 2rem;
  border-top: 0;
  background:
    radial-gradient(ellipse 70% 50% at 12% 0%, rgba(0, 212, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 45% at 88% 100%, rgba(255, 45, 149, 0.07), transparent 50%),
    #03050c;
}

.ld-footer__slogan {
  font-family: var(--ld-font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.ld-footer__sub {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--ld-font-display);
  color: var(--ld-muted);
  margin-bottom: 2.5rem;
}

.ld-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 2.5rem 2rem;
  padding-top: 2.25rem;
  border-top: 0;
  align-items: start;
}

.ld-footer__brand {
  display: grid;
  gap: 1.15rem;
  max-width: 26rem;
  justify-items: center;
  text-align: center;
}

.ld-footer__brand-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  text-decoration: none;
  transition: transform 0.25s var(--ld-ease, ease);
}

.ld-footer__brand-media:hover {
  transform: translateY(-3px);
}

.ld-footer__brand-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  object-position: center;
}

/* Holo footer logo ? reflet masqu? sur l?alpha + glow cyan/magenta */
.ld-footer__brand-holo {
  position: relative;
  isolation: isolate;
}

.ld-footer__brand-holo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  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;
  -webkit-mask-image: var(--ld-footer-logo-mask);
  mask-image: var(--ld-footer-logo-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;
}

.ld-footer__brand-holo img {
  position: relative;
  z-index: 1;
}

.ld-footer__brand-holo:hover::after {
  animation-duration: 2.6s;
}

@media (prefers-reduced-motion: reduce) {
  .ld-footer__brand-holo::after {
    animation: none;
  }
}

.ld-footer__brand-text {
  margin: 0;
  color: var(--ld-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ld-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.ld-footer__social .ld-social-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(24, 32, 56, 0.95), rgba(10, 14, 26, 0.98));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.ld-footer__social .ld-social-icon svg {
  width: 22px;
  height: 22px;
}

.ld-footer__social .ld-social-icon:hover {
  transform: translateY(-3px);
  color: #05070f;
}

.ld-footer__social .ld-social-icon[aria-label="TikTok"]:hover {
  background: #25f4ee;
  border-color: #25f4ee;
  box-shadow: 0 0 22px rgba(37, 244, 238, 0.35);
}

.ld-footer__social .ld-social-icon[aria-label="Instagram"]:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  border-color: #dd2a7b;
  color: #fff;
  box-shadow: 0 0 22px rgba(221, 42, 123, 0.4);
}

.ld-footer__social .ld-social-icon[aria-label="Twitch"]:hover {
  background: #9146ff;
  border-color: #9146ff;
  color: #fff;
  box-shadow: 0 0 22px rgba(145, 70, 255, 0.4);
}

.ld-footer__social .ld-social-icon[aria-label="YouTube"]:hover {
  background: #ff0033;
  border-color: #ff0033;
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 0, 51, 0.4);
}

.ld-footer__social .ld-social-icon[aria-label="Facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
  box-shadow: 0 0 22px rgba(24, 119, 242, 0.4);
}

.ld-footer__social .ld-social-icon[aria-label="Discord"]:hover {
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.4);
}

.ld-footer__col h4,
.ld-footer h4 {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  color: #fff;
  text-transform: uppercase;
}

.ld-footer__col ul,
.ld-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ld-footer__col li,
.ld-footer li {
  margin-bottom: 0.55rem;
}

.ld-footer__col a,
.ld-footer a {
  color: var(--ld-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ld-footer__col a:hover,
.ld-footer a:hover {
  color: var(--ld-cyan);
}

.ld-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.35rem;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--ld-muted);
  font-size: 0.9rem;
}

/* ===== S?parateurs (statiques) ===== */
.ld-stats,
.ld-cta,
.ld-quote,
.ld-value,
.ld-page-hero,
.ld-news article,
.ld-footer,
.ld-footer__grid,
.ld-footer__bottom {
  position: relative;
}

.ld-stats::before,
.ld-stats::after,
.ld-cta::before,
.ld-cta::after,
.ld-quote::before,
.ld-quote:last-child::after,
.ld-value::before,
.ld-page-hero::after,
.ld-news article::before,
.ld-footer::before,
.ld-footer__grid::before,
.ld-footer__bottom::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  z-index: 4;
  background-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 212, 255, 0.35) 35%,
      #00d4ff 48%,
      #ff2d95 62%,
      transparent 100%
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  background-repeat: no-repeat;
  background-size: 42% 100%, 100% 100%;
  background-position: 50% 0, 0 0;
  filter: drop-shadow(0 0 2px rgba(0, 212, 255, 0.35));
}

.ld-stats::before,
.ld-cta::before,
.ld-quote::before,
.ld-value::before,
.ld-news article::before,
.ld-footer::before,
.ld-footer__grid::before,
.ld-footer__bottom::before {
  top: 0;
}

.ld-stats::after,
.ld-cta::after,
.ld-quote:last-child::after,
.ld-page-hero::after {
  bottom: 0;
}

.ld-value::before {
  background-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 212, 255, 0.35) 30%,
      #00d4ff 48%,
      #ff2d95 68%,
      transparent 100%
    ),
    linear-gradient(90deg, var(--ld-cyan), var(--ld-magenta));
  background-size: 36% 100%, 100% 100%;
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  .ld-header::after {
    animation: none;
    opacity: 0.75;
    filter: none;
  }

  .ld-holo::after {
    display: none;
  }
}

/* Reveal ? opacity/transform only (pas de filter durable : bug flou mobile) */
.ld-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s var(--ld-ease),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--ld-reveal-delay, 0s);
}

.ld-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ld-reveal.is-done {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
  transition: none;
  will-change: auto;
}

.ld-reveal--left {
  transform: translateX(-28px) translateY(14px);
}

.ld-reveal--right {
  transform: translateX(28px) translateY(14px);
}

.ld-reveal--scale {
  transform: translateY(26px) scale(0.92);
}

.ld-reveal--soft {
  transform: translateY(14px);
}

.ld-reveal--left.is-visible,
.ld-reveal--right.is-visible,
.ld-reveal--scale.is-visible,
.ld-reveal--soft.is-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ld-reveal,
  .ld-reveal--left,
  .ld-reveal--right,
  .ld-reveal--scale,
  .ld-reveal--soft {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* ===== Page connexion (branded) ===== */
.ld-login {
  position: relative;
  min-height: calc(100vh - var(--ld-header-h));
  display: grid;
  place-items: center;
  padding: calc(var(--ld-header-h) + 2.5rem) 0 3.5rem;
  overflow: hidden;
}

.ld-login__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.14), transparent 42%),
    radial-gradient(ellipse at 85% 70%, rgba(255, 45, 149, 0.12), transparent 45%),
    var(--ld-bg);
  pointer-events: none;
}

.ld-login__wrap {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--ld-gutter) * 2), 440px);
}

.ld-login__card {
  padding: 2rem 1.75rem 1.75rem;
  background: rgba(10, 14, 26, 0.82);
  border: 1px solid var(--ld-line);
  border-radius: calc(var(--ld-radius) + 2px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ld-login__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--ld-text);
}

.ld-login__brand:hover {
  color: var(--ld-text);
}

.ld-login__brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.ld-login__card h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.35rem;
}

.ld-login__lead {
  margin-bottom: 1.35rem;
}

.ld-login__alert {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--ld-magenta);
  background: rgba(255, 45, 149, 0.1);
  color: var(--ld-text);
  font-size: 0.95rem;
}

.ld-login__form {
  max-width: none;
}

.ld-pwd-field {
  position: relative;
}

.ld-pwd-field input {
  width: 100%;
  padding-right: 2.85rem;
}

.ld-pwd-field__toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ld-muted);
  cursor: pointer;
  appearance: none;
}

.ld-pwd-field__toggle:hover,
.ld-pwd-field__toggle:focus-visible {
  color: var(--ld-text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.ld-pwd-field__toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.35);
}

.ld-pwd-field__icon[hidden] {
  display: none;
}

.ld-pwd-caps {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f0b429;
}

.ld-pwd-caps[hidden] {
  display: none;
}

.ld-login__remember {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0.25rem;
  font-family: var(--ld-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ld-muted) !important;
  cursor: pointer;
}

.ld-login__remember input {
  width: auto;
  margin: 0;
  accent-color: var(--ld-cyan);
}

.ld-login__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
}

.ld-login__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ld-line);
  font-size: 0.9rem;
}

.ld-login__links a {
  color: var(--ld-muted);
}

.ld-login__links a:hover {
  color: var(--ld-cyan);
}

.ld-login__alert--ok {
  border-left-color: var(--ld-cyan);
  background: rgba(0, 212, 255, 0.1);
}

.ld-login__card--wide {
  max-width: 640px;
}

.ld-login__wrap--register {
  width: min(100% - (var(--ld-gutter) * 2), 920px);
}

.ld-login__card--register {
  padding: 2.5rem 2.5rem 2rem;
}

.ld-register__form .ld-register__grid input,
.ld-register__form .ld-register__grid .ld-icon-select__trigger {
  min-height: 3rem;
  font-size: 1rem;
}

.ld-register__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.35rem;
}

.ld-register__full {
  grid-column: 1 / -1;
}

.ld-register__check {
  align-items: flex-start !important;
  margin-top: 0.5rem !important;
}

.ld-register__check a {
  color: var(--ld-cyan);
}

.ld-register__country .ld-icon-select__trigger {
  min-height: 3.35rem;
  padding: 0.85rem 1.1rem;
  font-size: 1.05rem;
}

.ld-register__country .ld-icon-select__icon,
.ld-register__country .ld-icon-select__list img {
  width: 36px;
  height: 26px;
}

.ld-register__country .ld-icon-select__text {
  font-size: 1.05rem;
  font-weight: 600;
}

.ld-register__rl {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.ld-register__rl legend {
  display: block;
  width: 100%;
  margin: 0 0 0.7rem;
  padding: 0;
  color: var(--ld-muted);
  font-family: var(--ld-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.ld-register__rl-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Beat .ld-form label { display:block } so Oui/Non stay visible beside the mark */
.ld-form label.ld-register__rl-option,
.ld-register__form label.ld-register__rl-option,
.ld-register__rl-option {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0 !important;
  margin-bottom: 0 !important;
  padding: 0.95rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--ld-radius) + 2px);
  background:
    linear-gradient(145deg, rgba(18, 24, 42, 0.92), rgba(5, 7, 15, 0.75));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    border-color 0.22s var(--ld-ease),
    background 0.22s var(--ld-ease),
    box-shadow 0.22s var(--ld-ease),
    transform 0.22s var(--ld-ease);
  font-family: var(--ld-font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ld-text) !important;
}

.ld-register__rl-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.22s var(--ld-ease), box-shadow 0.22s var(--ld-ease);
}

.ld-register__rl-option:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background:
    linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(5, 7, 15, 0.85));
  transform: translateY(-1px);
}

.ld-register__rl-option:has(input:checked) {
  border-color: rgba(0, 212, 255, 0.55);
  background:
    linear-gradient(145deg, rgba(0, 212, 255, 0.14), rgba(10, 14, 26, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 212, 255, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

.ld-register__rl-option:has(input:checked)::before {
  background: var(--ld-gradient);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

.ld-register__rl-option--no:has(input:checked) {
  border-color: rgba(255, 45, 149, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 45, 149, 0.12), rgba(10, 14, 26, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 45, 149, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

.ld-register__rl-option--no:hover {
  border-color: rgba(255, 45, 149, 0.32);
  background:
    linear-gradient(145deg, rgba(255, 45, 149, 0.07), rgba(5, 7, 15, 0.85));
}

/* Hide native radio — custom mark stays on brand */
.ld-form .ld-register__rl-option input[type="radio"],
.ld-register__form .ld-register__rl-option input[type="radio"],
.ld-register__rl-option input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.ld-register__rl-mark {
  display: block;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(5, 7, 15, 0.55);
  box-shadow: inset 0 0 0 2px rgba(5, 7, 15, 0.65);
  transition: border-color 0.2s var(--ld-ease), box-shadow 0.2s var(--ld-ease), background 0.2s var(--ld-ease);
}

.ld-register__rl-mark::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: scale(0);
  background: var(--ld-gradient);
  transition: transform 0.18s var(--ld-ease);
}

.ld-register__rl-option:hover .ld-register__rl-mark {
  border-color: rgba(0, 212, 255, 0.65);
}

.ld-register__rl-option--no:hover .ld-register__rl-mark {
  border-color: rgba(255, 45, 149, 0.65);
}

.ld-register__rl-option:has(input:checked) .ld-register__rl-mark {
  border-color: var(--ld-cyan);
  box-shadow:
    inset 0 0 0 2px rgba(5, 7, 15, 0.85),
    0 0 10px rgba(0, 212, 255, 0.35);
}

.ld-register__rl-option--no:has(input:checked) .ld-register__rl-mark {
  border-color: var(--ld-magenta);
  box-shadow:
    inset 0 0 0 2px rgba(5, 7, 15, 0.85),
    0 0 10px rgba(255, 45, 149, 0.3);
}

.ld-register__rl-option:has(input:checked) .ld-register__rl-mark::after {
  transform: scale(0.55);
}

.ld-register__rl-option:has(input:focus-visible) {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(0, 212, 255, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

.ld-register__rl-copy {
  display: flex !important;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.ld-register__rl-title {
  display: block !important;
  margin: 0 !important;
  color: var(--ld-text) !important;
  font-family: var(--ld-font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.ld-register__rl-hint {
  display: block !important;
  margin: 0 !important;
  color: var(--ld-muted) !important;
  font-family: var(--ld-font-body) !important;
  font-size: 0.8rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ld-register__rl-option:has(input:checked) .ld-register__rl-title {
  color: var(--ld-cyan) !important;
}

.ld-register__rl-option--no:has(input:checked) .ld-register__rl-title {
  color: var(--ld-magenta) !important;
}

.ld-register__rl-fields {
  margin-top: 0.15rem;
}

.ld-register__rl-fields[hidden] {
  display: none !important;
}

.ld-account__upgrade {
  margin-top: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--ld-radius) + 2px);
  background: linear-gradient(145deg, rgba(18, 24, 42, 0.75), rgba(5, 7, 15, 0.55));
}

.ld-form label.ld-account__upgrade-toggle,
.ld-account__form label.ld-account__upgrade-toggle,
.ld-account__upgrade-toggle,
.ld-form label.ld-account__check,
.ld-account__form label.ld-account__check,
.ld-account__check {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  margin: 0.85rem 0 0 !important;
  margin-bottom: 0 !important;
  cursor: pointer;
  font-family: var(--ld-font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ld-text) !important;
}

.ld-form label.ld-account__upgrade-toggle,
.ld-account__form label.ld-account__upgrade-toggle,
.ld-account__upgrade-toggle {
  margin-top: 0 !important;
}

.ld-form .ld-account__upgrade-toggle input[type="checkbox"],
.ld-account__form .ld-account__upgrade-toggle input[type="checkbox"],
.ld-account__upgrade-toggle input[type="checkbox"],
.ld-form .ld-account__check input[type="checkbox"],
.ld-account__form .ld-account__check input[type="checkbox"],
.ld-account__check input[type="checkbox"] {
  width: 1.15rem !important;
  max-width: 1.15rem !important;
  height: 1.15rem !important;
  min-width: 1.15rem !important;
  min-height: 1.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  accent-color: var(--ld-cyan);
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
}

.ld-account__upgrade-title,
.ld-account__check-title {
  display: block;
  margin: 0;
  color: var(--ld-text);
  font-family: var(--ld-font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.ld-account__upgrade-hint,
.ld-account__upgrade .ld-account__note {
  margin: 0.45rem 0 0 1.8rem;
}

.ld-account__upgrade-fields {
  margin-top: 0.85rem;
}

.ld-account__upgrade-fields[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .ld-register__rl-choices {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-register__rl-option,
  .ld-register__rl-mark,
  .ld-register__rl-mark::after {
    transition: none;
  }

  .ld-register__rl-option:hover {
    transform: none;
  }
}

/* Password strength */
.ld-pass-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.ld-pass-meter span {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.ld-pass-meter[data-score="1"] span:nth-child(-n+1) { background: #ff4d6d; }
.ld-pass-meter[data-score="2"] span:nth-child(-n+2) { background: #ff9f43; }
.ld-pass-meter[data-score="3"] span:nth-child(-n+3) { background: #f7c948; }
.ld-pass-meter[data-score="4"] span:nth-child(-n+4),
.ld-pass-meter[data-score="5"] span { background: linear-gradient(90deg, var(--ld-cyan), #3dffb5); }

.ld-pass-meter__label {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: var(--ld-muted);
}

.ld-pass-meter__label.is-score-4,
.ld-pass-meter__label.is-score-5 {
  color: var(--ld-cyan);
}

.ld-pass-rules {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1rem;
  font-size: 0.82rem;
  color: #ff4d6d;
}

.ld-pass-rules li {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.ld-pass-rules li::before {
  content: "\2715";
  flex-shrink: 0;
  font-weight: 700;
  color: #ff4d6d;
}

.ld-pass-rules li.is-ok {
  color: #3dffb5;
}

.ld-pass-rules li.is-ok::before {
  content: "\2713";
  color: #3dffb5;
}

.ld-pass-match {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
}

.ld-pass-match.is-ok { color: #3dffb5; }
.ld-pass-match.is-bad { color: #ff4d6d; }

#ld-register-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Birthdate picker (inscription) */
.ld-register__label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ld-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.ld-birthdate {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr 1fr;
  gap: 0.65rem;
}

.ld-birthdate__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.ld-birthdate__field > span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-muted);
}

.ld-birthdate .ld-icon-select {
  width: 100%;
}

.ld-birthdate .ld-icon-select__trigger {
  min-height: 48px;
  border-color: rgba(0, 212, 255, 0.35);
  background: #0b1020;
}

.ld-birthdate .ld-icon-select.is-open .ld-icon-select__trigger,
.ld-birthdate .ld-icon-select__trigger:hover {
  border-color: rgba(0, 212, 255, 0.75);
}

.ld-birthdate .ld-icon-select__list {
  background: #12182a;
  border-color: rgba(0, 212, 255, 0.45);
  max-height: 220px;
}

.ld-birthdate .ld-icon-select__list::-webkit-scrollbar {
  width: 10px;
}

.ld-birthdate .ld-icon-select__list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.ld-birthdate .ld-icon-select__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.ld-icon-select--plain .ld-icon-select__trigger {
  justify-content: space-between;
}

.ld-icon-select--plain .ld-icon-select__trigger::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.5rem;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ld-cyan);
  opacity: 0.85;
  flex-shrink: 0;
}

.ld-birthdate__status {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
}

.ld-birthdate__status.is-ok {
  color: #7dffb3;
}

.ld-birthdate__status.is-bad {
  color: #ff8da3;
}

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

  .ld-login {
    padding: calc(var(--ld-header-h) + 1.25rem) 0 2.25rem;
    align-items: start;
  }

  .ld-login__card {
    padding: 1.5rem 1.15rem 1.35rem;
  }

}

.ld-account__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.35rem;
  padding: 0.3rem;
  border: 1px solid var(--ld-line);
  border-radius: calc(var(--ld-radius) - 2px);
  background: rgba(5, 8, 16, 0.55);
}

.ld-account__tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ld-muted);
  font-family: var(--ld-font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.ld-account__tab:hover {
  color: #fff;
}

.ld-account__tab.is-active {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.12);
}

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

.ld-account__password {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.ld-account__socials {
  display: grid;
  gap: 0.65rem;
}

.ld-account__socials-title {
  margin: 0;
  font-family: var(--ld-font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-account__socials-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .ld-account__socials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ld-account__tabs {
    flex-direction: column;
  }

  .ld-account__tab {
    width: 100%;
    text-align: center;
  }
}

/* Connexion + Inscription ? centre mobile + polish */
@media (max-width: 767px) {
  body.ld-auth .ld-login {
    text-align: center;
    place-items: center;
    align-items: center;
  }

  body.ld-auth .ld-login__wrap {
    width: min(100% - (var(--ld-gutter) * 2), 420px);
    margin-inline: auto;
  }

  body.ld-auth .ld-login__card {
    text-align: center;
    margin-inline: auto;
  }

  body.ld-auth .ld-login__brand {
    justify-content: center;
    gap: 0.35rem;
  }

  body.ld-auth .ld-login__brand .ld-brand__name {
    transform: translate(-0.15em, 0.12em);
  }

  body.ld-auth .ld-login__lead,
  body.ld-auth .ld-login__alert {
    margin-inline: auto;
    text-align: center;
  }

  body.ld-auth .ld-login__form {
    text-align: left;
  }

  body.ld-auth .ld-login__links {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  body.ld-auth .ld-register__grid {
    grid-template-columns: 1fr;
  }

  body.ld-auth .ld-login__remember {
    justify-content: flex-start;
    text-align: left;
  }

  /* Politique de confidentialite + mentions legales */
  body.ld-legal-page main,
  body.ld-privacy main {
    text-align: center;
  }

  body.ld-legal-page .ld-page-hero,
  body.ld-legal-page .ld-page-hero .ld-container,
  body.ld-legal-page .ld-section__head,
  body.ld-legal-page .ld-content-block,
  body.ld-privacy .ld-page-hero,
  body.ld-privacy .ld-page-hero .ld-container,
  body.ld-privacy .ld-content-block {
    text-align: center;
    margin-inline: auto;
    max-width: 36rem;
  }

  body.ld-legal-page .ld-page-hero p,
  body.ld-legal-page .ld-content-block p,
  body.ld-legal-page .ld-content-block h2,
  body.ld-privacy .ld-page-hero p,
  body.ld-privacy .ld-content-block p,
  body.ld-privacy .ld-content-block h2 {
    margin-inline: auto;
    text-align: center;
  }

  body.ld-legal-page .ld-content-block ul,
  body.ld-privacy .ld-content-block ul {
    display: inline-block;
    text-align: left;
    margin-inline: auto;
  }

  body.ld-legal-page .ld-content-block a,
  body.ld-privacy .ld-content-block a {
    word-break: break-word;
  }
}

/* Icon selects (flags / ranks) */
.ld-icon-select {
  position: relative;
}

.ld-icon-select__native {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.ld-icon-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: rgba(5, 7, 15, 0.55);
  border: 1px solid var(--ld-line);
  border-radius: 8px;
  color: var(--ld-text);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.ld-icon-select.is-open .ld-icon-select__trigger,
.ld-icon-select__trigger:hover {
  border-color: rgba(0, 212, 255, 0.55);
}

.ld-icon-select__icon {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ld-icon-select[data-ld-icon-select="rank"] .ld-icon-select__icon {
  height: 28px;
  object-fit: contain;
  box-shadow: none;
  background: transparent;
}

.ld-icon-select__icon--empty {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.ld-icon-select__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ld-icon-select__list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  max-height: 240px;
  overflow: auto;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #12182a;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.ld-icon-select__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  color: var(--ld-text);
}

.ld-icon-select__list li:hover,
.ld-icon-select__list li[aria-selected="true"] {
  background: rgba(0, 212, 255, 0.12);
}

.ld-icon-select__list img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.ld-icon-select[data-ld-icon-select="rank"] .ld-icon-select__list img {
  height: 28px;
  object-fit: contain;
}

@media (max-width: 720px) {
  .ld-register__grid,
  .ld-pass-rules {
    grid-template-columns: 1fr;
  }

  .ld-login__card--register {
    padding: 1.75rem 1.25rem 1.5rem;
  }
}

/* Members list + profile ? same field look as inscription / .ld-form */
.ld-members-filters-shell {
  margin: 0 0 1.75rem;
}

.ld-members-toolbar {
  display: none;
}

.ld-members-filters {
  display: grid;
  grid-template-columns:
    minmax(12rem, 1.6fr)
    minmax(12.5rem, 1fr)
    minmax(10.5rem, 0.85fr)
    minmax(14rem, 1.1fr)
    auto;
  align-items: stretch;
  gap: 0.65rem;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--ld-line);
  border-radius: calc(var(--ld-radius) + 2px);
  background: rgba(10, 14, 26, 0.82);
  color-scheme: dark;
}

.ld-members-filters__search,
.ld-members-filters__field {
  min-width: 0;
  display: block;
}

.ld-members-filters__field--badge {
  min-width: 14rem;
}

.ld-members-filters input[type="search"],
.ld-members-filters select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  background: var(--ld-bg-2);
  color: var(--ld-text);
  font-family: var(--ld-font-body);
  font-size: 1rem;
}

.ld-members-filters input[type="search"]:focus,
.ld-members-filters select:focus {
  outline: none;
  border-color: var(--ld-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.ld-members-filters select {
  padding-right: 2.25rem;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--ld-bg-2);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(244, 247, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(244, 247, 255, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) calc(50% + 1px),
    calc(100% - 9px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ld-members-filters select option {
  background: var(--ld-bg-2);
  color: var(--ld-text);
}

.ld-members-filters select[name="ld_badge"] {
  min-width: 14rem;
}

.ld-members-filters__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

.ld-members-filters .ld-btn {
  min-height: 44px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .ld-members-filters {
    grid-template-columns: 1fr 1fr;
  }

  .ld-members-filters__search,
  .ld-members-filters__actions {
    grid-column: 1 / -1;
  }

  .ld-members-filters__field--badge,
  .ld-members-filters select[name="ld_badge"] {
    min-width: 0;
  }

  .ld-members-filters__actions .ld-btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 560px) {
  .ld-members-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ld-members-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.85rem;
  }

  .ld-members-toolbar__search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius);
    background: rgba(10, 14, 26, 0.82);
    color: var(--ld-text);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
  }

  .ld-members-toolbar__search:hover,
  .ld-members-toolbar__search[aria-expanded="true"] {
    border-color: var(--ld-cyan);
    color: #fff;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.18);
  }

  .ld-members-toolbar__filter {
    min-height: 48px;
    min-width: 8.5rem;
    padding-inline: 1.35rem;
  }

  .ld-members-filters-shell:not(.is-open) .ld-members-filters {
    display: none;
  }

  .ld-members-filters-shell.is-open .ld-members-filters {
    margin-top: 0;
  }
}

.ld-members {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

@media (max-width: 1100px) {
  .ld-members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ld-members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ld-member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  background: linear-gradient(180deg, #0e1424 0%, #090d18 100%);
  color: inherit;
  isolation: isolate;
  transition:
    transform 0.35s var(--ld-ease),
    border-color 0.35s var(--ld-ease),
    box-shadow 0.35s var(--ld-ease);
}

.ld-member-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--ld-gradient);
  opacity: 0.55;
  z-index: 2;
  transition: opacity 0.35s var(--ld-ease);
}

.ld-member-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35), rgba(255, 45, 149, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ld-ease);
  z-index: 2;
}

.ld-member-card:hover,
.ld-member-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 212, 255, 0.08);
  outline: none;
}

.ld-member-card:hover::before,
.ld-member-card:focus-visible::before {
  opacity: 1;
}

.ld-member-card:hover::after,
.ld-member-card:focus-visible::after {
  opacity: 1;
}

.ld-member-card--static {
  pointer-events: none;
  cursor: default;
  opacity: 0.72;
}

.ld-member-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 45, 149, 0.14), transparent 45%),
    #0a0e1a;
}

.ld-member-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ld-ease), filter 0.55s var(--ld-ease);
}

.ld-member-card--default-avatar .ld-member-card__media {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.04), transparent 60%),
    #0a0e1a;
}

.ld-member-card--default-avatar .ld-member-card__media img {
  object-fit: contain;
  padding: 6% 8%;
  opacity: 0.48;
  filter: grayscale(1) brightness(1.05);
}

.ld-member-card:hover .ld-member-card__media img,
.ld-member-card:focus-visible .ld-member-card__media img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

/* GIFs : pas de filter/transform (sinon l’animation se fige) */
.ld-member-card--gif .ld-member-card__media img,
.ld-member-card--gif:hover .ld-member-card__media img,
.ld-member-card--gif:focus-visible .ld-member-card__media img {
  filter: none;
  transform: none;
}

.ld-member-card--default-avatar:hover .ld-member-card__media img,
.ld-member-card--default-avatar:focus-visible .ld-member-card__media img {
  filter: grayscale(1) brightness(1.12);
  opacity: 0.55;
}

.ld-member-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--ld-font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--ld-cyan);
  letter-spacing: 0.04em;
}

.ld-member-card__media-fade {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 15, 0.92));
  pointer-events: none;
}

.ld-member-card__role {
  --ld-badge: var(--ld-cyan);
  --ld-badge-rgb: 0, 212, 255;
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  left: auto;
  bottom: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #05070f;
  background: var(--ld-gradient);
}

/* Carte : effets gardent le fond dégradé (sauf Chrome / Plasma) */
.ld-member-card__role--founder,
.ld-member-card__role--orbit,
.ld-member-card__role--glitch,
.ld-member-card__role--spark,
.ld-member-card__role--neon {
  isolation: isolate;
  overflow: visible;
  color: #05070f;
  background: var(--ld-gradient);
  border-color: transparent;
  text-shadow: none;
}

.ld-member-card__role--chrome {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(220, 230, 245, 0.55);
  color: #0a0e18;
  background: linear-gradient(
    120deg,
    #8a93a8 0%,
    #f4f7ff 28%,
    #9aa3b8 48%,
    #fff 58%,
    #6b7388 78%,
    #d7dce8 100%
  );
  background-size: 220% 100%;
  animation: ld-badge-chrome-slide 2.4s ease-in-out infinite;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ld-member-card__role--founder::before,
.ld-member-card__role--orbit::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--ld-badge-angle, 0deg),
    transparent 0deg,
    transparent 250deg,
    rgba(255, 255, 255, 0.35) 290deg,
    rgba(255, 255, 255, 0.95) 318deg,
    #fff 338deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: ld-badge-founder-orbit 1s linear infinite;
}

.ld-member-card__role--founder::before {
  animation-duration: 2.4s;
}

.ld-member-card__role--founder::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.45) 46%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.35) 54%,
    transparent 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  mix-blend-mode: soft-light;
  opacity: 0.9;
  animation: ld-holo-sweep 4.5s ease-in-out infinite;
}

.ld-member-card__role--glitch::before,
.ld-member-card__role--glitch::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  padding: 1px;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.ld-member-card__role--glitch::before {
  background: conic-gradient(
    from var(--ld-badge-angle, 0deg),
    transparent 0deg,
    transparent 220deg,
    #00d4ff 280deg,
    #fff 310deg,
    #00d4ff 340deg,
    transparent 360deg
  );
  animation:
    ld-badge-founder-orbit 1s linear infinite,
    ld-badge-glitchring-a 0.7s steps(2, end) infinite;
}

.ld-member-card__role--glitch::after {
  background: conic-gradient(
    from calc(var(--ld-badge-angle, 0deg) + 180deg),
    transparent 0deg,
    transparent 220deg,
    #ff2d95 280deg,
    #fff 310deg,
    #ff2d95 340deg,
    transparent 360deg
  );
  animation:
    ld-badge-founder-orbit 1s linear infinite reverse,
    ld-badge-glitchring-b 0.85s steps(2, end) infinite;
  opacity: 0.85;
}

.ld-member-card__role--spark::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 25%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 80% 30%, #fff 0 1.2px, transparent 2px),
    radial-gradient(circle at 70% 80%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.9) 0 0.9px, transparent 1.5px);
  animation: ld-badge-spark-twinkle 1.1s steps(2, end) infinite;
}

.ld-member-card__role--neon {
  box-shadow:
    0 0 4px rgba(var(--ld-badge-rgb), 0.45),
    0 0 12px rgba(var(--ld-badge-rgb), 0.3);
  animation: ld-badge-neon-pulse-card 2.4s ease-in-out infinite;
}

/* Plasma carte — même fond plasma que la fiche */
.ld-member-card__role--plasma {
  isolation: isolate;
  overflow: visible;
  border: 2px solid transparent;
  color: #f4e9ff;
  background:
    linear-gradient(180deg, rgba(28, 10, 48, 0.96), rgba(12, 6, 28, 0.96)) padding-box,
    conic-gradient(
      from var(--ld-badge-angle, 0deg),
      #7c3aed,
      #00d4ff,
      #ff2d95,
      #a78bfa,
      #7c3aed
    ) border-box;
  background-origin: border-box;
  box-shadow:
    0 0 10px rgba(124, 58, 237, 0.55),
    0 0 22px rgba(0, 212, 255, 0.28),
    inset 0 0 12px rgba(124, 58, 237, 0.25);
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.55);
  animation: ld-badge-founder-orbit 2.2s linear infinite;
}

.ld-member-card__role--plasma::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from calc(var(--ld-badge-angle, 0deg) + 90deg),
    transparent 0deg,
    rgba(0, 212, 255, 0.35) 40deg,
    transparent 80deg,
    rgba(255, 45, 149, 0.35) 200deg,
    transparent 240deg
  );
  filter: blur(4px);
  opacity: 0.75;
  animation: ld-badge-founder-orbit 2.2s linear infinite reverse;
}

.ld-member-card__role--plasma::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 35%, rgba(0, 212, 255, 0.35), transparent 42%),
    radial-gradient(circle at 72% 65%, rgba(255, 45, 149, 0.32), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.18), transparent 60%);
  mix-blend-mode: screen;
  animation: ld-badge-plasma-breathe 2.2s ease-in-out infinite;
}

@keyframes ld-badge-neon-pulse-card {
  0%,
  100% {
    box-shadow:
      0 0 4px rgba(var(--ld-badge-rgb), 0.35),
      0 0 10px rgba(var(--ld-badge-rgb), 0.22);
  }
  50% {
    box-shadow:
      0 0 8px rgba(var(--ld-badge-rgb), 0.65),
      0 0 18px rgba(var(--ld-badge-rgb), 0.4);
  }
}

@keyframes ld-badge-glitchring-a {
  0%,
  100% {
    transform: translate(-1px, 0);
  }
  50% {
    transform: translate(1px, 1px);
  }
}

@keyframes ld-badge-glitchring-b {
  0%,
  100% {
    transform: translate(1px, 0);
  }
  40% {
    transform: translate(-2px, 1px);
  }
  70% {
    transform: translate(1px, -1px);
  }
}

@keyframes ld-badge-spark-twinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes ld-badge-chrome-slide {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-member-card__role--founder::before,
  .ld-member-card__role--founder::after,
  .ld-member-card__role--orbit::before,
  .ld-member-card__role--glitch::before,
  .ld-member-card__role--glitch::after,
  .ld-member-card__role--spark::after,
  .ld-member-card__role--plasma,
  .ld-member-card__role--plasma::before,
  .ld-member-card__role--plasma::after {
    animation: none;
  }

  .ld-member-card__role--plasma::before,
  .ld-member-card__role--plasma::after {
    opacity: 0;
  }

  .ld-member-card__role--neon,
  .ld-member-card__role--chrome {
    animation: none;
  }
}

.ld-member-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.05rem 1.1rem 1.15rem;
  min-width: 0;
  text-align: center;
}

.ld-member-card__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}

.ld-member-card__flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.ld-member-card__flag-code {
  flex-shrink: 0;
  font-family: var(--ld-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ld-muted);
}

.ld-member-card__name {
  margin: 0;
  font-family: var(--ld-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-member-card__age {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 45, 149, 0.28);
  background: rgba(255, 45, 149, 0.1);
  font-family: var(--ld-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ff9ec8;
  white-space: nowrap;
}

.ld-member-card__age-num {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.ld-member-card__age-unit {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9ec8;
  opacity: 0.9;
}

.ld-member-card__team {
  margin: 0;
  max-width: 100%;
  font-size: 0.88rem;
  color: var(--ld-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-member-card__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ld-member-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ld-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.ld-member-card__chip img {
  display: block;
  object-fit: contain;
}

.ld-member-card__chip--rank {
  color: var(--ld-text);
  border-color: rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.06);
}

.ld-member-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ld-member-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.7rem 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--ld-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ld-cyan);
  text-decoration: none;
  transition: color 0.2s;
}

.ld-member-card:hover .ld-member-card__cta,
.ld-member-card:focus-within .ld-member-card__cta,
.ld-member-card__cta:hover,
.ld-member-card__cta:focus-visible {
  color: #fff;
  outline: none;
}

@media (max-width: 767px) {
  /* Une carte par ligne ? rang?e avatar + infos */
  .ld-members {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }

  .ld-member-card {
    min-width: 0;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
  }

  .ld-member-card:hover,
  .ld-member-card:focus-visible {
    transform: none;
  }

  .ld-member-card__media {
    flex: 0 0 92px;
    width: 92px;
    min-height: 92px;
    aspect-ratio: 1;
    margin: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ld-member-card__media-fade {
    height: 40%;
  }

  .ld-member-card__role {
    top: 0.45rem;
    right: 0.45rem;
    left: auto;
    bottom: auto;
    transform: none;
    padding: 0.18rem 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ld-member-card__fallback {
    font-size: 2rem;
  }

  .ld-member-card__body {
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 4.5rem 0.75rem 0.75rem;
    text-align: left;
    min-width: 0;
  }

  .ld-member-card__title {
    justify-content: flex-start;
    gap: 0.4rem;
    max-width: 100%;
  }

  .ld-member-card__flag {
    width: 20px;
    height: 14px;
  }

  .ld-member-card__name {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .ld-member-card__stats {
    gap: 0.35rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .ld-member-card__age {
    width: auto;
    justify-content: center;
    padding: 0.24rem 0.45rem;
    font-size: 0.85rem;
  }

  .ld-member-card__age-num {
    font-size: 0.95rem;
  }

  .ld-member-card__age-unit {
    font-size: 0.65rem;
  }

  .ld-member-card__chip {
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    padding: 0.24rem 0.45rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }

  .ld-member-card__chip img {
    width: 18px;
    height: 18px;
  }

  .ld-member-card__team {
    font-size: 0.8rem;
  }

  .ld-member-card__cta {
    width: auto;
    margin-top: 0.1rem;
    padding: 0;
    border-top: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  body.ld-members-page .ld-members {
    justify-items: stretch;
  }

  body.ld-members-page .ld-member-card,
  body.ld-members-page .ld-member-card__body {
    text-align: left;
  }
}

/* Partenaires — grille type membres */
.ld-partners-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: center;
  gap: 1.35rem;
}

.ld-partners-cta {
  justify-content: center;
}

body.ld-partners-page .ld-page-hero p {
  max-width: 42rem;
  text-wrap: balance;
}

@media (max-width: 860px) {
  .ld-partners-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  }
}

.ld-partner-card {
  --ld-partner-hue: 188;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  background: linear-gradient(180deg, #0e1424 0%, #090d18 100%);
  color: inherit;
  isolation: isolate;
  transition:
    transform 0.35s var(--ld-ease),
    border-color 0.35s var(--ld-ease),
    box-shadow 0.35s var(--ld-ease);
}

.ld-partner-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--ld-gradient);
  opacity: 0.55;
  z-index: 2;
  transition: opacity 0.35s var(--ld-ease);
}

.ld-partner-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35), rgba(255, 45, 149, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ld-ease);
  z-index: 2;
}

.ld-partner-card:hover,
.ld-partner-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 212, 255, 0.08);
}

.ld-partner-card:hover::before,
.ld-partner-card:focus-within::before {
  opacity: 1;
}

.ld-partner-card:hover::after,
.ld-partner-card:focus-within::after {
  opacity: 1;
}

.ld-partner-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(
      circle at 30% 20%,
      hsla(var(--ld-partner-hue), 90%, 55%, 0.28),
      transparent 52%
    ),
    radial-gradient(
      circle at 80% 80%,
      hsla(calc(var(--ld-partner-hue) + 40), 85%, 55%, 0.16),
      transparent 48%
    ),
    #0a0e1a;
}

.ld-partner-card__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(46%, 5.5rem);
  aspect-ratio: 1;
  border: 1px solid hsla(var(--ld-partner-hue), 80%, 65%, 0.45);
  background:
    linear-gradient(
      145deg,
      hsla(var(--ld-partner-hue), 75%, 55%, 0.35),
      hsla(calc(var(--ld-partner-hue) + 50), 70%, 45%, 0.18)
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.35);
  font-family: var(--ld-font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  transition: transform 0.55s var(--ld-ease), filter 0.55s var(--ld-ease);
}

.ld-partner-card__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ld-ease), filter 0.55s var(--ld-ease);
}

.ld-partner-card--logo .ld-partner-card__media {
  background: #070b14;
}

.ld-partner-card:hover .ld-partner-card__mark,
.ld-partner-card:focus-within .ld-partner-card__mark {
  transform: scale(1.06);
  filter: saturate(1.08);
}

/* Logo GIF : pas de filter/transform (animation) */
.ld-partner-card--logo .ld-partner-card__logo,
.ld-partner-card--logo:hover .ld-partner-card__logo,
.ld-partner-card--logo:focus-within .ld-partner-card__logo {
  transform: none;
  filter: none;
}

.ld-partner-card__media-fade {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 15, 0.92));
  pointer-events: none;
}

.ld-partner-card__role {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #05070f;
  background: var(--ld-gradient);
}

.ld-partner-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.05rem 1.1rem 1.15rem;
  min-width: 0;
  text-align: center;
}

.ld-partner-card__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}

.ld-partner-card__name {
  margin: 0;
  font-family: var(--ld-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.ld-partner-card__blurb {
  margin: 0;
  max-width: 100%;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ld-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ld-partner-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.7rem 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--ld-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ld-cyan);
  text-decoration: none;
  transition: color 0.2s;
}

.ld-partner-card:hover .ld-partner-card__cta,
.ld-partner-card:focus-within .ld-partner-card__cta,
.ld-partner-card__cta:hover,
.ld-partner-card__cta:focus-visible {
  color: #fff;
  outline: none;
}

.ld-partner-card__cta--muted {
  color: var(--ld-muted);
  cursor: default;
}

.ld-partner-card:hover .ld-partner-card__cta--muted,
.ld-partner-card:focus-within .ld-partner-card__cta--muted {
  color: var(--ld-muted);
}

@media (max-width: 767px) {
  .ld-partners-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }

  .ld-partner-card {
    min-width: 0;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
  }

  .ld-partner-card:hover,
  .ld-partner-card:focus-within {
    transform: none;
  }

  .ld-partner-card__media {
    flex: 0 0 92px;
    width: 92px;
    min-height: 92px;
    aspect-ratio: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ld-partner-card__mark {
    width: 52%;
    font-size: 0.85rem;
  }

  .ld-partner-card__media-fade {
    height: 40%;
  }

  .ld-partner-card__role {
    top: 0.45rem;
    right: 0.45rem;
    padding: 0.18rem 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ld-partner-card__body {
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem 4.5rem 0.75rem 0.75rem;
    text-align: left;
  }

  .ld-partner-card__title {
    justify-content: flex-start;
  }

  .ld-partner-card__name {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .ld-partner-card__blurb {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    text-align: left;
  }

  .ld-partner-card__cta {
    width: auto;
    margin-top: 0.1rem;
    padding: 0;
    border-top: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  body.ld-partners-page .ld-partners-list {
    justify-items: stretch;
  }

  body.ld-partners-page .ld-partner-card,
  body.ld-partners-page .ld-partner-card__body {
    text-align: left;
  }
}

/* Fiche partenaire — même DA que les fiches joueurs */
.ld-partner-banner .ld-player-banner__eyebrow {
  white-space: nowrap;
  max-width: none;
}

.ld-partner-banner .ld-player-banner__aside {
  overflow: visible;
}

.ld-partner-banner .ld-player-banner__avatar img {
  object-fit: cover;
  background: #070b14;
  padding: 0;
}

.ld-partner-banner .ld-player-banner__avatar--gif img,
.ld-partner-banner .ld-player-banner__avatar--gif:hover img,
.ld-partner-banner .ld-player-banner__avatar--gif:focus-within img {
  filter: none !important;
  transform: none !important;
  padding: 0;
  object-fit: cover;
}

.ld-partner-banner .ld-player-banner__avatar--gif .ld-player-banner__avatar-glow,
.ld-partner-banner .ld-player-banner__avatar--gif .ld-player-banner__avatar-shine {
  display: none;
}

.ld-partner-banner .ld-player-banner__stat--rank .ld-player-banner__rank-name,
.ld-partner-banner .ld-player-banner__stat--age .ld-player-banner__age-num {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.ld-partner-banner__blurb {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: var(--ld-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .ld-partner-banner .ld-player-banner__stat--rank .ld-player-banner__rank-name,
  .ld-partner-banner .ld-player-banner__stat--age .ld-player-banner__age-num {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }
}

.ld-partner-detail {
  max-width: 42rem;
}

.ld-partner-detail .ld-player-bio__block + .ld-player-bio__block {
  margin-top: 1.75rem;
}

.ld-partner-detail__text p {
  margin: 0 0 0.9rem;
  color: var(--ld-muted);
  line-height: 1.65;
}

@media (max-width: 767px) {
  body.ld-partner-single-page .ld-partner-detail {
    max-width: 36rem;
    margin-inline: auto;
  }

  body.ld-partner-single-page .ld-list {
    display: inline-block;
    text-align: left;
    margin-inline: auto;
  }
}

/* Membres — pagination (DA site) */
body.ld-members-page .ld-members-pagination,
body.ld-members-page .navigation.pagination {
  display: flex;
  justify-content: center;
  margin: 2.4rem 0 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 212, 255, 0.14);
  background-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 212, 255, 0.35) 35%,
      #00d4ff 48%,
      #ff2d95 62%,
      transparent 100%
    );
  background-repeat: no-repeat;
  background-size: 42% 1px;
  background-position: 50% 0;
}

body.ld-members-page .ld-members-pagination .nav-links,
body.ld-members-page .navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}

body.ld-members-page .navigation.pagination .nav-links a,
body.ld-members-page .navigation.pagination .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  min-height: 2.45rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.1), transparent 70%),
    rgba(8, 12, 24, 0.72);
  color: var(--ld-text, #f4f7ff);
  font-family: var(--ld-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.ld-members-page .navigation.pagination .nav-links a:hover,
body.ld-members-page .navigation.pagination .nav-links a:focus-visible {
  border-color: rgba(0, 212, 255, 0.55);
  color: var(--ld-cyan);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.18);
  outline: none;
}

body.ld-members-page .navigation.pagination .nav-links .current {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ld-cyan), var(--ld-magenta));
  color: #041018;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.28);
}

body.ld-members-page .navigation.pagination .nav-links .dots {
  min-width: 1.5rem;
  padding-inline: 0.25rem;
  border: 0;
  background: transparent;
  color: var(--ld-muted, #9aa3b8);
  box-shadow: none;
}

body.ld-members-page .navigation.pagination .nav-links .prev,
body.ld-members-page .navigation.pagination .nav-links .next {
  min-width: auto;
  padding-inline: 1rem;
}

.ld-member-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ld-member-badge {
  --ld-badge: var(--ld-cyan);
  --ld-badge-rgb: 0, 212, 255;
  position: relative;
  display: inline-flex;
  overflow: hidden;
  padding: 0.18rem 0.45rem;
  border: 1px solid rgba(var(--ld-badge-rgb), 0.35);
  background: rgba(var(--ld-badge-rgb), 0.1);
  color: var(--ld-badge);
  font-family: var(--ld-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Effets fiche → assets/css/badge-effects.css */

.ld-member-hero__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ld-member-hero__avatar {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 255, 0.35);
}

.ld-member-hero__avatar--fallback {
  display: grid;
  place-items: center;
  background: rgba(0, 212, 255, 0.12);
  color: var(--ld-cyan);
  font-family: var(--ld-font-display);
  font-size: 2.5rem;
}

.ld-member-profile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.ld-member-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--ld-line);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.9rem;
}

.ld-member-chip--link {
  text-decoration: none;
  color: var(--ld-cyan);
}

.ld-member-profile__bio {
  margin-top: 0.5rem;
}

.ld-member-profile__back {
  margin-top: 2rem;
}

/* Fiche joueur ? banni?re + bio */
.ld-player-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--ld-header-h) + 2.75rem) 0 2.75rem;
  background: var(--ld-bg);
}

.ld-player-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(0, 212, 255, 0.22), transparent 45%),
    radial-gradient(ellipse at 88% 10%, rgba(255, 45, 149, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.2) 0%, var(--ld-bg) 100%),
    var(--ld-bg);
}

.ld-player-banner__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.ld-player-banner__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.45), rgba(255, 45, 149, 0.35), transparent);
}

.ld-player-banner__shell {
  position: relative;
}

.ld-player-banner__mark {
  position: absolute;
  top: -6.25rem;
  left: -1.25rem;
  right: auto;
  z-index: 0;
  width: min(68%, 460px);
  aspect-ratio: 1;
  isolation: isolate;
  pointer-events: none;
  user-select: none;
  opacity: 0.16;
  mask-image: radial-gradient(ellipse 75% 75% at 42% 42%, #000 38%, transparent 86%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 42% 42%, #000 38%, transparent 86%);
}

.ld-player-banner__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* Desktop : réseaux + tracker alignés sur le bord droit du container (pas le viewport) */
.ld-player-banner__actions {
  position: absolute;
  top: calc(var(--ld-header-h) + 1.1rem);
  right: max(var(--ld-gutter), calc((100% - var(--ld-container)) / 2));
  left: auto;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: min(100% - (var(--ld-gutter) * 2), 42rem);
  pointer-events: auto;
}

.ld-player-banner__actions .ld-btn,
.ld-player-banner__tracker {
  position: static;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Mobile only : tracker centré + réseaux au-dessus de la bio */
.ld-player-banner__tracker-bar,
.ld-player-bio__socials {
  display: none;
}

.ld-player-banner__settings-mobile {
  display: none;
}

.ld-player-banner__social-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.ld-player-banner__social {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(8, 12, 22, 0.72);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  font: inherit;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.ld-player-banner__social svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.ld-player-banner__social:hover {
  border-color: rgba(0, 212, 255, 0.55);
  color: var(--ld-cyan);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-1px);
}

.ld-player-banner__social--settings:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ld-player-banner__social--discord:hover,
.ld-player-banner__social-wrap--discord.is-open .ld-player-banner__social--discord {
  border-color: rgba(88, 101, 242, 0.75);
  color: #c5ccff;
  background: rgba(88, 101, 242, 0.2);
}

.ld-player-banner__social-pop {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 5;
  min-width: 10.5rem;
  max-width: min(70vw, 16rem);
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(88, 101, 242, 0.45);
  border-radius: 10px;
  background: rgba(10, 12, 22, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  text-align: left;
}

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

.ld-player-banner__social-pop-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ld-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ld-player-banner__social-pop-value {
  display: block;
  color: #fff;
  font-family: var(--ld-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  word-break: break-all;
}

.ld-player-banner__social-pop-hint {
  display: none;
  margin-top: 0.35rem;
  color: #3dffb5;
  font-size: 0.75rem;
}

.ld-player-banner__social-wrap.is-copied .ld-player-banner__social-pop-hint {
  display: block;
}

.ld-player-banner__social--twitch:hover {
  border-color: rgba(145, 70, 255, 0.65);
  color: #9146ff;
  background: rgba(145, 70, 255, 0.14);
}

.ld-player-banner__social--tiktok:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ld-player-banner__social--youtube:hover {
  border-color: rgba(255, 0, 0, 0.55);
  color: #ff3b3b;
  background: rgba(255, 0, 0, 0.12);
}

.ld-player-banner__social--x:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ld-player-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
  align-items: start;
  padding-top: 2.5rem;
}

.ld-player-banner__aside {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.ld-player-banner__badges {
  margin: 0 0 0.65rem;
}

/* Cadre avatar (overlay Discord-style) */
.ld-avatar-with-frame {
  --ld-frame-avatar-scale: 1;
  --ld-frame-avatar-x: 0;
  --ld-frame-avatar-y: 0;
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  flex: 0 0 auto;
  overflow: visible;
}

.ld-avatar-with-frame--account {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  display: block;
}

.ld-avatar-with-frame .ld-player-banner__avatar,
.ld-avatar-with-frame .ld-account__avatar {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Cadre = même boîte que l’avatar ; max-width global sinon décale le PNG */
.ld-avatar-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: fill;
  pointer-events: none;
  z-index: 4;
  user-select: none;
}

/* Holo test — foil masqué sur le PNG du cadre (trou transparent intact) */
.ld-avatar-with-frame:has(.ld-avatar-frame--holo) {
  --ld-frame-holo-x: 42%;
  --ld-frame-holo-y: 38%;
}

.ld-avatar-frame-holo {
  --ld-frame-holo-intensity: 1;
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  -webkit-mask-image: var(--ld-frame-mask);
  mask-image: var(--ld-frame-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background:
    radial-gradient(
      circle at var(--ld-frame-holo-x) var(--ld-frame-holo-y),
      rgba(255, 255, 255, 0.75) 0%,
      rgba(0, 212, 255, 0.35) 18%,
      rgba(255, 45, 149, 0.28) 36%,
      transparent 58%
    ),
    linear-gradient(
      115deg,
      transparent 18%,
      rgba(0, 212, 255, 0.45) 34%,
      rgba(255, 255, 255, 0.7) 46%,
      rgba(255, 45, 149, 0.5) 58%,
      transparent 74%
    );
  background-size: 100% 100%, 240% 240%;
  background-position: center, var(--ld-frame-holo-x) var(--ld-frame-holo-y);
  mix-blend-mode: color-dodge;
  opacity: calc(0.95 * var(--ld-frame-holo-intensity));
  filter: saturate(calc(0.85 + (0.45 * var(--ld-frame-holo-intensity))));
  animation: ld-avatar-frame-holo-idle 4.2s ease-in-out infinite;
}

.ld-avatar-with-frame.is-holo-pointer .ld-avatar-frame-holo {
  animation: none;
}

@keyframes ld-avatar-frame-holo-idle {
  0%,
  100% {
    --ld-frame-holo-x: 28%;
    --ld-frame-holo-y: 32%;
    filter: hue-rotate(0deg) saturate(1.15);
  }
  50% {
    --ld-frame-holo-x: 72%;
    --ld-frame-holo-y: 64%;
    filter: hue-rotate(40deg) saturate(1.35);
  }
}

@property --ld-frame-holo-x {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 42%;
}

@property --ld-frame-holo-y {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 38%;
}

@media (prefers-reduced-motion: reduce) {
  .ld-avatar-frame-holo {
    animation: none;
    opacity: 0.55;
  }
}

.ld-avatar-with-frame:has(.ld-avatar-frame) .ld-player-banner__avatar,
.ld-avatar-with-frame:has(.ld-avatar-frame) .ld-account__avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% * var(--ld-frame-avatar-scale));
  height: calc(100% * var(--ld-frame-avatar-scale));
  margin: 0;
  transform: translate(
    calc(-50% + (var(--ld-frame-avatar-x) * 1%)),
    calc(-50% + (var(--ld-frame-avatar-y) * 1%))
  );
  border-color: transparent;
  background: var(--ld-bg-2);
  box-shadow: none;
  overflow: hidden;
  border-radius: 0;
  z-index: 1;
}

.ld-player-banner__avatar {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: var(--ld-radius);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--ld-bg-2), var(--ld-bg-2)) padding-box,
    linear-gradient(145deg, rgba(0, 212, 255, 0.75), rgba(255, 255, 255, 0.2), rgba(255, 45, 149, 0.75)) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.ld-player-banner__avatar--gif img,
.ld-player-banner__avatar--gif:hover img,
.ld-player-banner__avatar--gif:focus-within img,
.ld-roster__avatar--gif img,
.ld-roster__item--gif:hover .ld-roster__avatar img {
  filter: none !important;
  transform: none !important;
}

.ld-player-banner__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
  transition: transform 0.55s var(--ld-ease), filter 0.55s var(--ld-ease);
  filter: saturate(1.05) contrast(1.04);
}

.ld-player-banner__avatar--default {
  background:
    linear-gradient(#0a0e18, #0a0e18) padding-box,
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.14)) border-box;
}

.ld-player-banner__avatar--default img {
  object-fit: contain;
  padding: 8%;
  opacity: 0.48;
  filter: grayscale(1) brightness(1.05);
}

.ld-player-banner__avatar--default:hover img,
.ld-player-banner__avatar--default:focus-within img {
  filter: grayscale(1) brightness(1.12);
  opacity: 0.55;
}

.ld-player-banner__avatar-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 55%, rgba(5, 7, 15, 0.45) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.18), transparent 45%),
    radial-gradient(ellipse at 80% 85%, rgba(255, 45, 149, 0.16), transparent 50%);
  mix-blend-mode: soft-light;
}

.ld-player-banner__avatar-shine {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 46%,
    rgba(0, 212, 255, 0.18) 50%,
    rgba(255, 45, 149, 0.12) 54%,
    transparent 65%
  );
  transform: translateX(-40%);
  opacity: 0.55;
  animation: ld-founder-shine 5.5s ease-in-out infinite;
}

.ld-player-banner__avatar:hover img,
.ld-player-banner__avatar:focus-within img {
  transform: scale(1.04);
  filter: saturate(1.15) contrast(1.06) brightness(1.03);
}

.ld-player-banner__avatar:hover .ld-player-banner__avatar-shine,
.ld-player-banner__avatar:focus-within .ld-player-banner__avatar-shine {
  animation-duration: 2.8s;
  opacity: 0.85;
}

.ld-player-banner__avatar-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--ld-font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--ld-cyan);
}

.ld-player-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  padding-top: 1.65rem;
  text-align: center;
}

.ld-player-banner__content .ld-player-banner__badges,
.ld-player-banner__content .ld-player-banner__stats {
  width: 100%;
  max-width: 520px;
}

.ld-player-banner__content .ld-player-banner__badges {
  justify-content: flex-start;
  text-align: left;
}

.ld-player-banner__eyebrow {
  display: inline-block;
  margin: 0;
  text-align: center;
}

.ld-player-banner__aside .ld-player-banner__name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  text-align: center;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  max-width: 100%;
}

.ld-player-banner__name {
  margin: 0;
  font-family: var(--ld-font-display);
  font-size: clamp(2.15rem, 4.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
}

.ld-player-banner__name-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.ld-player-banner__name > span {
  white-space: nowrap;
}

.ld-player-banner__stats {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: min(100%, 640px);
  margin-top: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 15, 0.45);
}

.ld-player-banner__stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
}

.ld-player-banner__stat--rank,
.ld-player-banner__stat--age,
.ld-player-banner__stat--team,
.ld-player-banner__stat--staff {
  flex: 1 1 0;
  min-width: 7.5rem;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1rem 0.9rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 212, 255, 0.05);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ld-ease);
}

.ld-player-banner__stat--age {
  background: rgba(255, 255, 255, 0.03);
}

.ld-player-banner__stat--team {
  background: rgba(255, 45, 149, 0.05);
}

.ld-player-banner__stat--staff {
  background: rgba(80, 220, 120, 0.07);
}

.ld-player-banner__stat--staff .ld-player-banner__label {
  color: #7dffb0;
}

.ld-player-banner__stats > .ld-player-banner__stat:last-child {
  border-right: 0;
}

.ld-player-banner__stat--team:hover,
.ld-player-banner__stat--team:focus-visible {
  background: rgba(255, 45, 149, 0.12);
  outline: none;
}

.ld-player-banner__stat--staff:hover,
.ld-player-banner__stat--staff:focus-visible {
  background: rgba(80, 220, 120, 0.14);
  outline: none;
}

.ld-player-banner__stat--staff:hover .ld-player-banner__team-name,
.ld-player-banner__stat--staff:focus-visible .ld-player-banner__team-name {
  color: #7dffb0;
}

.ld-player-banner__label {
  font-family: var(--ld-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ld-cyan);
}

.ld-player-banner__rank-icon,
.ld-player-banner__team-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.ld-player-banner__rank-name,
.ld-player-banner__team-name {
  font-family: var(--ld-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}

.ld-player-banner__stat--team:hover .ld-player-banner__team-name,
.ld-player-banner__stat--team:focus-visible .ld-player-banner__team-name {
  color: var(--ld-cyan);
}

.ld-player-banner__stat--age .ld-player-banner__age-num {
  font-family: var(--ld-font-display);
  font-size: clamp(2rem, 3.4vw, 2.55rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.ld-player-banner__stat--age .ld-player-banner__age-unit {
  font-family: var(--ld-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9ec8;
}

.ld-player-bio {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.ld-player-bio__wrap {
  max-width: 1100px;
}

.ld-player-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
}

.ld-player-tabs__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 7, 15, 0.45);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--ld-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ld-ease), color 0.2s var(--ld-ease), background 0.2s var(--ld-ease);
}

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

.ld-player-tabs__btn.is-active {
  color: #061018;
  background: linear-gradient(120deg, var(--ld-cyan, #00d4ff), #7af0ff);
  border-color: transparent;
}

/* Desktop : centrés + plus visibles (mobile inchangé) */
@media (min-width: 721px) {
  .ld-player-tabs {
    justify-content: center;
    gap: 0.15rem 1.75rem;
    margin: 0 0 1.75rem;
    padding: 0 0 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ld-player-tabs__btn {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--ld-muted, #9aa3b8);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.15rem 0.45rem;
  }

  .ld-player-tabs__btn:hover,
  .ld-player-tabs__btn:focus-visible {
    color: #fff;
    border-color: transparent;
    border-bottom-color: rgba(0, 212, 255, 0.45);
    background: transparent;
  }

  .ld-player-tabs__btn.is-active {
    color: #fff;
    background: transparent;
    border-color: transparent;
    border-bottom-color: var(--ld-cyan, #00d4ff);
  }
}

.ld-player-panel[hidden] {
  display: none !important;
}

.ld-player-collection__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.ld-player-collection__head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 212, 255, 0.55) 28%,
    rgba(255, 45, 149, 0.5) 72%,
    transparent 100%
  );
  pointer-events: none;
}

.ld-player-collection__head .ld-eyebrow {
  margin-bottom: 0.35rem;
}

.ld-player-collection__head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--ld-font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.ld-player-collection__head p {
  margin: 0;
  color: var(--ld-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  max-width: 48rem;
}

.ld-player-collection__trade-cta {
  margin: 0.9rem 0 0;
  max-width: none;
}

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

.ld-player-collection__count {
  flex: none;
  min-width: 2.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 7, 15, 0.5);
  color: #fff;
  font-family: var(--ld-font-display);
  font-weight: 700;
  text-align: center;
}

/* Page Utiliser un code — sous le header sticky + centrage */
body.ld-redeem-page .ld-redeem-page.ld-section {
  padding-top: calc(var(--ld-header-h) + 2.75rem);
  padding-bottom: 4rem;
}

body.ld-redeem-page .ld-section__head {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

body.ld-redeem-page .ld-login__alert {
  margin-inline: auto;
  text-align: center;
  max-width: 32rem;
}

.ld-redeem-page__intro {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem 3rem;
  max-width: 52rem;
  margin: 0 auto 2.25rem;
}

.ld-redeem-page__booster {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 300px;
  margin: 0;
  aspect-ratio: 1;
  isolation: isolate;
}

.ld-redeem-page__booster::before {
  content: "";
  position: absolute;
  inset: 16%;
  z-index: 0;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.38) 0%,
    rgba(255, 45, 149, 0.26) 45%,
    transparent 72%
  );
  filter: blur(26px);
  pointer-events: none;
  animation: ld-holo-pulse 5s ease-in-out infinite;
}

.ld-redeem-page__booster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  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.5s ease-in-out infinite;
  -webkit-mask-image: var(--ld-booster-mask);
  mask-image: var(--ld-booster-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.ld-redeem-page__booster img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 0 18px rgba(0, 212, 255, 0.4))
    drop-shadow(0 0 34px rgba(255, 45, 149, 0.3));
  animation: ld-holo-glow 5s ease-in-out infinite;
}

.ld-redeem-page__copy {
  min-width: 0;
  max-width: 34rem;
  text-align: left;
}

.ld-redeem-page__copy p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(232, 238, 252, 0.88);
}

.ld-redeem-page__copy p:last-child {
  margin-bottom: 0;
}

.ld-redeem-page__lead {
  margin-bottom: 1rem !important;
  font-family: var(--ld-font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem) !important;
  font-weight: 700;
  line-height: 1.25 !important;
  letter-spacing: 0.02em;
  background: linear-gradient(105deg, #5ee7ff 0%, #f0f6ff 42%, #ff6bcb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.ld-redeem-page__accent {
  font-family: var(--ld-font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(105deg, #5ee7ff, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ld-redeem-page__accent--leg {
  background: linear-gradient(105deg, #f7c948, #ff6bcb);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (prefers-reduced-motion: reduce) {
  .ld-redeem-page__booster::before,
  .ld-redeem-page__booster::after,
  .ld-redeem-page__booster img {
    animation: none;
  }
}

@media (max-width: 859px) {
  .ld-redeem-page__intro {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
  }

  .ld-redeem-page__booster {
    width: min(280px, 72vw);
    max-width: 280px;
    order: -1;
  }

  /* Holo plus marqué sur petit écran (sweep + glow) */
  .ld-redeem-page__booster::before {
    inset: 12%;
    background: radial-gradient(
      circle,
      rgba(0, 212, 255, 0.55) 0%,
      rgba(255, 45, 149, 0.4) 42%,
      transparent 72%
    );
    filter: blur(22px);
  }

  .ld-redeem-page__booster::after {
    background: linear-gradient(
      115deg,
      transparent 0%,
      transparent 32%,
      rgba(0, 212, 255, 0.55) 42%,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(255, 45, 149, 0.6) 58%,
      transparent 68%,
      transparent 100%
    );
    background-size: 280% 100%;
    mix-blend-mode: soft-light;
    animation-duration: 3.6s;
  }

  .ld-redeem-page__booster img {
    filter:
      drop-shadow(0 0 22px rgba(0, 212, 255, 0.55))
      drop-shadow(0 0 40px rgba(255, 45, 149, 0.42));
  }

  .ld-redeem-page__copy {
    text-align: center;
    margin-inline: auto;
  }
}

.ld-redeem-page__form {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(12, 16, 28, 0.92), rgba(8, 10, 18, 0.75));
  text-align: center;
}

.ld-redeem-page__label {
  display: block;
  margin: 0 0 0.55rem;
  font-family: var(--ld-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.ld-redeem-page__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.ld-redeem-page__input {
  flex: 1 1 auto;
  min-width: min(12rem, 100%);
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  box-sizing: border-box;
  padding: 0 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ld-redeem-page__input:focus {
  outline: 2px solid rgba(247, 201, 72, 0.45);
  outline-offset: 1px;
}

.ld-redeem-page__btn {
  flex: none;
}

.ld-redeem-page__msg {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ld-muted);
  text-align: center;
}

.ld-redeem-page__msg.is-ok {
  color: #7ddea0;
}

.ld-redeem-page__msg.is-err {
  color: #f0a0a0;
}

.ld-redeem-page__msg.is-easter {
  font-family: var(--ld-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
  background: linear-gradient(105deg, #5ee7ff 0%, #f7c948 45%, #ff6bcb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ld-redeem-easter-in 0.55s ease both;
}

@keyframes ld-redeem-easter-in {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


@media (max-width: 767px) {
  body.ld-redeem-page main {
    text-align: center;
  }

  body.ld-redeem-page .ld-redeem-page.ld-section {
    padding-top: calc(var(--ld-header-h) + 2.25rem);
    padding-inline: 0;
  }

  body.ld-redeem-page .ld-section__head,
  body.ld-redeem-page .ld-login__alert,
  body.ld-redeem-page .ld-redeem-page__copy {
    text-align: center;
    margin-inline: auto;
    max-width: 36rem;
  }

  body.ld-redeem-page .ld-redeem-page__booster {
    width: min(240px, 62vw);
  }

  body.ld-redeem-page .ld-redeem-page__form {
    width: 100%;
    max-width: 36rem;
  }

  body.ld-redeem-page .ld-redeem-page__row {
    flex-direction: column;
    align-items: stretch;
  }

  body.ld-redeem-page .ld-redeem-page__input,
  body.ld-redeem-page .ld-redeem-page__btn {
    flex: none;
    width: 100%;
  }

  body.ld-redeem-page .ld-redeem-page__input {
    text-align: center;
    height: 2.75rem;
    min-height: 2.75rem;
    max-height: 2.75rem;
  }
}

.ld-player-collection__empty {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  padding: 1.25rem 1.35rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--ld-muted);
  background: rgba(5, 7, 15, 0.35);
  text-align: center;
}

.ld-player-collection__filter-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
}

.ld-player-collection__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1rem;
  margin: 0;
  padding: 0.15rem 0 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ld-player-collection__filters--rarity {
  padding-top: 0;
  padding-bottom: 0.65rem;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.ld-player-collection__filters--rarity .ld-player-collection__filter {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: none;
}

.ld-player-collection__filter {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.2rem 0;
  margin: 0;
  color: var(--ld-muted);
  font-family: var(--ld-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ld-ease), border-color 0.2s var(--ld-ease);
}

a.ld-player-collection__filter:visited {
  color: var(--ld-muted);
}

a.ld-player-collection__filter.is-active:visited {
  color: #fff;
}

.ld-player-collection__filter-count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}

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

.ld-player-collection__filter:hover .ld-player-collection__filter-count,
.ld-player-collection__filter:focus-visible .ld-player-collection__filter-count,
.ld-player-collection__filter.is-active .ld-player-collection__filter-count {
  color: rgba(255, 255, 255, 0.7);
}

.ld-player-collection__filter.is-active {
  color: #fff;
  border-bottom-color: var(--ld-cyan, #3de0ff);
}

.ld-player-collection__filter.is-empty,
.ld-player-collection__filter:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ld-player-collection__filter-empty {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--ld-muted);
  font-size: 0.9rem;
}

.ld-player-collection__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ld-player-collection__pager[hidden] {
  display: none !important;
}

.ld-player-collection__pager-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(5, 7, 15, 0.45);
  cursor: pointer;
  transition: border-color 0.2s var(--ld-ease), background 0.2s var(--ld-ease);
}

.ld-player-collection__pager-btn:hover:not(:disabled):not(.is-disabled),
.ld-player-collection__pager-btn:focus-visible:not(:disabled):not(.is-disabled) {
  border-color: rgba(61, 224, 255, 0.55);
  background: rgba(61, 224, 255, 0.12);
  outline: none;
}

.ld-player-collection__pager-btn.is-active {
  border-color: rgba(61, 224, 255, 0.65);
  background: rgba(61, 224, 255, 0.18);
  color: #fff;
}

.ld-player-collection__pager-btn:disabled,
.ld-player-collection__pager-btn.is-disabled {
  opacity: 0.35;
  cursor: default;
}

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


.ld-player-collection {
  --ld-collect-card-w: 220px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ld-player-collection__grid {
  --ld-collect-card-w: 220px;
  margin: 0 auto;
  justify-content: center !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ld-player-collection__grid > li[hidden] {
  display: none !important;
}

.ld-player-collection__grid > li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: var(--ld-collect-card-w);
  max-width: 100%;
}

.ld-player-collection__grid .ld-holo-test__wrap {
  position: relative;
  width: 100%;
  max-width: var(--ld-collect-card-w);
}

.ld-player-collection__grid .ld-holo-test__card {
  width: 100%;
  max-width: var(--ld-collect-card-w);
  overflow: hidden;
  border-radius: var(--ld-card-radius, 5% / 3.5%);
  -webkit-clip-path: inset(0.35px round var(--ld-card-radius, 5% / 3.5%));
  clip-path: inset(0.35px round var(--ld-card-radius, 5% / 3.5%));
}

.ld-player-collection__unlock {
  width: 100%;
  max-width: var(--ld-collect-card-w, 220px);
  padding: 0 0.15rem;
  text-align: center;
  box-sizing: border-box;
}

.ld-player-collection__unlock-date {
  display: block;
  margin: 0 0 0.2rem;
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ld-player-collection__unlock-how {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ld-muted, rgba(255, 255, 255, 0.58));
}

.ld-unlock-glitch {
  font-variant-ligatures: none;
  text-rendering: optimizeSpeed;
}

.ld-unlock-glitch__block {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  vertical-align: -0.05em;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.55);
}

.ld-unlock-glitch__block--blink {
  animation: ld-unlock-glitch-blink 0.85s steps(2, end) infinite;
}

.ld-unlock-glitch__bits {
  display: inline-grid;
  vertical-align: baseline;
  min-width: 1.35em;
  margin: 0 0.08em;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
}

.ld-unlock-glitch__bits-frame {
  grid-area: 1 / 1;
  opacity: 0;
  animation: ld-unlock-bits 1.6s steps(1, end) infinite;
  animation-delay: calc(var(--ld-bits-i, 0) * 0.4s);
}

@keyframes ld-unlock-glitch-blink {
  0%,
  49% {
    opacity: 1;
    color: #fff;
  }
  50%,
  100% {
    opacity: 0;
    color: transparent;
  }
}

@keyframes ld-unlock-bits {
  0%,
  24.9% {
    opacity: 1;
  }
  25%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-unlock-glitch__block--blink {
    animation: none;
    opacity: 1;
    color: #fff;
  }

  .ld-unlock-glitch__bits-frame {
    animation: none;
    opacity: 0;
  }

  .ld-unlock-glitch__bits-frame:first-child {
    opacity: 1;
  }
}


.ld-player-collection__feat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin: 0.45rem 0 0;
}

.ld-player-collection__feat-btn {
  appearance: none;
  margin: 0;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.1);
  color: #9af0ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
}

.ld-player-collection__feat-btn:hover:not(:disabled),
.ld-player-collection__feat-btn:focus-visible:not(:disabled) {
  background: rgba(0, 212, 255, 0.22);
  color: #fff;
}

.ld-player-collection__feat-btn--on {
  border-color: rgba(0, 212, 255, 0.55);
}

.ld-player-collection__feat-btn--off {
  border-color: rgba(255, 180, 90, 0.4);
  background: rgba(255, 160, 60, 0.1);
  color: #ffd19a;
}

.ld-player-collection__feat-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.ld-player-collection__revoke {
  appearance: none;
  margin: 0.55rem auto 0;
  display: block;
  border: 1px solid rgba(255, 120, 140, 0.4);
  border-radius: 8px;
  background: rgba(255, 77, 109, 0.14);
  color: #ffb3c0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.ld-player-collection__revoke:hover {
  background: rgba(255, 77, 109, 0.28);
  color: #fff;
}

.ld-player-collection__revoke:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 900px) {
  .ld-player-collection__filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 0.55rem 0.85rem;
    margin-inline: -0.25rem;
    padding: 0 0.25rem 0.75rem;
  }

  .ld-player-collection__filter {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.78rem;
  }
}

@media (max-width: 720px) {
  .ld-player-tabs {
    justify-content: center;
    width: 100%;
  }

  .ld-player-collection__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .ld-player-collection__head p {
    margin-inline: auto;
    max-width: 36rem;
    font-size: 1.05rem;
  }

  .ld-player-collection__head::after {
    left: 8%;
    right: 8%;
  }

  .ld-player-collection__count {
    align-self: center;
  }

  .ld-player-bio__back,
  .ld-player-bio__back--split {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.55rem;
    width: 100%;
    text-align: center;
  }

  .ld-player-bio__back a,
  .ld-player-bio__back--split a {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.85rem;
    max-width: none;
    margin: 0;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--ld-cyan, #3de0ff);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }

  .ld-player-bio__back a:hover,
  .ld-player-bio__back a:focus-visible,
  .ld-player-bio__back--split a:hover,
  .ld-player-bio__back--split a:focus-visible {
    color: #fff;
    border-color: rgba(0, 212, 255, 0.7);
    background: rgba(0, 212, 255, 0.2);
  }

  .ld-player-bio__back .ld-player-bio__label--full,
  .ld-player-bio__back--split .ld-player-bio__label--full {
    display: inline;
  }

  .ld-player-bio__back .ld-player-bio__label--short,
  .ld-player-bio__back--split .ld-player-bio__label--short {
    display: none;
  }

  .ld-player-bio__back--split .ld-player-bio__manage {
    margin-left: 0;
    text-align: center;
  }

  .ld-player-collection__pager {
    display: grid;
    grid-template-columns: 2.75rem 1fr 2.75rem;
    align-items: center;
    gap: 0.4rem;
    padding-top: 0.75rem;
  }

  .ld-player-collection__pager-pages {
    min-width: 0;
    justify-content: center;
  }

  .ld-player-collection__pager-btn {
    min-height: 2.5rem;
    padding: 0.35rem 0.45rem;
    font-size: 0.8rem;
  }

  .ld-player-collection__pager-btn[data-ld-page-prev],
  .ld-player-collection__pager-btn[data-ld-page-next] {
    width: 2.75rem;
    min-width: 2.75rem;
    padding: 0;
    font-size: 0;
    line-height: 0;
  }

  .ld-player-collection__pager-btn[data-ld-page-prev]::before {
    content: "←";
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 700;
  }

  .ld-player-collection__pager-btn[data-ld-page-next]::before {
    content: "→";
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 700;
  }

  .ld-player-collection,
  .ld-player-collection__grid {
    --ld-collect-card-w: min(42vw, 168px);
  }

  .ld-player-collection__grid {
    grid-template-columns: repeat(2, minmax(0, var(--ld-collect-card-w))) !important;
    gap: 0.95rem 0.75rem !important;
    justify-content: center !important;
  }

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

  .ld-player-collection__grid .ld-holo-test__wrap,
  .ld-player-collection__grid .ld-holo-test__card {
    width: 100%;
    max-width: 100%;
  }

  .ld-player-collection__unlock-date {
    font-size: 0.68rem;
  }

  .ld-player-collection__unlock-how {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .ld-player-collection,
  .ld-player-collection__grid {
    --ld-collect-card-w: min(44vw, 158px);
  }

  .ld-player-collection__grid {
    grid-template-columns: repeat(2, minmax(0, var(--ld-collect-card-w))) !important;
    gap: 0.85rem 0.65rem !important;
  }

  .ld-player-collection__filters {
    gap: 0.45rem 0.7rem;
  }

  .ld-player-collection__filter {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .ld-player-collection__filter-count {
    font-size: 0.65rem;
  }

  .ld-player-collection__empty {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

.ld-collect-zoom__unlock {
  margin: 0.85rem auto 0;
  max-width: min(78vw, 380px);
  text-align: center;
}

.ld-collect-zoom__unlock-date {
  display: block;
  margin: 0 0 0.25rem;
  font-family: var(--ld-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.ld-collect-zoom__unlock-how {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.ld-collect-zoom__unlock-how.ld-unlock-glitch {
  font-variant-ligatures: none;
}

.ld-player-bio__back {
  display: block;
  margin: 1.35rem 0 0;
  text-align: center;
}

.ld-player-bio__back--split {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
}

.ld-player-bio__back a {
  color: var(--ld-cyan);
  text-decoration: none;
  font-family: var(--ld-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s var(--ld-ease);
}

.ld-player-bio__back a:hover,
.ld-player-bio__back a:focus-visible {
  color: var(--ld-magenta);
  outline: none;
}

.ld-player-bio__label--short {
  display: none;
}

.ld-player-bio__back--split .ld-player-bio__manage {
  margin-left: auto;
  text-align: right;
}

.ld-player-bio__block {
  position: relative;
  padding: 1.6rem 1.75rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #101828 0%, #0a0f1c 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.ld-player-bio__block::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--ld-gradient);
}

.ld-player-bio__block .ld-eyebrow {
  margin-bottom: 0.45rem;
}

.ld-player-bio__block h2 {
  margin: 0 0 0.9rem;
  font-family: var(--ld-font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.ld-player-bio__text {
  color: var(--ld-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.ld-player-bio__text p:first-child {
  margin-top: 0;
}

.ld-player-bio__text p:last-child {
  margin-bottom: 0;
}

.ld-player-bio__block--empty p {
  margin: 0;
  color: var(--ld-muted);
}

@media (max-width: 720px) {
  .ld-player-banner {
    padding: calc(var(--ld-header-h) + 1.15rem) 0 1.75rem;
  }

  .ld-player-banner__actions {
    display: none;
  }

  /* Paramètres flottant seulement s’il n’y a pas de barre tracker */
  .ld-player-banner__actions--has-settings {
    display: flex;
    top: calc(var(--ld-header-h) + 0.65rem);
    right: var(--ld-gutter);
    left: auto;
    max-width: none;
    z-index: 45;
  }

  .ld-player-banner__actions--has-settings > :not(.ld-player-banner__social--settings) {
    display: none !important;
  }

  .ld-player-banner:has(.ld-player-banner__tracker-bar--with-settings) .ld-player-banner__actions--has-settings {
    display: none !important;
  }

  .ld-player-banner__tracker-bar {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    padding: 0 var(--ld-gutter);
  }

  .ld-player-banner__tracker-bar .ld-player-banner__tracker {
    grid-column: 2;
    justify-self: center;
  }

  .ld-player-banner__tracker-bar .ld-player-banner__settings-mobile {
    grid-column: 3;
    justify-self: end;
    display: inline-grid;
  }

  .ld-player-bio__socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
  }

  .ld-player-banner__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1rem;
    padding-top: 0;
  }

  .ld-player-banner__avatar {
    width: 140px;
    height: 140px;
  }

  .ld-avatar-with-frame--banner {
    width: 140px;
    height: 140px;
  }

  .ld-player-banner__aside {
    width: 100%;
    align-items: center;
    gap: 0.5rem;
  }

  .ld-player-banner__content {
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    align-items: center;
  }

  .ld-player-banner__content .ld-player-banner__badges {
    align-self: center;
    justify-content: center;
    margin-bottom: 0.15rem;
  }

  /* Stats : 1 rangée (3 cases) ou grille 2×2 si Coach/Manager */
  .ld-player-banner__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    max-width: 100%;
    width: 100%;
    flex-direction: unset;
    overflow: hidden;
    border-radius: 10px;
  }

  .ld-player-banner__stats:has(.ld-player-banner__stat--staff) {
    grid-template-columns: 1fr 1fr;
  }

  .ld-player-banner__stat--rank,
  .ld-player-banner__stat--age,
  .ld-player-banner__stat--team,
  .ld-player-banner__stat--staff {
    flex: unset;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
    padding: 0.7rem 0.45rem;
    gap: 0.3rem;
  }

  .ld-player-banner__stats > .ld-player-banner__stat:last-child {
    border-right: 0;
  }

  .ld-player-banner__stats:has(.ld-player-banner__stat--staff) .ld-player-banner__stat--rank,
  .ld-player-banner__stats:has(.ld-player-banner__stat--staff) .ld-player-banner__stat--age,
  .ld-player-banner__stats:has(.ld-player-banner__stat--staff) .ld-player-banner__stat--team,
  .ld-player-banner__stats:has(.ld-player-banner__stat--staff) .ld-player-banner__stat--staff {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ld-player-banner__stats:has(.ld-player-banner__stat--staff) > .ld-player-banner__stat:nth-child(2n) {
    border-right: 0;
  }

  .ld-player-banner__stats:has(.ld-player-banner__stat--staff) > .ld-player-banner__stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .ld-player-banner__rank-icon,
  .ld-player-banner__team-logo {
    width: 34px;
    height: 34px;
  }

  .ld-player-banner__rank-name,
  .ld-player-banner__team-name {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: 100%;
  }

  .ld-player-banner__stat--age .ld-player-banner__age-num {
    font-size: 1.55rem;
  }

  .ld-player-banner__stat--age .ld-player-banner__age-unit {
    font-size: 0.75rem;
  }

  .ld-player-banner__label {
    font-size: 0.62rem;
  }

  .ld-player-banner__name {
    font-size: clamp(1.55rem, 7vw, 2rem);
    justify-content: center;
  }

  .ld-player-banner__mark {
    width: min(70%, 280px);
    top: -0.25rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    opacity: 0.1;
  }

  .ld-player-banner__tracker {
    display: inline-flex;
    width: fit-content;
  }

  .ld-player-bio__wrap {
    max-width: 36rem;
    margin-inline: auto;
  }

  .ld-player-bio__socials {
    margin-bottom: 1rem;
  }

  .ld-player-bio__block {
    padding: 1.25rem 1.1rem 1.3rem;
    text-align: center;
  }

  .ld-player-bio__text {
    text-align: center;
  }
}

/* Fiche joueur ? centrage mobile + polish */
@media (max-width: 767px) {
  body.ld-player-page main {
    text-align: center;
  }

  body.ld-player-page .ld-player-banner__inner,
  body.ld-player-page .ld-player-banner__aside,
  body.ld-player-page .ld-player-banner__content,
  body.ld-player-page .ld-player-bio__wrap {
    text-align: center;
    margin-inline: auto;
  }

  body.ld-player-page .ld-player-banner__badges {
    justify-content: center;
  }

  body.ld-player-page .ld-player-bio__back:not(.ld-player-bio__back--split) {
    text-align: center;
  }

  body.ld-player-page .ld-player-bio__back--split {
    display: flex !important;
    flex-direction: column !important;
    text-align: center;
  }

  /* Fiche equipe — centrage mobile */
  body.ld-team-page main {
    text-align: center;
  }

  body.ld-team-page .ld-section__head,
  body.ld-team-page .ld-team-tabs {
    text-align: center;
    margin-inline: auto;
    justify-content: center;
  }

  body.ld-team-page .ld-section__head {
    max-width: 36rem;
  }

  body.ld-team-page .ld-roster--page {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-player-banner__avatar-shine {
    animation: none !important;
  }

  .ld-player-banner__avatar-shine {
    opacity: 0.35;
    transform: none;
  }

  .ld-player-banner__avatar:hover img,
  .ld-player-banner__avatar:focus-within img {
    transform: none;
  }
}

.ld-account__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.ld-account__side {
  text-align: center;
  padding: 1.35rem 1.1rem;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.1), transparent 55%),
    rgba(8, 12, 22, 0.72);
}

.ld-account__side h2 {
  margin: 0 0 0.65rem;
  font-family: var(--ld-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-account__side .ld-member-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
}

.ld-account__side .ld-member-badges + p,
.ld-account__side .ld-member-badges + .ld-account__team {
  margin-top: 0;
}

.ld-account__side > p {
  margin: 0.75rem 0 0;
}

.ld-account__avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.1);
  display: grid;
  place-items: center;
}

.ld-account__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-account__avatar--default {
  background: rgba(8, 12, 22, 0.85);
}

.ld-account__avatar--default img {
  object-fit: contain;
  padding: 8%;
  opacity: 0.48;
  filter: grayscale(1) brightness(1.05);
}

.ld-account__avatar-fallback {
  font-family: var(--ld-font-display);
  font-size: 2.5rem;
  color: var(--ld-cyan);
}

.ld-account__frames-balance {
  margin: 0 0 1rem;
  font-family: var(--ld-font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #77e0ff;
}

.ld-account__frames-heading {
  margin: 1.25rem 0 0.65rem;
  font-family: var(--ld-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.ld-account__frames-unequip {
  margin: 0 0 1.1rem;
}

.ld-account__frames-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.85rem;
}

.ld-account__frame-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.ld-account__frame-card.is-equipped {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.12) inset;
}

.ld-account__frame-card.is-exclusive {
  border-color: rgba(255, 213, 129, 0.35);
}

.ld-account__frame-preview {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

.ld-account__frame-preview-avatar {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a2438, #0b1020);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ld-account__frame-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.ld-account__frame-title {
  font-size: 0.88rem;
  line-height: 1.2;
}

.ld-account__frame-price {
  font-size: 0.78rem;
  color: #ffd581;
  font-weight: 600;
}

.ld-account__frame-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ee9ff;
}

.ld-account__frame-card.is-shop-owned {
  opacity: 0.92;
  border-color: rgba(126, 233, 255, 0.28);
}

.ld-btn--sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
}

/* Avatar crop modal */
body.ld-avatar-crop-open {
  overflow: hidden;
}

.ld-avatar-crop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.ld-avatar-crop[hidden] {
  display: none !important;
}

.ld-avatar-crop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 12, 0.78);
  backdrop-filter: blur(6px);
}

.ld-avatar-crop__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: linear-gradient(180deg, #0e1424 0%, #090d18 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.ld-avatar-crop__head {
  margin-bottom: 1rem;
}

.ld-avatar-crop__eyebrow {
  margin: 0 0 0.25rem;
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ld-cyan);
}

.ld-avatar-crop__head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.ld-avatar-crop__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ld-muted);
}

.ld-avatar-crop__stage {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(#0a0e1a, #0a0e1a) padding-box,
    linear-gradient(145deg, rgba(0, 212, 255, 0.75), rgba(255, 255, 255, 0.2), rgba(255, 45, 149, 0.75)) border-box;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.ld-avatar-crop__stage.is-dragging {
  cursor: grabbing;
}

.ld-avatar-crop__img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform-origin: center center;
  pointer-events: none;
  will-change: transform;
}

.ld-avatar-crop__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 33.333% 33.333%;
  mix-blend-mode: soft-light;
}

.ld-avatar-crop__zoom {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ld-muted);
}

.ld-avatar-crop__zoom input[type="range"] {
  width: 100%;
  accent-color: var(--ld-cyan);
}

.ld-avatar-crop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

@media (max-width: 479px) {
  .ld-avatar-crop__stage {
    width: min(280px, 78vw);
    height: min(280px, 78vw);
  }

  .ld-avatar-crop__actions {
    justify-content: stretch;
  }

  .ld-avatar-crop__actions .ld-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.ld-account__team {
  margin: 0.75rem 0;
  font-size: 0.95rem;
}

.ld-account__note {
  font-size: 0.88rem;
  color: var(--ld-muted);
}

.ld-account__main {
  padding: 1.5rem 1.5rem 1.65rem;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  background: rgba(8, 12, 22, 0.55);
}

.ld-account__form {
  display: grid;
  gap: 1.1rem;
}

.ld-account__form textarea,
.ld-account__form input[type="text"],
.ld-account__form input[type="url"],
.ld-account__form input[type="password"],
.ld-account__form input[type="file"],
.ld-account__form input[type="date"] {
  width: 100%;
}

.ld-account__main--solo {
  max-width: 36rem;
  margin-inline: auto;
}

.ld-account__form .ld-icon-select__trigger {
  width: 100%;
}

.ld-account__bio-count {
  margin: 0.35rem 0 0;
  text-align: right;
  font-size: 0.82rem;
  color: var(--ld-muted);
  font-variant-numeric: tabular-nums;
}

.ld-account__logout {
  color: var(--ld-cyan);
  text-decoration: none;
  font-size: 0.9rem;
}

.ld-account__logout:hover {
  text-decoration: underline;
}

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

@media (max-width: 767px) {
  body.ld-account-page main {
    text-align: center;
  }

  body.ld-account-page .ld-section__head,
  body.ld-account-page .ld-section__head p,
  body.ld-account-page .ld-login__alert {
    text-align: center;
    margin-inline: auto;
    max-width: 36rem;
  }

  body.ld-account-page .ld-account__layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.5rem;
  }

  body.ld-account-page .ld-account__side,
  body.ld-account-page .ld-account__main {
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
  }

  body.ld-account-page .ld-account__side {
    text-align: center;
  }

  body.ld-account-page .ld-member-badges {
    justify-content: center;
  }

  body.ld-account-page .ld-account__form {
    text-align: left;
  }

  body.ld-account-page .ld-account__form .ld-btn {
    width: 100%;
  }

  body.ld-account-page .ld-register__grid {
    grid-template-columns: 1fr;
  }

  body.ld-account-page .ld-account__bio-count {
    text-align: center;
  }
}

/* 404 */
.ld-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--ld-header-h) + 2rem) 1rem 3rem;
  background:
    radial-gradient(ellipse 55% 40% at 50% 35%, rgba(0, 212, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 45% 35% at 50% 70%, rgba(255, 45, 149, 0.08), transparent 55%);
}

.ld-404__inner {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  max-width: 42rem;
}

.ld-404__inner .ld-eyebrow {
  margin-bottom: 0.15rem;
}

.ld-404__holo {
  --ld-404-size: min(340px, 72vw);
  position: relative;
  width: var(--ld-404-size);
  max-width: 100%;
  isolation: isolate;
  margin: 0.15rem 0 0.35rem;
  animation: ld-float 7s ease-in-out infinite;
}

/* Reflet holo uniquement sur la forme de l'image (masque alpha). */
.ld-404__holo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 212, 255, 0.35) 46%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 45, 149, 0.4) 54%,
    transparent 60%,
    transparent 100%
  );
  background-size: 250% 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: ld-holo-sweep 4.5s ease-in-out infinite;
  -webkit-mask-image: var(--ld-404-mask);
  mask-image: var(--ld-404-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;
}

.ld-404__media {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(0, 212, 255, 0.25))
    drop-shadow(0 0 28px rgba(255, 45, 149, 0.18));
  animation: ld-holo-glow 5.5s ease-in-out infinite;
}

.ld-404__inner h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.ld-404__inner p {
  margin: 0 0 0.5rem;
  color: var(--ld-muted);
  max-width: 28rem;
}

.ld-404__mission {
  margin: 0.15rem 0 0.35rem;
  color: var(--ld-accent, #7dffb0);
  font-weight: 600;
}

.ld-404__inner .ld-btn {
  margin-top: 0.35rem;
}

@media (max-width: 767px) {
  body.ld-404-page main {
    text-align: center;
  }

  .ld-404 {
    min-height: 65vh;
    padding: calc(var(--ld-header-h) + 1.25rem) var(--ld-gutter) 2.25rem;
  }

  .ld-404__holo {
    --ld-404-size: min(220px, 56vw);
  }

  .ld-404__inner {
    gap: 0.7rem;
    max-width: 22rem;
  }

  .ld-404__inner h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .ld-404__inner p {
    font-size: 0.95rem;
  }

  .ld-404__inner .ld-btn {
    width: min(100%, 16rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-404__holo,
  .ld-404__holo::after,
  .ld-404__media {
    animation: none;
  }
}

/* ==========================================================================
   Responsive ? tablette + mobile L / M / S
   Breakpoints :
   - Laptop etroit : ?1100
   - Tablette      : ?1023
   - Mobile L      : ?767
   - Mobile M      : ?479
   - Mobile S      : ?359
   ========================================================================== */

/* Laptop etroit : hero un cran plus compact */
@media (max-width: 1100px) and (min-width: 1024px) {
  .ld-hero {
    --ld-hero-max: 980px;
    --ld-hero-gap: 2rem;
    --ld-hero-logo: 340px;
    --ld-hero-copy: 32rem;
    --ld-hero-title: 2.55rem;
    --ld-hero-lead: 1.06rem;
  }

  .ld-teams,
  .ld-news {
    grid-template-columns: repeat(2, 1fr);
  }

  .ld-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .ld-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ?? Tablette (iPad portrait / landscape etroit) ?? */
@media (max-width: 1023px) {
  :root {
    --ld-gutter: 1.15rem;
    --ld-header-h: 68px;
  }

  .ld-section {
    padding: 4rem 0;
  }

  .ld-burger {
    display: block;
    flex-shrink: 0;
  }

  .ld-header.is-nav-open {
    background: rgba(5, 7, 15, 0.96);
  }

  .ld-nav-veil {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 4, 10, 0.62);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ld-ease);
  }

  .ld-nav-veil.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .ld-nav {
    position: fixed;
    inset: var(--ld-header-h) 0 0;
    max-height: none;
    height: calc(100dvh - var(--ld-header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.35rem;
    padding: 1.35rem var(--ld-gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(ellipse at 12% 0%, rgba(0, 212, 255, 0.14), transparent 42%),
      radial-gradient(ellipse at 90% 18%, rgba(255, 45, 149, 0.12), transparent 40%),
      rgba(5, 7, 15, 0.98);
    border-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform 0.35s var(--ld-ease),
      opacity 0.3s var(--ld-ease),
      visibility 0.3s;
    z-index: 99;
  }

  .ld-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .ld-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 0.35rem;
    align-items: center;
    flex: 1 1 auto;
    text-align: center;
  }

  .ld-nav > ul > li {
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s var(--ld-ease), transform 0.35s var(--ld-ease);
  }

  .ld-nav.is-open > ul > li {
    opacity: 1;
    transform: none;
  }

  .ld-nav.is-open > ul > li:nth-child(1) { transition-delay: 0.04s; }
  .ld-nav.is-open > ul > li:nth-child(2) { transition-delay: 0.08s; }
  .ld-nav.is-open > ul > li:nth-child(3) { transition-delay: 0.12s; }
  .ld-nav.is-open > ul > li:nth-child(4) { transition-delay: 0.16s; }
  .ld-nav.is-open > ul > li:nth-child(5) { transition-delay: 0.2s; }
  .ld-nav.is-open > ul > li:nth-child(6) { transition-delay: 0.24s; }
  .ld-nav.is-open > ul > li:nth-child(7) { transition-delay: 0.28s; }
  .ld-nav.is-open > ul > li:nth-child(8) { transition-delay: 0.32s; }
  .ld-nav.is-open > ul > li:nth-child(n + 9) { transition-delay: 0.36s; }

  .ld-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 0.9rem;
    font-family: var(--ld-font-display);
    font-size: 1.2rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 8px;
    border: 1px solid transparent;
    color: var(--ld-text);
    text-align: center;
  }

  .ld-nav > ul > li > a:hover,
  .ld-nav > ul > li.current-menu-item > a,
  .ld-nav > ul > li.current-menu-ancestor > a {
    color: var(--ld-text);
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.22);
  }

  .ld-nav > ul > li > a::before,
  .ld-nav > ul > li > a::after {
    display: none;
  }

  .ld-nav > ul > li.menu-item-has-children {
    display: block;
  }

  .ld-nav__sub-toggle {
    display: none !important;
  }

  .ld-nav .sub-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    /* Ne pas forcer pointer-events:auto ici : avec le menu ferme,
       ca laisse des liens invisibles (ex. Nos equipes) cliquables au-dessus du contenu. */
    pointer-events: none;
    display: grid !important;
    gap: 0.1rem;
    justify-items: center;
    min-width: 0;
    width: 100%;
    margin: 0.15rem 0 0.45rem;
    padding: 0.35rem 0.5rem;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
  }

  .ld-nav.is-open .sub-menu {
    pointer-events: auto;
  }

  .ld-nav:not(.is-open) a {
    pointer-events: none;
  }

  .ld-nav .sub-menu::before {
    display: none;
  }

  .ld-nav .sub-menu a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 0.65rem 0.85rem;
    white-space: normal;
    color: var(--ld-muted);
    font-size: 1rem;
    font-family: var(--ld-font-body);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 6px;
    text-align: center;
  }

  .ld-nav .sub-menu a:hover,
  .ld-nav .sub-menu .current-menu-item > a {
    color: var(--ld-text);
    background: rgba(255, 255, 255, 0.04);
  }

  .ld-nav > ul > li.menu-item-ld-member-start {
    margin-top: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ld-nav > ul > li.menu-item-ld-login > a {
    justify-content: center;
    text-align: center;
    width: min(100%, 280px);
    margin: 0.35rem auto 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(10, 14, 26, 0.75);
    color: var(--ld-text);
    font-size: 1.05rem;
  }

  .ld-nav > ul > li.menu-item-ld-login > a:hover,
  .ld-nav > ul > li.menu-item-ld-login.current-menu-item > a {
    border-color: rgba(0, 212, 255, 0.55);
    background: rgba(0, 212, 255, 0.1);
    color: var(--ld-text);
  }

  .ld-nav > ul > li.menu-item-ld-cta > a {
    justify-content: center;
    text-align: center;
    width: min(100%, 280px);
    margin: 0.35rem auto 0;
    padding: 0.85rem 1rem;
    background: var(--ld-gradient);
    color: #05070f;
    border: 0;
    font-size: 1.05rem;
  }

  .ld-nav > ul > li.menu-item-ld-cta > a:hover {
    color: #05070f;
    filter: brightness(1.06);
    background: var(--ld-gradient);
    border-color: transparent;
  }

  .ld-nav__social {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(8px);
  }

  .ld-nav.is-open .ld-nav__social {
    opacity: 1;
    transform: none;
    transition: opacity 0.35s var(--ld-ease) 0.28s, transform 0.35s var(--ld-ease) 0.28s;
  }

  .ld-nav__social a,
  .ld-social-icon {
    width: 44px;
    height: 44px;
  }

  @media (prefers-reduced-motion: reduce) {
    .ld-nav,
    .ld-nav > ul > li,
    .ld-nav__social,
    .ld-burger span {
      transition: none;
    }

    .ld-nav.is-open > ul > li {
      transition-delay: 0s;
    }
  }

  .ld-hero {
    --ld-hero-max: 100%;
    --ld-hero-gap: 2rem;
    --ld-hero-logo: 280px;
    --ld-hero-copy: 100%;
    --ld-hero-title: 2.35rem;
    --ld-hero-lead: 1.05rem;
    --ld-hero-brand: 1rem;
    min-height: auto;
    padding: calc(var(--ld-header-h) + 2rem) 0 3rem;
  }

  .ld-hero__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .ld-hero__logo-wrap {
    flex: 0 0 auto;
    align-self: center;
    order: -1;
  }

  .ld-hero__content {
    flex: 1 1 auto;
    text-align: left;
  }

  .ld-hero h1 {
    max-width: none;
  }

  .ld-section--stats .ld-section__head {
    text-align: center;
    margin-inline: auto;
  }

  .ld-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    padding: 1.75rem 0;
    text-align: center;
    justify-items: center;
  }

  .ld-dual {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ld-dual__item {
    min-height: 280px;
    padding: 2rem 1.5rem;
  }

  .ld-teams,
  .ld-news,
  .ld-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .ld-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .ld-paths {
    grid-template-columns: repeat(2, 1fr);
  }

  .ld-footer {
    text-align: center;
  }

  .ld-footer__slogan,
  .ld-footer__sub {
    text-align: center;
    margin-inline: auto;
  }

  .ld-footer__sub {
    max-width: 26rem;
  }

  .ld-footer__grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 2rem 1.5rem;
    text-align: center;
  }

  .ld-footer__brand {
    grid-column: 1 / -1;
    max-width: 22rem;
    margin-inline: auto;
    width: 100%;
  }

  .ld-footer__col {
    width: 100%;
    max-width: 16rem;
  }

  .ld-footer__col ul,
  .ld-footer__col .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ld-footer__bottom {
    justify-content: center;
    text-align: center;
  }

  .ld-page-hero {
    padding: calc(var(--ld-header-h) + 2.5rem) 0 2.25rem;
  }

  .ld-page-hero p {
    font-size: 1.02rem;
  }

  .ld-rrc {
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 1.75rem;
  }

  .ld-cta {
    padding: 3.25rem 0;
  }

  .ld-disclaimer {
    padding: 1.1rem 1.15rem;
  }

  .ld-split,
  .ld-split--founder {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ld-split--founder .ld-content-block {
    margin-left: 0;
    text-align: left;
    max-width: none;
  }

  .ld-founder-media:not(.ld-founder-media--wide) {
    max-width: 320px;
    margin-inline: auto;
  }
}

/* ?? Mobile L (grands telephones) ?? */
@media (max-width: 767px) {
  :root {
    --ld-gutter: 1rem;
  }

  body.ld-theme {
    font-size: 1rem;
  }

  .ld-section {
    padding: 3.25rem 0;
  }

  .ld-section__head {
    margin-bottom: 1.75rem;
  }

  .ld-hero {
    --ld-hero-logo: 220px;
    --ld-hero-title: 2rem;
    --ld-hero-lead: 1rem;
    --ld-hero-brand: 0.92rem;
    --ld-hero-gap: 1.5rem;
    --ld-hero-btn: 0.95rem;
    padding: calc(var(--ld-header-h) + 1.5rem) 0 2.5rem;
  }

  .ld-hero .ld-btn-row {
    margin-top: 1.35rem;
  }

  .ld-brand img {
    width: 50px;
    height: 50px;
  }

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

  .ld-teams,
  .ld-news,
  .ld-paths,
  .ld-values {
    grid-template-columns: 1fr;
  }

  .ld-roster:not(.ld-roster--page) {
    grid-template-columns: 1fr;
  }

  .ld-path--col-2,
  .ld-path--col-start,
  .ld-path--col-end {
    grid-column: auto;
  }

  .ld-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .ld-dual__item {
    min-height: 240px;
    padding: 1.75rem 1.25rem;
  }

  .ld-dual p {
    max-width: none;
  }

  .ld-path {
    padding: 1.35rem;
  }

  .ld-btn-row {
    gap: 0.7rem;
  }

  .ld-cta .ld-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ld-form {
    max-width: none;
  }

  .ld-form input,
  .ld-form select,
  .ld-form textarea {
    font-size: 16px; /* evite le zoom iOS */
  }

  .ld-rrc {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 1.5rem;
  }

  .ld-rrc__logo {
    width: min(180px, 50vw);
  }

  .ld-rrc__content .ld-btn-row,
  .ld-rrc__content .ld-btn {
    margin-inline: auto;
  }

  .ld-footer {
    padding: 3.25rem 0 2rem;
  }

  .ld-footer__slogan {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    margin-bottom: 0.65rem;
  }

  .ld-footer__sub {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    line-height: 1.55;
    max-width: 18rem;
    margin-bottom: 2rem;
  }

  .ld-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1rem;
    padding-top: 1.75rem;
    width: 100%;
  }

  .ld-footer__brand {
    grid-column: 1 / -1;
    max-width: 18rem;
    gap: 1rem;
  }

  .ld-footer__brand-media {
    max-width: 200px;
  }

  .ld-footer__brand-media img {
    max-height: 140px;
  }

  .ld-footer__brand-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .ld-footer__social {
    gap: 0.55rem;
  }

  .ld-footer__social .ld-social-icon {
    width: 44px;
    height: 44px;
  }

  .ld-footer__social .ld-social-icon svg {
    width: 20px;
    height: 20px;
  }

  .ld-footer__col {
    max-width: none;
  }

  .ld-footer__col h4,
  .ld-footer h4 {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.85rem;
  }

  .ld-footer__col ul,
  .ld-footer__col .menu {
    gap: 0.15rem;
  }

  .ld-footer__col li,
  .ld-footer li {
    margin-bottom: 0.35rem;
  }

  .ld-footer__col a,
  .ld-footer a {
    font-size: 0.92rem;
    display: inline-block;
    padding: 0.2rem 0.15rem;
  }

  .ld-footer__bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .ld-footer__bottom span {
    max-width: 18rem;
  }

  .ld-partner {
    width: calc(50% - 0.5rem);
    min-width: 140px;
    flex: 1 1 140px;
  }

  .ld-quote {
    padding: 1.5rem 0;
  }

  .ld-team__body {
    padding: 1.1rem 1.15rem 1.35rem;
  }
}

/* ?? Mobile M ?? */
@media (max-width: 479px) {
  :root {
    --ld-gutter: 0.9rem;
    --ld-header-h: 64px;
  }

  .ld-hero {
    --ld-hero-logo: 180px;
    --ld-hero-title: 1.75rem;
    --ld-hero-lead: 0.98rem;
    --ld-hero-brand: 0.82rem;
  }

  .ld-hero__brand {
    letter-spacing: 0.14em;
  }

  .ld-section--stats .ld-section__head {
    text-align: center;
    margin-inline: auto;
    max-width: 22rem;
  }

  .ld-section--stats .ld-section__head p {
    margin-inline: auto;
  }

  .ld-stats {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 1.35rem;
  }

  .ld-section--stats .ld-stat {
    width: 100%;
    max-width: 18rem;
  }

  .ld-section--stats .ld-stat__value {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
    text-shadow: 0 0 28px rgba(0, 212, 255, 0.25);
  }

  /* Mobile : pas d’apparition au scroll (effet « bug » / flash). PC inchangé. */
  .ld-reveal,
  .ld-reveal--left,
  .ld-reveal--right,
  .ld-reveal--scale,
  .ld-reveal--soft,
  .ld-section--stats .ld-stat.ld-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .ld-reveal.is-visible.ld-reveal--scale,
  .ld-dual__item.ld-reveal.is-visible,
  .ld-quote.ld-reveal.is-visible,
  .ld-news article.ld-reveal.is-visible,
  .ld-cta .ld-reveal.is-visible {
    animation: none !important;
  }

  .ld-gallery {
    grid-template-columns: 1fr;
  }

  .ld-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ld-btn {
    width: 100%;
  }

  .ld-brand {
    gap: 0.1rem;
    min-width: 0;
    align-items: center;
  }

  .ld-brand__name {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transform: translate(-0.25em, 0.16em);
  }

  .ld-page-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .ld-page-hero p {
    font-size: 0.98rem;
  }

  .ld-roster:not(.ld-roster--page) .ld-roster__item {
    grid-template-columns: 1.35rem minmax(0, 1fr) auto;
    font-size: 0.88rem;
    padding: 0.4rem 0.5rem;
  }

  .ld-nav__social a,
  .ld-social-icon {
    width: 40px;
    height: 40px;
  }

  /* Accueil + Qui sommes-nous + Mission + Soutenir + Esport + Equipes + Rejoindre + Membres + Académie : tout centre sur mobile */
  body.ld-home main,
  body.ld-about main,
  body.ld-mission main,
  body.ld-support main,
  body.ld-esport main,
  body.ld-equipes main,
  body.ld-join main,
  body.ld-members-page main,
  body.ld-partners-page main,
  body.ld-academie main {
    text-align: center;
  }

  body.ld-home .ld-hero__content,
  body.ld-home .ld-section__head,
  body.ld-home .ld-content-block,
  body.ld-home .ld-news article,
  body.ld-home .ld-quote,
  body.ld-home .ld-dual__item,
  body.ld-home .ld-team,
  body.ld-home .ld-cta,
  body.ld-about .ld-page-hero,
  body.ld-about .ld-section__head,
  body.ld-about .ld-content-block,
  body.ld-about .ld-founder-copy,
  body.ld-about .ld-value,
  body.ld-about .ld-path,
  body.ld-about .ld-quote,
  body.ld-mission .ld-page-hero,
  body.ld-mission .ld-section__head,
  body.ld-mission .ld-content-block,
  body.ld-mission .ld-path,
  body.ld-mission .ld-quote,
  body.ld-mission .ld-disclaimer,
  body.ld-mission .ld-cta,
  body.ld-support .ld-page-hero,
  body.ld-support .ld-section__head,
  body.ld-support .ld-content-block,
  body.ld-support .ld-path,
  body.ld-support .ld-list,
  body.ld-support .ld-disclaimer,
  body.ld-esport .ld-page-hero,
  body.ld-esport .ld-section__head,
  body.ld-esport .ld-content-block,
  body.ld-esport .ld-path,
  body.ld-esport .ld-list,
  body.ld-esport .ld-rrc,
  body.ld-esport .ld-rrc__content,
  body.ld-esport .ld-team,
  body.ld-rocket-league .ld-page-hero,
  body.ld-rocket-league .ld-section__head,
  body.ld-rocket-league .ld-content-block,
  body.ld-rocket-league .ld-rrc,
  body.ld-rocket-league .ld-rrc__content,
  body.ld-rocket-league .ld-path,
  body.ld-rocket-league .ld-list,
  body.ld-academie .ld-page-hero,
  body.ld-academie .ld-section__head,
  body.ld-academie .ld-content-block,
  body.ld-academie .ld-rrc,
  body.ld-academie .ld-rrc__content,
  body.ld-academie .ld-path,
  body.ld-academie .ld-quote,
  body.ld-academie .ld-disclaimer,
  body.ld-equipes .ld-page-hero,
  body.ld-equipes .ld-section__head,
  body.ld-equipes .ld-team,
  body.ld-join .ld-page-hero,
  body.ld-join .ld-content-block,
  body.ld-join .ld-path,
  body.ld-join .ld-disclaimer,
  body.ld-members-page .ld-page-hero,
  body.ld-partners-page .ld-page-hero {
    text-align: center;
    margin-inline: auto;
  }

  body.ld-members-page .ld-members,
  body.ld-partners-page .ld-partners-list {
    margin-inline: auto;
  }

  body.ld-members-page .ld-members-filters-shell,
  body.ld-members-page .ld-members-filters {
    text-align: left;
    margin-inline: auto;
  }

  body.ld-members-page .ld-members-toolbar {
    max-width: 36rem;
    margin-inline: auto;
  }

  body.ld-home .ld-section__head,
  body.ld-home .ld-content-block,
  body.ld-about .ld-section__head,
  body.ld-about .ld-content-block,
  body.ld-about .ld-founder-copy,
  body.ld-about .ld-page-hero .ld-container,
  body.ld-mission .ld-section__head,
  body.ld-mission .ld-content-block,
  body.ld-mission .ld-page-hero .ld-container,
  body.ld-support .ld-section__head,
  body.ld-support .ld-content-block,
  body.ld-support .ld-page-hero .ld-container,
  body.ld-esport .ld-section__head,
  body.ld-esport .ld-content-block,
  body.ld-esport .ld-page-hero .ld-container,
  body.ld-rocket-league .ld-section__head,
  body.ld-rocket-league .ld-content-block,
  body.ld-rocket-league .ld-page-hero .ld-container,
  body.ld-academie .ld-section__head,
  body.ld-academie .ld-content-block,
  body.ld-academie .ld-page-hero .ld-container,
  body.ld-equipes .ld-section__head,
  body.ld-equipes .ld-page-hero .ld-container,
  body.ld-join .ld-section__head,
  body.ld-join .ld-content-block,
  body.ld-join .ld-page-hero .ld-container,
  body.ld-members-page .ld-page-hero .ld-container,
  body.ld-members-page .ld-members-filters-shell,
  body.ld-members-page .ld-members-filters,
  body.ld-partners-page .ld-page-hero .ld-container {
    max-width: 36rem;
    margin-inline: auto;
  }

  body.ld-home .ld-section__head p,
  body.ld-home .ld-content-block p,
  body.ld-home .ld-news article p,
  body.ld-home .ld-cta p,
  body.ld-home .ld-hero__content p,
  body.ld-about .ld-section__head p,
  body.ld-about .ld-content-block p,
  body.ld-about .ld-founder-copy p,
  body.ld-about .ld-page-hero p,
  body.ld-about .ld-value p,
  body.ld-mission .ld-section__head p,
  body.ld-mission .ld-content-block p,
  body.ld-mission .ld-page-hero p,
  body.ld-mission .ld-path p,
  body.ld-mission .ld-cta p,
  body.ld-support .ld-section__head p,
  body.ld-support .ld-content-block p,
  body.ld-support .ld-page-hero p,
  body.ld-support .ld-path p,
  body.ld-esport .ld-section__head p,
  body.ld-esport .ld-content-block p,
  body.ld-esport .ld-page-hero p,
  body.ld-esport .ld-path p,
  body.ld-esport .ld-rrc__content p,
  body.ld-rocket-league .ld-section__head p,
  body.ld-rocket-league .ld-content-block p,
  body.ld-rocket-league .ld-page-hero p,
  body.ld-rocket-league .ld-path p,
  body.ld-rocket-league .ld-rrc__content p,
  body.ld-academie .ld-section__head p,
  body.ld-academie .ld-content-block p,
  body.ld-academie .ld-page-hero p,
  body.ld-academie .ld-path p,
  body.ld-academie .ld-rrc__content p,
  body.ld-equipes .ld-section__head p,
  body.ld-equipes .ld-page-hero p,
  body.ld-join .ld-section__head p,
  body.ld-join .ld-content-block p,
  body.ld-join .ld-page-hero p,
  body.ld-join .ld-path p,
  body.ld-members-page .ld-page-hero p,
  body.ld-partners-page .ld-page-hero p {
    margin-inline: auto;
    text-align: center;
  }

  body.ld-partners-page .ld-btn-row {
    justify-content: center;
    align-items: center;
  }

  body.ld-home .ld-btn-row,
  body.ld-about .ld-btn-row,
  body.ld-mission .ld-btn-row,
  body.ld-support .ld-btn-row,
  body.ld-esport .ld-btn-row,
  body.ld-rocket-league .ld-btn-row,
  body.ld-academie .ld-btn-row,
  body.ld-equipes .ld-btn-row,
  body.ld-join .ld-btn-row,
  body.ld-home .ld-hero .ld-btn-row {
    justify-content: center;
    align-items: center;
  }

  body.ld-join .ld-btn-row {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  body.ld-join .ld-btn-row .ld-btn {
    width: min(100%, 18rem);
  }

  body.ld-members-page .ld-members-filters__actions {
    justify-content: center;
  }

  body.ld-members-page .ld-members-filters__actions .ld-btn {
    flex: 1 1 auto;
  }

  body.ld-members-page .navigation.pagination,
  body.ld-members-page .nav-links {
    justify-content: center;
    text-align: center;
  }

  body.ld-home .ld-teams,
  body.ld-home .ld-gallery,
  body.ld-home .ld-news,
  body.ld-home .ld-quotes,
  body.ld-home .ld-values,
  body.ld-about .ld-values,
  body.ld-about .ld-paths,
  body.ld-mission .ld-paths,
  body.ld-support .ld-paths,
  body.ld-esport .ld-paths,
  body.ld-esport .ld-teams,
  body.ld-equipes .ld-teams,
  body.ld-join .ld-paths {
    justify-items: center;
  }

  body.ld-members-page .ld-members {
    justify-items: stretch;
  }

  body.ld-home .ld-team,
  body.ld-home .ld-news article,
  body.ld-about .ld-value,
  body.ld-about .ld-path,
  body.ld-mission .ld-path,
  body.ld-support .ld-path,
  body.ld-esport .ld-path,
  body.ld-esport .ld-team,
  body.ld-equipes .ld-team,
  body.ld-join .ld-path {
    width: 100%;
  }

  body.ld-support .ld-list,
  body.ld-esport .ld-list {
    display: inline-block;
    text-align: left;
    margin-inline: auto;
  }

  body.ld-esport .ld-team__body,
  body.ld-esport .ld-team__meta,
  body.ld-esport .ld-team__comps,
  body.ld-esport .ld-rrc__content .ld-btn-row,
  body.ld-equipes .ld-team__body,
  body.ld-equipes .ld-team__meta,
  body.ld-equipes .ld-team__comps {
    text-align: center;
    justify-content: center;
  }

  body.ld-esport .ld-roster:not(.ld-roster--page),
  body.ld-equipes .ld-roster:not(.ld-roster--page) {
    text-align: left;
  }

  body.ld-home .ld-team__body,
  body.ld-home .ld-team__meta,
  body.ld-home .ld-team__comps {
    text-align: center;
    justify-content: center;
  }

  body.ld-home .ld-team__meta {
    flex-wrap: wrap;
  }

  body.ld-home .ld-roster:not(.ld-roster--page) {
    text-align: left;
  }

  body.ld-about .ld-split--founder .ld-content-block,
  body.ld-about .ld-founder-copy {
    text-align: center;
  }

  body.ld-about .ld-split--founder .ld-content-block p,
  body.ld-about .ld-founder-copy p {
    text-align: center;
  }
}

/* ?? Mobile S (petits ecrans) ?? */
@media (max-width: 359px) {
  :root {
    --ld-gutter: 0.75rem;
  }

  .ld-hero {
    --ld-hero-logo: 150px;
    --ld-hero-title: 1.55rem;
    --ld-hero-lead: 0.94rem;
  }

  .ld-btn {
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }

  .ld-stat__value {
    font-size: 2rem;
  }

  .ld-dual__item {
    padding: 1.35rem 1rem;
  }

  .ld-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }
}

/* Touch : moins de hover ?lift? agressif */
@media (hover: none) {
  .ld-btn:hover,
  .ld-team:hover,
  .ld-rrc__logo:hover {
    transform: none;
  }

  .ld-team:hover .ld-team__logo-holo {
    transform: none;
  }
}

/* ==========================================================================
   Mode maintenance
   ========================================================================== */

.ld-coming-soon-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--ld-bg);
}

.ld-coming-soon-body .ld-header,
.ld-coming-soon-body .ld-footer,
.ld-coming-soon-body .ld-main,
.ld-coming-soon-body #wpadminbar {
  display: none !important;
}

.ld-coming-soon-body.admin-bar {
  margin-top: 0 !important;
}

html.ld-coming-soon-html {
  margin-top: 0 !important;
}

.ld-soon {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.ld-soon__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: ld-soon-pulse 8s ease-in-out infinite;
}

.ld-soon__orb--cyan {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: -8%;
  left: -6%;
  background: rgba(0, 212, 255, 0.28);
}

.ld-soon__orb--magenta {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  bottom: -10%;
  right: -8%;
  background: rgba(255, 45, 149, 0.24);
  animation-delay: -4s;
}

.ld-soon__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.ld-soon__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 212, 255, 0.05) 48%,
    rgba(255, 45, 149, 0.06) 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: ld-soon-scan 7s linear infinite;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.ld-soon__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  width: 100%;
}

.ld-soon__logo-wrap {
  position: relative;
  width: clamp(150px, 34vw, 240px);
  height: clamp(150px, 34vw, 240px);
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  animation: ld-soon-in 0.9s var(--ld-ease) both;
}

/* Halo n?on sans cercle / bulle */
.ld-soon__logo-aura {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(0, 212, 255, 0.45), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(255, 45, 149, 0.4), transparent 55%);
  filter: blur(18px);
  animation: ld-soon-glow 3.5s ease-in-out infinite;
  pointer-events: none;
}

.ld-soon__logo {
  position: relative;
  z-index: 1;
  width: 88%;
  height: auto;
  filter:
    drop-shadow(0 0 12px rgba(0, 212, 255, 0.55))
    drop-shadow(0 0 28px rgba(255, 45, 149, 0.35));
  animation: ld-soon-float 5.5s ease-in-out infinite;
}

.ld-soon__brand {
  font-family: var(--ld-font-display);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--ld-text);
  animation: ld-soon-in 0.9s var(--ld-ease) 0.1s both;
}

.ld-soon__brand .c { color: var(--ld-cyan); }
.ld-soon__brand .m { color: var(--ld-magenta); }

.ld-soon__eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-family: var(--ld-font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ld-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ld-soon-in 0.9s var(--ld-ease) 0.18s both;
}

.ld-soon__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.05;
  animation: ld-soon-in 0.9s var(--ld-ease) 0.26s both;
}

.ld-soon__quote {
  margin: 0 auto 1rem;
  max-width: 28rem;
  font-family: var(--ld-font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ld-text);
  line-height: 1.35;
  animation: ld-soon-in 0.9s var(--ld-ease) 0.34s both;
}

.ld-soon__text {
  margin: 0 auto 1.75rem;
  max-width: 30rem;
  color: var(--ld-muted);
  font-size: 1.02rem;
  animation: ld-soon-in 0.9s var(--ld-ease) 0.42s both;
}

.ld-soon__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  animation: ld-soon-in 0.9s var(--ld-ease) 0.5s both;
}

.ld-soon__social .ld-social-icon {
  width: 42px;
  height: 42px;
}

.ld-soon__social .ld-social-icon svg {
  width: 18px;
  height: 18px;
}

.ld-soon__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  animation: ld-soon-in 0.9s var(--ld-ease) 0.58s both;
}

.ld-soon__footer {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--ld-muted);
  letter-spacing: 0.02em;
  animation: ld-soon-in 0.9s var(--ld-ease) 0.7s both;
}

@keyframes ld-soon-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.03); }
}

@keyframes ld-soon-spin {
  to { transform: rotate(360deg); }
}

@keyframes ld-soon-glow {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes ld-soon-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

@keyframes ld-soon-scan {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}

@keyframes ld-soon-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .ld-soon {
    padding: 2rem 1.15rem 1.5rem;
    justify-content: flex-start;
    padding-top: max(10vh, 3.5rem);
    text-align: center;
  }

  .ld-soon__inner {
    max-width: 22rem;
    margin-inline: auto;
  }

  .ld-soon__logo-wrap {
    width: clamp(120px, 34vw, 170px);
    height: clamp(120px, 34vw, 170px);
    margin-bottom: 1.1rem;
  }

  .ld-soon__brand {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }

  .ld-soon__title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .ld-soon__quote,
  .ld-soon__text {
    font-size: 0.95rem;
    max-width: 20rem;
    margin-inline: auto;
  }

  .ld-soon__social {
    justify-content: center;
  }

  .ld-soon__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 18rem;
    margin-inline: auto;
  }

  .ld-soon__actions .ld-btn {
    width: 100%;
  }

  .ld-soon__footer {
    margin-top: auto;
    padding-top: 2.5rem;
    font-size: 0.78rem;
    max-width: 22rem;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-hero__orb,
  .ld-hero__beams,
  .ld-hero__logo-wrap,
  .ld-hero__logo,
  .ld-hero__logo-wrap::before,
  .ld-hero__logo-wrap::after,
  .ld-team__logo,
  .ld-team__logo-holo::before,
  .ld-team__logo-holo::after,
  .ld-team__media::after,
  .ld-rrc__logo img,
  .ld-rrc__logo::before,
  .ld-rrc__logo::after,
  .ld-roster--page .ld-roster__item,
  .ld-roster--page .ld-roster__item::before {
    animation: none !important;
  }

  .ld-team:hover .ld-team__logo-holo,
  .ld-rrc__logo:hover {
    transform: none;
  }

  .ld-team__media::after {
    opacity: 0.35;
    transform: none;
  }

  .ld-soon__logo-wrap,
  .ld-soon__logo,
  .ld-soon__logo-aura,
  .ld-soon__orb,
  .ld-soon__scan,
  .ld-soon__brand,
  .ld-soon__eyebrow,
  .ld-soon__title,
  .ld-soon__quote,
  .ld-soon__text,
  .ld-soon__social,
  .ld-soon__actions,
  .ld-soon__footer {
    animation: none !important;
  }
}

/* ==========================================================================
   Transition de page ? un seul passage fluide
   ========================================================================== */

/* Natif (Chrome / Edge / Safari r?cents) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: ld-vt-out 0.4s cubic-bezier(0.77, 0, 0.18, 1) both;
}

::view-transition-new(root) {
  animation: ld-vt-in 0.4s cubic-bezier(0.77, 0, 0.18, 1) both;
}

@keyframes ld-vt-out {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}

@keyframes ld-vt-in {
  from { transform: translate3d(100%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* Fallback : un seul balayage continu (pas de pause au centre) */
.ld-wipe-once {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #05070f;
  pointer-events: none;
  transform: translate3d(105%, 0, 0);
}

.ld-wipe-once__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.45), rgba(255, 45, 149, 0.5), transparent);
  filter: blur(12px);
}

.ld-wipe-once.is-run {
  animation: ld-wipe-once-run 0.65s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  pointer-events: auto;
}

@keyframes ld-wipe-once-run {
  from { transform: translate3d(105%, 0, 0); }
  to { transform: translate3d(-105%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
  .ld-wipe-once { display: none !important; }
}

/* RRC block */
/* Esport — Approche + emblème RBRS (réutilise la grille ld-rrc) */
.ld-esport-approach {
  align-items: center;
}

.ld-esport-approach__logo {
  max-width: 220px;
}

.ld-esport-approach__copy {
  max-width: 40rem;
}

.ld-esport-approach__copy .ld-list {
  text-align: left;
}

@media (max-width: 900px) {
  .ld-esport-approach__logo {
    max-width: min(168px, 42vw);
  }

  .ld-esport-approach__copy .ld-list {
    display: inline-block;
    text-align: left;
    margin-inline: auto;
  }
}

.ld-rrc {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.ld-rrc__logo {
  position: relative;
  display: block;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ld-ease);
}

.ld-rrc__logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 16px rgba(0, 212, 255, 0.28))
    drop-shadow(0 0 28px rgba(255, 45, 149, 0.16));
  animation: ld-rrc-holo-glow 5.5s ease-in-out infinite;
}

/* Halo doux derrière (pas de silhouette autour) */
.ld-rrc__logo::before {
  content: "";
  position: absolute;
  inset: 14%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.3) 0%,
    rgba(255, 45, 149, 0.18) 45%,
    transparent 70%
  );
  filter: blur(16px);
  opacity: 0.7;
  pointer-events: none;
  animation: ld-rrc-holo-pulse 5.5s ease-in-out infinite;
}

/* Reflet holo masqué sur le PNG uniquement */
.ld-rrc__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 212, 255, 0.5) 45%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 45, 149, 0.55) 55%,
    transparent 64%,
    transparent 100%
  );
  background-size: 240% 100%;
  mix-blend-mode: soft-light;
  opacity: 0.9;
  pointer-events: none;
  animation: ld-holo-sweep 4.8s ease-in-out infinite;
  -webkit-mask-image: var(--ld-rrc-logo-mask);
  mask-image: var(--ld-rrc-logo-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.ld-rrc__logo:hover {
  transform: perspective(480px) rotateY(-5deg) rotateX(2deg) translateY(-4px) scale(1.03);
}

.ld-rrc__logo:hover img {
  filter:
    drop-shadow(0 0 22px rgba(0, 212, 255, 0.45))
    drop-shadow(0 0 34px rgba(255, 45, 149, 0.28));
  animation-duration: 3s;
}

.ld-rrc__logo:hover::after {
  opacity: 1;
  mix-blend-mode: overlay;
  animation-duration: 2.2s;
}

.ld-rrc__logo:hover::before {
  opacity: 0.95;
  animation-duration: 3s;
}

@keyframes ld-rrc-holo-glow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 14px rgba(0, 212, 255, 0.26))
      drop-shadow(0 0 24px rgba(255, 45, 149, 0.14));
  }
  50% {
    filter:
      drop-shadow(0 0 22px rgba(255, 45, 149, 0.32))
      drop-shadow(0 0 34px rgba(0, 212, 255, 0.22));
  }
}

@keyframes ld-rrc-holo-pulse {
  0%,
  100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 0.85; transform: scale(1.04); }
}

.ld-rrc__content {
  min-width: 0;
}

.ld-rrc__content p {
  max-width: 38rem;
}

/* RRC ? stack mobile (apres les regles desktop pour ne pas etre ecrase) */
@media (max-width: 1023px) {
  .ld-rrc {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 1.75rem;
    width: 100%;
  }

  .ld-rrc__logo {
    width: min(200px, 55vw);
    margin-inline: auto;
  }

  .ld-rrc__content {
    width: 100%;
    max-width: 36rem;
    text-align: center;
  }

  .ld-rrc__content p {
    margin-inline: auto;
    text-align: center;
  }

  .ld-rrc__content .ld-btn-row,
  .ld-rrc__content .ld-btn {
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .ld-rrc {
    gap: 1.5rem;
  }

  .ld-rrc__logo {
    width: min(180px, 50vw);
    order: -1;
  }
}

/* Contact page */
.ld-contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.85fr);
  gap: 1.75rem 2.5rem;
  align-items: start;
}

.ld-contact-card,
.ld-contact-side {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.6rem 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 212, 255, 0.1), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 45, 149, 0.08), transparent 50%),
    rgba(5, 7, 15, 0.55);
}

.ld-contact-card::before,
.ld-contact-side::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--ld-gradient);
  opacity: 0.7;
}

.ld-contact-card__title,
.ld-contact-side__title {
  margin: 0 0 0.55rem;
  font-family: var(--ld-font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.ld-contact-card__lead,
.ld-contact-side__text {
  margin: 0 0 1.35rem;
  color: var(--ld-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36rem;
}

.ld-contact-form__hint {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ld-muted, rgba(255, 255, 255, 0.55));
}

.ld-contact-form {
  max-width: none;
}

.ld-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ld-contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.ld-contact-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ld-contact-side__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 212, 255, 0.05);
  color: var(--ld-cyan);
  text-decoration: none;
  font-family: var(--ld-font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.2s var(--ld-ease), background 0.2s var(--ld-ease), color 0.2s var(--ld-ease);
}

.ld-contact-side__list a:hover,
.ld-contact-side__list a:focus-visible {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.12);
  color: #fff;
  outline: none;
}

.ld-contact-side__go {
  color: var(--ld-magenta);
  opacity: 0.85;
}

.ld-contact-side__hint {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: var(--ld-muted);
  line-height: 1.45;
}

@media (max-width: 899px) {
  .ld-contact-page__grid {
    grid-template-columns: 1fr;
  }

  .ld-contact-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.ld-contact main {
    text-align: center;
  }

  body.ld-contact .ld-page-hero,
  body.ld-contact .ld-page-hero .ld-container,
  body.ld-contact .ld-contact-card,
  body.ld-contact .ld-contact-side {
    text-align: center;
    margin-inline: auto;
  }

  body.ld-contact .ld-page-hero .ld-container {
    max-width: 36rem;
  }

  body.ld-contact .ld-page-hero p,
  body.ld-contact .ld-contact-card__lead,
  body.ld-contact .ld-contact-side__text,
  body.ld-contact .ld-contact-side__hint {
    margin-inline: auto;
    text-align: center;
  }

  body.ld-contact .ld-contact-page__grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 1.5rem;
  }

  body.ld-contact .ld-contact-card,
  body.ld-contact .ld-contact-side {
    width: 100%;
    max-width: 36rem;
  }

  body.ld-contact .ld-contact-form {
    text-align: left;
  }

  body.ld-contact .ld-contact-form .ld-btn {
    width: 100%;
  }

  body.ld-contact .ld-contact-side__list {
    text-align: left;
  }

  body.ld-contact .ld-form__status {
    text-align: center;
  }
}

/* Layouts 2 colonnes (contact legacy, fondatrice?) */
.ld-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.ld-split--founder {
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.ld-split--founder .ld-content-block,
.ld-founder-copy {
  max-width: 38rem;
  width: 100%;
  margin-left: 0;
  justify-self: start;
  text-align: left;
  box-sizing: border-box;
}

.ld-split--founder .ld-content-block p,
.ld-founder-copy p {
  text-align: left;
  max-width: 100%;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.ld-founder-media {
  width: 100%;
  max-width: 380px;
}

.ld-founder-media--wide,
.ld-staff-founders {
  max-width: min(720px, 100%);
  margin: 0 auto 1.75rem;
}

.ld-founder-media--wide .ld-founder-media__frame,
.ld-staff-founders .ld-founder-media__frame {
  aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
  .ld-founder-media--wide,
  .ld-staff-founders {
    max-width: 100%;
  }
}

.ld-founder-media--wide .ld-founder-media__frame img,
.ld-staff-founders .ld-founder-media__frame img {
  object-position: center center;
}

.ld-founder-media__frame {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--ld-radius);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--ld-bg-2), var(--ld-bg-2)) padding-box,
    linear-gradient(145deg, rgba(0, 212, 255, 0.75), rgba(255, 255, 255, 0.2), rgba(255, 45, 149, 0.75)) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.ld-founder-media__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s var(--ld-ease), filter 0.55s var(--ld-ease);
  filter: saturate(1.05) contrast(1.04);
}

.ld-founder-media__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(5, 7, 15, 0.45) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.18), transparent 45%),
    radial-gradient(ellipse at 80% 85%, rgba(255, 45, 149, 0.16), transparent 50%);
  mix-blend-mode: soft-light;
  z-index: 1;
}

.ld-founder-media__shine {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 46%,
    rgba(0, 212, 255, 0.18) 50%,
    rgba(255, 45, 149, 0.12) 54%,
    transparent 65%
  );
  transform: translateX(-40%);
  opacity: 0.55;
  animation: ld-founder-shine 5.5s ease-in-out infinite;
}

.ld-founder-media__frame:hover img {
  transform: scale(1.04);
  filter: saturate(1.15) contrast(1.06) brightness(1.03);
}

.ld-founder-media__frame:hover .ld-founder-media__shine {
  animation-duration: 2.8s;
  opacity: 0.85;
}

@keyframes ld-founder-shine {
  0%,
  100% {
    transform: translateX(-45%) translateY(4%);
  }
  50% {
    transform: translateX(35%) translateY(-2%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-founder-media__shine {
    animation: none;
    opacity: 0.35;
    transform: none;
  }

  .ld-founder-media__frame:hover img {
    transform: none;
  }
}

/* Fondatrice ? stack mobile (apres les regles desktop pour ne pas etre ecrase) */
@media (max-width: 1023px) {
  .ld-split,
  .ld-split--founder {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
  }

  .ld-split--founder .ld-founder-media {
    order: -1;
    max-width: 320px;
    width: 100%;
    margin-inline: auto;
    justify-self: center;
  }

  .ld-split--founder .ld-content-block,
  .ld-founder-copy {
    max-width: 36rem;
    width: 100%;
    min-width: 0;
    margin-inline: auto;
    justify-self: center;
    text-align: center;
    padding-inline: 0.15rem;
    box-sizing: border-box;
  }

  .ld-split--founder .ld-content-block p,
  .ld-founder-copy p {
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }
}

@media (max-width: 767px) {
  .ld-split--founder {
    gap: 1.5rem;
  }

  .ld-split--founder .ld-founder-media {
    max-width: min(280px, 78vw);
  }

  .ld-split--founder .ld-content-block,
  .ld-founder-copy {
    text-align: center;
    max-width: 100%;
    padding-inline: 0.35rem;
  }

  .ld-split--founder .ld-content-block p,
  .ld-founder-copy p {
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */

.ld-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 0;
  margin: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.28s var(--ld-ease, ease), transform 0.28s var(--ld-ease, ease);
}

.ld-cookie.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.ld-cookie__panel {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.15rem clamp(1rem, 3vw, 2rem) calc(1.15rem + env(safe-area-inset-bottom, 0px));
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(0, 212, 255, 0.14), transparent 42%),
    radial-gradient(ellipse at 92% 100%, rgba(255, 45, 149, 0.12), transparent 40%),
    linear-gradient(160deg, rgba(10, 14, 26, 0.98), rgba(5, 7, 15, 0.99));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.ld-cookie [data-ld-cookie-view][hidden] {
  display: none !important;
}

.ld-cookie__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.15rem 1.5rem;
  align-items: center;
}

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

.ld-cookie__copy {
  min-width: 0;
}

.ld-cookie__title {
  margin: 0 0 0.45rem;
  font-family: var(--ld-font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.ld-cookie__text {
  margin: 0;
  color: var(--ld-muted, #9aa3b8);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 52rem;
}

.ld-cookie__policy {
  margin: 0.55rem 0 0;
}

.ld-cookie__policy a {
  color: var(--ld-cyan);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-size: 0.9rem;
}

.ld-cookie__policy a:hover {
  color: #fff;
}

.ld-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.ld-cookie__btn {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

.ld-cookie__btn--refuse {
  border-color: rgba(255, 45, 149, 0.45);
  color: #ffb3d6;
}

.ld-cookie__btn--refuse:hover {
  border-color: var(--ld-magenta);
  box-shadow: 0 0 18px rgba(255, 45, 149, 0.22);
  color: #fff;
}

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

.ld-cookie__prefs .ld-cookie__actions {
  justify-content: flex-end;
}

.ld-cookie__cat {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 24, 42, 0.75);
}

.ld-cookie__switch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  cursor: pointer;
}

.ld-cookie__switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ld-cookie__switch-ui {
  width: 42px;
  height: 24px;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ld-cookie__switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.ld-cookie__switch input:checked + .ld-cookie__switch-ui {
  background: var(--ld-cyan);
  border-color: var(--ld-cyan);
}

.ld-cookie__switch input:checked + .ld-cookie__switch-ui::after {
  transform: translateX(18px);
  background: #05070f;
}

.ld-cookie__switch input:disabled + .ld-cookie__switch-ui {
  opacity: 0.7;
  background: rgba(0, 212, 255, 0.35);
  border-color: rgba(0, 212, 255, 0.5);
}

.ld-cookie__switch input:disabled + .ld-cookie__switch-ui::after {
  transform: translateX(18px);
  background: #05070f;
}

.ld-cookie__cat-text {
  display: grid;
  gap: 0.2rem;
}

.ld-cookie__cat-text strong {
  color: #fff;
  font-size: 0.95rem;
}

.ld-cookie__cat-text em {
  color: var(--ld-muted, #9aa3b8);
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.4;
}

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

  .ld-cookie__actions {
    justify-content: stretch;
  }

  .ld-cookie__btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-cookie {
    transition: none;
  }
}

/* ?? T?moignages ?? */
.ld-testimonials-hero {
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 42rem);
  display: flex;
  align-items: center;
  padding: calc(var(--ld-header-h) + 2.75rem) 0 3.25rem;
}

.ld-testimonials-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(14, 20, 38, 0.55), transparent 70%),
    linear-gradient(160deg, #05070f 0%, #080612 48%, #060a14 100%);
}

.ld-testimonials-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform, opacity;
}

.ld-testimonials-hero__orb--cyan {
  width: min(58vw, 540px);
  height: min(58vw, 540px);
  left: -12%;
  top: 5%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.42) 0%, transparent 70%);
  animation: ld-orb-float 11s ease-in-out infinite alternate;
}

.ld-testimonials-hero__orb--magenta {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  right: -10%;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 45, 149, 0.36) 0%, transparent 70%);
  animation: ld-orb-float 14s ease-in-out infinite alternate-reverse;
}

.ld-testimonials-hero__beams {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, transparent 40%, rgba(0, 212, 255, 0.09) 48%, transparent 56%),
    linear-gradient(125deg, transparent 0%, transparent 55%, rgba(255, 45, 149, 0.08) 64%, transparent 72%);
  background-size: 180% 180%;
  animation: ld-beams-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.ld-testimonials-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 15%, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}

.ld-testimonials-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.ld-testimonials-hero__copy {
  flex: 1 1 28rem;
  max-width: 40rem;
  min-width: 0;
}

.ld-testimonials-hero__logo-wrap {
  position: relative;
  flex: 0 0 auto;
  width: min(42vw, 480px);
  max-width: 100%;
  isolation: isolate;
  pointer-events: none;
  perspective: 800px;
}

@media (min-width: 1100px) {
  .ld-testimonials-hero__logo-wrap {
    width: min(46vw, 560px);
  }
}

.ld-testimonials-hero__logo-wrap::before,
.ld-testimonials-hero__logo-wrap::after {
  content: none;
  display: none;
}

/* Float sur l?img (pas le wrap) : le reveal ajoute is-done ? animation:none sur le wrap */
.ld-testimonials-hero__logo {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  transform-origin: center center;
  transform-style: preserve-3d;
  animation: ld-testi-logo-plane 6.5s ease-in-out infinite;
  will-change: transform, filter;
}

@keyframes ld-testi-logo-plane {
  0%,
  100% {
    transform: translateY(0) rotateX(4deg) rotateZ(-1.5deg);
    filter:
      brightness(1)
      drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 16px rgba(0, 212, 255, 0.22));
  }
  50% {
    transform: translateY(-18px) rotateX(-2deg) rotateZ(1.5deg);
    filter:
      brightness(1.05)
      drop-shadow(0 28px 28px rgba(0, 0, 0, 0.28))
      drop-shadow(0 0 28px rgba(255, 45, 149, 0.28));
  }
}

.ld-testimonials-hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ld-testimonials-hero__accent {
  display: block;
  background: linear-gradient(100deg, var(--ld-cyan), #7cf0ff 40%, var(--ld-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ld-testimonials-hero__lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--ld-muted, #9aa3b8);
}

.ld-testimonials-hero__actions {
  margin-top: 1.6rem;
}

.ld-testimonials--voices,
.ld-testimonials-form-section {
  scroll-margin-top: calc(var(--ld-header-h) + 1rem);
}

.ld-testimonials--voices {
  position: relative;
  overflow: hidden;
  padding-top: 2.5rem;
}

.ld-testimonials__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ld-testimonials__rail {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 212, 255, 0.35) 18%,
    rgba(255, 45, 149, 0.35) 82%,
    transparent
  );
  opacity: 0.55;
}

.ld-testimonials__glow {
  position: absolute;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.ld-testimonials__glow--cyan {
  left: -8%;
  top: 18%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.35), transparent 70%);
}

.ld-testimonials__glow--magenta {
  right: -10%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(255, 45, 149, 0.32), transparent 70%);
}

.ld-testimonials--voices > .ld-container {
  position: relative;
  z-index: 1;
}

.ld-testimonials__voices-head {
  margin-bottom: 2rem;
}

.ld-testimonials__voices-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.ld-testimonials__list {
  display: grid;
  gap: 1.75rem;
  max-width: 64rem;
  margin: 0.5rem auto 0;
  padding: 0.25rem 0 0.5rem;
}

.ld-testimonials__card {
  position: relative;
  width: min(100%, 36rem);
  padding: 1.85rem 1.85rem 1.45rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.ld-testimonials__card--left {
  justify-self: start;
  margin-right: auto;
  background:
    linear-gradient(155deg, rgba(0, 40, 58, 0.55), rgba(6, 10, 22, 0.92) 55%),
    linear-gradient(155deg, rgba(14, 22, 42, 0.95), rgba(6, 10, 22, 0.9));
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.18),
    0 0 28px rgba(0, 212, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.ld-testimonials__card--right {
  justify-self: end;
  margin-left: auto;
  background:
    linear-gradient(205deg, rgba(58, 8, 36, 0.55), rgba(6, 10, 22, 0.92) 55%),
    linear-gradient(155deg, rgba(22, 12, 28, 0.95), rgba(6, 10, 22, 0.9));
  box-shadow:
    0 0 0 1px rgba(255, 45, 149, 0.2),
    0 0 28px rgba(255, 45, 149, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.ld-testimonials__holo {
  pointer-events: none;
  position: absolute;
  inset: -40% -20%;
  mix-blend-mode: screen;
  opacity: 0.55;
  transform: translateX(-30%) rotate(8deg);
  animation: ld-testi-holo 7s ease-in-out infinite;
  z-index: 0;
}

.ld-testimonials__card--left .ld-testimonials__holo {
  background:
    linear-gradient(
      115deg,
      transparent 18%,
      rgba(0, 212, 255, 0.08) 32%,
      rgba(0, 212, 255, 0.28) 48%,
      rgba(124, 240, 255, 0.14) 62%,
      transparent 80%
    );
}

.ld-testimonials__card--right .ld-testimonials__holo {
  background:
    linear-gradient(
      115deg,
      transparent 18%,
      rgba(255, 45, 149, 0.1) 32%,
      rgba(255, 45, 149, 0.3) 48%,
      rgba(255, 140, 200, 0.14) 62%,
      transparent 80%
    );
}

.ld-testimonials__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.ld-testimonials__card--left::before {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.85),
    rgba(124, 240, 255, 0.25) 45%,
    rgba(0, 212, 255, 0.45)
  );
}

.ld-testimonials__card--right::before {
  background: linear-gradient(
    135deg,
    rgba(255, 45, 149, 0.85),
    rgba(255, 140, 200, 0.25) 45%,
    rgba(255, 45, 149, 0.5)
  );
}

.ld-testimonials__mark {
  position: absolute;
  top: 0.15rem;
  left: 0.85rem;
  font-family: var(--ld-font-display), Georgia, serif;
  font-size: clamp(3.8rem, 8vw, 5rem);
  line-height: 1;
  font-weight: 700;
  opacity: 0.72;
  z-index: 1;
  pointer-events: none;
}

.ld-testimonials__card--left .ld-testimonials__mark {
  color: var(--ld-cyan);
  text-shadow: 0 0 28px rgba(0, 212, 255, 0.45);
}

.ld-testimonials__card--right .ld-testimonials__mark {
  left: auto;
  right: 0.85rem;
  color: var(--ld-magenta);
  text-shadow: 0 0 28px rgba(255, 45, 149, 0.45);
}

.ld-testimonials__quote,
.ld-testimonials__meta {
  position: relative;
  z-index: 2;
}

.ld-testimonials__quote {
  margin: 0;
  padding-top: 1.55rem;
}

.ld-testimonials__quote p {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.65;
  color: var(--ld-text, #f4f7ff);
}

.ld-testimonials__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin-top: 1.1rem;
  padding-top: 0.85rem;
}

.ld-testimonials__card--left .ld-testimonials__meta {
  border-top: 1px solid rgba(0, 212, 255, 0.22);
}

.ld-testimonials__card--right .ld-testimonials__meta {
  border-top: 1px solid rgba(255, 45, 149, 0.22);
  flex-direction: row-reverse;
  text-align: right;
}

.ld-testimonials__author {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ld-testimonials__date {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ld-muted, #9aa3b8);
  white-space: nowrap;
}

.ld-testimonials__card--left .ld-testimonials__author {
  color: var(--ld-cyan);
}

.ld-testimonials__card--right .ld-testimonials__author {
  color: var(--ld-magenta);
}

.ld-testimonials__preview .ld-testimonials__author {
  margin: 0.65rem 0 0;
  text-align: inherit;
}

.ld-testimonials__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin: 2.25rem auto 0.5rem;
  max-width: 64rem;
}

.ld-testimonials__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ld-testimonials__page-btn,
.ld-testimonials__page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 24, 0.55);
  color: var(--ld-text, #f4f7ff);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ld-testimonials__page-num {
  min-width: 2.35rem;
  padding-inline: 0.55rem;
}

.ld-testimonials__page-btn:hover,
.ld-testimonials__page-num:hover {
  border-color: rgba(0, 212, 255, 0.45);
  color: var(--ld-cyan);
}

.ld-testimonials__page-num.is-current {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ld-cyan), var(--ld-magenta));
  color: #041018;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
}

.ld-testimonials__page-btn.is-disabled {
  opacity: 0.35;
  cursor: default;
}

.ld-testimonials__page-gap {
  display: inline-flex;
  min-width: 1.25rem;
  justify-content: center;
  color: var(--ld-muted, #9aa3b8);
}

@keyframes ld-testi-holo {
  0%,
  100% {
    transform: translateX(-28%) rotate(8deg);
    opacity: 0.4;
  }
  50% {
    transform: translateX(18%) rotate(8deg);
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-testimonials__holo {
    animation: none;
    opacity: 0.35;
  }
}

.ld-testimonials__form,
.ld-testimonials__alert,
.ld-testimonials__gate {
  max-width: 36rem;
  margin-inline: auto;
}

.ld-testimonials__empty {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  max-width: 28rem;
  margin: 0.5rem auto 0;
  padding: 2.4rem 1.75rem 2.1rem;
  text-align: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(0, 212, 255, 0.08), transparent 42%),
    linear-gradient(320deg, rgba(255, 45, 149, 0.1), transparent 45%),
    rgba(8, 12, 24, 0.72);
  overflow: hidden;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ld-testimonials__empty-holo {
  position: absolute;
  inset: -40% -20%;
  z-index: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(0, 212, 255, 0.16) 46%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 45, 149, 0.18) 54%,
    transparent 70%
  );
  background-size: 220% 100%;
  animation: ld-testi-holo 7s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.7;
}

.ld-testimonials__empty-mark {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--ld-font-display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 0.8;
  background: linear-gradient(135deg, var(--ld-cyan), var(--ld-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.ld-testimonials__empty-kicker {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0;
  font-family: var(--ld-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ld-cyan);
}

.ld-testimonials__empty-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--ld-font-display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
}

.ld-testimonials__empty-text {
  position: relative;
  z-index: 1;
  margin: 0 0 0.55rem;
  max-width: 22rem;
  color: var(--ld-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ld-testimonials__empty .ld-btn {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
}

.ld-testimonials__alert {
  margin-bottom: 1.25rem;
  text-align: left;
}

.ld-testimonials__gate {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 24, 0.55);
  text-align: center;
}

.ld-testimonials__gate .ld-btn-row {
  justify-content: center;
}

.ld-testimonials-form-section {
  position: relative;
  overflow: hidden;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.ld-testimonials-form-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 45, 149, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 212, 255, 0.07), transparent 50%);
}

.ld-testimonials-form-section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.ld-testimonials-form-section__orb--magenta {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  left: -8%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(255, 45, 149, 0.4), transparent 70%);
  animation: ld-orb-float 13s ease-in-out infinite alternate;
}

.ld-testimonials-form-section__orb--cyan {
  width: min(46vw, 380px);
  height: min(46vw, 380px);
  right: -6%;
  top: 10%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.35), transparent 70%);
  animation: ld-orb-float 10s ease-in-out infinite alternate-reverse;
}

.ld-testimonials-form-section__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(0, 212, 255, 0.05) 48%,
    rgba(255, 45, 149, 0.05) 52%,
    transparent 70%
  );
  background-size: 220% 100%;
  animation: ld-beams-drift 18s ease-in-out infinite alternate;
}

.ld-testimonials-form-section > .ld-container {
  position: relative;
  z-index: 1;
}

.ld-testimonials__form {
  position: relative;
  isolation: isolate;
  gap: 1.35rem;
  padding: 1.75rem 1.55rem 1.7rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(14, 20, 38, 0.92), rgba(6, 10, 22, 0.88));
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.08),
    0 24px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  text-align: left;
}

.ld-testimonials__form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.55),
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 45, 149, 0.5)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.ld-testimonials__form-glow {
  position: absolute;
  inset: -30% auto auto -20%;
  width: 70%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ld-testimonials__form > * {
  position: relative;
  z-index: 2;
}

.ld-testimonials__field {
  display: grid;
  gap: 0.45rem;
}

.ld-testimonials__field label {
  margin: 0;
}

.ld-testimonials__form textarea {
  width: 100%;
  min-height: 8.5rem;
  resize: vertical;
}

.ld-testimonials__hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--ld-muted, #9aa3b8);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ld-testimonials__hint.is-near {
  color: #f0c674;
}

.ld-testimonials__hint.is-full {
  color: var(--ld-magenta, #ff2d95);
}

.ld-testimonials__note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ld-muted, #9aa3b8);
  text-align: left;
}

.ld-testimonials__choice {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  min-inline-size: 0;
}

.ld-testimonials__choice legend {
  margin: 0 0 0.15rem;
  padding: 0;
  font-family: var(--ld-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ld-text, #f4f7ff);
}

.ld-testimonials__option {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 !important;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-family: var(--ld-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ld-text) !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

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

.ld-testimonials__option:has(input:checked) {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.12);
}

.ld-testimonials__option input {
  width: auto !important;
  flex: 0 0 auto;
  margin: 0.2rem 0 0;
  accent-color: var(--ld-cyan);
}

.ld-testimonials__option-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.ld-testimonials__option-body strong {
  font-family: var(--ld-font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ld-text);
}

.ld-testimonials__option-body em {
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ld-muted, #9aa3b8);
}

.ld-testimonials__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.15rem;
}

.ld-testimonials-form-section .ld-btn-row {
  justify-content: center;
}

@media (max-width: 860px) {
  .ld-testimonials-hero {
    min-height: auto;
    padding: calc(var(--ld-header-h) + 2rem) 0 2.5rem;
    text-align: center;
  }

  .ld-testimonials-hero__inner {
    flex-direction: column-reverse;
    justify-content: center;
    gap: 1.75rem;
  }

  .ld-testimonials-hero__copy {
    max-width: 36rem;
    margin-inline: auto;
  }

  .ld-testimonials-hero__lead {
    margin-inline: auto;
  }

  .ld-testimonials-hero__logo-wrap {
    width: min(52vw, 220px);
  }

  .ld-testimonials-hero__actions {
    justify-content: center;
  }

  .ld-testimonials__rail {
    display: none;
  }

  body.ld-testimonials-page .ld-section__head,
  body.ld-testimonials-page .ld-testimonials__empty,
  body.ld-testimonials-page .ld-login__alert {
    text-align: center;
    margin-inline: auto;
  }

  body.ld-testimonials-page .ld-section__head,
  body.ld-testimonials-page .ld-testimonials__form,
  body.ld-testimonials-page .ld-testimonials__empty,
  body.ld-testimonials-page .ld-testimonials__gate {
    max-width: 36rem;
  }

  body.ld-testimonials-page .ld-testimonials__list {
    gap: 1.25rem;
    max-width: 36rem;
  }

  body.ld-testimonials-page .ld-testimonials__card,
  body.ld-testimonials-page .ld-testimonials__card--left,
  body.ld-testimonials-page .ld-testimonials__card--right {
    width: 100%;
    justify-self: center;
    margin-inline: auto;
  }

  body.ld-testimonials-page .ld-testimonials__card--right .ld-testimonials__meta {
    flex-direction: row;
    text-align: left;
  }

  body.ld-testimonials-page .ld-testimonials__pagination {
    gap: 0.55rem;
  }

  body.ld-testimonials-page .ld-testimonials__page-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  body.ld-testimonials-page .ld-testimonials__form {
    text-align: left;
    padding: 1.35rem 1.15rem 1.45rem;
  }

  body.ld-testimonials-page .ld-testimonials__actions {
    justify-content: stretch;
  }

  body.ld-testimonials-page .ld-testimonials__actions .ld-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-testimonials-hero__orb,
  .ld-testimonials-hero__beams,
  .ld-testimonials-hero__logo-wrap,
  .ld-testimonials-hero__logo,
  .ld-testimonials-form-section__orb,
  .ld-testimonials-form-section__scan {
    animation: none !important;
    transform: none !important;
  }

  .ld-testimonials-hero__logo {
    filter: none;
  }
}

/* Remonter en haut */
.ld-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--ld-radius);
  background: rgba(8, 12, 22, 0.88);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s var(--ld-ease),
    visibility 0.25s var(--ld-ease),
    transform 0.25s var(--ld-ease),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.ld-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ld-to-top:hover,
.ld-to-top:focus-visible {
  border-color: rgba(0, 212, 255, 0.65);
  color: var(--ld-cyan);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.22);
  outline: none;
}

.ld-to-top svg {
  display: block;
}

@media (max-width: 767px) {
  .ld-to-top {
    width: 44px;
    height: 44px;
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-to-top {
    transition: none;
  }
}

/* —— RBRS (fiches équipe) —— */
.ld-rbrs {
  padding-top: 0;
}

.ld-team-panel .ld-rbrs__board {
  margin-top: 0.85rem;
}

.ld-rbrs__board {
  margin-top: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ld-radius);
  background:
    linear-gradient(180deg, rgba(18, 24, 42, 0.95), rgba(8, 12, 22, 0.88));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ld-rbrs__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 15, 0.45);
}

.ld-rbrs__tab {
  appearance: none;
  margin: 0;
  padding: 0.95rem 1.35rem 0.85rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--ld-font-display);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.ld-rbrs__tab.is-active {
  color: #fff;
  border-bottom-color: var(--ld-cyan);
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.ld-rbrs__panel {
  display: none;
  padding: 0;
}

.ld-rbrs__panel.is-active {
  display: block;
}

.ld-rbrs__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.45) transparent;
  touch-action: pan-x pan-y;
}

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

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

.ld-rbrs__table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--ld-font-body);
  font-size: 0.95rem;
}

.ld-rbrs__table th,
.ld-rbrs__table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  vertical-align: middle;
}

.ld-rbrs__table thead th {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--ld-font-display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: none;
  background: rgba(255, 255, 255, 0.02);
}

.ld-rbrs__table tbody tr:last-child td {
  border-bottom: 0;
}

.ld-rbrs__table td {
  color: rgba(255, 255, 255, 0.9);
}

.ld-rbrs__col-place {
  width: 4.5rem;
  text-align: left;
  font-weight: 700;
}

.ld-rbrs__col-team {
  text-align: left;
}

.ld-rbrs__col-num {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ld-rbrs__team-name {
  font-weight: 600;
}

.ld-rbrs__tag {
  margin-left: 0.35rem;
  color: var(--ld-cyan);
  font-family: var(--ld-font-display);
  font-size: 0.92em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ld-rbrs__table tr.is-us {
  position: relative;
  isolation: isolate;
  background-color: rgba(0, 212, 255, 0.08);
  background-image: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(0, 212, 255, 0.28) 48%,
    rgba(255, 45, 149, 0.18) 52%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: 120% 0;
  animation: ld-rbrs-row-shine 2.8s ease-in-out infinite;
}

.ld-rbrs__table tr.is-us td {
  position: relative;
  z-index: 1;
  background: transparent;
  color: #fff;
}

.ld-rbrs__table tr.is-us td:first-child {
  box-shadow: inset 3px 0 0 var(--ld-cyan);
}

.ld-rbrs__table tr.is-us td:first-child::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  z-index: 2;
  background: linear-gradient(180deg, var(--ld-cyan), var(--ld-magenta));
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.8);
  animation: ld-rbrs-bar 2s ease-in-out infinite;
}

.ld-rbrs__table tr.is-us .ld-rbrs__team-name {
  font-weight: 700;
}

.ld-rbrs__table tr.is-us .ld-rbrs__tag {
  color: var(--ld-cyan);
  text-shadow: 0 0 14px rgba(0, 212, 255, 0.55);
  animation: ld-rbrs-tag-glow 2.2s ease-in-out infinite;
}

@keyframes ld-rbrs-row-shine {
  0% {
    background-position: 130% 0;
  }
  100% {
    background-position: -130% 0;
  }
}

@keyframes ld-rbrs-bar {
  0%,
  100% {
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.95);
  }
}

@keyframes ld-rbrs-tag-glow {
  0%,
  100% {
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.35);
  }
  50% {
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ld-rbrs__table tr.is-us {
    animation: none;
    background-image: none;
  }

  .ld-rbrs__table tr.is-us td:first-child::before,
  .ld-rbrs__table tr.is-us .ld-rbrs__tag {
    animation: none;
  }
}

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

.ld-rbrs__match {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ld-radius);
  background: rgba(5, 7, 15, 0.45);
}

.ld-rbrs__match--win {
  border-color: rgba(46, 204, 113, 0.35);
}

.ld-rbrs__match--loss {
  border-color: rgba(231, 76, 60, 0.3);
}

.ld-rbrs__match-when {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

.ld-rbrs__match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.ld-rbrs__match-teams .is-us {
  color: #fff;
  font-weight: 650;
}

.ld-rbrs__match-score {
  min-width: 2.8rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
}

.ld-rbrs__match-badge {
  font-family: var(--ld-font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ld-rbrs__match--win .ld-rbrs__match-badge {
  color: #2ecc71;
}

.ld-rbrs__match--loss .ld-rbrs__match-badge {
  color: #e74c3c;
}

.ld-rbrs__empty {
  margin: 0;
  padding: 1.25rem;
  color: var(--ld-muted);
}

.ld-rbrs__source {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.ld-rbrs__source a {
  color: var(--ld-cyan);
  text-decoration: none;
}

.ld-rbrs__source a:hover,
.ld-rbrs__source a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .ld-rbrs__table-wrap {
    margin: 0;
    padding-bottom: 0.35rem;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.5rem), transparent 100%);
  }

  .ld-rbrs__table {
    min-width: 680px;
    font-size: 0.88rem;
  }

  .ld-rbrs__table th,
  .ld-rbrs__table td {
    padding: 0.75rem 0.7rem;
  }
}

@media (max-width: 640px) {
  .ld-rbrs__tab {
    flex: 1;
    padding-inline: 0.75rem;
    font-size: 0.85rem;
    text-align: center;
  }

  .ld-rbrs__table {
    min-width: 640px;
  }

  .ld-rbrs__match {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .ld-rbrs__match-teams {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* —— Académie Leader Drive —— */
.ld-rrc.ld-academie-intro {
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

body.ld-academie .ld-paths--academie-staff {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* Holo LD (balayage) — fond noir du PNG géré en luminance */
.ld-rrc__logo.ld-academie-intro__logo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  margin: 0;
}

.ld-rrc__logo.ld-academie-intro__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Noir du Photoroom → transparent ; le holo suit le dessin */
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 14px rgba(0, 212, 255, 0.35))
    drop-shadow(0 0 26px rgba(255, 45, 149, 0.22));
  animation: ld-rrc-holo-glow 5.5s ease-in-out infinite;
}

.ld-rrc__logo.ld-academie-intro__logo::before {
  inset: 16%;
  border-radius: 50%;
}

.ld-rrc__logo.ld-academie-intro__logo::after {
  -webkit-mask-source-type: luminance;
  mask-mode: luminance;
  mix-blend-mode: screen;
  opacity: 0.95;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 36%,
    rgba(0, 212, 255, 0.65) 44%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 45, 149, 0.7) 56%,
    transparent 66%,
    transparent 100%
  );
  background-size: 240% 100%;
  animation: ld-holo-sweep 4.8s ease-in-out infinite;
}

.ld-rrc__logo.ld-academie-intro__logo:hover img {
  filter:
    drop-shadow(0 0 20px rgba(0, 212, 255, 0.5))
    drop-shadow(0 0 32px rgba(255, 45, 149, 0.32));
}

.ld-rrc__logo.ld-academie-intro__logo:hover::after {
  opacity: 1;
  mix-blend-mode: screen;
}

body.ld-academie .ld-academie-intro .ld-rrc__content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  text-wrap: pretty;
}

@media (min-width: 960px) {
  body.ld-academie .ld-academie-intro .ld-rrc__content h2 {
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  .ld-rrc.ld-academie-intro {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ld-rrc__logo.ld-academie-intro__logo {
    order: -1;
    width: min(260px, 68vw);
    max-width: 260px;
    margin-inline: auto;
  }

  .ld-academie-intro .ld-rrc__content,
  .ld-academie-intro .ld-rrc__content p,
  .ld-academie-intro .ld-rrc__content h2 {
    margin-inline: auto;
    text-align: center;
  }

  body.ld-academie .ld-paths .ld-path {
    text-align: center;
  }

  body.ld-academie .ld-btn-row .ld-btn {
    width: min(100%, 18rem);
  }
}

/* Pastille crédits (tableau de bord + pages membre) — 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 {
  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__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;
}

/* ==========================================================================
   Member dashboard (tableau de bord)
   ========================================================================== */

body.ld-dash-page .ld-dash.ld-section {
  padding-top: calc(var(--ld-header-h) + 2.5rem);
  padding-bottom: 4rem;
}

.ld-dash__hero {
  margin-bottom: 2rem;
}

.ld-dash__hero h1 {
  margin-bottom: 0.4em;
}

.ld-dash__hero p {
  max-width: 36rem;
  margin: 0;
  line-height: 1.55;
}

.ld-dash__solo-actions {
  margin-top: 1.25rem;
}

.ld-dash__fiche-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
}

.ld-dash__fiche-btn {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

.ld-dash__logout-btn {
  color: #ff4d6d;
  border-color: rgba(255, 77, 109, 0.55);
}

.ld-dash__logout-btn:hover,
.ld-dash__logout-btn:focus-visible {
  color: #fff;
  border-color: #ff4d6d;
  background: rgba(255, 77, 109, 0.18);
}

/* Bas de page : masqué desktop, visible mobile après les tuiles */
.ld-dash__logout-wrap--bottom {
  display: none;
}

.ld-dash__bar {
  display: grid;
  grid-template-columns: minmax(14rem, 1.15fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 1.75rem 2.5rem;
  padding: 1.6rem 1.85rem;
  margin-bottom: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(0, 212, 255, 0.14), transparent 42%),
    radial-gradient(ellipse at 100% 120%, rgba(255, 45, 149, 0.1), transparent 48%),
    linear-gradient(155deg, rgba(14, 20, 36, 0.95), rgba(8, 12, 22, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ld-dash__who {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
  padding-right: 0.5rem;
}

.ld-dash__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.42);
  box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.07);
  flex-shrink: 0;
}

.ld-dash__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ld-dash__avatar--default {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.ld-dash__who-body {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.ld-dash__name {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: 0.04em;
}

.ld-dash__who .ld-member-badges {
  margin: 0;
}

.ld-dash__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.ld-dash__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.85rem;
  min-width: 0;
}

.ld-dash__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 0 1 8.5rem;
  width: 8.5rem;
  min-height: 5.75rem;
  padding: 1rem 0.85rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(5, 8, 16, 0.35);
}

.ld-dash__stat--soon {
  opacity: 0.92;
  border-style: dashed;
  border-color: rgba(255, 45, 149, 0.45);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 45, 149, 0.16), transparent 60%),
    rgba(5, 8, 16, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 45, 149, 0.08);
}

.ld-dash__stat-k {
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ld-muted);
}

.ld-dash__stat-v {
  font-family: var(--ld-font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ld-text);
}

.ld-dash__stat-v--muted {
  color: var(--ld-muted);
  opacity: 0.7;
}

.ld-dash__stat-suffix {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--ld-muted);
  margin-left: 0.1em;
}

.ld-dash__stat-hint {
  margin-top: 0.1rem;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--ld-muted);
}

.ld-dash__stat-hint--go {
  color: var(--ld-cyan);
}

.ld-dash__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ld-dash__grid,
.ld-dash__soon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ld-dash__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 10.25rem;
  padding: 1.45rem 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(14, 20, 36, 0.9), rgba(8, 12, 22, 0.55));
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition:
    border-color 0.2s var(--ld-ease),
    transform 0.2s var(--ld-ease),
    background 0.2s var(--ld-ease);
}

a.ld-dash__tile:hover {
  border-color: rgba(255, 45, 149, 0.45);
  color: inherit;
  transform: translateY(-2px);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 212, 255, 0.1), transparent 55%),
    linear-gradient(160deg, var(--ld-bg-2), transparent);
}

a.ld-dash__tile:focus-visible {
  outline: 2px solid var(--ld-cyan);
  outline-offset: 2px;
}

.ld-dash__tile-k {
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ld-cyan, #00d4ff);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ld-dash__tile-k {
    background-image: var(--ld-gradient, linear-gradient(135deg, #00d4ff, #ff2d95));
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.ld-dash__tile-t {
  font-family: var(--ld-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ld-text);
  line-height: 1.15;
}

.ld-dash__tile-d {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ld-muted);
}

.ld-dash__tile--soon {
  opacity: 0.72;
  border-style: dashed;
  cursor: default;
}

.ld-dash__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-family: var(--ld-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 2px;
  color: var(--ld-cyan);
  background: rgba(0, 212, 255, 0.08);
}

@media (max-width: 960px) {
  .ld-dash__fiche-wrap {
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .ld-dash__bar {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.4rem 1.25rem;
    text-align: center;
  }

  .ld-dash__who {
    flex-direction: column;
    justify-content: center;
    padding-right: 0;
  }

  .ld-dash__who-body {
    justify-items: center;
  }

  .ld-dash__who .ld-member-badges {
    justify-content: center;
  }

  .ld-dash__meta {
    justify-content: center;
  }

  .ld-dash__stats {
    justify-content: center;
  }

  .ld-dash__grid,
  .ld-dash__soon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ld-dash__logout-btn--top {
    display: none !important;
  }

  .ld-dash__logout-wrap--bottom {
    display: flex;
    justify-content: center;
    margin: 1.35rem 0 0;
  }

  .ld-dash__logout-wrap--bottom .ld-dash__logout-btn {
    width: 100%;
    max-width: 22rem;
    min-height: 44px;
  }

  body.ld-dash-page .ld-dash.ld-section {
    padding-top: calc(var(--ld-header-h) + 1.15rem);
    padding-bottom: 2.25rem;
  }

  .ld-dash__hero {
    margin-bottom: 1.15rem;
  }

  .ld-dash__hero,
  .ld-dash__hero p {
    text-align: center;
    margin-inline: auto;
  }

  .ld-dash__hero p {
    display: none;
  }

  .ld-dash__bar {
    padding: 0.95rem 0.85rem;
    margin-bottom: 1.15rem;
    gap: 1rem;
  }

  .ld-dash__avatar {
    width: 56px;
    height: 56px;
  }

  .ld-dash__name {
    font-size: 1.2rem;
  }

  .ld-dash__stat {
    flex: 1 1 calc(50% - 0.4rem);
    width: auto;
    min-height: 4.25rem;
    padding: 0.7rem 0.45rem;
  }

  .ld-dash__stat-v {
    font-size: 1.35rem;
  }

  .ld-dash__nav {
    gap: 0.75rem;
  }

  .ld-dash__grid,
  .ld-dash__soon {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .ld-dash__tile {
    min-height: 0;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.85rem 0.95rem;
    text-align: center;
  }

  .ld-dash__tile-k {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .ld-dash__tile-t {
    font-size: 1.05rem;
  }

  .ld-dash__tile-d {
    display: none;
  }

  .ld-dash__badge {
    top: 0.65rem;
    right: 0.65rem;
    font-size: 0.62rem;
    padding: 0.2rem 0.4rem;
  }

  .ld-dash__tile--soon {
    opacity: 0.82;
    min-height: 0;
    padding: 0.75rem 0.95rem;
  }

  a.ld-dash__tile:hover {
    transform: none;
  }
}

@media (max-width: 520px) {
  .ld-dash__stats {
    justify-content: center;
    gap: 0.7rem;
  }

  .ld-dash__stat {
    flex: 1 1 calc(50% - 0.7rem);
    width: auto;
    max-width: 10rem;
  }
}

/* ==========================================================================
   Historique de compte (crédits LD)
   ========================================================================== */

body.ld-credits-hist-page .ld-credits-hist.ld-section,
.ld-credits-hist.ld-section {
  padding-top: calc(var(--ld-header-h, 76px) + 2.25rem);
  padding-bottom: 4rem;
}

.ld-credits-hist__hero {
  margin: 0 0 1.75rem;
  text-align: center;
}

.ld-credits-hist__hero h1 {
  margin-bottom: 0.35em;
}

.ld-credits-hist__hero p {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--ld-muted, #9aa3b8);
  line-height: 1.55;
}

.ld-credits-hist__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.35rem;
}

.ld-credits-hist__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 5.25rem;
  padding: 1rem 0.85rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(5, 8, 16, 0.4);
}

.ld-credits-hist__stat-k {
  font-family: var(--ld-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ld-muted, #9aa3b8);
}

.ld-credits-hist__stat-v {
  font-family: var(--ld-font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #77e0ff;
  line-height: 1.1;
}

.ld-credits-hist__stat--in .ld-credits-hist__stat-v {
  color: #7dffb3;
}

.ld-credits-hist__stat--out .ld-credits-hist__stat-v {
  color: #ff9ab8;
}

.ld-credits-hist__stat-unit {
  margin-left: 0.2rem;
  font-size: 0.65em;
  color: #ffd581;
}

.ld-credits-hist__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}

.ld-credits-hist__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ld-radius, 4px);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-family: var(--ld-font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(5, 7, 15, 0.4);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

.ld-credits-hist__empty {
  margin: 0.5rem 0 1.5rem;
  text-align: center;
  color: var(--ld-muted, #9aa3b8);
}

.ld-credits-hist__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 44rem;
  margin-inline: auto;
}

.ld-credits-hist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(8, 12, 22, 0.55);
}

.ld-credits-hist__row.is-plus {
  border-color: rgba(125, 255, 179, 0.18);
}

.ld-credits-hist__row.is-minus {
  border-color: rgba(255, 154, 184, 0.16);
}

.ld-credits-hist__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ld-credits-hist__label {
  font-family: var(--ld-font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ld-credits-hist__note {
  font-size: 0.86rem;
  color: var(--ld-muted, #9aa3b8);
  line-height: 1.4;
}

.ld-credits-hist__when {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
}

.ld-credits-hist__amounts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  white-space: nowrap;
}

.ld-credits-hist__delta {
  font-family: var(--ld-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ld-credits-hist__row.is-plus .ld-credits-hist__delta {
  color: #7dffb3;
}

.ld-credits-hist__row.is-minus .ld-credits-hist__delta {
  color: #ff9ab8;
}

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

.ld-credits-hist__back {
  display: flex;
  justify-content: center;
  margin: 0;
}

@media (max-width: 720px) {
  .ld-credits-hist__summary {
    grid-template-columns: 1fr;
  }

  .ld-credits-hist__row {
    grid-template-columns: 1fr;
  }

  .ld-credits-hist__amounts {
    align-items: flex-start;
  }
}

/* ==========================================================================
   Règlement
   ========================================================================== */

.ld-reglement.ld-section {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--ld-header-h, 76px) + 2.5rem);
  padding-bottom: 4.5rem;
  overflow: clip;
}

.ld-reglement.ld-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 50% -8%, rgba(0, 180, 220, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 36% at 88% 72%, rgba(255, 45, 149, 0.08), transparent 55%);
}

.ld-reglement__hero {
  margin: 0 auto 2.75rem;
  max-width: 36rem;
  text-align: center;
}

.ld-reglement__title {
  margin: 0 0 0.45em;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.ld-reglement__body {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ld-reglement__block {
  padding: 1.65rem 0 1.75rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

.ld-reglement__block:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ld-reglement__head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin: 0 0 0.85rem;
}

.ld-reglement__num {
  flex: 0 0 auto;
  font-family: var(--ld-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #5eb8ff;
  line-height: 1;
}

.ld-reglement__block h2 {
  margin: 0;
  font-family: var(--ld-font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ld-reglement__block p,
.ld-reglement__block li {
  color: rgba(230, 236, 245, 0.88);
  font-size: 1.02rem;
  line-height: 1.65;
}

.ld-reglement__block p {
  margin: 0 0 0.75rem;
}

.ld-reglement__block p:last-child {
  margin-bottom: 0;
}

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

.ld-reglement__block li {
  position: relative;
  padding-left: 1.15rem;
}

.ld-reglement__block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #ff2d95);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
}

.ld-reglement__block a {
  color: #7ee9ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 233, 255, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ld-reglement__block a:hover,
.ld-reglement__block a:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
  outline: none;
}

.ld-reglement__mail {
  display: inline-block;
  margin-top: 0.15rem;
  font-family: var(--ld-font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ld-reglement__back {
  display: flex;
  justify-content: center;
  margin: 0;
}

@media (max-width: 640px) {
  .ld-reglement__hero {
    margin-bottom: 2rem;
    text-align: center;
  }

  .ld-reglement__body {
    text-align: center;
  }

  .ld-reglement__block {
    padding: 1.35rem 0 1.4rem;
  }

  .ld-reglement__head {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
  }

  .ld-reglement__block h2 {
    text-align: center;
  }

  .ld-reglement__block p,
  .ld-reglement__block li {
    font-size: 0.98rem;
    text-align: center;
  }

  .ld-reglement__block ul {
    align-items: center;
  }

  .ld-reglement__block li {
    padding-left: 0;
    padding-top: 0.55rem;
    max-width: 22rem;
  }

  .ld-reglement__block li::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .ld-reglement__mail {
    display: block;
    margin-top: 0.35rem;
  }

  .ld-reglement__back {
    justify-content: center;
  }
}

/* —— Butin booster (page publique Discord) —— */
.ld-booster-loot {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.ld-booster-loot__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.ld-booster-loot__head {
  max-width: 40rem;
}

.ld-booster-loot__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
}

.ld-booster-loot__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 7.5rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.ld-booster-loot__meta-item--booster {
  border-color: rgba(255, 210, 122, 0.35);
  background: linear-gradient(160deg, rgba(255, 176, 32, 0.12), rgba(255, 255, 255, 0.03));
}

.ld-booster-loot__meta-item--opener {
  border-color: rgba(0, 212, 255, 0.32);
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.ld-booster-loot__meta-k {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 200, 220, 0.75);
}

.ld-booster-loot__meta-v {
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

.ld-booster-loot__meta-v a {
  color: #7ee9ff;
  text-decoration: none;
}

.ld-booster-loot__meta-v a:hover,
.ld-booster-loot__meta-v a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.ld-booster-loot__meta-item--booster .ld-booster-loot__meta-v {
  color: #ffd27a;
}

.ld-booster-loot__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.ld-booster-loot__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: var(--ld-collect-card-w, 220px);
  max-width: 100%;
}

.ld-booster-loot__item .ld-holo-test__wrap {
  width: 100%;
  margin: 0;
}

.ld-booster-loot__item .ld-holo-test__card {
  width: 100% !important;
  max-width: 100% !important;
}

.ld-booster-loot__card-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.ld-booster-loot__name {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.ld-booster-loot__rarity {
  margin: 0;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(var(--ld-loot-rarity-rgb, 170, 180, 195), 0.45);
  border-radius: 999px;
  background: rgba(var(--ld-loot-rarity-rgb, 170, 180, 195), 0.12);
  color: var(--ld-loot-rarity, #c8d0dc);
  text-align: center;
  font-family: var(--ld-font-display, "Rajdhani", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(var(--ld-loot-rarity-rgb, 170, 180, 195), 0.35);
}

.ld-booster-loot__rarity--common {
  --ld-loot-rarity: #7dffb0;
  --ld-loot-rarity-rgb: 125, 255, 176;
}

.ld-booster-loot__rarity--uncommon {
  --ld-loot-rarity: #8fd4ff;
  --ld-loot-rarity-rgb: 143, 212, 255;
}

.ld-booster-loot__rarity--rare {
  --ld-loot-rarity: #00d4ff;
  --ld-loot-rarity-rgb: 0, 212, 255;
}

.ld-booster-loot__rarity--epic {
  --ld-loot-rarity: #c084fc;
  --ld-loot-rarity-rgb: 192, 132, 252;
}

.ld-booster-loot__rarity--legendary {
  --ld-loot-rarity: #f7c948;
  --ld-loot-rarity-rgb: 247, 201, 72;
}

.ld-booster-loot__rarity--black {
  --ld-loot-rarity: #e8eaef;
  --ld-loot-rarity-rgb: 200, 205, 214;
}

.ld-booster-loot__rarity--prism {
  --ld-loot-rarity: #ec9bb6;
  --ld-loot-rarity-rgb: 236, 155, 182;
}

.ld-booster-loot__rarity--limited {
  --ld-loot-rarity: #ff4d6d;
  --ld-loot-rarity-rgb: 255, 77, 109;
}

@media (max-width: 640px) {
  .ld-booster-loot__grid {
    --ld-collect-card-w: 160px;
    gap: 1rem 0.75rem;
  }

  .ld-booster-loot__meta {
    gap: 0.5rem;
  }

  .ld-booster-loot__meta-item {
    min-width: calc(50% - 0.35rem);
    flex: 1 1 calc(50% - 0.35rem);
  }
}
