/* ==================== POLICES AAA GAMING LOCALES (100 % AUTONOMES) ==================== */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("/assets/fonts/cinzel-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("/assets/fonts/cinzel-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/exo2-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/exo2-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --al-bg: #05080f;
  --al-bg-deep: #03050a;
  --al-surface: rgba(13, 20, 34, 0.88);
  --al-surface-solid: #0c1322;
  --al-surface-2: rgba(21, 32, 52, 0.92);
  --al-border: rgba(236, 198, 110, 0.32);
  --al-border-strong: rgba(246, 213, 128, 0.65);
  --al-border-soft: rgba(243, 238, 228, 0.12);
  --al-ivory: #f5efe4;
  --al-text: #f5efe4;
  --al-muted: #9aa8bf;
  --al-cyan: #7be1dd;
  --al-gold: #e4b857;
  --al-gold-strong: #f9db8b;
  --al-danger: #ef5350;
  --al-success: #2dd4bf;
  --al-radius: 18px;
  --al-font-display: "Cinzel", "Iowan Old Style", Georgia, serif;
  --al-font-ui: "Exo 2", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --al-shadow: 0 24px 60px rgba(0, 0, 0, 0.68);
  --al-inner-sheen: inset 0 1px 0 rgba(255, 236, 184, 0.24), inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(30, 52, 86, 0.62) 0%, transparent 65%),
    radial-gradient(circle at 85% 22%, rgba(228, 184, 87, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 12% 70%, rgba(123, 225, 221, 0.07) 0%, transparent 45%),
    var(--al-bg);
  color: var(--al-ivory);
  font-family: var(--al-font-ui);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.al-display {
  font-family: var(--al-font-display);
  letter-spacing: -0.01em;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

/* ==================== TOPBAR LUXE ==================== */
.al-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 15, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(236, 198, 110, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.al-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 11px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.al-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--al-ivory);
  flex-shrink: 0;
}

.al-brand-mark {
  filter: drop-shadow(0 0 10px rgba(232, 193, 103, 0.35));
}

.al-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.al-brand-text strong {
  font-family: var(--al-font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #fff9e6 0%, #f3cf78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-brand-text small {
  font-size: 0.65rem;
  color: var(--al-cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.al-nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(12, 19, 34, 0.75);
  border: 1px solid rgba(243, 238, 228, 0.08);
}

.al-nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--al-muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.al-nav-btn:hover {
  color: var(--al-ivory);
  background: rgba(255, 255, 255, 0.06);
}

.al-nav-btn.is-active {
  color: #0b0803;
  background: linear-gradient(135deg, #d7a33d 0%, #fae096 55%, #d6a139 100%);
  box-shadow: 0 0 22px rgba(232, 193, 103, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.al-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.al-status-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.al-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(22, 33, 54, 0.92), rgba(10, 16, 28, 0.92));
  border: 1px solid var(--al-border);
  box-shadow: var(--al-inner-sheen);
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.al-pill:hover {
  transform: translateY(-1px);
  border-color: var(--al-border-strong);
}

.al-pill-dust {
  color: var(--al-gold-strong);
}

.al-pill-crystals {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.38);
}

.al-pill-level {
  color: var(--al-cyan);
  border-color: rgba(123, 225, 221, 0.35);
}

.al-sound-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 24, 42, 0.85);
  border: 1px solid var(--al-border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.al-lang-switch {
  display: inline-flex;
  background: rgba(10, 16, 28, 0.9);
  border: 1px solid var(--al-border-soft);
  border-radius: 999px;
  padding: 2px;
}

.al-lang-btn {
  background: transparent;
  border: none;
  color: var(--al-muted);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.al-lang-btn.is-active {
  background: linear-gradient(135deg, #42d4ce, var(--al-cyan));
  color: #041014;
}

/* ==================== LAYOUT & VIEWS ==================== */
.al-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px 22px 72px;
}

.al-view {
  display: none;
}

.al-view.is-active {
  display: block;
  animation: fadeUp 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeUp {
  from { opacity: 0.92; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .al-view.is-active,
  .al-fan-card-wrap:nth-child(2),
  .al-foil-sheen,
  .al-foil-tear-hint,
  .al-c3d-equip-img,
  .al-daily-chest.is-ready::before,
  .al-chest-aura,
  .al-chest-3d-img,
  .al-el-rune-halo {
    animation: none !important;
  }
}

.al-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(236, 198, 110, 0.14);
}

.al-page-header h1 {
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  background: linear-gradient(180deg, #fffaf0 0%, #f1d48a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-page-header p {
  margin: 0;
  color: var(--al-muted);
  max-width: 700px;
}

.al-section {
  margin-top: 46px;
}

.al-section-head {
  margin-bottom: 20px;
}

.al-section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--al-ivory);
}

.al-section-head p {
  margin: 0;
  color: var(--al-muted);
}

/* ==================== LUXURY BUTTONS ==================== */
.al-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.al-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.al-btn:hover:not(:disabled)::after {
  transform: translateX(130%);
}

.al-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.al-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.al-btn-primary {
  background: linear-gradient(135deg, #21b8b4 0%, #7be1dd 55%, #37c8c5 100%);
  color: #041014;
  box-shadow: 0 10px 28px rgba(123, 225, 221, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.al-btn-gold {
  background: linear-gradient(135deg, #b88424 0%, #f6d580 50%, #cc9630 100%);
  color: #140d02;
  box-shadow: 0 10px 28px rgba(232, 193, 103, 0.34), inset 0 1px 0 rgba(255, 252, 232, 0.65);
}

.al-btn-ghost {
  background: rgba(18, 28, 46, 0.72);
  border-color: rgba(236, 198, 110, 0.24);
  color: var(--al-ivory);
  box-shadow: var(--al-inner-sheen);
}

.al-btn-ghost:hover:not(:disabled) {
  border-color: var(--al-gold-strong);
  background: rgba(232, 193, 103, 0.14);
}

.al-btn-danger {
  background: rgba(239, 83, 80, 0.16);
  border-color: rgba(239, 83, 80, 0.5);
  color: #ff9c9a;
}

.al-btn-sm {
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(18, 28, 46, 0.9);
  border: 1px solid var(--al-border-soft);
  color: var(--al-ivory);
  transition: all 0.16s ease;
}

.al-btn-sm:hover:not(:disabled) {
  border-color: var(--al-gold);
}

.al-btn-sm.is-active {
  background: linear-gradient(135deg, #d7a33d, var(--al-gold-strong));
  color: #120c03;
  border-color: var(--al-gold-strong);
}

/* ==================== HOLO 3D TILT EFFECT ==================== */
.al-holo-tilt {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.al-holo-tilt.is-tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px) scale(1.02);
}

.al-holo-tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 245, 200, 0.28) 0%,
    rgba(123, 225, 221, 0.12) 28%,
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 6;
}

.al-holo-tilt.is-tilting::before {
  opacity: 1;
}

/* ==================== MONUMENTAL HERO ==================== */
.al-hero {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(236, 198, 110, 0.36);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 238, 188, 0.28),
    inset 0 0 80px rgba(228, 184, 87, 0.06);
  min-height: 490px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 42%, rgba(236, 198, 110, 0.26) 0%, rgba(123, 225, 221, 0.08) 36%, transparent 62%),
    radial-gradient(circle at 14% 85%, rgba(123, 225, 221, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #070d18 0%, #0d1629 52%, #060911 100%);
}

.al-hero-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.al-hero-aura {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 45%, rgba(236, 198, 110, 0.08) 0%, rgba(56, 189, 248, 0.04) 42%, transparent 74%);
  pointer-events: none;
  z-index: 1;
}

.al-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 46px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: center;
}

.al-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(123, 225, 221, 0.11);
  border: 1px solid rgba(123, 225, 221, 0.36);
  color: var(--al-cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.al-hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.05rem, 3.9vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fffdf7 0%, #f6e4b4 62%, #d5a240 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
}

.al-hero-lead {
  margin: 0 0 26px;
  color: #cdd7e8;
  font-size: 1.03rem;
  max-width: 560px;
}

.al-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.al-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(236, 198, 110, 0.18);
}

.al-metric strong {
  display: block;
  font-family: var(--al-font-display);
  font-size: 1.65rem;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff4cf, #e5b34c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-metric span {
  font-size: 0.78rem;
  color: var(--al-muted);
  letter-spacing: 0.03em;
}

/* Trône de cartes flottant dans le Hero */
.al-hero-fan {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-hero-fan::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 213, 128, 0.25) 0%, rgba(123, 225, 221, 0.1) 45%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.al-fan-card-wrap {
  position: absolute;
  width: 188px;
  border-radius: 16px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), filter 0.28s ease;
  will-change: transform;
}

.al-fan-card-inner {
  border-radius: 16px;
  overflow: hidden;
  display: block;
}

.al-fan-card-wrap:nth-child(1) {
  --fan-x: -114px;
  transform: translateX(var(--fan-x)) translateY(10px) rotate(-11deg) scale(0.9);
  z-index: 1;
}

.al-fan-card-wrap:nth-child(2) {
  transform: translateX(0px) translateY(-14px) scale(1.08);
  z-index: 3;
  animation: heroFloat 5s ease-in-out infinite;
}

.al-fan-card-wrap:nth-child(3) {
  --fan-x: 114px;
  transform: translateX(var(--fan-x)) translateY(10px) rotate(11deg) scale(0.9);
  z-index: 2;
}

.al-fan-card-wrap:nth-child(1):hover {
  z-index: 8;
  transform: translateX(var(--fan-x)) translateY(-8px) rotate(-5deg) scale(1.03);
}

.al-fan-card-wrap:nth-child(2):hover {
  z-index: 8;
  animation: none;
  transform: translateX(0px) translateY(-20px) scale(1.12);
}

.al-fan-card-wrap:nth-child(3):hover {
  z-index: 8;
  transform: translateX(var(--fan-x)) translateY(-8px) rotate(5deg) scale(1.03);
}

.al-fan-card-inner.al-holo-tilt.is-tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.al-fan-card {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1.5px solid rgba(246, 213, 128, 0.65);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.72), 0 0 28px rgba(232, 193, 103, 0.22);
  background: #070b12;
}

@keyframes heroFloat {
  0%, 100% { transform: translateX(0px) translateY(-14px) scale(1.08); }
  50% { transform: translateX(0px) translateY(-22px) scale(1.08); }
}

/* ==================== VITRINE INTERACTIVE DES 9 ÉLÉMENTS ==================== */
.al-elements-showcase {
  background:
    radial-gradient(circle at 80% 30%, var(--el-glow, rgba(239, 68, 68, 0.18)) 0%, transparent 58%),
    linear-gradient(160deg, rgba(14, 22, 38, 0.94), rgba(7, 11, 20, 0.96));
  border: 1px solid var(--al-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--al-shadow), var(--al-inner-sheen);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.al-elements-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.al-el-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 24, 42, 0.9), rgba(7, 11, 20, 0.94));
  border: 1px solid rgba(243, 238, 228, 0.14);
  color: #b7c4d8;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.al-el-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--el-accent, var(--al-gold-strong));
  filter: drop-shadow(0 0 6px var(--el-glow, rgba(246, 213, 128, 0.45)));
}

.al-el-pill:hover {
  color: #fffdf7;
  border-color: var(--el-accent, var(--al-gold));
  transform: translateY(-1px);
}

.al-el-pill.is-active {
  color: #fffdf7;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--el-accent, #f9db8b) 32%, #0c1426) 0%,
    rgba(9, 15, 28, 0.96) 100%
  );
  border-color: var(--el-accent, var(--al-gold-strong));
  box-shadow:
    0 0 22px var(--el-glow, rgba(246, 213, 128, 0.45)),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 0 14px color-mix(in srgb, var(--el-accent, #f9db8b) 22%, transparent);
}

.al-el-pill.is-active .al-el-emblem {
  filter: drop-shadow(0 0 10px var(--el-accent, #f9db8b));
}

.al-el-spotlight {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.al-el-spot-card {
  width: 100%;
  border-radius: 16px;
  border: 1.5px solid var(--al-border-strong);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.65);
  display: block;
}

.al-el-spot-towers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.al-el-mini-tower {
  background: rgba(5, 9, 17, 0.82);
  border: 1px solid var(--al-border-soft);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
}

.al-el-mini-tower img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  padding: 3px;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 55%, rgba(232, 193, 103, 0.16), #050a14 78%);
  border: 1px solid rgba(232, 193, 103, 0.22);
  margin-bottom: 6px;
}

.al-el-mini-tower strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.25;
}

/* ==================== HOW IT WORKS & INDEP BANNER ==================== */
.al-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.al-how-card {
  background: linear-gradient(170deg, rgba(16, 25, 42, 0.92), rgba(8, 13, 24, 0.96));
  border: 1px solid var(--al-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--al-inner-sheen), 0 14px 36px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.al-how-card:hover {
  transform: translateY(-4px);
  border-color: var(--al-border-strong);
}

.al-how-showcase {
  height: 162px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: radial-gradient(circle at 50% 25%, rgba(232, 193, 103, 0.16), #060a12 78%);
  border-bottom: 1px solid rgba(236, 198, 110, 0.15);
  align-items: center;
}

.al-how-showcase img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid rgba(232, 193, 103, 0.34);
  background: #050810;
}

.al-how-showcase-equip img {
  object-fit: contain;
  padding: 8px;
  background: radial-gradient(circle at 50% 50%, rgba(123, 225, 221, 0.15), #050810 75%);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65));
}

.al-how-showcase-cards img {
  object-fit: contain;
  padding: 2px;
  background: #050810;
  border-color: rgba(246, 213, 128, 0.45);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.72);
}

.al-how-showcase-tours img {
  object-fit: contain;
  padding: 6px;
  background: radial-gradient(circle at 50% 55%, rgba(232, 193, 103, 0.18), #050810 76%);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.72));
}

.al-how-body {
  padding: 20px;
}

.al-step-num {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--al-gold-strong);
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.al-how-body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.al-how-body p {
  margin: 0;
  color: var(--al-muted);
  font-size: 0.91rem;
}

.al-indep-banner {
  background:
    radial-gradient(circle at 90% 20%, rgba(123, 225, 221, 0.14) 0%, transparent 50%),
    linear-gradient(135deg, rgba(16, 26, 44, 0.95), rgba(8, 15, 26, 0.96));
  border: 1px solid rgba(123, 225, 221, 0.32);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--al-inner-sheen), var(--al-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.al-indep-banner h2 {
  margin: 8px 0 6px;
  font-size: 1.45rem;
}

.al-indep-banner p {
  margin: 0;
  color: var(--al-muted);
  max-width: 720px;
}

.al-indep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.al-badge-cyan,
.al-badge-gold {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.al-badge-cyan {
  background: rgba(123, 225, 221, 0.14);
  color: var(--al-cyan);
  border: 1px solid rgba(123, 225, 221, 0.4);
}

.al-badge-gold {
  background: rgba(232, 193, 103, 0.16);
  color: var(--al-gold-strong);
  border: 1px solid rgba(232, 193, 103, 0.45);
}

/* ==================== PLAY / ARENA / COOP ==================== */
.al-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.al-mode-tab {
  background: rgba(13, 20, 34, 0.9);
  border: 1px solid var(--al-border-soft);
  color: var(--al-muted);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.18s ease;
}

.al-mode-tab.is-active {
  background: linear-gradient(135deg, rgba(123, 225, 221, 0.18), rgba(232, 193, 103, 0.12));
  border-color: var(--al-cyan);
  color: var(--al-ivory);
  box-shadow: 0 0 18px rgba(123, 225, 221, 0.16);
}

.al-alert-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(232, 193, 103, 0.12);
  border: 1px solid var(--al-gold);
  margin-bottom: 20px;
}

.al-alert-card p {
  margin: 4px 0 0;
  color: var(--al-muted);
  font-size: 0.92rem;
}

.al-arena-setup {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  background: var(--al-surface);
  border: 1px solid var(--al-border);
  border-radius: var(--al-radius);
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: var(--al-inner-sheen);
}

.al-setup-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 220px;
}

.al-setup-group label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--al-gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.al-select,
.al-input {
  background: #060a12;
  border: 1px solid rgba(236, 198, 110, 0.22);
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 16px;
  color: var(--al-ivory);
  width: 100%;
}

.al-select:focus,
.al-input:focus {
  outline: none;
  border-color: var(--al-cyan);
  box-shadow: 0 0 0 3px rgba(123, 225, 221, 0.14);
}

.al-arena-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.al-arena-stage-wrap {
  background: var(--al-surface-solid);
  border: 1px solid var(--al-border-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--al-shadow);
}

.al-arena-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(5, 8, 15, 0.92);
  border-bottom: 1px solid rgba(236, 198, 110, 0.2);
}

.al-hud-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(19, 30, 50, 0.9);
  border: 1px solid var(--al-border-soft);
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.al-hud-stat small {
  color: var(--al-muted);
  font-size: 0.74rem;
}

.al-hud-controls {
  display: flex;
  gap: 8px;
}

.al-canvas-container {
  position: relative;
  width: 100%;
  aspect-ratio: 840 / 480;
  background: #04070e;
  overflow: hidden;
}

#arena-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.al-arena-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 7, 14, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 14px;
  text-align: center;
  overflow-y: auto;
}

.al-arena-overlay-box {
  max-width: 460px;
  background: linear-gradient(160deg, #10192b, #070c16);
  border: 1px solid var(--al-gold-strong);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--al-shadow);
}

.al-arena-overlay-box h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.al-arena-overlay-box p {
  margin: 0 0 12px;
  color: var(--al-muted);
}

.al-arena-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.al-side-card {
  background: var(--al-surface);
  border: 1px solid var(--al-border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--al-inner-sheen);
}

.al-side-card h3 {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: var(--al-gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.al-belt-mini-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.al-belt-mini-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 11px;
  background: #060a12;
  border: 1px solid var(--al-border-soft);
  font-size: 0.74rem;
  text-align: center;
}

.al-belt-mini-btn.is-active {
  border-color: var(--al-cyan);
  box-shadow: 0 0 14px rgba(123, 225, 221, 0.34);
}

.al-belt-mini-btn img {
  width: 44px;
  height: 60px;
  object-fit: contain;
  background: #060a12;
  border: 1px solid rgba(232, 193, 103, 0.28);
  border-radius: 8px;
}

.al-towers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.al-tower-btn {
  text-align: left;
  padding: 8px;
  border-radius: 11px;
  background: #060a12;
  border: 1px solid var(--al-border-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.16s ease, transform 0.14s ease;
}

.al-tower-btn:hover {
  border-color: var(--al-gold);
}

.al-tower-btn.is-selected {
  border-color: var(--al-gold-strong);
  background: rgba(232, 193, 103, 0.15);
  box-shadow: 0 0 16px rgba(232, 193, 103, 0.2);
}

.al-tower-thumb {
  width: 74px;
  height: 74px;
  margin: 0 auto 2px;
  display: block;
  object-fit: cover;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, rgba(0, 0, 0, 0.78) 62%, transparent 88%);
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, rgba(0, 0, 0, 0.78) 62%, transparent 88%);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.78)) contrast(1.05) saturate(1.08);
}

.al-tower-btn strong {
  font-size: 0.8rem;
}

.al-tower-btn small {
  font-size: 0.71rem;
  color: var(--al-muted);
}

.al-tower-cost {
  color: var(--al-gold-strong);
  font-weight: 800;
  font-size: 0.76rem;
}

.al-powers-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.al-power-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 11px;
  background: var(--al-surface-2);
  border: 1px solid var(--al-border);
  text-align: left;
}

.al-power-btn:disabled {
  opacity: 0.45;
}

.al-power-ult {
  border-color: rgba(123, 225, 221, 0.48);
}

.al-hotkey {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d7a33d, var(--al-gold-strong));
  color: #0b0904;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.al-power-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.al-power-meta strong {
  font-size: 0.85rem;
}

.al-power-meta small {
  font-size: 0.75rem;
  color: var(--al-cyan);
}

.al-battle-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 150px;
  overflow-y: auto;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.al-battle-log li {
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

/* ==================== COOP RAID ==================== */
.al-coop-launcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.al-coop-box {
  background: var(--al-surface);
  border: 1px solid var(--al-border);
  border-radius: var(--al-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--al-inner-sheen);
}

.al-coop-box h3,
.al-coop-box p {
  margin: 0;
}

.al-coop-box p {
  color: var(--al-muted);
  font-size: 0.92rem;
}

.al-coop-room-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.al-join-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.al-join-row .al-input {
  flex: 1 1 130px;
  min-width: 0;
}

.al-coop-board {
  background: var(--al-surface);
  border: 1px solid var(--al-border-strong);
  border-radius: var(--al-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.al-coop-status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #060a12;
  border-radius: 12px;
  border: 1px solid var(--al-border-soft);
}

.al-synergy-banner {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(232, 193, 103, 0.16);
  border: 1px solid var(--al-gold-strong);
  color: var(--al-gold-strong);
  font-weight: 700;
}

.al-coop-hand-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.al-coop-hand-head h4 {
  margin: 0;
}

.al-coop-hand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.al-coop-card {
  background: #060a12;
  border: 1px solid var(--al-border-soft);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.al-coop-card.is-selected {
  border-color: var(--al-gold-strong);
  background: rgba(232, 193, 103, 0.16);
  transform: translateY(-4px);
}

.al-raid-card-portrait {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--al-border);
  margin-bottom: 4px;
}

.al-coop-card-kind {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--al-cyan);
}

.al-coop-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--al-muted);
}

.al-result-banner {
  padding: 16px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid var(--al-success);
}

/* ==================== BOOSTERS, GEMS, BUNDLES & LIGHTSPEED ==================== */
.al-wallets-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.al-dust-wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 30, 50, 0.92), rgba(8, 13, 24, 0.95));
  border: 1px solid var(--al-gold);
  box-shadow: var(--al-inner-sheen);
  font-size: 1.12rem;
  color: var(--al-gold-strong);
}

.al-dust-wallet small {
  color: var(--al-muted);
  font-size: 0.8rem;
}

.al-wallet-crys {
  border-color: rgba(56, 189, 248, 0.55);
  color: #7dd3fc;
}

.al-sealed-box {
  background:
    radial-gradient(circle at 88% 20%, rgba(246, 213, 128, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, rgba(34, 27, 12, 0.86), rgba(11, 17, 30, 0.96));
  border: 1.5px solid var(--al-gold-strong);
  border-radius: 20px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 18px 42px rgba(232, 193, 103, 0.14);
}

.al-sealed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.al-sealed-head h2 {
  margin: 6px 0 0;
  font-size: 1.28rem;
}

.al-sealed-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.al-sealed-chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 10, 18, 0.86);
  border: 1px solid var(--al-gold);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--al-gold-strong);
  transition: transform 0.14s ease, box-shadow 0.18s ease;
}

.al-sealed-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(246, 213, 128, 0.35);
}

.al-awakening-box {
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 213, 128, 0.16) 0%, transparent 60%),
    linear-gradient(155deg, rgba(19, 28, 46, 0.94), rgba(9, 14, 24, 0.98));
  border: 1.5px solid var(--al-gold);
  border-radius: 22px;
  padding: 26px;
  margin-bottom: 32px;
  box-shadow: var(--al-shadow), var(--al-inner-sheen);
}

.al-awakening-head h2 {
  margin: 8px 0 6px;
}

.al-awakening-head p {
  margin: 0 0 18px;
  color: var(--al-muted);
}

.al-starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.al-starter-card {
  background: linear-gradient(170deg, rgba(13, 20, 35, 0.96), rgba(6, 10, 18, 0.98));
  border: 1px solid var(--al-border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.al-starter-card:hover {
  transform: translateY(-4px);
  border-color: var(--al-gold-strong);
  box-shadow: 0 16px 36px rgba(232, 193, 103, 0.18);
}

.al-starter-card img {
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 18px;
  border: 1.5px solid var(--al-gold);
}

.al-starter-card h3 {
  margin: 0;
}

.al-starter-card p {
  margin: 0;
  color: var(--al-muted);
  font-size: 0.86rem;
}

.al-gems-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.al-gem-card {
  background: linear-gradient(170deg, rgba(16, 25, 44, 0.95), rgba(7, 11, 20, 0.98));
  border: 1px solid var(--al-border);
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--al-inner-sheen), 0 14px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.al-gem-card:hover {
  transform: translateY(-4px);
}

.al-gem-card[data-gem="nexus"] { border-top: 3px solid #38bdf8; }
.al-gem-card[data-gem="solaire"] { border-top: 3px solid #f59e0b; }
.al-gem-card[data-gem="obsidienne"] { border-top: 3px solid #a855f7; }
.al-gem-card[data-gem="fondateur"] { border-top: 3px solid #facc15; }

.al-gem-orb {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(4, 7, 14, 0.65));
  border: 1px solid var(--al-border-soft);
  margin-bottom: 10px;
}

.al-gem-svg {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
}

.al-gem-odds {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--al-muted);
}

.al-gem-odds li {
  display: flex;
  justify-content: space-between;
}

.al-bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 18px;
}

.al-bundle-card {
  background:
    radial-gradient(circle at 80% 10%, rgba(232, 193, 103, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, #111c31, #070c17);
  border: 1px solid var(--al-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--al-inner-sheen), 0 16px 38px rgba(0, 0, 0, 0.48);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.al-bundle-card:hover {
  transform: translateY(-4px);
  border-color: var(--al-gold-strong);
}

.al-bundle-head-art {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.al-bundle-art-svg {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65));
  flex-shrink: 0;
}

.al-bundle-card h3 {
  margin: 8px 0 6px;
  font-size: 1.06rem;
}

.al-bundle-card p {
  margin: 0;
  color: var(--al-muted);
  font-size: 0.84rem;
}

.al-bundle-prices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.al-crystals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.al-crystal-card {
  background: linear-gradient(165deg, rgba(15, 27, 48, 0.94), rgba(7, 12, 22, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.36);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--al-inner-sheen);
}

.al-convert-bar {
  margin-top: 16px;
  background: var(--al-surface);
  border: 1px solid var(--al-border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
}

.al-convert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==================== THÉÂTRE BOOSTER LIVE 4 CARTES (VRAI FLIP 3D!) ==================== */
.al-modal-dialog.is-wide {
  max-width: 1000px;
}

.al-booster-stage {
  text-align: center;
  padding: 8px 0;
}

.al-foil-pack {
  position: relative;
  overflow: hidden;
  margin: 20px auto;
  width: 244px;
  height: 344px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(246, 213, 128, 0.24) 0%, transparent 55%),
    linear-gradient(148deg, #1b2b4a 0%, #0b1324 48%, #281d0e 100%);
  border: 2px solid var(--al-gold-strong);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.78),
    0 0 44px rgba(232, 193, 103, 0.36),
    inset 0 0 28px rgba(123, 225, 221, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 18px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.25s ease;
}

.al-foil-pack::before,
.al-foil-pack::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    rgba(246, 213, 128, 0.45) 0 4px,
    rgba(10, 14, 24, 0.7) 4px 8px
  );
}

.al-foil-pack::before { top: 0; border-bottom: 1px dashed rgba(246, 213, 128, 0.7); }
.al-foil-pack::after { bottom: 0; border-top: 1px solid rgba(246, 213, 128, 0.45); }

.al-foil-pack:hover {
  transform: scale(1.045) translateY(-5px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 66px rgba(246, 213, 128, 0.6);
}

.al-booster-4grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
  perspective: 1200px;
}

.al-flip-slot {
  position: relative;
  border-radius: 18px;
  padding: 14px 12px;
  min-height: 316px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.25s ease;
}

.al-flip-slot:hover {
  transform: translateY(-6px);
}

.al-flip-slot.is-facedown {
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 193, 103, 0.16) 0%, transparent 56%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 8px, transparent 8px 16px),
    linear-gradient(160deg, #13203a 0%, #070c17 100%);
  border: 2px solid rgba(232, 193, 103, 0.48);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.6), 0 14px 30px rgba(0, 0, 0, 0.55);
}

.al-flip-slot.is-hero-hint {
  border-color: var(--al-gold-strong);
  box-shadow: 0 0 34px rgba(246, 213, 128, 0.45), inset 0 0 28px rgba(246, 213, 128, 0.16);
  animation: pulseAura 2.2s ease-in-out infinite;
}

@keyframes pulseAura {
  0%, 100% { box-shadow: 0 0 26px rgba(246, 213, 128, 0.36); }
  50% { box-shadow: 0 0 46px rgba(246, 213, 128, 0.68); }
}

.al-flip-slot.is-revealed {
  border: 1.5px solid var(--al-cyan);
  background: linear-gradient(165deg, #111c33, #070c16);
  animation: cardFlipIn 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cardFlipIn {
  0% { opacity: 0.4; transform: rotateY(88deg) scale(0.92); }
  100% { opacity: 1; transform: rotateY(0deg) scale(1); }
}

.al-flip-slot.rar-R { border-color: #38bdf8; box-shadow: 0 0 22px rgba(56, 189, 248, 0.34); }
.al-flip-slot.rar-SR { border-color: #c084fc; box-shadow: 0 0 26px rgba(192, 132, 252, 0.42); }
.al-flip-slot.rar-UR { border-color: #f59e0b; box-shadow: 0 0 32px rgba(245, 158, 11, 0.52); }
.al-flip-slot.rar-SEC { border-color: #ec4899; box-shadow: 0 0 38px rgba(236, 72, 153, 0.62); }
.al-flip-slot.rar-MYTH {
  border-color: #fde047;
  box-shadow: 0 0 48px rgba(250, 204, 21, 0.78), inset 0 0 32px rgba(250, 204, 21, 0.24);
}

.al-flip-slot img.al-booster-hero-img {
  width: 100%;
  max-width: 164px;
  border-radius: 11px;
  border: 1.5px solid var(--al-gold-strong);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.65);
}

.al-flip-slot img.al-booster-equip-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.72));
}

/* ==================== COLLECTION, BELT & EQUIPMENTS ==================== */
.al-collection-count {
  background: var(--al-surface);
  border: 1px solid var(--al-border);
  padding: 8px 16px;
  border-radius: 13px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.al-belt-panel {
  background:
    radial-gradient(circle at 50% 0%, rgba(123, 225, 221, 0.1) 0%, transparent 60%),
    var(--al-surface);
  border: 1px solid var(--al-border-strong);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--al-inner-sheen), var(--al-shadow);
}

.al-belt-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.al-belt-panel-head h2 {
  margin: 0;
  font-size: 1.28rem;
}

.al-combo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.al-combo-chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(232, 193, 103, 0.16);
  color: var(--al-gold-strong);
  border: 1px solid rgba(232, 193, 103, 0.45);
}

.al-belt-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.al-belt-4cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.al-belt-slot {
  background: rgba(6, 10, 18, 0.88);
  border: 1px dashed var(--al-border-soft);
  border-radius: 15px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 114px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.al-belt-slot.is-filled {
  border-style: solid;
  border-color: var(--al-cyan);
  box-shadow: 0 0 16px rgba(123, 225, 221, 0.12);
}

.al-belt-slot.is-locked {
  opacity: 0.55;
}

.al-belt-slot img {
  width: 62px;
  height: 86px;
  object-fit: cover;
  border-radius: 9px;
  flex-shrink: 0;
}

.al-collection-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.al-filters-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.al-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.al-tcg-card {
  background: linear-gradient(170deg, rgba(16, 25, 44, 0.96), rgba(7, 11, 20, 0.98));
  border: 1px solid var(--al-border);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.al-tcg-card.rar-R { border-color: rgba(56, 189, 248, 0.48); }
.al-tcg-card.rar-SR { border-color: rgba(192, 132, 252, 0.55); }
.al-tcg-card.rar-UR { border-color: rgba(245, 158, 11, 0.65); }
.al-tcg-card.rar-SEC { border-color: rgba(236, 72, 153, 0.72); }
.al-tcg-card.rar-MYTH { border-color: rgba(250, 204, 21, 0.85); box-shadow: 0 0 26px rgba(250, 204, 21, 0.25); }

.al-tcg-card.is-equipped {
  box-shadow: 0 0 24px rgba(123, 225, 221, 0.24);
}

.al-tcg-img-wrap {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 63 / 88;
  background: #050810;
}

.al-tcg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-tcg-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  pointer-events: none;
}

.al-pill-tag {
  background: rgba(5, 8, 15, 0.88);
  border: 1px solid rgba(246, 213, 128, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.al-tcg-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.al-tcg-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.94rem;
}

.al-tcg-sub {
  font-size: 0.8rem;
  color: var(--al-muted);
  display: flex;
  justify-content: space-between;
}

.al-equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 18px;
}

.al-equip-card {
  background: linear-gradient(170deg, rgba(16, 25, 44, 0.95), rgba(7, 11, 20, 0.98));
  border: 1px solid var(--al-border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: var(--al-inner-sheen);
}

.al-equip-card.is-equipped {
  border-color: var(--al-gold-strong);
  box-shadow: 0 0 24px rgba(232, 193, 103, 0.28);
}

.al-equip-card-art {
  position: relative;
  width: 148px;
  height: 207px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--eq-rar, rgba(246, 213, 128, 0.42));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.72), 0 0 18px color-mix(in srgb, var(--eq-rar, #94a3b8) 28%, transparent);
  background: #060a12;
  flex-shrink: 0;
}

.al-equip-card-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(128deg, transparent 20%, color-mix(in srgb, var(--eq-rar, #ffffff) 26%, transparent) 48%, transparent 74%);
  opacity: 0.45;
}

.al-equip-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.al-equip-rar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f8fafc;
  background: color-mix(in srgb, var(--eq-rar, #94a3b8) 26%, rgba(8, 12, 24, 0.92));
  border: 1px solid color-mix(in srgb, var(--eq-rar, #94a3b8) 76%, #ffffff);
  box-shadow: 0 0 12px color-mix(in srgb, var(--eq-rar, #94a3b8) 36%, transparent);
}

.al-equip-rar-badge.is-compact {
  font-size: 0.66rem;
  padding: 2px 8px;
  margin-bottom: 4px;
}

[data-rarity="C"] { --eq-rar: #94a3b8; }
[data-rarity="PC"] { --eq-rar: #34d399; }
[data-rarity="R"] { --eq-rar: #38bdf8; }
[data-rarity="SR"] { --eq-rar: #c084fc; }
[data-rarity="UR"] { --eq-rar: #f59e0b; }
[data-rarity="SEC"] { --eq-rar: #f472b6; }
[data-rarity="MYTH"] { --eq-rar: #fde047; }

.al-equip-card[data-rarity="SR"],
.al-equip-card[data-rarity="UR"],
.al-picker-card[data-rarity="SR"],
.al-picker-card[data-rarity="UR"] {
  border-color: color-mix(in srgb, var(--eq-rar) 62%, rgba(255, 255, 255, 0.14));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55), 0 0 22px color-mix(in srgb, var(--eq-rar) 26%, transparent);
}

.al-equip-card[data-rarity="SEC"],
.al-picker-card[data-rarity="SEC"] {
  border-color: rgba(244, 114, 182, 0.72);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 26px rgba(192, 132, 252, 0.34), inset 0 0 18px rgba(56, 189, 248, 0.16);
}

.al-equip-card[data-rarity="MYTH"],
.al-picker-card[data-rarity="MYTH"] {
  border-color: rgba(253, 224, 71, 0.88);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 32px rgba(250, 204, 21, 0.42), inset 0 0 22px rgba(253, 224, 71, 0.18);
}

.al-equip-card-art[data-rarity="SEC"] .al-equip-card-sheen {
  background: linear-gradient(125deg, rgba(56, 189, 248, 0.28), rgba(244, 114, 182, 0.34), rgba(250, 204, 21, 0.28));
  opacity: 0.55;
}

.al-equip-card-art[data-rarity="MYTH"] .al-equip-card-sheen {
  background: linear-gradient(130deg, rgba(253, 224, 71, 0.12), rgba(253, 224, 71, 0.42) 48%, rgba(245, 158, 11, 0.14));
  opacity: 0.68;
}

.al-hero-voice-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 8px 0 6px;
}

.al-hero-voice-quote {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(241, 245, 249, 0.84);
}

.al-album-class-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.al-voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246, 213, 128, 0.55);
  background: linear-gradient(135deg, rgba(232, 193, 103, 0.2), rgba(15, 23, 42, 0.88));
  color: #fef3c7;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.al-voice-pill.is-album {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.74rem;
}

.al-voice-pill:hover {
  transform: translateY(-1px);
  border-color: #fde047;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.34);
}

.al-voice-pill.is-playing {
  border-color: #38bdf8;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(15, 23, 42, 0.94));
  color: #e0f2fe;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.48);
}

@media (max-width: 640px) {
  .al-voice-pill,
  .al-voice-pill.is-album {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

.al-equip-card-art img,
.al-equip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-belt-empty-ico {
  width: 44px;
  height: 60px;
  border-radius: 8px;
  border: 1px dashed rgba(246, 213, 128, 0.35);
  background: rgba(15, 23, 42, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.al-arena-equip-pill {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(232, 193, 103, 0.13);
  border: 1px solid rgba(232, 193, 103, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.al-arena-equip-pill img {
  width: 38px;
  height: 53px;
  padding: 0;
  border-radius: 6px;
  background: #060a12;
  border: 1px solid rgba(246, 213, 128, 0.46);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.65);
}

/* ==================== TRADES & PROFILE ==================== */
.al-trade-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  align-items: center;
}

.al-trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.al-trade-card {
  background: linear-gradient(170deg, rgba(16, 25, 44, 0.95), rgba(7, 11, 20, 0.98));
  border: 1px solid var(--al-border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--al-inner-sheen);
}

.al-trade-card > .al-btn {
  margin-top: auto;
}

.al-trade-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.al-badge-nowrap {
  white-space: nowrap;
  flex-shrink: 0;
}

.al-trade-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.al-trade-top img {
  width: 82px;
  height: 114px;
  object-fit: contain;
  background: #060a12;
  border-radius: 11px;
  border: 1.5px solid var(--al-border-strong);
  flex-shrink: 0;
}

.al-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.al-profile-grid > * {
  min-width: 0;
  max-width: 100%;
}

.al-privacy-panel {
  grid-column: 1 / -1;
  border-color: rgba(232, 193, 103, 0.42);
  background:
    radial-gradient(circle at 92% 18%, rgba(123, 225, 221, 0.12) 0%, transparent 48%),
    var(--al-surface);
}

.al-card-panel {
  background: var(--al-surface);
  border: 1px solid var(--al-border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--al-inner-sheen);
  min-width: 0;
  max-width: 100%;
}

.al-card-panel h2 {
  margin: 0;
  font-size: 1.24rem;
  overflow-wrap: anywhere;
}

.al-muted {
  margin: 0;
  color: var(--al-muted);
  font-size: 0.9rem;
}

.al-profile-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.al-profile-summary > div:not(.al-avatar-badge) {
  min-width: 0;
  flex: 1;
}

#profile-username,
#lobby-username {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.al-avatar-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--al-cyan), var(--al-gold-strong));
  color: #070b11;
  font-weight: 900;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(123, 225, 221, 0.35);
}

.al-status-tag {
  font-size: 0.8rem;
  color: var(--al-cyan);
  font-weight: 600;
}

.al-xp-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.al-progress-bar {
  height: 10px;
  background: #050810;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--al-border-soft);
}

.al-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--al-cyan), var(--al-gold-strong));
  transition: width 0.35s ease;
}

.al-profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.al-mini-stat {
  background: rgba(5, 8, 15, 0.88);
  border: 1px solid var(--al-border-soft);
  border-radius: 13px;
  padding: 12px;
  text-align: center;
}

.al-mini-stat strong {
  display: block;
  font-size: 1.24rem;
  color: var(--al-gold-strong);
}

.al-mini-stat span {
  font-size: 0.78rem;
  color: var(--al-muted);
}

.al-auth-tabs {
  display: flex;
  gap: 8px;
}

.al-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.al-bridge-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.al-bridge-details {
  font-size: 0.86rem;
  color: #cbd5e1;
  background: #050810;
  border-radius: 11px;
  padding: 11px 13px;
  border: 1px solid var(--al-border-soft);
}

.al-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.al-code-preview {
  margin: 0;
  padding: 12px;
  border-radius: 11px;
  background: #03060c;
  border: 1px solid var(--al-border-soft);
  font-size: 0.76rem;
  overflow-x: auto;
  max-height: 180px;
  color: var(--al-cyan);
}

.al-matches-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.al-match-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #050810;
  border: 1px solid var(--al-border-soft);
  font-size: 0.85rem;
}

/* ==================== MODAL & TOAST ==================== */
.al-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.al-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.al-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(165deg, #10192c, #070c16);
  border: 1.5px solid var(--al-gold-strong);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85), 0 0 42px rgba(232, 193, 103, 0.18);
}

.al-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--al-border);
  background: rgba(6, 10, 18, 0.9);
  color: var(--al-ivory);
  font-weight: 800;
}

.al-modal-card-grid {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.al-modal-card-art {
  width: 100%;
  border-radius: 16px;
  border: 1.5px solid var(--al-gold-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.68);
}

.al-stat-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.al-stat-row {
  display: grid;
  grid-template-columns: 118px 1fr 34px;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}

.al-stat-track {
  height: 8px;
  background: #050810;
  border-radius: 999px;
  overflow: hidden;
}

.al-stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--al-cyan), var(--al-gold-strong));
}

.al-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.al-checkout-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.al-checkout-box > .al-badge-gold,
.al-checkout-box > .al-badge-cyan {
  align-self: flex-start;
  max-width: calc(100% - 48px);
}

.al-invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.al-invoice-table td {
  padding: 7px 0;
  border-bottom: 1px solid var(--al-border-soft);
}

.al-invoice-table td:last-child {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  padding-left: 12px;
}

.al-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 260;
  pointer-events: none;
  max-width: min(440px, calc(100vw - 24px));
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(11, 19, 34, 0.96);
  border: 1px solid var(--al-cyan);
  color: var(--al-ivory);
  box-shadow: var(--al-shadow);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.al-toast.is-error {
  border-color: var(--al-danger);
}

/* ==================== MOBILE & RESPONSIVE ==================== */
.al-mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .al-hero-content {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }
  .al-hero-fan {
    height: 248px;
  }
  .al-fan-card-wrap {
    width: 142px;
  }
  .al-fan-card-wrap:nth-child(1) { transform: translateX(-86px) translateY(8px) rotate(-10deg) scale(0.9); }
  .al-fan-card-wrap:nth-child(3) { transform: translateX(86px) translateY(8px) rotate(10deg) scale(0.9); }
  .al-el-spotlight {
    grid-template-columns: 1fr;
  }
  .al-el-spot-card {
    max-width: 210px;
    margin: 0 auto;
  }
  .al-el-spot-towers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .al-arena-layout {
    grid-template-columns: 1fr;
  }
  .al-gems-grid,
  .al-crystals-grid,
  .al-belt-4cols,
  .al-booster-4grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-profile-grid,
  .al-coop-launcher {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .al-nav-desktop,
  .al-brand-text small {
    display: none;
  }
  .al-topbar-inner {
    padding: 6px 10px;
    gap: 6px;
  }
  .al-brand {
    gap: 6px;
  }
  .al-brand-mark {
    width: 24px;
    height: 24px;
  }
  .al-brand-text strong {
    font-size: 0.88rem;
    letter-spacing: 0.01em;
  }
  .al-topbar-right {
    gap: 5px;
  }
  .al-status-pills {
    gap: 4px;
  }
  .al-pill {
    min-height: 44px;
    padding: 0 9px;
    gap: 4px;
    font-size: 0.76rem;
  }
  .al-sound-btn {
    min-width: 44px;
    min-height: 44px;
  }
  .al-lang-switch {
    padding: 0 2px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
  }
  .al-lang-btn {
    min-height: 44px;
    height: 44px;
    padding: 0 8px;
    font-size: 0.72rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .al-mode-tab {
    min-height: 44px;
  }
  .al-btn-sm {
    min-height: 44px;
    min-width: 44px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .al-el-pill {
    min-height: 44px;
    padding: 8px 12px;
  }
  .al-modal-close,
  .al-cinema-close-btn,
  .al-cinema-pill-btn {
    min-height: 44px;
    min-width: 44px;
  }
  .al-main {
    padding: 16px 14px 96px;
  }
  .al-how-grid,
  .al-starter-grid,
  .al-belt-slots-grid,
  .al-belt-4cols,
  .al-filters-bar,
  .al-gems-grid,
  .al-crystals-grid,
  .al-booster-4grid {
    grid-template-columns: 1fr;
  }
  .al-coop-hand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-modal-card-grid {
    grid-template-columns: 1fr;
  }
  .al-modal-card-art {
    max-width: 220px;
    margin: 0 auto;
    display: block;
  }
  .al-mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: rgba(5, 8, 15, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(236, 198, 110, 0.22);
    padding: 4px 2px calc(4px + env(safe-area-inset-bottom));
  }
  .al-mnav-btn {
    background: transparent;
    border: none;
    color: var(--al-muted);
    min-height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 1px;
    font-size: 0.66rem;
    font-weight: 600;
  }
  .al-mnav-btn.is-active {
    color: var(--al-gold-strong);
  }
  .al-toast {
    left: 14px;
    right: 14px;
    bottom: 84px;
    top: auto;
    transform: none;
    max-width: none;
  }
}

/* Mobile standard (< 640px : iPhone / Android) */
@media (max-width: 640px) {
  .al-lvl-word,
  .al-sound-btn {
    display: none;
  }
  .al-topbar-inner {
    padding: 6px 8px;
    gap: 5px;
  }
  .al-brand-text strong {
    font-size: 0.84rem;
  }
  .al-pill {
    padding: 0 7px;
    gap: 3px;
    font-size: 0.72rem;
  }
  .al-lang-btn {
    padding: 0 6px;
    font-size: 0.68rem;
  }
  .al-mode-tabs {
    gap: 5px;
  }
  .al-mode-tab {
    padding: 8px 9px;
    font-size: 0.74rem;
  }
  .al-canvas-container.has-overlay {
    min-height: 236px;
  }
  .al-arena-overlay {
    padding: 10px;
  }
  .al-arena-overlay-box {
    padding: 14px 16px;
    border-radius: 14px;
  }
  .al-arena-overlay-box h3 {
    font-size: 1.06rem;
    margin-bottom: 6px;
  }
  .al-arena-overlay-box p {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }
}

/* Ultra-compact mobile (320px - 385px : iPhone SE / petits écrans) */
@media (max-width: 385px) {
  .al-topbar-inner {
    padding: 5px 6px;
    gap: 4px;
  }
  .al-brand-text strong {
    font-size: 0.76rem;
  }
  .al-brand-mark {
    width: 21px;
    height: 21px;
  }
  .al-pill-level {
    display: none;
  }
  .al-pill {
    min-height: 44px;
    height: 44px;
    padding: 0 6px;
    font-size: 0.68rem;
  }
  .al-lang-switch {
    min-height: 44px;
    height: 44px;
    padding: 0 2px;
  }
  .al-lang-btn {
    min-height: 44px;
    height: 44px;
    padding: 0 6px;
    font-size: 0.66rem;
  }
  .al-hero-content {
    padding: 20px 14px;
  }
  .al-hero-title {
    font-size: 1.68rem;
  }
  .al-hero-fan {
    height: 210px;
  }
  .al-fan-card-wrap {
    width: 112px;
  }
  .al-fan-card-wrap:nth-child(1) { transform: translateX(-68px) translateY(8px) rotate(-10deg) scale(0.9); }
  .al-fan-card-wrap:nth-child(3) { transform: translateX(68px) translateY(8px) rotate(10deg) scale(0.9); }
  .al-elements-showcase {
    padding: 14px;
  }
  .al-el-pill {
    padding: 6px 9px;
    font-size: 0.74rem;
  }
  .al-mnav-btn {
    font-size: 0.6rem;
  }
}

/* ============================================================================
   PODIUM 3D DES BOOSTERS, PAQUETS FOIL COLLECTOR & SCÈNE CINÉMA LIVE
   ============================================================================ */
body.al-cinema-open {
  overflow: hidden;
}

/* ---- Podium 3D Studio sur la page Boosters ---- */
.al-podium-stage {
  position: relative;
  border-radius: 26px;
  padding: 22px;
  margin-bottom: 34px;
  background:
    radial-gradient(circle at 22% 30%, var(--podium-soft, rgba(56, 189, 248, 0.2)) 0%, transparent 56%),
    radial-gradient(circle at 86% 85%, rgba(232, 193, 103, 0.12) 0%, transparent 52%),
    linear-gradient(155deg, rgba(13, 21, 38, 0.96), rgba(5, 9, 18, 0.99));
  border: 1.5px solid var(--podium-accent, var(--al-gold));
  box-shadow:
    var(--al-inner-sheen),
    0 24px 64px rgba(0, 0, 0, 0.65),
    0 0 42px color-mix(in srgb, var(--podium-accent, #38bdf8) 22%, transparent);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.al-podium-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.al-podium-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(6, 11, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--al-muted);
  text-align: left;
  transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.al-podium-tab:hover {
  transform: translateY(-2px);
  border-color: var(--tab-accent, var(--al-gold));
  color: var(--al-ivory);
}

.al-podium-tab.is-active {
  background: linear-gradient(135deg, rgba(18, 30, 52, 0.96), rgba(9, 15, 28, 0.98));
  border-color: var(--tab-accent, var(--al-gold-strong));
  color: var(--al-ivory);
  box-shadow: 0 0 22px color-mix(in srgb, var(--tab-accent, #38bdf8) 38%, transparent);
}

.al-podium-tab-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.al-podium-tab strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
}

.al-podium-tab small {
  display: block;
  font-size: 0.76rem;
  color: var(--al-gold-strong);
  font-weight: 700;
}

.al-podium-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.al-podium-visual {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-podium-studio-stage {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--podium-accent, #38bdf8) 28%, rgba(255, 255, 255, 0.1));
  background:
    radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--podium-accent, #38bdf8) 26%, transparent) 0%, rgba(7, 13, 26, 0.94) 58%, #04070e 100%);
  box-shadow: inset 0 0 48px rgba(0, 0, 0, 0.88);
}

.al-podium-studio-beams {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(
      from 180deg at 50% 0%,
      transparent 0deg,
      color-mix(in srgb, var(--podium-accent, #38bdf8) 18%, transparent) 28deg,
      transparent 56deg,
      transparent 304deg,
      color-mix(in srgb, var(--podium-accent, #38bdf8) 18%, transparent) 332deg,
      transparent 360deg
    );
  opacity: 0.85;
  pointer-events: none;
}

.al-podium-studio-ring {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 248px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--podium-accent, #38bdf8) 55%, transparent);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--podium-accent, #38bdf8) 32%, transparent) 0%, transparent 72%);
  box-shadow: 0 0 28px color-mix(in srgb, var(--podium-accent, #38bdf8) 34%, transparent);
  pointer-events: none;
}

.al-podium-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(4, 8, 16, 0.82);
  border: 1px solid rgba(123, 225, 221, 0.45);
  color: #7be1dd;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.al-podium-pack-overlay {
  position: relative;
  z-index: 3;
  cursor: pointer;
  transition: transform 0.22s ease;
}

.al-podium-pack-overlay:hover {
  transform: translateY(-6px) scale(1.03);
}

.al-podium-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.al-podium-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.al-podium-title {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.15;
}

.al-podium-tagline {
  margin: 0;
  color: var(--al-muted);
  font-size: 0.94rem;
}

/* Bande anatomie 4 cartes */
.al-anatomy-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.al-anatomy-item {
  background: rgba(5, 9, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.al-anatomy-item.is-finale {
  border-color: var(--podium-accent, var(--al-gold-strong));
  background: linear-gradient(160deg, rgba(24, 30, 48, 0.95), rgba(8, 12, 22, 0.98));
  box-shadow: 0 0 18px color-mix(in srgb, var(--podium-accent, #facc15) 26%, transparent);
}

.al-anatomy-item img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  background: #03060c;
}

.al-anatomy-item img.is-contain {
  object-fit: contain;
  padding: 3px;
  background: radial-gradient(circle, rgba(246, 213, 128, 0.26) 0%, #070d18 74%);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.72));
}

.al-anatomy-item img.is-hero-crop {
  object-position: center 14%;
}

.al-anatomy-item img.is-relic-crop {
  object-fit: cover;
  object-position: center 32%;
  border: 1px solid rgba(246, 213, 128, 0.28);
}

.al-anatomy-item strong {
  display: block;
  font-size: 0.74rem;
  line-height: 1.2;
}

.al-anatomy-item small {
  display: block;
  font-size: 0.68rem;
  color: var(--al-muted);
}

/* Barres de probabilités transparentes */
.al-podium-odds-box {
  background: rgba(5, 9, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.al-podium-odds-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--al-gold-strong);
}

.al-podium-odds-head small {
  color: var(--al-muted);
  font-weight: 500;
}

.al-odds-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.al-odds-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.al-odds-code {
  font-weight: 800;
}

.al-odds-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.al-odds-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.al-odds-pct {
  text-align: right;
  font-size: 0.76rem;
}

.al-podium-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.al-btn-podium-open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.98rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--podium-accent, #f6d580) 40%, transparent);
}

.al-btn-cost-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.9);
  color: #f9db8b;
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid rgba(249, 219, 139, 0.42);
  white-space: nowrap;
  flex-shrink: 0;
}

.al-btn-cinema-reopen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---- Paquet Foil Métallique 3D Collector (.al-foil-pouch) ---- */
.al-foil-pouch {
  position: relative;
  display: flex;
  flex-direction: column;
  user-select: none;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.72));
}

.al-foil-sm {
  width: 138px;
}

.al-foil-md {
  width: 214px;
}

.al-foil-lg {
  width: 286px;
}

.al-foil-top-cap {
  position: relative;
  border-radius: 10px 10px 2px 2px;
  background: var(--tier-bg);
  border: 1.5px solid var(--tier-accent, var(--al-gold-strong));
  border-bottom: none;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  z-index: 4;
}

.al-foil-top-cap.is-torn-off {
  transform: translate(180px, -110px) rotate(32deg) !important;
  opacity: 0;
}

.al-foil-crimp {
  height: 11px;
  background: repeating-linear-gradient(
    90deg,
    color-mix(in srgb, var(--tier-accent, #f6d580) 62%, #ffffff) 0 3px,
    rgba(6, 10, 18, 0.78) 3px 7px
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.al-foil-crimp-bottom {
  border-bottom: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: auto;
}

.al-foil-cap-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 4px 8px;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--tier-accent, #f6d580);
  background: rgba(5, 9, 18, 0.72);
}

.al-foil-sm .al-foil-cap-bar {
  padding: 3px 6px;
  font-size: 0.45rem;
  letter-spacing: 0.03em;
}

.al-foil-seam-static {
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--tier-accent, #f6d580) 0 6px,
    transparent 6px 10px
  );
  opacity: 0.7;
}

/* Bande interactive glisser-pour-déchirer */
.al-foil-tear-zone {
  position: relative;
  height: 44px;
  margin: -2px 0;
  z-index: 6;
  background: rgba(6, 10, 18, 0.94);
  border-left: 1.5px solid var(--tier-accent);
  border-right: 1.5px solid var(--tier-accent);
  display: flex;
  align-items: center;
  padding: 0 8px;
  cursor: grab;
  touch-action: none;
}

.al-foil-tear-zone:active {
  cursor: grabbing;
}

.al-foil-seam-beam {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  width: 0%;
  opacity: 0;
  background: linear-gradient(90deg, #ffffff, var(--tier-accent), #ffffff);
  box-shadow: 0 0 24px var(--tier-accent), 0 0 42px #ffffff;
  pointer-events: none;
}

.al-foil-tear-track {
  position: relative;
  width: 100%;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed color-mix(in srgb, var(--tier-accent) 75%, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.al-foil-tear-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tier-accent) 40%, transparent), var(--tier-accent));
  pointer-events: none;
}

.al-foil-tear-handle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7d6, var(--tier-accent));
  color: #090d16;
  font-size: 0.95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--tier-glow);
  z-index: 2;
}

.al-foil-tear-hint {
  position: relative;
  z-index: 1;
  padding-left: 26px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fef3c7;
  pointer-events: none;
  animation: tearHintPulse 1.8s ease-in-out infinite;
}

@keyframes tearHintPulse {
  0%, 100% { opacity: 0.75; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

.al-foil-body {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--tier-bg);
  border: 1.5px solid var(--tier-accent, var(--al-gold-strong));
  border-top: none;
  border-radius: 2px 2px 12px 12px;
  overflow: hidden;
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.72),
    0 0 32px color-mix(in srgb, var(--tier-accent, #f6d580) 26%, transparent);
}

.al-foil-sheen {
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    118deg,
    transparent 36%,
    rgba(255, 255, 255, 0.18) 49%,
    rgba(255, 255, 255, 0.04) 55%,
    transparent 64%
  );
  transform: translateX(-60%);
  animation: foilSweep 4.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes foilSweep {
  0%, 100% { transform: translateX(-65%); }
  50% { transform: translateX(65%); }
}

.al-foil-art-window {
  position: relative;
  margin: 10px 10px 0;
  aspect-ratio: 16 / 13;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid color-mix(in srgb, var(--tier-accent) 65%, #ffffff);
  background: #04070e;
}

.al-foil-sm .al-foil-art-window {
  margin: 7px 7px 0;
  border-radius: 7px;
}

.al-foil-art-window img,
.al-foil-art-window video.al-foil-live-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-foil-art-window video.al-foil-live-video {
  filter: saturate(1.16) contrast(1.06);
}

.al-foil-art-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 45%, rgba(4, 7, 14, 0.65) 100%);
}

.al-foil-hit-ribbon {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #070b11;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.al-foil-front-copy {
  position: relative;
  z-index: 2;
  padding: 12px 10px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.al-foil-sm .al-foil-front-copy {
  padding: 8px 6px 9px;
}

.al-foil-crest {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--tier-accent, #f6d580);
}

.al-foil-front-copy strong {
  font-size: 0.98rem;
  line-height: 1.15;
  color: #ffffff;
}

.al-foil-sm .al-foil-front-copy strong {
  font-size: 0.78rem;
}

.al-foil-lg .al-foil-front-copy strong {
  font-size: 1.24rem;
}

.al-foil-front-copy small {
  font-size: 0.64rem;
  color: #cbd5e1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.al-foil-sm .al-foil-front-copy small {
  font-size: 0.56rem;
}

/* Cartes boutique Boosters & Boosters Scellés & Eventail Bundles */
.al-sealed-pack-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.al-sealed-pack-btn:hover {
  transform: translateY(-6px) scale(1.03);
}

.al-gem-card-pack-slot {
  display: flex;
  justify-content: center;
  padding: 6px 0 4px;
  cursor: pointer;
}

.al-gem-card.is-podium-selected {
  border-color: var(--al-gold-strong);
  box-shadow: var(--al-inner-sheen), 0 0 28px rgba(246, 213, 128, 0.24);
}

.al-bundle-unit-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--al-cyan);
  background: rgba(123, 225, 221, 0.12);
  border: 1px solid rgba(123, 225, 221, 0.34);
  padding: 3px 9px;
  border-radius: 999px;
}

.al-bundle-fan {
  position: relative;
  height: 118px;
  margin: 14px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-bundle-mini-pack {
  position: absolute;
  width: 72px;
  height: 102px;
  border-radius: 9px;
  overflow: hidden;
  border: 1.5px solid var(--tier-accent, #f6d580);
  background: #070d1a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.72), 0 0 16px color-mix(in srgb, var(--tier-accent) 32%, transparent);
  transition: transform 0.24s ease;
}

.al-bundle-mini-pack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-bundle-mini-label {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4, 8, 16, 0.88);
  color: var(--tier-accent, #f6d580);
  border: 1px solid var(--tier-accent, #f6d580);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.56rem;
  font-weight: 900;
}

.al-bundle-mini-pack.is-left {
  transform: translateX(-28px) rotate(-12deg) scale(0.92);
  z-index: 1;
}

.al-bundle-mini-pack.is-center {
  transform: translateY(-4px);
  z-index: 3;
}

.al-bundle-mini-pack.is-right {
  transform: translateX(28px) rotate(12deg) scale(0.92);
  z-index: 2;
}

.al-bundle-card:hover .al-bundle-mini-pack.is-left {
  transform: translateX(-34px) rotate(-16deg) scale(0.95);
}

.al-bundle-card:hover .al-bundle-mini-pack.is-right {
  transform: translateX(34px) rotate(16deg) scale(0.95);
}

.al-bundle-card.is-display-box {
  border-color: rgba(250, 204, 21, 0.52);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.2) 0%, transparent 56%),
    linear-gradient(165deg, #171e35, #070b15);
}

/* ============================================================================
   SCÈNE CINÉMA PLEIN ÉCRAN D'OUVERTURE LIVE DES BOOSTERS (#al-cinema-overlay)
   ============================================================================ */
.al-cinema-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: #03050a;
  color: var(--al-ivory);
}

.al-cinema-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.al-cinema-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(2px) saturate(1.2);
  pointer-events: none;
  z-index: 0;
}

.al-cinema-vignette {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--cinema-accent, #38bdf8) 18%, transparent) 0%, rgba(3, 5, 11, 0.88) 72%),
    linear-gradient(180deg, rgba(3, 5, 11, 0.72), rgba(3, 5, 11, 0.92));
  pointer-events: none;
  z-index: 1;
}

.al-cinema-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.al-cinema-flash {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.al-cinema-flash.is-flashing {
  animation: cinemaFlashBurst 0.55s ease-out forwards;
}

@keyframes cinemaFlashBurst {
  0% { opacity: 0.9; }
  100% { opacity: 0; }
}

.al-cinema-topbar {
  position: relative;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(180deg, rgba(3, 6, 12, 0.9), transparent);
}

.al-cinema-brand,
.al-cinema-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.al-cinema-step-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(11, 18, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
}

.al-cinema-pill-btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 17, 30, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.al-cinema-pill-btn.is-on {
  border-color: var(--al-cyan);
  color: var(--al-cyan);
  background: rgba(123, 225, 221, 0.12);
}

.al-cinema-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 13, 24, 0.92);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.al-cinema-center {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 32px;
}

/* Étape 1 : Paquet scellé sur piédestal */
.al-cinema-sealed-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 540px;
  width: 100%;
}

.al-cinema-sealed-copy h1 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  background: linear-gradient(120deg, #fff6d1, var(--cinema-accent, #f6d580));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.al-cinema-sealed-copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.94rem;
}

.al-cinema-pack-pedestal {
  position: relative;
  padding: 12px;
  transform: translateX(var(--rip-shake, 0px));
  transition: transform 0.22s ease, opacity 0.25s ease;
}

.al-cinema-pack-pedestal.is-ripping-open {
  transform: scale(1.12);
  opacity: 0;
}

.al-cinema-pack-halo {
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cinema-glow, rgba(56, 189, 248, 0.45)) 0%, transparent 66%);
  filter: blur(22px);
  pointer-events: none;
  animation: pulseHalo 2.6s ease-in-out infinite;
}

@keyframes pulseHalo {
  0%, 100% { transform: scale(0.94); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}

.al-btn-cinema-rip {
  padding: 14px 28px;
  font-size: 1.02rem;
  box-shadow: 0 12px 34px var(--cinema-glow, rgba(246, 213, 128, 0.45));
}

/* Couche Vidéo Cutscene Plein Cadre (Fracture + Explosion Rareté) */
.al-cinema-cutscene {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: #020409;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-cinema-cutscene-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.al-cinema-cutscene-hud {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 24px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 16px;
  border-radius: 24px;
  background: rgba(4, 8, 16, 0.84);
  border: 1px solid rgba(246, 213, 128, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Étape 3 : Table 4 Cartes avec VRAI Flip 3D */
.al-cinema-reveal-wrap {
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.al-cinema-reveal-head {
  text-align: center;
}

.al-cinema-reveal-head h2 {
  margin: 8px 0 4px;
  font-size: clamp(1.3rem, 2.6vw, 1.95rem);
}

.al-cinema-reveal-head p {
  margin: 0;
  color: var(--al-muted);
  font-size: 0.9rem;
}

.al-cinema-rarity-banner {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rar-c, #f6d580) 20%, rgba(6, 10, 18, 0.9));
  border: 1.5px solid var(--rar-c, #f6d580);
  color: var(--rar-c, #f6d580);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  box-shadow: 0 0 28px color-mix(in srgb, var(--rar-c, #f6d580) 48%, transparent);
  animation: bannerPop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bannerPop {
  0% { transform: scale(0.65); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.al-cinema-4grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  perspective: 1400px;
}

.al-c3d-card {
  position: relative;
  height: 392px;
  cursor: pointer;
  perspective: 1200px;
}

.al-c3d-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.al-c3d-card:hover:not(.is-flipped) .al-c3d-inner {
  transform: translateY(-8px) rotateX(4deg);
}

.al-c3d-card.is-flipped .al-c3d-inner {
  transform: rotateY(180deg);
}

.al-c3d-face {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* Dos de carte AccessLeague Foil */
.al-c3d-back {
  background:
    radial-gradient(circle at 50% 42%, rgba(246, 213, 128, 0.18) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #162644 0%, #070d1b 100%);
  border: 2px solid rgba(232, 193, 103, 0.54);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65), inset 0 0 28px rgba(0, 0, 0, 0.7);
  padding: 12px;
  display: flex;
}

.al-c3d-back-frame {
  flex: 1;
  border-radius: 14px;
  border: 1px solid rgba(246, 213, 128, 0.36);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 14px;
}

.al-c3d-slot-num {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--al-cyan);
  background: rgba(123, 225, 221, 0.12);
  border: 1px solid rgba(123, 225, 221, 0.38);
  padding: 4px 10px;
  border-radius: 999px;
}

.al-c3d-back-emblem {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 213, 128, 0.22), rgba(5, 9, 18, 0.85));
  border: 1.5px solid rgba(246, 213, 128, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  box-shadow: 0 0 24px rgba(246, 213, 128, 0.25);
}

.al-c3d-back-title {
  font-size: 1.02rem;
}

.al-c3d-back-frame small {
  color: var(--al-muted);
  font-size: 0.76rem;
}

/* Teaser pulsant sur la Carte 4 (Héros Final) */
.al-c3d-card.is-hero-card:not(.is-flipped) .al-c3d-back {
  border-color: var(--hero-rar-color, #f6d580);
  box-shadow:
    0 0 38px color-mix(in srgb, var(--hero-rar-color, #f6d580) 58%, transparent),
    inset 0 0 34px color-mix(in srgb, var(--hero-rar-color, #f6d580) 24%, transparent);
  animation: heroTeaserPulse 1.8s ease-in-out infinite;
}

@keyframes heroTeaserPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.022); }
}

/* Face avant des 4 Cartes */
.al-c3d-front {
  transform: rotateY(180deg);
  background: linear-gradient(170deg, #13213c 0%, #070c17 100%);
  border: 2px solid var(--al-cyan);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.75);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 8px;
}

.al-c3d-card.rar-R .al-c3d-front { border-color: #38bdf8; box-shadow: 0 0 30px rgba(56, 189, 248, 0.42); }
.al-c3d-card.rar-SR .al-c3d-front { border-color: #c084fc; box-shadow: 0 0 34px rgba(192, 132, 252, 0.48); }
.al-c3d-card.rar-UR .al-c3d-front { border-color: #f59e0b; box-shadow: 0 0 40px rgba(245, 158, 11, 0.56); }
.al-c3d-card.rar-SEC .al-c3d-front { border-color: #ec4899; box-shadow: 0 0 46px rgba(236, 72, 153, 0.65); }
.al-c3d-card.rar-MYTH .al-c3d-front {
  border-color: #fde047;
  box-shadow: 0 0 56px rgba(250, 204, 21, 0.78), inset 0 0 32px rgba(250, 204, 21, 0.22);
}

.al-c3d-media-box {
  width: 100%;
  height: 192px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #04070e;
}

.al-c3d-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-c3d-counter {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--al-gold-strong);
  letter-spacing: 0.02em;
}

.al-c3d-counter-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.al-c3d-equip-stage {
  width: auto;
  max-width: 100%;
  height: 178px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1.5px solid rgba(246, 213, 128, 0.56);
  background: #060a12;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.72), 0 0 18px color-mix(in srgb, var(--cinema-accent, #f6d580) 24%, transparent);
  overflow: hidden;
  animation: equipFloat 3.4s ease-in-out infinite;
}

.al-c3d-equip-img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes equipFloat {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-4px); }
}

.al-c3d-hero-wrap {
  width: auto;
  max-width: 100%;
  height: 242px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  overflow: hidden;
  border: 1.5px solid var(--hero-rar-color, #f6d580);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75);
  background: #060a12;
}

.al-c3d-hero-img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.al-c3d-item-title {
  font-size: 0.96rem;
  line-height: 1.2;
}

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

/* ---- Responsive Podium & Scène Cinéma (Tablette & Cellulaire jusqu'à 320px) ---- */
@media (max-width: 1024px) {
  .al-podium-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-podium-grid {
    grid-template-columns: 1fr;
  }
  .al-podium-visual {
    min-height: 320px;
  }
  .al-cinema-4grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .al-podium-stage {
    padding: 14px;
    border-radius: 20px;
  }
  .al-podium-tabs {
    gap: 7px;
  }
  .al-podium-tab {
    padding: 8px 10px;
    gap: 7px;
  }
  .al-podium-tab strong {
    font-size: 0.78rem;
  }
  .al-podium-visual {
    min-height: 318px;
    padding: 46px 12px 16px;
  }
  .al-foil-md {
    width: 178px;
  }
  .al-foil-lg {
    width: 246px;
  }
  .al-anatomy-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-cinema-topbar {
    padding: 10px 12px;
  }
  .al-cinema-step-pill {
    display: none;
  }
  .al-cinema-4grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .al-c3d-card {
    height: 332px;
  }
  .al-c3d-media-box {
    height: 136px;
  }
  .al-c3d-hero-wrap {
    height: 196px;
  }
  .al-c3d-equip-stage {
    height: 140px;
  }
  .al-c3d-equip-img {
    width: auto;
    height: 100%;
  }
  .al-c3d-counter {
    font-size: 1.2rem;
  }
}

@media (max-width: 385px) {
  .al-cinema-4grid {
    grid-template-columns: 1fr;
  }
  .al-c3d-card {
    height: 348px;
  }
  .al-foil-lg {
    width: 232px;
  }
}

@media (max-width: 350px) {
  .al-equip-card-art {
    width: 96px;
    height: 134px;
  }
}

/* ============================================================================
   ÉPURATION « REGARD NEUF » — HIÉRARCHIE CLAIRE, TIROIRS PROPRES & ABOVE-THE-FOLD
   ============================================================================ */
.al-page-header-compact {
  margin-bottom: 16px;
}

.al-page-header-compact h1 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin: 0 0 3px;
}

.al-page-header-compact p {
  font-size: 0.9rem;
}

/* Tiroirs repliables (Probabilités, Filtres, Options avancées TCA) */
.al-odds-drawer {
  background: rgba(5, 9, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 14px;
}

.al-odds-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--al-gold-strong);
  min-height: 28px;
}

.al-odds-summary::-webkit-details-marker {
  display: none;
}

.al-odds-summary small {
  color: var(--al-muted);
  font-weight: 500;
}

.al-collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.al-collection-toolbar .al-collection-tabs {
  margin-bottom: 0;
}

.al-filter-drawer {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.al-filter-drawer > summary {
  list-style: none;
  cursor: pointer;
}

.al-filter-drawer > summary::-webkit-details-marker {
  display: none;
}

.al-filter-drawer[open] {
  width: 100%;
  flex-basis: 100%;
  align-items: stretch;
}

.al-filter-drawer .al-filters-bar {
  margin-top: 10px;
  margin-bottom: 4px;
}

.al-advanced-drawer {
  grid-column: 1 / -1;
  padding: 16px 20px;
}

.al-advanced-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--al-ivory);
  min-height: 36px;
}

.al-advanced-summary::-webkit-details-marker {
  display: none;
}

.al-advanced-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--al-border-soft);
}

/* Compacité Podium Boosters sur Desktop 1280x800 pour garder le CTA au-dessus du fold */
.al-podium-stage {
  padding: 18px 20px;
  margin-bottom: 18px;
}

.al-podium-tabs {
  margin-bottom: 16px;
}

.al-podium-visual {
  min-height: 344px;
}

/* Compacité Barre de réglage Arène sur Desktop */
.al-arena-setup {
  padding: 12px 16px;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .al-page-header-compact {
    margin-bottom: 12px;
  }
  .al-page-header-compact h1 {
    font-size: 1.38rem;
  }
  .al-hero-content {
    padding: 18px 16px;
    gap: 14px;
  }
  .al-hero-title {
    font-size: 1.62rem;
    margin: 6px 0 8px;
  }
  .al-hero-lead {
    font-size: 0.88rem;
    margin: 0 0 12px;
  }
  .al-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
  }
  .al-metric strong {
    font-size: 1.15rem;
  }
  .al-metric span {
    font-size: 0.7rem;
  }
  .al-hero-fan {
    height: 194px;
  }
  .al-fan-card-wrap {
    width: 118px;
  }
  .al-fan-card-wrap:nth-child(1) { transform: translateX(-74px) translateY(8px) rotate(-10deg) scale(0.9); }
  .al-fan-card-wrap:nth-child(3) { transform: translateX(74px) translateY(8px) rotate(10deg) scale(0.9); }
  .al-odds-summary,
  .al-advanced-summary {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  /* Arène : contrôles sur 2 colonnes compactes pour faire remonter le plateau au 1er écran */
  .al-arena-setup {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
  }
  .al-setup-group {
    flex: none;
    min-width: 0;
  }
  .al-setup-actions {
    grid-column: 1 / -1;
  }
  .al-setup-actions .al-btn {
    width: 100%;
  }

  /* Podium Boosters mobile compact : CTA principal accessible dès le 1er écran */
  .al-podium-tabs {
    margin-bottom: 12px;
  }
  .al-podium-grid {
    gap: 14px;
  }
  .al-podium-visual {
    min-height: 318px;
    padding: 48px 10px 16px;
  }
  .al-podium-live-badge {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .al-foil-md {
    width: 178px;
  }
  .al-foil-md .al-foil-cap-bar {
    padding: 4px 7px;
    font-size: 0.48rem;
    letter-spacing: 0.04em;
  }
  .al-podium-title {
    font-size: 1.42rem;
  }
  .al-podium-tagline {
    font-size: 0.84rem;
  }
  .al-anatomy-item {
    padding: 6px;
  }
  .al-anatomy-item img {
    height: 68px;
  }

  /* Collection mobile : Ceinture 2x2 compacte + Cartes Héros 2 colonnes visibles dès le 1er écran */
  .al-belt-panel {
    padding: 12px;
    margin-bottom: 12px;
  }
  .al-belt-panel-head {
    margin-bottom: 10px;
  }
  .al-belt-panel-head h2 {
    font-size: 1.02rem;
  }
  .al-belt-4cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .al-belt-slot {
    padding: 8px;
    min-height: 76px;
    min-width: 0;
    overflow: hidden;
    gap: 8px;
    font-size: 0.76rem;
  }
  .al-belt-slot > div {
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
  }
  .al-belt-slot .al-badge-gold,
  .al-belt-slot .al-badge-cyan {
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
  }
  .al-belt-slot img {
    width: 40px;
    height: 56px;
    flex-shrink: 0;
  }
  .al-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .al-equip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .al-equip-card {
    padding: 12px 9px;
    border-radius: 14px;
    gap: 6px;
  }
  .al-equip-card strong {
    font-size: 0.86rem;
    line-height: 1.2;
  }
  .al-equip-card small {
    font-size: 0.72rem;
    line-height: 1.3;
  }
  .al-equip-card-art {
    width: 112px;
    height: 157px;
    border-radius: 10px;
  }
  .al-tcg-card {
    padding: 8px;
    gap: 6px;
  }
  .al-tcg-title {
    font-size: 0.8rem;
  }
  .al-tcg-sub {
    font-size: 0.72rem;
  }
  .al-filter-drawer {
    align-items: stretch;
  }
}

/* ============================================================================
   BENCHMARK 10× — ARÈNE INSPECTEUR TOURS, MÉDAILLES, RÉSONANCE, QUOTIDIEN, ALBUM & FORGE
   ============================================================================ */
.al-tower-inspector {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(17, 29, 52, 0.96), rgba(9, 16, 30, 0.96));
  border: 1px solid rgba(246, 213, 128, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.al-ti-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  font-size: 0.86rem;
}
.al-ti-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 640px) {
  .al-ti-actions {
    width: 100%;
  }
  .al-ti-actions #btn-tower-upgrade {
    flex: 1 1 100%;
  }
  .al-ti-actions #btn-tower-sell {
    flex: 1 1 auto;
  }
}
@media (min-width: 721px) {
  .al-tower-inspector {
    flex-wrap: nowrap;
  }
  .al-ti-meta {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }
  .al-ti-actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
}

.al-medals-strip {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.al-medal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--al-muted);
}
.al-medal-chip.is-bronze { border-color: rgba(217, 119, 6, 0.55); color: #fdba74; }
.al-medal-chip.is-silver { border-color: rgba(203, 213, 225, 0.6); color: #e2e8f0; }
.al-medal-chip.is-gold { border-color: rgba(250, 204, 21, 0.7); color: #fde047; background: rgba(250, 204, 21, 0.1); }
.al-medal-chip.is-mythic { border-color: rgba(236, 72, 153, 0.75); color: #f9a8d4; background: rgba(236, 72, 153, 0.14); }
.al-sealed-overflow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(246, 213, 128, 0.45);
  color: #f6d580;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Jauge de Résonance anti-malchance sur le Podium Boosters */
.al-resonance-box {
  margin: 10px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(11, 19, 34, 0.72);
  border: 1px solid rgba(246, 213, 128, 0.28);
}
.al-resonance-box.is-ready {
  border-color: rgba(250, 204, 21, 0.8);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.25);
}
.al-resonance-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f6d580;
  margin-bottom: 6px;
}
.al-resonance-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
  margin-bottom: 5px;
}
.al-resonance-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #f59e0b, #fde047);
  transition: width 0.35s ease;
}
.al-resonance-box small {
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
}

/* Mode Rafale VIP dans #al-cinema-overlay */
.al-batch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 1040px;
  margin: 14px auto;
}
.al-batch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(16, 26, 46, 0.94), rgba(7, 12, 24, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.28);
  cursor: pointer;
  text-align: center;
}
.al-batch-card.is-top-hit {
  border-color: #fde047;
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.35);
}
.al-batch-hero-img {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  background: #060a12;
  border-radius: 10px;
}
.al-batch-hero-title {
  font-size: 0.9rem;
  color: var(--al-ivory);
}
.al-batch-equip-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.72rem;
  color: var(--al-muted);
}
.al-batch-equip-mini img {
  width: 18px;
  height: 25px;
  border-radius: 3px;
  object-fit: cover;
}

/* Quotidien 10× : Coffre Éclair & 3 Défis Express */
.al-daily-section {
  margin-top: 18px;
  margin-bottom: 18px;
}
.al-daily-strip {
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: 14px;
  align-items: stretch;
}
.al-daily-chest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24, 34, 58, 0.94), rgba(10, 17, 32, 0.96));
  border: 1px solid rgba(246, 213, 128, 0.35);
}
.al-daily-chest.is-ready {
  border-color: rgba(250, 204, 21, 0.78);
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.16);
}
.al-daily-chest-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.al-daily-quests-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.al-daily-quest-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(12, 20, 36, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
}
.al-daily-quest-item.is-ready {
  border-color: rgba(123, 225, 221, 0.7);
  background: rgba(13, 30, 48, 0.92);
}
.al-daily-quest-item.is-done {
  opacity: 0.72;
}
.al-daily-quest-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}
.al-daily-quest-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}
.al-daily-quest-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #7be1dd);
  border-radius: 999px;
}
.al-quest-claim-btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.al-quest-prog {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--al-cyan);
  white-space: nowrap;
}
.al-quest-done {
  font-size: 0.76rem;
  font-weight: 700;
  color: #4ade80;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .al-daily-strip { grid-template-columns: 1fr; }
  .al-daily-quests-grid { grid-template-columns: 1fr; }
}

/* Collection 10× : Album 63 Cartes & Forge de Fusion 3→1 */
.al-album-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(12, 20, 36, 0.85);
  border: 1px solid rgba(246, 213, 128, 0.25);
  margin-bottom: 14px;
}
.al-album-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.al-album-class-row {
  padding: 12px;
  border-radius: 14px;
  background: rgba(10, 17, 30, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.16);
}
.al-album-class-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.al-album-slots-7 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.al-album-slot {
  position: relative;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 5 / 7;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #070d18;
  cursor: pointer;
}
.al-album-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.al-album-slot.is-missing {
  cursor: default;
  border-style: dashed;
}
.al-album-slot.is-missing img {
  filter: brightness(0.16) saturate(0.15) contrast(1.2);
}
.al-album-rar {
  position: absolute;
  bottom: 4px;
  left: 4px;
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(7, 11, 17, 0.86);
  color: #f6d580;
}
.al-album-qty {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(14, 165, 233, 0.9);
  color: #fff;
}
.al-album-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(246, 213, 128, 0.45);
}

.al-forge-panel {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(18, 28, 50, 0.92), rgba(9, 15, 28, 0.95));
  border: 1px solid rgba(246, 213, 128, 0.3);
}
.al-forge-tiers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.al-forge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.al-forge-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(9, 16, 30, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--al-ivory);
  cursor: pointer;
  text-align: center;
}
.al-forge-card img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  background: #060a12;
  border-radius: 8px;
}
.al-forge-card.is-selected {
  border-color: #fde047;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.38);
  transform: translateY(-2px);
}
.al-forge-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fde047;
  color: #070b11;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.al-forge-actionbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}
@media (max-width: 720px) {
  .al-album-slots-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Raid & Boutique 10× : Boss Hebdomadaire & Codes Boosters Caisse */
.al-weekly-boss-box {
  border-color: rgba(250, 204, 21, 0.55) !important;
  background: linear-gradient(155deg, rgba(44, 28, 12, 0.9), rgba(11, 18, 34, 0.96)) !important;
}
.al-promo-bar {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 28, 48, 0.92), rgba(8, 14, 26, 0.96));
  border: 1px solid rgba(246, 213, 128, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.al-promo-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.al-promo-form .al-input {
  min-width: 195px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Garanties finales petits écrans (320px - 440px) en fin de cascade */
@media (max-width: 440px) {
  .al-belt-slot {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 385px) {
  .al-hero-content {
    padding: 16px 12px;
    gap: 12px;
  }
  .al-hero-title {
    font-size: 1.48rem;
  }
  .al-hero-fan {
    height: 178px;
  }
  .al-fan-card-wrap {
    width: 102px;
  }
  .al-fan-card-wrap:nth-child(1) { transform: translateX(-62px) translateY(8px) rotate(-10deg) scale(0.9); }
  .al-fan-card-wrap:nth-child(3) { transform: translateX(62px) translateY(8px) rotate(10deg) scale(0.9); }
}

/* ============================================================================
   COUCHE AAA GAMING PREMIUM — TYPOLOGIE FORGÉE, BOUTONS 3D, FOIL VIVANT & DOCK
   ============================================================================ */
body {
  background:
    radial-gradient(ellipse 90% 55% at 50% -18%, rgba(28, 56, 104, 0.72) 0%, transparent 62%),
    radial-gradient(circle at 86% 18%, rgba(246, 213, 128, 0.13) 0%, transparent 42%),
    radial-gradient(circle at 10% 72%, rgba(56, 189, 248, 0.11) 0%, transparent 45%),
    linear-gradient(180deg, #060a14 0%, #04070e 55%, #03050a 100%);
}

h1,
h2,
h3,
.al-display,
.al-brand-text strong,
.al-podium-title {
  font-family: var(--al-font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.al-pill,
.al-hud-stat,
.al-metric strong,
.al-c3d-counter,
.al-mini-stat strong,
.al-tower-cost {
  font-variant-numeric: tabular-nums;
}

/* Topbar & Capsules Ressources Forgées */
.al-topbar {
  background: linear-gradient(180deg, rgba(10, 16, 30, 0.94), rgba(5, 8, 16, 0.92));
  border-bottom: 1px solid rgba(246, 213, 128, 0.28);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.65), inset 0 -1px 0 rgba(246, 213, 128, 0.14);
}

.al-nav-desktop {
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.95), rgba(12, 20, 36, 0.85));
  border: 1px solid rgba(246, 213, 128, 0.2);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.65);
}

.al-nav-btn {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.al-nav-btn.is-active {
  color: #140c02;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe8a3 0%, #f2c45a 58%, #c98f22 100%);
  border-color: #fff2c2;
  box-shadow:
    0 2px 0 #744d0a,
    0 0 24px rgba(246, 213, 128, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.al-pill {
  background: linear-gradient(180deg, #09101f 0%, #121d33 100%);
  border: 1px solid rgba(246, 213, 128, 0.36);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.75),
    0 1px 0 rgba(255, 240, 195, 0.14),
    0 4px 12px rgba(0, 0, 0, 0.45);
  font-weight: 800;
}

.al-pill-crystals {
  border-color: rgba(56, 189, 248, 0.52);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.75),
    0 0 14px rgba(56, 189, 248, 0.18);
}

.al-pill-dust {
  border-color: rgba(246, 213, 128, 0.55);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.75),
    0 0 14px rgba(246, 213, 128, 0.18);
}

/* Boutons 3D Forgés Tactiles (Or Royal & Cristal Cyan) */
.al-btn {
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 0.12s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.al-btn-gold {
  background: linear-gradient(180deg, #ffecb3 0%, #f4c85b 46%, #d09424 100%);
  color: #160e02;
  border: 1px solid #fff3c9;
  text-shadow: 0 1px 0 rgba(255, 248, 220, 0.5);
  box-shadow:
    0 4px 0 #784f0b,
    0 12px 28px rgba(244, 200, 91, 0.36),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(120, 79, 11, 0.32);
}

.al-btn-gold:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 6px 0 #784f0b,
    0 16px 34px rgba(244, 200, 91, 0.48),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.88);
}

.al-btn-gold:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 #784f0b,
    0 4px 12px rgba(244, 200, 91, 0.3),
    inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.al-btn-primary {
  background: linear-gradient(180deg, #a7f3ee 0%, #4ed9d5 48%, #159ba3 100%);
  color: #031519;
  border: 1px solid #d4fcf9;
  text-shadow: 0 1px 0 rgba(220, 255, 252, 0.5);
  box-shadow:
    0 4px 0 #0a5861,
    0 12px 28px rgba(78, 217, 213, 0.34),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.82),
    inset 0 -2px 4px rgba(10, 88, 97, 0.32);
}

.al-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 6px 0 #0a5861,
    0 16px 34px rgba(78, 217, 213, 0.46),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9);
}

.al-btn-primary:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 #0a5861,
    0 4px 12px rgba(78, 217, 213, 0.28);
}

.al-btn-ghost {
  background: linear-gradient(180deg, rgba(24, 37, 62, 0.92), rgba(11, 18, 32, 0.95));
  border: 1px solid rgba(246, 213, 128, 0.32);
  box-shadow:
    0 3px 0 #04070e,
    inset 0 1px 0 rgba(255, 240, 195, 0.22);
}

.al-btn-ghost:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #04070e;
}

.al-btn-gold::after,
.al-btn-primary::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -45%;
  width: 34%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: alBtnSheen 4.4s ease-in-out infinite;
  pointer-events: none;
}

.al-btn-primary::after {
  animation-delay: 2.2s;
}

@keyframes alBtnSheen {
  0%, 66% { left: -48%; opacity: 0; }
  74% { opacity: 0.9; }
  94% { left: 130%; opacity: 0.85; }
  100% { left: 130%; opacity: 0; }
}

.al-btn-sm.is-active {
  background: linear-gradient(180deg, #ffeaad 0%, #f2c45a 55%, #cc8f20 100%);
  border-color: #fff2c4;
  color: #140c02;
  font-weight: 800;
  box-shadow:
    0 2px 0 #784f0b,
    0 4px 14px rgba(244, 200, 91, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

/* Panneaux Forgés AAA (Profondeur Armure & Liseré Or) */
.al-hero,
.al-podium-stage,
.al-elements-showcase,
.al-arena-board,
.al-side-card,
.al-trade-card,
.al-daily-chest,
.al-daily-quest-item,
.al-belt-panel {
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 240, 195, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.65);
}

.al-hero {
  border: 1.5px solid rgba(246, 213, 128, 0.45);
  background:
    radial-gradient(circle at 74% 38%, rgba(246, 213, 128, 0.32) 0%, rgba(56, 189, 248, 0.12) 38%, transparent 66%),
    radial-gradient(circle at 12% 86%, rgba(56, 189, 248, 0.2) 0%, transparent 52%),
    linear-gradient(145deg, #091224 0%, #101d38 48%, #060a14 100%);
}

/* Halo lumineux doux derrière le Trône 3D & le Podium (sans cercle en pointillé) */
.al-hero-fan::after {
  content: "";
  position: absolute;
  width: 286px;
  height: 286px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle, rgba(246, 213, 128, 0.16) 0%, rgba(123, 225, 221, 0.08) 48%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.al-podium-studio-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 268px;
  height: 268px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--podium-accent, #38bdf8) 18%, transparent) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.72;
}

@keyframes alRuneSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes alPodiumRuneSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Reflet Foil Holographique Vivant (marche aussi sur cellulaire sans souris !) */
.al-fan-card-wrap {
  overflow: hidden;
}

.al-fan-card-wrap::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    116deg,
    transparent 34%,
    rgba(255, 245, 200, 0.26) 46%,
    rgba(123, 225, 221, 0.22) 52%,
    rgba(244, 114, 182, 0.14) 56%,
    transparent 66%
  );
  transform: translateX(-75%);
  animation: alHoloSweep 5.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

.al-fan-card-wrap:nth-child(2)::after {
  animation-delay: 1.4s;
}

.al-fan-card-wrap:nth-child(3)::after {
  animation-delay: 2.8s;
}

.al-fan-card-wrap:nth-child(2) .al-fan-card {
  border-color: rgba(255, 238, 178, 0.92);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.85),
    0 0 42px rgba(246, 213, 128, 0.42),
    0 0 0 1px rgba(255, 250, 220, 0.35);
}

@keyframes alHoloSweep {
  0%, 58% { transform: translateX(-78%); opacity: 0; }
  66% { opacity: 1; }
  92% { transform: translateX(78%); opacity: 0.95; }
  100% { transform: translateX(78%); opacity: 0; }
}

/* Aura de rareté lumineuse sur les cartes Collection */
.al-tcg-card.rar-UR {
  border-color: rgba(245, 158, 11, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 22px rgba(245, 158, 11, 0.24);
}
.al-tcg-card.rar-SEC {
  border-color: rgba(236, 72, 153, 0.78);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 26px rgba(236, 72, 153, 0.3);
}
.al-tcg-card.rar-MYTH {
  border-color: rgba(253, 224, 71, 0.88);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.72), 0 0 32px rgba(253, 224, 71, 0.34);
}

#btn-claim-daily-chest {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 46px;
  padding: 11px 16px;
}

/* Mobile AAA Game Entrance : Cartes Mythiques 3D en 1er + Boutons 3D + Dock de Jeu */
@media (max-width: 768px) {
  .al-hero {
    min-height: 0;
    border-radius: 22px;
  }
  .al-hero-content {
    padding: 18px 14px 18px;
    gap: 12px;
    text-align: center;
  }
  .al-hero-fan {
    order: -1;
    height: 210px;
    margin-top: 2px;
  }
  .al-hero-fan::before {
    width: 230px;
    height: 230px;
  }
  .al-hero-fan::after {
    width: 204px;
    height: 204px;
  }
  .al-eyebrow {
    margin: 0 auto 8px;
    font-size: 0.61rem;
    letter-spacing: 0.06em;
    padding: 4px 10px;
  }
  .al-hero-title {
    font-size: 1.56rem;
    line-height: 1.12;
    margin: 0 0 8px;
  }
  .al-hero-lead {
    font-size: 0.84rem;
    margin: 0 auto 14px;
  }
  .al-hero-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }
  .al-hero-cta .al-btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 10px;
    font-size: 0.82rem;
    justify-content: center;
    text-align: center;
  }
  .al-hero-metrics {
    justify-items: center;
    text-align: center;
  }

  /* Vrai Dock de Jeu Mobile AAA */
  .al-mobile-nav {
    background: linear-gradient(180deg, rgba(13, 21, 38, 0.98) 0%, rgba(5, 8, 16, 0.99) 100%);
    border-top: 1.5px solid rgba(246, 213, 128, 0.36);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.84), inset 0 1px 0 rgba(255, 240, 195, 0.24);
    padding: 5px 4px calc(6px + env(safe-area-inset-bottom));
    gap: 2px;
  }
  .al-mnav-btn {
    position: relative;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.16s ease, color 0.16s ease, background 0.16s ease;
  }
  .al-mnav-btn.is-active {
    color: #ffe89e;
    background: radial-gradient(circle at 50% 30%, rgba(246, 213, 128, 0.28), rgba(246, 213, 128, 0.05) 75%);
    box-shadow:
      inset 0 2px 0 #f9db8b,
      0 0 18px rgba(246, 213, 128, 0.24);
    transform: translateY(-2px);
  }
}

@media (max-width: 385px) {
  .al-hero-fan {
    height: 184px;
  }
  .al-hero-fan::after {
    width: 170px;
    height: 170px;
  }
  .al-hero-title {
    font-size: 1.38rem;
  }
  .al-hero-cta {
    gap: 8px;
  }
  .al-hero-cta .al-btn {
    padding: 11px 6px;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-btn-gold::after,
  .al-btn-primary::after,
  .al-hero-fan::after,
  .al-podium-studio-stage::after,
  .al-fan-card-wrap::after {
    animation: none !important;
  }
}

/* ============================================================================
   ICÔNES VECTORIELLES FORGÉES AAA, GRILLE 3×3 ÉLÉMENTS & FINITION QUÊTES
   ============================================================================ */
.al-ico {
  display: inline-block;
  vertical-align: -0.18em;
  flex-shrink: 0;
}

.al-ico-gold {
  color: #f9db8b;
  filter: drop-shadow(0 0 6px rgba(249, 219, 139, 0.48));
}

.al-ico-cyan {
  color: #7be1dd;
  filter: drop-shadow(0 0 6px rgba(123, 225, 221, 0.48));
}

.al-ico-danger {
  color: #fb7185;
  filter: drop-shadow(0 0 6px rgba(251, 113, 133, 0.48));
}

.al-btn-gold .al-ico,
.al-btn-primary .al-ico,
.al-btn-sm.is-active .al-ico {
  color: currentColor;
  filter: none;
}

.al-btn-cost-pill .al-ico-gold {
  color: #f9db8b;
  filter: drop-shadow(0 0 5px rgba(249, 219, 139, 0.45));
}

.al-mode-tab,
.al-badge-gold,
.al-badge-cyan,
.al-podium-tab small,
.al-resonance-head span,
.al-odds-summary span,
.al-filter-drawer > summary,
.al-btn-podium-open > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.al-podium-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(4, 8, 16, 0.85));
  border: 1px solid color-mix(in srgb, var(--tab-accent, #f9db8b) 42%, transparent);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--tab-accent, #f9db8b) 45%, transparent));
  flex-shrink: 0;
}

/* Icônes Dock Mobile AAA : argent ciselé → or brillant actif */
.al-dock-ico {
  color: #8fa1bc;
  transition: color 0.16s ease, filter 0.16s ease, transform 0.16s ease;
}

.al-mnav-btn.is-active .al-dock-ico {
  color: #ffe89e;
  filter: drop-shadow(0 0 8px rgba(249, 219, 139, 0.65));
  transform: scale(1.06);
}

/* Cartes Défis Quotidiens : liseré armure or + barre de progression creusée */
.al-daily-quest-item {
  border-left: 2.5px solid rgba(246, 213, 128, 0.36);
  background: linear-gradient(155deg, rgba(16, 25, 45, 0.94), rgba(8, 13, 24, 0.96));
}

.al-daily-quest-item.is-ready {
  border-left-color: #7be1dd;
}

.al-daily-quest-bar {
  height: 6px;
  background: rgba(4, 8, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.75);
}

.al-el-spot-card {
  border-color: color-mix(in srgb, var(--el-accent, #f9db8b) 72%, #fff5d6);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.78),
    0 0 32px var(--el-glow, rgba(246, 213, 128, 0.28));
}

/* Grille 3×3 symétrique pour les 9 Éléments sur mobile (fini les rangées bancales !) */
@media (max-width: 640px) {
  .al-elements-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .al-el-pill {
    width: 100%;
    padding: 8px 6px;
    font-size: 0.76rem;
    gap: 5px;
    min-height: 44px;
  }
}

@media (max-width: 385px) {
  .al-el-pill {
    padding: 7px 4px;
    font-size: 0.7rem;
    gap: 4px;
  }
}

/* ==================== ICÔNES VIDÉO 3D OFFICIELLES (CRISTAUX · POUSSIÈRE · XP) ==================== */
.al-vfx-ico {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  vertical-align: middle;
}

.al-vfx-ico-hdr {
  width: 22px;
  height: 22px;
}

.al-vfx-ico-md {
  width: 26px;
  height: 26px;
}

.al-vfx-ico-lg {
  width: 38px;
  height: 38px;
}

.al-vfx-ico-img,
.al-vfx-ico-vid {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.al-vfx-ico-img {
  object-fit: contain;
  transition: opacity 0.35s ease;
  filter: drop-shadow(0 0 6px rgba(246, 213, 128, 0.32));
}

.al-vfx-ico-vid {
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 999px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 54%, transparent 86%);
  mask-image: radial-gradient(circle at 50% 50%, #000 54%, transparent 86%);
  transform: scale(1.14);
}

.al-vfx-ico.is-moving .al-vfx-ico-vid {
  opacity: 1;
}

.al-vfx-ico.is-moving .al-vfx-ico-img {
  opacity: 0;
}

.al-ico-3d {
  display: inline-block;
  vertical-align: -0.22em;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.al-reward-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.al-reward-inline strong {
  color: var(--al-ivory);
  font-weight: 800;
}

.al-mini-stat-vfx {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
  padding: 12px 10px;
}

.al-mini-stat-vfx > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.al-crystal-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.al-pill {
  gap: 6px;
}

@media (max-width: 640px) {
  .al-vfx-ico-hdr {
    width: 19px;
    height: 19px;
  }
  .al-mini-stat-vfx {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 10px 6px;
  }
  .al-vfx-ico-lg {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 350px) {
  .al-topbar-inner {
    padding: 0 6px;
    gap: 4px;
  }
  .al-brand {
    gap: 5px;
  }
  .al-brand-mark {
    width: 22px;
    height: 22px;
  }
  .al-brand-text strong {
    font-size: 0.72rem;
    letter-spacing: 0.01em;
  }
  .al-topbar-right {
    gap: 4px;
  }
  .al-status-pills {
    gap: 4px;
  }
  .al-vfx-ico-hdr {
    width: 15px;
    height: 15px;
  }
  .al-pill {
    gap: 3px;
    padding: 0 5px;
  }
  .al-lang-btn {
    padding: 0 4px;
  }
}

/* ==================== REFONTE AAA GAMING : DUO ROYAL 50/50 + MISSIONS DU JOUR ==================== */
.al-daily-strip {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.al-home-twin-royal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.al-daily-chest {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 50%, rgba(250, 204, 21, 0.24) 0%, transparent 56%),
    radial-gradient(circle at 86% 20%, rgba(56, 189, 248, 0.14) 0%, transparent 50%),
    linear-gradient(155deg, rgba(22, 32, 56, 0.96), rgba(7, 11, 22, 0.98));
  border: 1.5px solid rgba(246, 213, 128, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 214, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.65),
    0 18px 36px rgba(0, 0, 0, 0.52);
}

.al-daily-chest.is-ready {
  border-color: rgba(250, 204, 21, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.34),
    0 0 28px rgba(250, 204, 21, 0.2),
    0 18px 36px rgba(0, 0, 0, 0.56);
}

.al-daily-chest.is-ready::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 36%, rgba(255, 236, 173, 0.12) 48%, transparent 60%);
  transform: translateX(-110%);
  animation: alChestSheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes alChestSheen {
  0%, 58% { transform: translateX(-110%); }
  100% { transform: translateX(120%); }
}

.al-daily-chest.is-claimed {
  grid-template-columns: 78px minmax(0, 1fr);
  border-color: rgba(123, 225, 221, 0.36);
  background:
    radial-gradient(circle at 16% 50%, rgba(56, 189, 248, 0.16) 0%, transparent 56%),
    linear-gradient(155deg, rgba(16, 26, 46, 0.94), rgba(7, 11, 20, 0.98));
}

.al-chest-art-stage {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.al-chest-art-stage.is-opened {
  width: 78px;
  height: 78px;
  opacity: 0.78;
  filter: saturate(0.75);
}

.al-chest-aura {
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.45) 0%, rgba(56, 189, 248, 0.2) 52%, transparent 74%);
  filter: blur(8px);
  animation: alChestAuraPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes alChestAuraPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.78; }
  50% { transform: scale(1.1); opacity: 1; }
}

.al-chest-3d-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.75));
  animation: alChestFloat 3.4s ease-in-out infinite;
}

.al-chest-art-stage.is-opened .al-chest-3d-img {
  animation: none;
}

@keyframes alChestFloat {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-4px); }
}

.al-daily-chest-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.al-chest-title {
  font-family: var(--al-font-display);
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  color: #fff6dc;
  line-height: 1.15;
}

.al-chest-cta {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  padding: 11px 20px;
}

.al-loot-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.al-loot-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 6px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(6, 10, 20, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.al-loot-chip.is-gold {
  border-color: rgba(246, 213, 128, 0.36);
  color: #fde6a4;
}

.al-loot-chip.is-cyan {
  border-color: rgba(123, 225, 221, 0.36);
  color: #baf7f4;
}

.al-loot-chips.is-compact .al-loot-chip {
  padding: 3px 8px 3px 5px;
  font-size: 0.73rem;
}

/* Panneau RPG Battle Pass : Missions du Jour */
.al-missions-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.1) 0%, transparent 45%),
    linear-gradient(165deg, rgba(14, 22, 40, 0.94), rgba(6, 10, 19, 0.98));
  border: 1px solid rgba(246, 213, 128, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 32px rgba(0, 0, 0, 0.44);
}

.al-missions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(246, 213, 128, 0.14);
}

.al-missions-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--al-font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--al-gold-strong);
}

.al-missions-counter {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(123, 225, 221, 0.12);
  border: 1px solid rgba(123, 225, 221, 0.3);
  color: #a5f3fc;
}

.al-daily-quests-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.al-daily-quest-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 15px;
  background: linear-gradient(165deg, rgba(19, 29, 52, 0.9), rgba(8, 13, 25, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 18px rgba(0, 0, 0, 0.32);
  transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.al-daily-quest-item.is-ready {
  border-color: rgba(250, 204, 21, 0.75);
  background:
    radial-gradient(circle at 12% 50%, rgba(250, 204, 21, 0.18), transparent 56%),
    linear-gradient(165deg, rgba(24, 38, 64, 0.96), rgba(9, 16, 30, 0.98));
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.16), inset 0 1px 0 rgba(255, 245, 214, 0.2);
}

.al-daily-quest-item.is-done {
  opacity: 0.76;
  border-color: rgba(74, 222, 128, 0.28);
}

.al-quest-crest {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(246, 213, 128, 0.22), rgba(7, 11, 20, 0.9) 74%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
}

.al-quest-crest.is-crimson {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.24), rgba(7, 11, 20, 0.9) 74%);
}

.al-quest-crest.is-cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.26), rgba(7, 11, 20, 0.9) 74%);
}

.al-mission-crest-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.65));
}

.al-quest-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.al-daily-quest-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}

.al-daily-quest-top strong {
  color: #f8f3e8;
  line-height: 1.25;
}

.al-daily-quest-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(4, 7, 14, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  padding: 1px;
}

.al-daily-quest-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 55%, #f6d580 100%);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.65);
  transition: width 0.35s ease;
}

.al-quest-prog {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(123, 225, 221, 0.3);
  color: #7be1dd;
  white-space: nowrap;
}

/* ==================== REFONTE AAA GAMING : SANCTUAIRE DES 9 ÉLÉMENTS ==================== */
.al-el-medallion-img {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65));
}

.al-elements-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 46%, color-mix(in srgb, var(--el-accent, #ef4444) 24%, transparent) 0%, transparent 52%),
    radial-gradient(circle at 86% 20%, color-mix(in srgb, var(--el-accent, #ef4444) 14%, transparent) 0%, transparent 48%),
    linear-gradient(165deg, rgba(14, 21, 38, 0.97), rgba(5, 8, 16, 0.99));
  border: 1.5px solid color-mix(in srgb, var(--el-accent, #e4b857) 48%, rgba(246, 213, 128, 0.25));
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.16),
    0 24px 54px rgba(0, 0, 0, 0.64),
    0 0 38px color-mix(in srgb, var(--el-accent, #ef4444) 16%, transparent);
}

.al-elements-pills {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.al-el-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px 9px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 27, 48, 0.92), rgba(7, 11, 22, 0.96));
  border: 1px solid rgba(246, 213, 128, 0.16);
  color: #b7c4d8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 14px rgba(0, 0, 0, 0.42);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.al-el-pill .al-el-emblem {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.al-el-pill .al-el-emblem img {
  width: 38px;
  height: 38px;
}

.al-el-pill:hover {
  transform: translateY(-2px);
  color: #fffdf7;
  border-color: color-mix(in srgb, var(--el-accent, #f6d580) 75%, #fff);
}

.al-el-pill.is-active {
  color: #fffaf0;
  background:
    radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--el-accent, #ef4444) 38%, transparent) 0%, transparent 72%),
    linear-gradient(180deg, rgba(30, 40, 68, 0.98), rgba(10, 15, 28, 0.98));
  border: 1.5px solid color-mix(in srgb, var(--el-accent, #ef4444) 84%, #fff3d1);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 232, 0.35),
    0 0 22px color-mix(in srgb, var(--el-accent, #ef4444) 44%, transparent),
    0 10px 22px rgba(0, 0, 0, 0.56);
  transform: translateY(-2px);
}

.al-el-pill.is-active .al-el-emblem {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px var(--el-accent, #f6d580));
}

.al-el-hero-pedestal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px 18px;
}

.al-el-rune-halo {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--el-accent, #f6d580) 24%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes alHaloSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.al-el-spot-crest {
  position: absolute;
  top: 4px;
  left: calc(50% - 134px);
  z-index: 4;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(10, 15, 28, 0.92) 60%, transparent 100%);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--el-accent, #f6d580) 72%, transparent));
  pointer-events: none;
}

.al-el-card-frame {
  position: relative;
  z-index: 2;
  border-radius: 16px;
}

.al-el-pedestal-base {
  position: relative;
  z-index: 1;
  width: 210px;
  height: 22px;
  margin-top: -8px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--el-accent, #f6d580) 56%, transparent) 0%, transparent 72%);
  filter: blur(5px);
  pointer-events: none;
}

.al-el-dossier {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.al-el-dossier-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.al-badge-el {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fffaf0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--el-accent, #ef4444) 30%, #0d1526), rgba(8, 13, 24, 0.94));
  border: 1px solid color-mix(in srgb, var(--el-accent, #ef4444) 72%, #fff);
  box-shadow: 0 0 14px color-mix(in srgb, var(--el-accent, #ef4444) 24%, transparent);
}

.al-badge-myth {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #161005;
  background: linear-gradient(135deg, #fff1c1, #e8b84b);
  box-shadow: 0 4px 12px rgba(232, 184, 75, 0.34);
}

.al-el-dossier-title {
  margin: 0;
  font-family: var(--al-font-display);
  font-size: clamp(1.42rem, 2.5vw, 1.82rem);
  letter-spacing: 0.03em;
  color: #fff8e7;
  text-shadow: 0 0 22px color-mix(in srgb, var(--el-accent, #f6d580) 36%, transparent);
  line-height: 1.15;
}

.al-el-dossier-role {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.al-el-skills-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.al-el-skill-card {
  padding: 11px 13px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(16, 25, 45, 0.92), rgba(7, 11, 21, 0.96));
  border: 1px solid rgba(246, 213, 128, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.al-el-skill-card.is-ult {
  border-color: rgba(246, 213, 128, 0.45);
  background:
    radial-gradient(circle at 0% 0%, rgba(250, 204, 21, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(18, 26, 46, 0.94), rgba(8, 12, 22, 0.98));
}

.al-el-skill-card.is-combo {
  border-color: rgba(123, 225, 221, 0.36);
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(15, 25, 46, 0.94), rgba(7, 12, 22, 0.98));
}

.al-el-skill-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.al-el-skill-head strong {
  font-size: 0.84rem;
  color: #fff7e2;
  line-height: 1.2;
}

.al-el-skill-key {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  font-family: var(--al-font-display);
  font-size: 0.78rem;
  font-weight: 900;
  color: #161005;
  background: linear-gradient(180deg, #ffefc2, #dfa738);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.al-el-skill-key.is-cyan {
  color: #051c24;
  background: linear-gradient(180deg, #b8faf6, #38bdf8);
}

.al-el-skill-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.38;
  color: #b8c5da;
}

.al-el-towers-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.al-el-towers-kicker {
  font-family: var(--al-font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--al-gold-strong);
}

.al-el-mini-tower {
  position: relative;
  padding: 10px 8px 9px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--el-accent, #f6d580) 20%, transparent), transparent 68%),
    linear-gradient(180deg, rgba(16, 24, 44, 0.94), rgba(6, 10, 19, 0.98));
  border: 1px solid color-mix(in srgb, var(--el-accent, #f6d580) 34%, rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.44);
}

.al-el-tower-tier {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fde6a4;
  background: rgba(6, 10, 19, 0.85);
  border: 1px solid rgba(246, 213, 128, 0.32);
}

@media (max-width: 820px) {
  .al-home-twin-royal {
    grid-template-columns: 1fr;
  }
  .al-daily-quests-grid {
    grid-template-columns: 1fr;
  }
  .al-el-skills-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .al-daily-chest {
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 14px;
    gap: 12px;
  }
  .al-chest-art-stage {
    width: 74px;
    height: 74px;
  }
  .al-chest-cta {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }
  .al-elements-showcase {
    padding: 14px;
    border-radius: 20px;
  }
  .al-elements-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
  }
  .al-el-pill {
    padding: 9px 4px 8px;
    border-radius: 14px;
    font-size: 0.72rem;
    gap: 5px;
    min-height: 74px;
  }
  .al-el-pill .al-el-emblem {
    width: 34px;
    height: 34px;
  }
  .al-el-pill .al-el-emblem img {
    width: 34px;
    height: 34px;
  }
  .al-el-rune-halo {
    width: 244px;
    height: 244px;
  }
  .al-el-spot-crest {
    width: 44px;
    height: 44px;
    left: calc(50% - 118px);
  }
}

@media (max-width: 350px) {
  .al-daily-chest {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 12px;
    gap: 10px;
  }
  .al-chest-art-stage {
    width: 64px;
    height: 64px;
  }
  .al-el-pill {
    padding: 7px 3px 6px;
    font-size: 0.67rem;
    min-height: 68px;
  }
  .al-el-pill .al-el-emblem,
  .al-el-pill .al-el-emblem img {
    width: 30px;
    height: 30px;
  }
}

/* ==================== VRAI LOGO OFFICIEL 3C + 1ER ÉCRAN SANCTUAIRE AAA + BOUTONS FORGÉS ==================== */
.al-brand-logo-full {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(246, 213, 128, 0.28));
  transition: transform 0.18s ease, filter 0.2s ease;
}

.al-brand:hover .al-brand-logo-full {
  transform: scale(1.02);
  filter: drop-shadow(0 2px 14px rgba(246, 213, 128, 0.45));
}

.al-brand-emblem-mini,
.al-brand-text-mini {
  display: none;
}

@media (max-width: 980px) {
  .al-brand-logo-full {
    height: 32px;
  }
}

@media (max-width: 640px) {
  .al-brand-logo-full {
    display: none;
  }
  .al-brand-emblem-mini {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.35));
    flex-shrink: 0;
  }
  .al-brand-text-mini {
    display: flex;
  }
}

/* 1er Écran Hero Sanctuaire AAA (Zéro vide, décor cathédrale sombre + portail doré) */
.al-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 26px;
  border: 1.5px solid rgba(246, 213, 128, 0.36);
  background: #060a14;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 214, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.72),
    0 0 42px rgba(246, 213, 128, 0.08);
}

.al-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  opacity: 0.92;
  filter: contrast(1.06) saturate(1.1);
  pointer-events: none;
  z-index: 0;
}

.al-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(5, 8, 17, 0.92) 0%, rgba(6, 10, 20, 0.76) 44%, rgba(7, 12, 24, 0.24) 76%, rgba(5, 8, 17, 0.45) 100%),
    linear-gradient(180deg, rgba(5, 8, 17, 0.22) 0%, transparent 32%, rgba(5, 8, 17, 0.78) 100%);
  pointer-events: none;
  z-index: 1;
}

.al-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 34px 36px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 24px;
  align-items: center;
}

.al-hero-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.al-hero-crest {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.55));
}

.al-hero-brand-row .al-eyebrow {
  margin-bottom: 0;
  background: rgba(8, 14, 28, 0.78);
  border-color: rgba(246, 213, 128, 0.38);
  color: #f6e1a4;
  backdrop-filter: blur(8px);
}

.al-hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.92rem, 3.4vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffffff 0%, #fff0c7 52%, #dfa53a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85));
}

.al-hero-lead {
  margin: 0 0 22px;
  color: #dbe5f4;
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 520px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Deux vrais boutons de jeu vidéo AAA forgés */
.al-hero-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px;
  margin-bottom: 22px;
}

.al-cta-forged {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 13px;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.2s ease;
}

.al-cta-forged::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 250, 230, 0.22) 48%, transparent 64%);
  transform: translateX(-115%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.al-cta-forged:hover::before {
  transform: translateX(120%);
}

.al-cta-forged:hover {
  transform: translateY(-2px);
}

.al-cta-forged:active {
  transform: translateY(1px) scale(0.985);
}

.al-cta-forged.is-play {
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 240, 178, 0.34), transparent 55%),
    linear-gradient(180deg, #ffe79a 0%, #e5ac39 54%, #b57b18 100%);
  border: 1.5px solid #fff3c4;
  color: #160e03;
  box-shadow:
    inset 0 2px 0 rgba(255, 253, 240, 0.72),
    inset 0 -3px 0 rgba(105, 64, 5, 0.65),
    0 12px 28px rgba(232, 172, 52, 0.36),
    0 4px 12px rgba(0, 0, 0, 0.55);
}

.al-cta-forged.is-play:hover {
  box-shadow:
    inset 0 2px 0 rgba(255, 253, 240, 0.85),
    inset 0 -3px 0 rgba(105, 64, 5, 0.65),
    0 16px 34px rgba(246, 200, 86, 0.52),
    0 6px 16px rgba(0, 0, 0, 0.65);
}

.al-cta-forged.is-boosters {
  background:
    radial-gradient(circle at 18% 50%, rgba(56, 189, 248, 0.34), transparent 58%),
    linear-gradient(180deg, rgba(22, 38, 72, 0.96) 0%, rgba(9, 17, 34, 0.98) 100%);
  border: 1.5px solid rgba(123, 225, 221, 0.72);
  color: #f8fbff;
  box-shadow:
    inset 0 1px 0 rgba(186, 247, 244, 0.42),
    inset 0 -3px 0 rgba(3, 8, 18, 0.8),
    0 12px 28px rgba(14, 165, 233, 0.28),
    0 4px 14px rgba(0, 0, 0, 0.6);
}

.al-cta-forged.is-boosters:hover {
  border-color: #a5f3fc;
  box-shadow:
    inset 0 1px 0 rgba(210, 252, 250, 0.6),
    inset 0 -3px 0 rgba(3, 8, 18, 0.8),
    0 16px 34px rgba(56, 189, 248, 0.42),
    0 6px 18px rgba(0, 0, 0, 0.68);
}

.al-cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(20, 13, 3, 0.22);
  border: 1px solid rgba(255, 246, 209, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.al-cta-icon.is-crest {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32), rgba(7, 13, 28, 0.92) 72%);
  border-color: rgba(246, 213, 128, 0.52);
}

.al-cta-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.al-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.al-cta-copy strong {
  font-family: var(--al-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.al-cta-copy small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.84;
  line-height: 1.1;
}

/* Plaques métriques forgées dans le Hero */
.al-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 470px;
  padding-top: 0;
  border-top: none;
}

.al-metric {
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(7, 12, 24, 0.76);
  border: 1px solid rgba(246, 213, 128, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 245, 214, 0.09);
}

.al-metric strong {
  font-size: 1.42rem;
}

.al-metric span {
  display: block;
  font-size: 0.71rem;
  color: #b7c5da;
  margin-top: 2px;
}

/* Scène droite monumentale : Éventail des 3 Héros Mythiques sortant du Portail */
.al-hero-stage-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 368px;
}

.al-hero-portal-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.2) 0%, rgba(56, 189, 248, 0.12) 48%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.al-hero-stage-right .al-hero-fan {
  width: 100%;
  height: 344px;
}

.al-hero-stage-right .al-fan-card-wrap {
  width: 212px;
}

.al-hero-stage-right .al-fan-card-wrap:nth-child(1) {
  --fan-x: -114px;
  transform: translateX(var(--fan-x)) translateY(14px) rotate(-11deg) scale(0.9);
}

.al-hero-stage-right .al-fan-card-wrap:nth-child(1):hover {
  transform: translateX(var(--fan-x)) translateY(-6px) rotate(-5deg) scale(1.03);
}

.al-hero-stage-right .al-fan-card-wrap:nth-child(3) {
  --fan-x: 114px;
  transform: translateX(var(--fan-x)) translateY(14px) rotate(11deg) scale(0.9);
}

.al-hero-stage-right .al-fan-card-wrap:nth-child(3):hover {
  transform: translateX(var(--fan-x)) translateY(-6px) rotate(5deg) scale(1.03);
}

.al-hero-stage-caption {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f6e1a4;
  background: rgba(6, 10, 20, 0.84);
  border: 1px solid rgba(246, 213, 128, 0.34);
  backdrop-filter: blur(8px);
}

.al-stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #facc15;
  box-shadow: 0 0 8px #facc15;
}

/* Dos officiels AccessLeague (M2-B & 3C-3C) dans le Théâtre d'ouverture */
.al-c3d-back-official {
  padding: 0 !important;
  overflow: hidden;
  border: 1.5px solid rgba(246, 213, 128, 0.56);
}

.al-c3d-back-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-c3d-back-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0.58) 0%, transparent 32%, transparent 62%, rgba(4, 8, 18, 0.88) 100%);
}

.al-c3d-back-ribbon {
  width: 100%;
  text-align: center;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(6, 10, 22, 0.78);
  border: 1px solid rgba(246, 213, 128, 0.35);
  backdrop-filter: blur(4px);
}

.al-c3d-back-ribbon .al-c3d-back-title {
  display: block;
  font-size: 0.82rem;
  color: #fff6dc;
}

.al-c3d-back-ribbon small {
  font-size: 0.68rem;
  color: #93c5fd;
}

.al-brand:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Split-screen ordinateur (769px – 1120px) : 2 colonnes serrées sans AUCUN espace vide ! */
@media (max-width: 1120px) and (min-width: 769px) {
  .al-topbar-inner {
    gap: 8px;
    padding: 0 12px;
  }
  .al-brand-logo-full {
    height: 28px;
  }
  .al-nav-desktop {
    padding: 3px;
    gap: 2px;
  }
  .al-nav-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .al-topbar-right {
    gap: 6px;
  }
  .al-status-pills {
    gap: 5px;
  }
  .al-pill {
    padding: 4px 8px;
    font-size: 0.76rem;
    gap: 4px;
  }
  .al-vfx-ico-hdr {
    width: 18px;
    height: 18px;
  }
  .al-sound-btn {
    width: 32px;
    height: 32px;
  }
  .al-lang-btn {
    padding: 4px 6px;
    font-size: 0.72rem;
  }
  .al-daily-strip {
    grid-template-columns: 1fr;
  }
  .al-hero-content {
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
    padding: 26px 24px 24px;
    gap: 16px;
  }
  .al-hero-title {
    font-size: 2.08rem;
  }
  .al-hero-lead {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .al-cta-forged {
    padding: 10px 14px 10px 11px;
    gap: 9px;
  }
  .al-cta-icon {
    width: 34px;
    height: 34px;
  }
  .al-cta-copy strong {
    font-size: 0.84rem;
  }
  .al-hero-stage-right {
    min-height: 300px;
  }
  .al-hero-stage-right .al-hero-fan {
    height: 278px;
  }
  .al-hero-stage-right .al-fan-card-wrap {
    width: 172px;
  }
  .al-hero-stage-right .al-fan-card-wrap:nth-child(1) {
    --fan-x: -86px;
    transform: translateX(var(--fan-x)) translateY(10px) rotate(-10deg) scale(0.88);
  }
  .al-hero-stage-right .al-fan-card-wrap:nth-child(3) {
    --fan-x: 86px;
    transform: translateX(var(--fan-x)) translateY(10px) rotate(10deg) scale(0.88);
  }
  .al-hero-portal-ring {
    width: 260px;
    height: 260px;
  }
}

/* Mobile <= 768px : Cartes en haut + Logo & Boutons forgés pleine largeur */
@media (max-width: 768px) {
  .al-hero-backdrop {
    object-position: 70% 24%;
    opacity: 0.72;
  }
  .al-hero-scrim {
    background: linear-gradient(180deg, rgba(5, 8, 17, 0.25) 0%, rgba(5, 8, 17, 0.78) 44%, rgba(5, 8, 17, 0.95) 100%);
  }
  .al-hero-content {
    grid-template-columns: 1fr;
    padding: 16px 14px 18px;
    gap: 10px;
    text-align: center;
  }
  .al-hero-stage-right {
    order: -1;
    min-height: 226px;
  }
  .al-hero-stage-right .al-hero-fan {
    height: 212px;
  }
  .al-hero-stage-right .al-fan-card-wrap {
    width: 136px;
  }
  .al-hero-stage-right .al-fan-card-wrap:nth-child(1) {
    --fan-x: -76px;
    transform: translateX(var(--fan-x)) translateY(8px) rotate(-10deg) scale(0.88);
  }
  .al-hero-stage-right .al-fan-card-wrap:nth-child(3) {
    --fan-x: 76px;
    transform: translateX(var(--fan-x)) translateY(8px) rotate(10deg) scale(0.88);
  }
  .al-hero-portal-ring {
    width: 210px;
    height: 210px;
  }
  .al-hero-stage-caption {
    display: none;
  }
  .al-hero-brand-row {
    justify-content: center;
    margin-bottom: 10px;
  }
  .al-hero-crest {
    width: 26px;
    height: 26px;
  }
  .al-hero-cta {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
  .al-cta-forged {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }
  .al-hero-metrics {
    margin: 0 auto;
    gap: 7px;
  }
  .al-metric {
    padding: 8px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-hero-portal-ring {
    animation: none !important;
  }
}

/* ==================== SANCTUAIRE 9 ÉLÉMENTS COMPACT À 980 PX (ZÉRO VIDE) ==================== */
@media (max-width: 1120px) and (min-width: 769px) {
  .al-el-spotlight {
    grid-template-columns: 224px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
  }
  .al-el-spot-card {
    width: 204px;
    max-width: 204px;
  }
  .al-el-rune-halo {
    width: 224px;
    height: 224px;
  }
  .al-el-spot-crest {
    width: 42px;
    height: 42px;
    left: calc(50% - 110px);
  }
  .al-el-spot-towers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .al-el-mini-tower img {
    height: 54px;
  }
  .al-el-mini-tower strong {
    font-size: 0.72rem;
  }
}

/* ==================== REFONTE AAA : COMMENT JOUER EN 30 SECONDES ==================== */
.al-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.al-how-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, rgba(17, 25, 45, 0.96), rgba(6, 10, 19, 0.99));
  border: 1.5px solid rgba(246, 213, 128, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 214, 0.14),
    0 18px 36px rgba(0, 0, 0, 0.52);
  transition: transform 0.2s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.al-how-card::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(246, 213, 128, 0.72), transparent);
  opacity: 0.75;
}

.al-how-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 213, 128, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.24),
    0 24px 44px rgba(0, 0, 0, 0.64),
    0 0 26px rgba(246, 213, 128, 0.14);
}

.al-how-showcase {
  position: relative;
  height: 174px;
  padding: 16px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid rgba(246, 213, 128, 0.18);
  overflow: hidden;
}

.al-how-card.is-step-1 .al-how-showcase {
  background:
    radial-gradient(circle at 50% 62%, rgba(249, 115, 22, 0.28) 0%, rgba(250, 204, 21, 0.1) 46%, transparent 74%),
    linear-gradient(180deg, rgba(12, 19, 36, 0.92), rgba(6, 10, 20, 0.98));
}

.al-how-card.is-step-2 .al-how-showcase {
  background:
    radial-gradient(circle at 50% 62%, rgba(246, 213, 128, 0.26) 0%, rgba(56, 189, 248, 0.12) 48%, transparent 74%),
    linear-gradient(180deg, rgba(12, 19, 36, 0.92), rgba(6, 10, 20, 0.98));
}

.al-how-card.is-step-3 .al-how-showcase {
  background:
    radial-gradient(circle at 50% 62%, rgba(56, 189, 248, 0.28) 0%, rgba(168, 85, 247, 0.12) 48%, transparent 74%),
    linear-gradient(180deg, rgba(12, 19, 36, 0.92), rgba(6, 10, 20, 0.98));
}

/* Step 01 & 02 : 3 cartes en éventail dynamique avec relief 3D */
.al-how-stage-starters img,
.al-how-showcase-cards img {
  width: 90px;
  height: 126px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(246, 213, 128, 0.5);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.72);
  transition: transform 0.25s ease;
}

.al-how-stage-starters img:nth-child(1),
.al-how-showcase-cards img:nth-child(1) {
  transform: rotate(-7deg) translateX(10px) translateY(5px);
  z-index: 1;
}

.al-how-stage-starters img:nth-child(2),
.al-how-showcase-cards img:nth-child(2) {
  transform: scale(1.09) translateY(-3px);
  z-index: 3;
  border-color: #fff0bd;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(246, 213, 128, 0.34);
}

.al-how-stage-starters img:nth-child(3),
.al-how-showcase-cards img:nth-child(3) {
  transform: rotate(7deg) translateX(-10px) translateY(5px);
  z-index: 2;
}

/* Step 03 : 3 vraies Tours 3D libres sur socles lumineux (zéro cage rectangle noire !) */
.al-how-showcase-tours {
  gap: 12px;
}

.al-how-tower-pedestal {
  position: relative;
  width: 92px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-how-tower-pedestal::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 68px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(123, 225, 221, 0.55) 0%, transparent 72%);
  filter: blur(3px);
}

.al-how-tower-pedestal:nth-child(1)::after {
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.62) 0%, transparent 72%);
}

.al-how-tower-pedestal:nth-child(2) {
  transform: translateY(-6px) scale(1.08);
}

.al-how-tower-pedestal img {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  object-fit: cover;
  background: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, rgba(0, 0, 0, 0.78) 62%, transparent 88%);
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, rgba(0, 0, 0, 0.78) 62%, transparent 88%);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.85)) contrast(1.06) saturate(1.08);
}

/* Fondu radial sans bord carré sur les 4 tours du Sanctuaire des 9 Éléments */
.al-el-mini-tower img {
  width: 74px;
  height: 74px;
  margin: 2px auto 6px;
  display: block;
  object-fit: cover;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, rgba(0, 0, 0, 0.78) 62%, transparent 88%);
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, rgba(0, 0, 0, 0.78) 62%, transparent 88%);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.78)) contrast(1.05) saturate(1.08);
}

.al-how-body {
  position: relative;
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.al-step-num {
  position: absolute;
  top: -19px;
  left: 20px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-family: var(--al-font-display);
  font-size: 0.88rem;
  font-weight: 900;
  color: #160e03;
  background: linear-gradient(180deg, #fff1be 0%, #e4ac3b 62%, #b57b18 100%);
  border: 2px solid #090e1a;
  box-shadow: 0 0 0 1.5px rgba(246, 213, 128, 0.68), 0 8px 18px rgba(0, 0, 0, 0.65);
}

.al-how-body h3 {
  margin: 0;
  font-family: var(--al-font-display);
  font-size: 1.05rem;
  line-height: 1.25;
  color: #fff6de;
  letter-spacing: 0.02em;
}

.al-how-body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.48;
  color: #b7c4d8;
}

/* ==================== REFONTE AAA : BANNIÈRE FINALE ÉPIQUE (ZÉRO VIDE À DROITE) ==================== */
.al-closing-aaa {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(248px, 0.7fr);
  align-items: center;
  gap: 22px;
  padding: 32px 34px;
  border-radius: 24px;
  border: 1.5px solid rgba(246, 213, 128, 0.42);
  background: #060a14;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 214, 0.2),
    0 24px 54px rgba(0, 0, 0, 0.68),
    0 0 38px rgba(246, 213, 128, 0.1);
}

.al-closing-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 44%;
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}

.al-closing-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(5, 9, 18, 0.95) 0%, rgba(6, 11, 22, 0.86) 52%, rgba(6, 11, 22, 0.34) 100%);
  pointer-events: none;
  z-index: 1;
}

.al-closing-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.al-closing-copy h2 {
  margin: 0;
  font-family: var(--al-font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.12;
  background: linear-gradient(180deg, #ffffff 0%, #f8e5b4 58%, #dfa53a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-closing-copy p {
  margin: 0 0 6px;
  color: #cbd7ea;
  font-size: 0.94rem;
  line-height: 1.48;
  max-width: 520px;
}

.al-closing-aaa .al-indep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1120px) and (min-width: 901px) {
  .al-closing-aaa {
    padding: 26px 26px;
    gap: 16px;
  }
  .al-closing-aaa .al-indep-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .al-closing-aaa .al-cta-forged {
    padding: 9px 13px;
    gap: 9px;
  }
  .al-closing-aaa .al-cta-icon {
    width: 34px;
    height: 34px;
  }
  .al-closing-aaa .al-cta-copy strong {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .al-closing-aaa .al-cta-copy small {
    font-size: 0.71rem;
    white-space: nowrap;
  }
  .al-closing-card {
    width: 118px;
  }
  .al-closing-card.is-left {
    transform: translateX(-68px) translateY(10px) rotate(-13deg) scale(0.9);
  }
  .al-closing-card.is-right {
    transform: translateX(68px) translateY(10px) rotate(13deg) scale(0.9);
  }
}

.al-closing-art {
  position: relative;
  z-index: 2;
  height: 224px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-closing-halo {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.32) 0%, rgba(56, 189, 248, 0.16) 50%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.al-closing-card {
  position: absolute;
  width: 132px;
  border-radius: 12px;
  border: 1.5px solid rgba(246, 213, 128, 0.65);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s ease;
}

.al-closing-card.is-left {
  transform: translateX(-82px) translateY(10px) rotate(-13deg) scale(0.9);
  z-index: 1;
}

.al-closing-card.is-center {
  transform: translateY(-4px) scale(1.06);
  z-index: 3;
  border-color: #fff2c2;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.85), 0 0 28px rgba(246, 213, 128, 0.36);
}

.al-closing-card.is-right {
  transform: translateX(82px) translateY(10px) rotate(13deg) scale(0.9);
  z-index: 2;
}

@media (max-width: 900px) {
  .al-how-grid {
    grid-template-columns: 1fr;
  }
  .al-closing-aaa {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    text-align: center;
  }
  .al-closing-copy {
    align-items: center;
  }
  .al-closing-aaa .al-indep-actions {
    width: 100%;
    justify-content: center;
  }
  .al-closing-art {
    order: -1;
    height: 186px;
  }
  .al-closing-card {
    width: 112px;
  }
  .al-closing-card.is-left {
    transform: translateX(-68px) translateY(8px) rotate(-12deg) scale(0.88);
  }
  .al-closing-card.is-right {
    transform: translateX(68px) translateY(8px) rotate(12deg) scale(0.88);
  }
}

@media (max-width: 390px) {
  .al-how-stage-starters img,
  .al-how-showcase-cards img {
    width: 76px;
    height: 108px;
  }
  .al-how-tower-pedestal {
    width: 78px;
    height: 98px;
  }
  .al-how-tower-pedestal img {
    width: 76px;
    height: 76px;
  }
  .al-closing-art {
    height: 162px;
  }
  .al-closing-card {
    width: 96px;
  }
  .al-closing-card.is-left {
    transform: translateX(-56px) translateY(8px) rotate(-12deg) scale(0.88);
  }
  .al-closing-card.is-right {
    transform: translateX(56px) translateY(8px) rotate(12deg) scale(0.88);
  }
}

/* ==================== REFONTE AAA : PAGE BOOSTERS + HARMONISATION GLOBAL ==================== */

/* En-têtes de pages unifiés au prestige Cinzel Or de l'Accueil */
.al-page-header h1 {
  background: linear-gradient(180deg, #ffffff 0%, #f8e5b4 58%, #dfa53a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-page-header {
  border-bottom: 1px solid rgba(246, 213, 128, 0.16);
  padding-bottom: 14px;
}

/* Panneaux Collection / Échanges / Profil harmonisés obsidienne & filet or */
.al-belt-panel,
.al-trade-card,
.al-card-panel,
.al-bundle-card,
.al-crystal-card {
  position: relative;
  background: linear-gradient(168deg, rgba(16, 24, 44, 0.96), rgba(6, 10, 20, 0.99));
  border: 1.5px solid rgba(246, 213, 128, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 214, 0.13),
    0 16px 38px rgba(0, 0, 0, 0.52);
}

.al-trade-card:hover,
.al-bundle-card:hover,
.al-crystal-card:hover {
  border-color: rgba(246, 213, 128, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 224, 0.22),
    0 22px 46px rgba(0, 0, 0, 0.64),
    0 0 26px rgba(246, 213, 128, 0.12);
}

/* Pastille coût Poussière 3D animée (Échanges & Boosters — impossible à confondre avec Cristaux) */
.al-cost-dust-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 7px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.86);
  border: 1px solid rgba(246, 213, 128, 0.42);
  color: #fff6dc;
  font-weight: 800;
  white-space: nowrap;
}

.al-cost-dust-live .al-cost-unit {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d8c8f5;
  opacity: 0.92;
}

/* Alignement sur 1 seule ligne (même hauteur que Échanger) dans les cartes du Marché */
.al-trade-card .al-btn-cinema-reopen {
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 9px 12px;
  gap: 8px;
  min-height: 46px;
}

.al-trade-card .al-btn-cinema-reopen > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 0.86rem;
}

.al-trade-card .al-cost-dust-live {
  padding: 3px 8px 3px 6px;
  gap: 5px;
  font-size: 0.8rem;
}

.al-trade-card .al-cost-dust-live .al-cost-unit {
  font-size: 0.68rem;
}

.al-trade-card .al-btn-primary {
  min-height: 46px;
}

/* Emblème mini éventail officiel pour la tuile Cartes sur le Profil */
.al-profile-cards-emblem {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: radial-gradient(circle at 50% 55%, rgba(246, 213, 128, 0.24), rgba(7, 12, 24, 0.94) 74%);
  border: 1px solid rgba(246, 213, 128, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 245, 214, 0.14), 0 8px 18px rgba(0, 0, 0, 0.45);
}

.al-profile-cards-emblem img {
  position: absolute;
  width: 24px;
  height: 34px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(246, 213, 128, 0.65);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.al-profile-cards-emblem .al-pce-back {
  transform: translateX(-6px) rotate(-11deg);
  z-index: 1;
}

.al-profile-cards-emblem .al-pce-front {
  transform: translateX(5px) translateY(-1px) rotate(7deg);
  z-index: 2;
  border-color: #fff0be;
}

/* ==================== SANCTUAIRE GEMME D'ÉVEIL AAA (BOOSTERS) ==================== */
.al-awakening-aaa {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 26px;
  border-radius: 26px;
  border: 1.5px solid rgba(246, 213, 128, 0.46);
  background: #060a14;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 214, 0.2),
    0 24px 56px rgba(0, 0, 0, 0.68),
    0 0 38px rgba(246, 213, 128, 0.12);
}

.al-awakening-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.al-awakening-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(246, 213, 128, 0.12) 0%, rgba(5, 9, 18, 0.86) 56%, rgba(5, 9, 18, 0.96) 100%);
  pointer-events: none;
  z-index: 1;
}

.al-awakening-inner {
  position: relative;
  z-index: 2;
}

.al-awakening-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.al-awakening-aaa .al-awakening-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  background: linear-gradient(180deg, #ffffff 0%, #f8e5b4 58%, #dfa53a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cartes Héros de départ : Vitrail & Or + Médaillon 3D flottant (ZÉRO cadre carré !) */
.al-starter-card.al-starter-aaa {
  position: relative;
  overflow: hidden;
  padding: 0;
  gap: 0;
  border-radius: 22px;
  border: 1.5px solid color-mix(in srgb, var(--starter-accent, #f6d580) 34%, rgba(246, 213, 128, 0.22));
  background: linear-gradient(175deg, rgba(16, 24, 44, 0.96), rgba(6, 10, 19, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 216, 0.14),
    0 18px 38px rgba(0, 0, 0, 0.56);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.al-starter-card.al-starter-aaa:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--starter-accent, #f6d580) 80%, #fff0be);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 224, 0.24),
    0 24px 48px rgba(0, 0, 0, 0.68),
    0 0 32px color-mix(in srgb, var(--starter-accent, #f6d580) 26%, transparent);
}

.al-starter-art-stage {
  position: relative;
  width: 100%;
  padding: 18px 16px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 54%, color-mix(in srgb, var(--starter-accent, #f6d580) 30%, transparent) 0%, rgba(8, 14, 28, 0.85) 64%, rgba(6, 10, 19, 0.98) 100%);
  border-bottom: 1px solid rgba(246, 213, 128, 0.18);
}

/* Override spécifique pour empêcher l'ancien .al-starter-card img de déformer le médaillon */
.al-starter-card.al-starter-aaa img.al-starter-card-art {
  width: 146px;
  height: 204px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid rgba(246, 213, 128, 0.62);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.78),
    0 0 24px color-mix(in srgb, var(--starter-accent, #f6d580) 28%, transparent);
  transition: transform 0.25s ease;
}

.al-starter-card.al-starter-aaa:hover img.al-starter-card-art {
  transform: translateY(-4px) scale(1.03);
}

.al-starter-medallion-badge {
  position: absolute;
  bottom: -23px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  z-index: 4;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85));
}

.al-starter-card.al-starter-aaa img.al-starter-el-medal {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}

.al-starter-body {
  width: 100%;
  padding: 30px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
}

.al-starter-el-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff6de;
  background: color-mix(in srgb, var(--starter-accent, #f6d580) 20%, rgba(10, 16, 30, 0.9));
  border: 1px solid color-mix(in srgb, var(--starter-accent, #f6d580) 48%, transparent);
}

.al-starter-body h3 {
  margin: 0;
  font-family: var(--al-font-display);
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  color: #fff5db;
}

.al-starter-body p {
  margin: 0 0 8px;
  font-size: 0.83rem;
  line-height: 1.44;
  color: #b7c4d8;
  min-height: 3.6em;
}

.al-starter-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 10px 14px;
  margin-top: auto;
}

.al-starter-cta .al-cta-copy {
  align-items: center;
}

/* ==================== PODIUM STUDIO 3D BOOSTERS AAA ==================== */
.al-podium-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

.al-anatomy-item.is-vfx-slot {
  gap: 10px;
}

.al-anatomy-item.is-vfx-slot .al-vfx-ico {
  flex-shrink: 0;
}

.al-podium-open-forged {
  flex: 1 1 auto;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 12px;
}

.al-podium-open-forged .al-cta-copy {
  margin-right: auto;
}

.al-podium-arena-forged {
  padding: 10px 14px;
}

@media (max-width: 900px) {
  .al-starter-grid {
    grid-template-columns: 1fr;
  }
  .al-awakening-aaa {
    padding: 20px 16px;
  }
  .al-starter-body p {
    min-height: 0;
  }
  .al-podium-open-forged {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==================== REFONTE AAA : JOUER (ARÈNE & RAID) + COLLECTION ==================== */

/* Barre de lancement Arène forgée (zéro retour à la ligne sur select) */
.al-arena-setup-aaa {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(168deg, rgba(16, 24, 44, 0.96), rgba(6, 10, 20, 0.99));
  border: 1.5px solid rgba(246, 213, 128, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, 0.14), 0 14px 34px rgba(0, 0, 0, 0.48);
}

.al-arena-setup-aaa .al-setup-group {
  min-width: 0;
}

.al-arena-setup-aaa .al-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 46px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 420px) {
  .al-arena-setup-aaa .al-select {
    font-size: 16px;
    padding: 8px 26px 8px 10px;
  }
}

/* Contraste haute lisibilité des boutons Musique / Effets dans la scène Cinéma 3D */
#pcu-cinema-overlay #pcu-music-btn,
#pcu-cinema-overlay #pcu-sfx-btn {
  color: #fff6dc !important;
  border-color: rgba(246, 213, 128, 0.45) !important;
  background: rgba(11, 18, 34, 0.9) !important;
  font-weight: 700;
}

.al-arena-start-forged {
  height: 46px;
  padding: 6px 16px;
  white-space: nowrap;
}

.al-arena-start-forged:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

/* Portail Cathédrale avant le lancement sur le Canvas Arène (zéro vide noir) */
.al-arena-overlay-aaa {
  overflow: hidden;
  padding: 20px;
}

.al-arena-overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  opacity: 0.44;
  pointer-events: none;
  z-index: 0;
}

.al-arena-overlay-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(8, 14, 28, 0.56) 0%, rgba(4, 7, 15, 0.92) 78%);
  pointer-events: none;
  z-index: 1;
}

.al-arena-gate-box {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
  padding: 24px 26px;
  border-radius: 22px;
  background: linear-gradient(168deg, rgba(14, 22, 42, 0.92), rgba(5, 9, 18, 0.96));
  border: 1.5px solid rgba(246, 213, 128, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 214, 0.2),
    0 24px 54px rgba(0, 0, 0, 0.78),
    0 0 36px rgba(246, 213, 128, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.al-arena-gate-crest {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(246, 213, 128, 0.22), rgba(6, 10, 20, 0.95) 72%);
  border: 1px solid rgba(246, 213, 128, 0.44);
  box-shadow: 0 0 22px rgba(246, 213, 128, 0.24);
}

.al-arena-gate-crest img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.al-arena-gate-box h3 {
  margin: 0;
  font-family: var(--al-font-display);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  background: linear-gradient(180deg, #ffffff 0%, #f8e5b4 60%, #dfa53a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-arena-gate-box p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.46;
  color: #c2cfe2;
  max-width: 440px;
}

.al-arena-gate-towers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 4px 0 6px;
}

.al-arena-gate-towers img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 42%, rgba(0, 0, 0, 0.78) 62%, transparent 88%);
  mask-image: radial-gradient(circle at 50% 50%, #000 42%, rgba(0, 0, 0, 0.78) 62%, transparent 88%);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.85));
}

.al-arena-gate-towers img:nth-child(2) {
  transform: scale(1.12) translateY(-4px);
}

.al-arena-gate-cta {
  padding: 10px 20px;
}

.al-arena-gate-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Panneaux latéraux & HUD Arène harmonisés */
.al-arena-hud {
  background: linear-gradient(180deg, rgba(14, 22, 42, 0.96), rgba(7, 11, 22, 0.98));
  border-bottom: 1px solid rgba(246, 213, 128, 0.2);
}

.al-side-card {
  background: linear-gradient(168deg, rgba(16, 24, 44, 0.96), rgba(6, 10, 20, 0.99));
  border: 1.5px solid rgba(246, 213, 128, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, 0.12), 0 14px 32px rgba(0, 0, 0, 0.46);
}

/* ==================== RAID ÉLÉMENTAIRE COOP AAA ==================== */
.al-coop-launcher-aaa {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Bannière Héroïque Boss de la Semaine (2 colonnes dès 769 px, zéro barre étirée) */
.al-boss-banner-aaa {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(230px, 0.68fr);
  align-items: center;
  gap: 20px;
  padding: 28px 30px;
  border-radius: 24px;
  border: 1.5px solid rgba(246, 213, 128, 0.48);
  background: #060a14;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 214, 0.2),
    0 24px 54px rgba(0, 0, 0, 0.68),
    0 0 40px rgba(168, 85, 247, 0.16);
}

.al-boss-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 40%;
  opacity: 0.56;
  pointer-events: none;
  z-index: 0;
}

.al-boss-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.22) 0%, transparent 52%),
    linear-gradient(92deg, rgba(5, 9, 18, 0.96) 0%, rgba(7, 11, 24, 0.88) 54%, rgba(6, 10, 22, 0.36) 100%);
  pointer-events: none;
  z-index: 1;
}

.al-boss-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.al-boss-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.al-boss-rewards {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.al-boss-reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 7px;
  border-radius: 999px;
  background: rgba(8, 13, 26, 0.88);
  border: 1px solid rgba(246, 213, 128, 0.36);
  font-size: 0.78rem;
  color: #fff6dc;
}

.al-boss-copy h2 {
  margin: 0;
  font-family: var(--al-font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.12;
  background: linear-gradient(180deg, #ffffff 0%, #f8e5b4 58%, #dfa53a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.al-boss-copy p {
  margin: 0 0 6px;
  color: #cbd7ea;
  font-size: 0.92rem;
  line-height: 1.48;
  max-width: 500px;
}

.al-boss-cta {
  padding: 10px 18px;
}

.al-boss-art {
  position: relative;
  z-index: 2;
  height: 204px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-boss-halo {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.28) 0%, rgba(168, 85, 247, 0.26) 46%, transparent 72%);
  filter: blur(10px);
}

.al-boss-card {
  position: absolute;
  width: 118px;
  border-radius: 12px;
  border: 1.5px solid rgba(246, 213, 128, 0.68);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.82);
}

.al-boss-card.is-left {
  transform: translateX(-46px) rotate(-10deg) scale(0.95);
  z-index: 2;
}

.al-boss-card.is-right {
  transform: translateX(46px) translateY(4px) rotate(10deg) scale(0.98);
  z-index: 3;
  border-color: #d8b4fe;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.86), 0 0 26px rgba(168, 85, 247, 0.34);
}

.al-boss-medal {
  position: absolute;
  width: 40px;
  height: 40px;
  object-fit: contain;
  z-index: 4;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.88));
}

.al-boss-medal.is-m1 {
  top: 6px;
  left: 14px;
}

.al-boss-medal.is-m2 {
  bottom: 6px;
  right: 14px;
}

/* 2 Cartes Modes Raid côte à côte (Solo & Salon Privé 2 Joueurs) */
.al-coop-modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.al-coop-mode-card {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(168deg, rgba(16, 24, 44, 0.96), rgba(6, 10, 20, 0.99));
  border: 1.5px solid rgba(246, 213, 128, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, 0.14), 0 16px 36px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.al-coop-mode-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 213, 128, 0.54);
}

.al-coop-mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.al-coop-mode-medals {
  display: inline-flex;
  align-items: center;
}

.al-coop-mode-medals img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.75));
}

.al-coop-mode-medals img:last-child {
  margin-left: -10px;
}

.al-coop-mode-card h3 {
  margin: 0;
  font-family: var(--al-font-display);
  font-size: 1.12rem;
  color: #fff6df;
}

.al-coop-mode-card p {
  margin: 0 0 8px;
  font-size: 0.86rem;
  line-height: 1.48;
  color: #b7c4d8;
}

.al-coop-mode-cta {
  width: 100%;
  justify-content: center;
  padding: 10px 14px;
  margin-top: auto;
}

.al-coop-mode-card .al-coop-room-controls {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==================== COLLECTION & ÉQUIPE AAA ==================== */
.al-belt-slot-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.al-belt-slot-badge.is-lock {
  color: #93a4be;
  background: rgba(12, 19, 34, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.al-belt-slot-badge.is-open {
  color: #7be1dd;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(123, 225, 221, 0.42);
}

.al-belt-slot.is-filled {
  background: linear-gradient(155deg, rgba(18, 28, 50, 0.96), rgba(7, 12, 24, 0.99));
  border-color: rgba(123, 225, 221, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.42);
}

.al-belt-slot.is-filled:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 213, 128, 0.72);
}

.al-tcg-el-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.al-tcg-el-inline img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .al-arena-setup-aaa {
    grid-template-columns: 1fr;
  }
  .al-arena-start-forged {
    width: 100%;
    justify-content: center;
  }
  .al-boss-banner-aaa {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    text-align: center;
  }
  .al-boss-copy {
    align-items: center;
  }
  .al-boss-meta-row {
    justify-content: center;
  }
  .al-boss-art {
    order: -1;
    height: 168px;
  }
  .al-boss-card {
    width: 102px;
  }
  .al-boss-cta {
    width: 100%;
    justify-content: center;
  }
  .al-coop-modes-grid {
    grid-template-columns: 1fr;
  }
  .al-arena-gate-box {
    padding: 18px 16px;
  }
  .al-arena-gate-towers img {
    width: 48px;
    height: 48px;
  }
}

/* ==================== COFFRE DU JOUEUR, PARRAINAGE & LOBBY JOUER AAA ==================== */
.al-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Topbar Vault Button */
.al-vault-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(228, 184, 87, 0.34);
  background: linear-gradient(155deg, rgba(26, 36, 58, 0.94), rgba(11, 16, 28, 0.96));
  color: var(--al-text);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.al-vault-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 213, 128, 0.72);
  box-shadow: 0 0 18px rgba(246, 213, 128, 0.24);
}

.al-vault-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--al-muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.al-vault-btn.has-packs {
  border-color: rgba(246, 213, 128, 0.82);
  background: linear-gradient(155deg, rgba(72, 51, 16, 0.92), rgba(22, 16, 8, 0.96));
  box-shadow: 0 0 22px rgba(246, 213, 128, 0.34);
}

.al-vault-btn.has-packs .al-vault-badge {
  background: linear-gradient(135deg, #f6d580, #d49b2d);
  color: #160e03;
}

/* Coffre Modal & Profil Vault */
.al-vault-modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.al-vault-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-right: 48px;
}

.al-vault-modal-head h2 {
  margin: 6px 0 0;
  font-size: 1.3rem;
}

.al-vault-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.al-vault-section h3 {
  margin: 0;
  font-size: 0.96rem;
  color: var(--al-gold-strong);
  letter-spacing: 0.03em;
}

.al-vault-packs-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.al-vault-pack-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 30, 52, 0.92), rgba(9, 14, 26, 0.96));
  border: 1px solid rgba(228, 184, 87, 0.34);
}

.al-vault-pack-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(246, 213, 128, 0.12);
  border: 1px solid rgba(246, 213, 128, 0.32);
  flex-shrink: 0;
}

.al-vault-pack-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.al-vault-pack-info strong {
  font-size: 0.92rem;
}

.al-vault-pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.al-vault-empty {
  padding: 14px;
  border-radius: 14px;
  background: rgba(10, 16, 30, 0.72);
  border: 1px dashed rgba(148, 163, 184, 0.28);
  margin-top: 10px;
}

.al-vault-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.al-vault-stats-grid.al-vault-stats-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 6px;
}

.al-vault-stat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(16, 25, 44, 0.94), rgba(8, 13, 24, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--al-text);
  text-align: center;
}

.al-vault-stat-tile.is-link {
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.al-vault-stat-tile.is-link:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 213, 128, 0.62);
}

.al-vault-stat-tile strong {
  font-size: 1.05rem;
  color: var(--al-gold-strong);
}

.al-vault-stat-tile small {
  font-size: 0.72rem;
  color: var(--al-muted);
}

.al-vault-ref-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(64, 46, 15, 0.45), rgba(14, 24, 42, 0.9));
  border: 1px solid rgba(246, 213, 128, 0.42);
}

.al-vault-ref-strip > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Profil : Parrainage & Langue */
.al-ref-share-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(36, 28, 14, 0.68), rgba(10, 17, 32, 0.96));
  border: 1px solid rgba(246, 213, 128, 0.45);
  margin-bottom: 12px;
}

.al-ref-code-big {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--al-gold-strong);
  margin: 2px 0;
}

.al-ref-share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.al-ref-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.al-ref-milestone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 13px;
  background: rgba(11, 18, 33, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.al-ref-milestone.is-reached {
  border-color: rgba(246, 213, 128, 0.72);
  background: linear-gradient(145deg, rgba(58, 43, 14, 0.55), rgba(14, 21, 36, 0.92));
}

.al-ref-milestone strong {
  display: block;
  font-size: 0.82rem;
}

.al-ref-milestone small {
  display: block;
  font-size: 0.72rem;
  color: var(--al-muted);
}

.al-ref-ms-ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.al-ref-apply-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.al-ref-apply-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.al-ref-apply-row .al-input {
  flex: 1;
  min-width: 160px;
}

.al-ref-status-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(14, 26, 46, 0.85);
  border: 1px solid rgba(123, 225, 221, 0.36);
}

.al-ref-status-box.is-done {
  border-color: rgba(246, 213, 128, 0.56);
  background: rgba(46, 36, 14, 0.45);
}

.al-ref-status-box strong {
  display: block;
  font-size: 0.88rem;
}

.al-ref-friends-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.al-ref-friend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.al-lang-switch-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
}

.al-lang-switch-profile .al-lang-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(12, 19, 34, 0.9);
  font-size: 0.88rem;
  font-weight: 800;
}

.al-lang-switch-profile .al-lang-btn.is-active {
  border-color: rgba(246, 213, 128, 0.78);
  background: linear-gradient(145deg, rgba(66, 48, 16, 0.85), rgba(20, 28, 46, 0.96));
  color: var(--al-gold-strong);
}

/* ==================== LOBBY JOUEUR AAA (SECTION JOUER) ==================== */
.al-play-lobby-aaa {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.al-lobby-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 26, 48, 0.94), rgba(8, 13, 26, 0.98));
  border: 1px solid rgba(228, 184, 87, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.al-lobby-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.al-lobby-avatar {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.al-lobby-id-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.al-lobby-id-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.al-lobby-xp-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.al-lobby-xp-row small {
  white-space: nowrap;
  flex-shrink: 0;
}

.al-lobby-xp-bar {
  width: 130px;
  max-width: 100%;
  height: 7px;
  min-width: 56px;
}

.al-lobby-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.al-lobby-vault-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(228, 184, 87, 0.45);
}

.al-lobby-vault-pill.has-packs {
  border-color: rgba(246, 213, 128, 0.85);
  background: linear-gradient(145deg, rgba(72, 51, 16, 0.86), rgba(20, 15, 8, 0.95));
  color: var(--al-gold-strong);
  box-shadow: 0 0 18px rgba(246, 213, 128, 0.28);
}

/* Scène Cathédrale Escouade + Inviter un Ami */
.al-lobby-stage {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(228, 184, 87, 0.34);
  background: #070d19;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.54);
  padding: 20px;
}

.al-lobby-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  pointer-events: none;
}

.al-lobby-stage-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 26% 35%, rgba(228, 184, 87, 0.14), rgba(6, 10, 20, 0.92) 72%);
  pointer-events: none;
}

.al-lobby-stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.al-lobby-squad-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.al-lobby-col-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.al-lobby-col-head h2 {
  margin: 6px 0 0;
  font-size: 1.24rem;
}

.al-lobby-squad-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.al-lobby-hero-slot {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(16, 26, 48, 0.92), rgba(7, 12, 22, 0.98));
  border: 1.5px solid rgba(228, 184, 87, 0.32);
  color: var(--al-text);
  padding: 8px;
  gap: 8px;
  text-align: left;
  min-height: 230px;
}

.al-lobby-hero-slot.is-filled {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.al-lobby-hero-slot.is-filled:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 213, 128, 0.78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 22px rgba(246, 213, 128, 0.24);
}

.al-lobby-hero-slot.is-empty {
  cursor: pointer;
  border-style: dashed;
  border-color: rgba(123, 225, 221, 0.42);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.al-lobby-hero-slot.is-empty:hover {
  border-color: rgba(246, 213, 128, 0.75);
  background: linear-gradient(160deg, rgba(24, 38, 66, 0.92), rgba(10, 16, 30, 0.98));
}

.al-lobby-hero-slot.is-locked {
  border-color: rgba(148, 163, 184, 0.18);
  opacity: 0.74;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.al-lobby-slot-empty-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
}

.al-lobby-slot-empty-inner strong {
  font-size: 0.86rem;
}

.al-lobby-slot-empty-inner small {
  font-size: 0.74rem;
  color: var(--al-muted);
}

.al-lobby-hero-art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 11px;
  overflow: hidden;
  background: #050912;
}

.al-lobby-hero-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-lobby-role-pill {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(6, 10, 18, 0.86);
  border: 1px solid rgba(246, 213, 128, 0.55);
  color: var(--al-gold-strong);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.al-lobby-lvl-pill {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(6, 10, 18, 0.88);
  border: 1px solid rgba(123, 225, 221, 0.52);
  color: #e6f7f6;
  font-size: 0.66rem;
  font-weight: 800;
}

.al-lobby-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px;
}

.al-lobby-hero-meta strong {
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.al-lobby-hero-meta small {
  font-size: 0.72rem;
  color: var(--al-muted);
}

.al-lobby-squad-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(8, 14, 27, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.al-lobby-equip-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.al-lobby-equip-badge img {
  width: 34px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(246, 213, 128, 0.5);
  flex-shrink: 0;
}

.al-lobby-equip-badge strong {
  display: block;
  font-size: 0.84rem;
}

.al-lobby-equip-empty {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--al-muted);
}

/* Colonne Droite : Inviter un Ami */
.al-lobby-social-col {
  display: flex;
  min-width: 0;
}

.al-lobby-social-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(22, 33, 58, 0.92), rgba(9, 14, 27, 0.98));
  border: 1px solid rgba(246, 213, 128, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.al-lobby-social-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.al-lobby-social-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.al-lobby-social-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.48;
}

.al-lobby-ref-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(6, 11, 22, 0.88);
  border: 1px solid rgba(246, 213, 128, 0.3);
}

.al-lobby-ref-code-box strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  color: var(--al-gold-strong);
}

.al-lobby-social-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.al-lobby-social-cta,
.al-lobby-duo-btn {
  width: 100%;
  justify-content: center;
}

/* Deck de sélection des 5 Arènes */
.al-lobby-arena-deck {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.94), rgba(7, 12, 23, 0.98));
  border: 1px solid rgba(228, 184, 87, 0.28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.44);
}

.al-lobby-deck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.al-lobby-deck-head h3 {
  margin: 6px 0 0;
  font-size: 1.08rem;
}

.al-lobby-diff-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.al-diff-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(10, 16, 30, 0.88);
  color: var(--al-text);
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.2s ease, background 0.2s ease;
}

.al-diff-pill strong {
  font-size: 0.82rem;
}

.al-diff-pill small {
  font-size: 0.68rem;
  color: var(--al-muted);
}

.al-diff-pill.is-active {
  border-color: rgba(246, 213, 128, 0.82);
  background: linear-gradient(145deg, rgba(72, 51, 16, 0.84), rgba(18, 25, 44, 0.95));
  color: var(--al-gold-strong);
  box-shadow: 0 0 18px rgba(246, 213, 128, 0.22);
}

.al-lobby-stages-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.al-lobby-stage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(160deg, rgba(14, 22, 40, 0.92), rgba(7, 11, 22, 0.98));
  color: var(--al-text);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.al-lobby-stage-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--stage-accent, #e4b857) 65%, white 10%);
}

.al-lobby-stage-card.is-selected {
  border-color: var(--stage-accent, #f6d580);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--stage-accent, #e4b857) 22%, rgba(16, 24, 44, 0.95)),
    rgba(8, 12, 22, 0.99)
  );
  box-shadow: 0 0 24px color-mix(in srgb, var(--stage-accent, #e4b857) 30%, transparent);
}

.al-lobby-stage-art {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--stage-accent, #e4b857) 24%, transparent), transparent 72%);
}

.al-lobby-stage-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mask-image: radial-gradient(circle at center, #000 58%, transparent 94%);
  -webkit-mask-image: radial-gradient(circle at center, #000 58%, transparent 94%);
}

.al-lobby-stage-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.al-lobby-stage-tag {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--stage-accent, #f6d580);
}

.al-lobby-stage-info strong {
  font-size: 0.94rem;
}

.al-lobby-stage-info small {
  font-size: 0.74rem;
  color: var(--al-muted);
}

.al-lobby-stage-medal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: var(--al-muted);
}

.al-lobby-stage-medal.is-bronze { color: #f59e0b; background: rgba(245, 158, 11, 0.14); }
.al-lobby-stage-medal.is-silver { color: #e2e8f0; background: rgba(226, 232, 240, 0.14); }
.al-lobby-stage-medal.is-gold { color: #fde047; background: rgba(250, 204, 21, 0.18); }
.al-lobby-stage-medal.is-mythic { color: #f0abfc; background: rgba(217, 70, 239, 0.18); }

.al-lobby-launch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.al-lobby-launch-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.al-lobby-play-cta {
  min-width: 240px;
  justify-content: center;
}

.al-arena-battle-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* Responsive Vault, Parrainage & Lobby (Tablette & Cellulaire 375px / 320px) */
@media (max-width: 900px) {
  .al-lobby-stages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .al-brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .al-vault-btn {
    min-height: 44px;
    height: 44px;
    min-width: 44px;
  }
  .al-profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .al-lobby-stage-grid {
    grid-template-columns: 1fr;
  }
  .al-lobby-stage {
    padding: 14px;
  }
  .al-lobby-arena-deck {
    padding: 14px;
  }
  .al-lobby-stages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-lobby-play-cta {
    width: 100%;
    min-width: 0;
  }
  .al-vault-stats-grid,
  .al-vault-stats-grid.al-vault-stats-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-ref-milestones {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .al-vault-btn {
    min-height: 44px;
    height: 44px;
    padding: 0 10px;
  }
  .al-vault-label {
    display: none;
  }
  .al-lobby-squad-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .al-lobby-hero-slot {
    padding: 5px;
    min-height: 162px;
  }
  .al-lobby-role-pill,
  .al-lobby-lvl-pill {
    font-size: 0.56rem;
    padding: 1px 5px;
  }
  .al-lobby-hero-meta strong {
    font-size: 0.74rem;
  }
  .al-lobby-hero-meta small {
    font-size: 0.64rem;
  }
  .al-lobby-quick-actions {
    width: 100%;
    gap: 6px;
  }
  .al-lobby-quick-actions .al-btn-sm {
    min-height: 44px;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    padding: 6px 8px;
    font-size: 0.76rem;
  }
  .al-hide-xs {
    display: none;
  }
  .al-lobby-diff-pills {
    width: 100%;
  }
  .al-diff-pill {
    flex: 1;
    padding: 6px 8px;
  }
  .al-ref-share-btns {
    width: 100%;
  }
  .al-ref-share-btns .al-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .al-card-panel {
    padding: 15px 13px;
    border-radius: 16px;
  }
  .al-profile-summary {
    gap: 10px;
  }
  .al-avatar-badge {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .al-profile-stats-row {
    gap: 7px;
  }
  .al-mini-stat {
    padding: 9px 6px;
  }
  .al-vault-pack-row {
    flex-wrap: wrap;
  }
  .al-vault-pack-row .al-btn-sm {
    width: 100%;
    justify-content: center;
  }
  .al-lobby-slot-empty-inner strong {
    font-size: 0.68rem;
    overflow-wrap: anywhere;
  }
  .al-lobby-slot-empty-inner small {
    font-size: 0.6rem;
    overflow-wrap: anywhere;
  }
}

/* ==================== CARTE MYTHIQUE SECRÈTE (9 ÉLÉMENTS), QG 4 TUILES & AUTEL SYNERGIE AAA ==================== */
.al-el-mystery-teaser {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(246, 213, 128, 0.45);
  background: linear-gradient(145deg, rgba(32, 24, 10, 0.86), rgba(9, 14, 27, 0.96));
  color: var(--al-ivory);
  text-align: left;
  cursor: pointer;
  max-width: 100%;
  min-height: 44px;
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.al-el-mystery-teaser:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 213, 128, 0.85);
  box-shadow: 0 8px 22px rgba(246, 213, 128, 0.22);
}

.al-el-mystery-back {
  width: 30px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(246, 213, 128, 0.55);
  flex-shrink: 0;
}

.al-el-mystery-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.al-el-mystery-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--al-gold-strong);
  white-space: nowrap;
}

.al-el-mystery-copy strong svg {
  flex-shrink: 0;
}

.al-el-mystery-copy small {
  font-size: 0.72rem;
  color: var(--al-muted);
  line-height: 1.25;
}

/* Duo Royal 50/50 : Carte Boutique Boosters 3D assortie au Coffre Éclair Royal */
.al-booster-royal-card {
  background:
    radial-gradient(circle at 16% 50%, rgba(56, 189, 248, 0.24) 0%, transparent 56%),
    radial-gradient(circle at 86% 20%, rgba(250, 204, 21, 0.16) 0%, transparent 50%),
    linear-gradient(155deg, rgba(20, 32, 58, 0.96), rgba(7, 11, 22, 0.98));
  border-color: rgba(123, 225, 221, 0.45);
}

.al-booster-royal-card.is-ready {
  border-color: rgba(250, 204, 21, 0.84);
}

.al-booster-3d-img {
  width: 96%;
  height: 96%;
  object-fit: contain;
}

.al-booster-bar-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 2;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6d580, #d49b2d);
  color: #160e03;
  font-size: 0.72rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
}

/* Autel AAA « Ma Synergie » dans Collection */
.al-synergy-altar-panel {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(246, 213, 128, 0.36);
  background:
    radial-gradient(circle at 50% 25%, rgba(246, 213, 128, 0.12), transparent 58%),
    radial-gradient(circle at 82% 80%, rgba(123, 225, 221, 0.1), transparent 52%),
    linear-gradient(160deg, rgba(14, 22, 40, 0.96), rgba(6, 10, 20, 0.99));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 245, 214, 0.12);
}

.al-synergy-altar-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.al-synergy-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.al-syn-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  padding: 9px 8px;
  border-radius: 13px;
  background: rgba(6, 11, 22, 0.84);
  border: 1px solid rgba(228, 184, 87, 0.22);
}

.al-syn-metric small {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--al-muted);
}

.al-syn-metric strong {
  font-size: 1.12rem;
  color: var(--al-gold-strong);
  font-family: "Cinzel", Georgia, serif;
}

.al-synergy-pedestals {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.12fr) minmax(0, 0.94fr) minmax(0, 0.98fr);
  gap: 12px;
  align-items: end;
}

.al-syn-pedestal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(16, 26, 48, 0.92), rgba(7, 11, 22, 0.98));
  border: 1.5px solid rgba(148, 163, 184, 0.24);
  color: var(--al-ivory);
  min-width: 0;
  min-height: 258px;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.al-syn-pedestal.is-lead {
  border-color: rgba(246, 213, 128, 0.72);
  background: linear-gradient(165deg, rgba(46, 34, 14, 0.62), rgba(9, 14, 28, 0.99));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.56), 0 0 28px rgba(246, 213, 128, 0.2);
  min-height: 282px;
}

.al-syn-pedestal.is-relic {
  border-color: rgba(123, 225, 221, 0.42);
  background: linear-gradient(165deg, rgba(14, 34, 48, 0.76), rgba(7, 12, 24, 0.99));
}

.al-syn-pedestal.is-empty {
  cursor: pointer;
  border-style: dashed;
  border-color: rgba(246, 213, 128, 0.44);
  text-align: center;
}

.al-syn-pedestal.is-empty:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 213, 128, 0.85);
}

.al-syn-pedestal.is-locked {
  opacity: 0.72;
}

.al-syn-pedestal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.al-syn-role {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--al-cyan);
}

.al-syn-pedestal.is-lead .al-syn-role,
.al-syn-role.is-gold {
  color: var(--al-gold-strong);
}

.al-syn-lvl {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--al-ivory);
}

.al-syn-card-frame {
  width: 100%;
  max-width: 164px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(246, 213, 128, 0.4);
  background: #040812;
  padding: 0;
  cursor: pointer;
}

.al-syn-pedestal.is-lead .al-syn-card-frame {
  max-width: 186px;
}

.al-syn-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-syn-empty-core {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 12px 6px;
}

.al-syn-empty-core strong {
  font-size: 0.84rem;
}

.al-syn-empty-core small {
  font-size: 0.72rem;
  color: var(--al-muted);
}

.al-syn-pedestal-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.al-syn-pedestal-meta strong {
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.al-syn-pedestal-meta small {
  font-size: 0.7rem;
  color: var(--al-muted);
  line-height: 1.25;
}

.al-syn-pedestal-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.al-syn-pedestal-actions .al-btn-sm {
  flex: 1;
  min-height: 44px;
  justify-content: center;
}

/* Modale Sélecteur Instantané de Synergie */
.al-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.al-picker-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(16, 26, 48, 0.94), rgba(7, 12, 24, 0.98));
  border: 1.5px solid rgba(148, 163, 184, 0.24);
  color: var(--al-ivory);
  text-align: left;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.18s ease;
}

.al-picker-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 213, 128, 0.78);
}

.al-picker-card.is-selected {
  border-color: rgba(246, 213, 128, 0.9);
  box-shadow: 0 0 20px rgba(246, 213, 128, 0.24);
}

.al-picker-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 9px;
  object-fit: cover;
  display: block;
}

.al-picker-card strong {
  font-size: 0.82rem;
  line-height: 1.2;
}

.al-picker-card small {
  font-size: 0.7rem;
  color: var(--al-muted);
  line-height: 1.25;
}

.al-picker-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 5px 8px;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--al-ivory);
}

.al-picker-tag.is-on {
  background: linear-gradient(135deg, #f6d580, #d49b2d);
  color: #160e03;
}

/* Responsive Bandeau Royal Boosters & Autel Synergie (Tablette & Cellulaire 375/320px) */
@media (max-width: 860px) {
  .al-synergy-pedestals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .al-syn-pedestal.is-lead {
    order: -1;
    min-height: 258px;
  }
}

@media (max-width: 768px) {
  .al-synergy-telemetry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .al-synergy-pedestals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .al-syn-pedestal {
    padding: 9px;
    min-height: 215px;
  }
  .al-syn-pedestal.is-lead {
    min-height: 215px;
  }
  .al-syn-pedestal-actions {
    flex-direction: column;
  }
}

/* ==================== CONFORMITÉ LOI 25, CGU, PROBABILITÉS & PASSEPORT DISCRET ==================== */
a.al-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.al-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(8, 14, 27, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--al-ivory);
  cursor: pointer;
  min-height: 44px;
}

.al-consent-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: #e4b857;
  flex-shrink: 0;
  cursor: pointer;
}

.al-inline-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--al-gold-strong);
  text-decoration: underline;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.al-legal-pill-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(246, 213, 128, 0.38);
  background: rgba(16, 26, 48, 0.85);
  color: var(--al-gold-strong);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.al-legal-pill-btn:hover {
  border-color: rgba(246, 213, 128, 0.8);
  transform: translateY(-1px);
}

.al-auth-compliance-strip,
.al-legal-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
}

.al-legal-links-row .al-btn-sm,
.al-auth-compliance-strip .al-btn-sm {
  min-height: 44px;
}

.al-passport-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.al-passport-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(6, 11, 22, 0.86);
  border: 1px solid rgba(123, 225, 221, 0.28);
}

.al-passport-status-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.al-advanced-nested {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(6, 10, 20, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.al-legal-modal {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.al-legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.al-legal-tabs .al-btn-sm {
  min-height: 44px;
}

.al-legal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 4px;
}

.al-legal-sec {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(9, 15, 29, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.al-legal-sec h4 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: var(--al-gold-strong);
}

.al-legal-sec p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--al-ivory);
}

.al-odds-wrap h4 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--al-gold-strong);
}

.al-odds-scroll {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(246, 213, 128, 0.3);
}

.al-odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  background: rgba(7, 12, 24, 0.94);
}

.al-odds-table th,
.al-odds-table td {
  padding: 8px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  white-space: nowrap;
}

.al-odds-table th:first-child,
.al-odds-table td:first-child {
  text-align: left;
  padding-left: 12px;
}

.al-odds-table th {
  color: var(--al-gold-strong);
  font-weight: 800;
  background: rgba(246, 213, 128, 0.08);
}

.al-site-footer {
  margin: 28px auto 12px;
  padding: 16px 12px 24px;
  border-top: 1px solid rgba(246, 213, 128, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.al-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
}

.al-footer-link {
  background: none;
  border: none;
  padding: 10px 6px;
  min-height: 44px;
  color: var(--al-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.16s ease;
}

.al-footer-link:hover {
  color: var(--al-gold-strong);
}

.al-cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 95;
  width: min(980px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(8, 14, 27, 0.96);
  border: 1px solid rgba(246, 213, 128, 0.42);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
  font-size: 0.8rem;
  color: var(--al-ivory);
}

.al-cookie-bar[hidden] {
  display: none !important;
}

.al-cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.al-cookie-actions .al-btn-sm {
  min-height: 40px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .al-cookie-bar {
    bottom: 72px;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 7px;
    padding: 9px 11px;
    font-size: 0.74rem;
    line-height: 1.3;
  }
  .al-cookie-actions {
    width: 100%;
    gap: 6px;
  }
  .al-cookie-actions .al-btn-sm {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .al-cookie-bar {
    padding: 7px 9px;
    font-size: 0.69rem;
    line-height: 1.24;
    gap: 5px;
  }
  .al-cookie-actions {
    flex-wrap: nowrap;
    gap: 5px;
  }
  .al-cookie-actions .al-btn-sm {
    padding: 0 6px;
    font-size: 0.67rem;
    min-height: 44px;
    min-width: 0;
    flex: 1 1 0;
    white-space: normal;
    line-height: 1.1;
    text-align: center;
  }
}

/* ==================== COMPTOIR ROYAL & CHAT D'ÉCHANGE AAA (STYLE TCA) ==================== */
.al-trades-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.al-trades-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.al-trades-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.al-trades-filters[hidden] {
  display: none !important;
}

.al-trades-grid-aaa {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.al-trade-card-aaa {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 20%, rgba(246, 213, 128, 0.1), transparent 55%),
    linear-gradient(160deg, rgba(16, 26, 48, 0.96), rgba(7, 11, 22, 0.99));
  border: 1.5px solid rgba(228, 184, 87, 0.28);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 245, 214, 0.1);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.al-trade-card-aaa:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 213, 128, 0.65);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.56), 0 0 24px rgba(246, 213, 128, 0.16);
}

.al-trade-aaa-body {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.al-trade-art-btn {
  position: relative;
  width: 118px;
  aspect-ratio: 3 / 4;
  border-radius: 13px;
  overflow: hidden;
  border: 1.5px solid rgba(246, 213, 128, 0.48);
  background: #050912;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.al-trade-art-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-trade-art-zoom {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.88);
  border: 1px solid rgba(246, 213, 128, 0.55);
  color: var(--al-gold-strong);
  font-size: 0.66rem;
  font-weight: 800;
}

.al-trade-aaa-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.al-trade-aaa-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.al-trade-aaa-info h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.2;
}

.al-trade-aaa-power {
  font-size: 0.8rem;
  color: var(--al-muted);
}

.al-trade-aaa-power strong {
  color: var(--al-gold-strong);
}

.al-trade-note-quote {
  margin: 2px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(6, 11, 22, 0.72);
  border-left: 2px solid rgba(246, 213, 128, 0.45);
  font-size: 0.78rem;
  line-height: 1.38;
  color: var(--al-muted);
}

.al-trade-aaa-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.al-trade-primary-btn {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.al-trade-chat-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.al-trade-empty-stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(8, 14, 27, 0.8);
  border: 1px dashed rgba(246, 213, 128, 0.34);
}

.al-trade-empty-stage h3 {
  margin: 0;
}

/* Modale Création d'Annonce Visuelle AAA */
.al-trade-create-modal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.al-trade-create-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.al-trade-mode-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.al-trade-mode-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(10, 17, 32, 0.9);
  border: 1.5px solid rgba(148, 163, 184, 0.24);
  color: var(--al-ivory);
  cursor: pointer;
  min-height: 44px;
}

.al-trade-mode-btn.is-active {
  border-color: rgba(246, 213, 128, 0.84);
  background: linear-gradient(145deg, rgba(58, 43, 14, 0.55), rgba(14, 21, 36, 0.95));
}

.al-trade-mode-btn small {
  font-size: 0.74rem;
  color: var(--al-muted);
}

.al-trade-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.al-trade-price-row .al-input {
  width: 150px;
}

.al-trade-quick-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.al-trade-quick-prices .al-btn-sm {
  min-height: 44px;
}

/* Liste Discussions & Historique */
.al-trades-threads-list,
.al-trades-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.al-thread-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(16, 26, 48, 0.94), rgba(7, 12, 24, 0.98));
  border: 1px solid rgba(228, 184, 87, 0.28);
}

.al-thread-thumb {
  width: 52px;
  height: 70px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(246, 213, 128, 0.46);
  flex-shrink: 0;
}

.al-thread-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.al-thread-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.al-thread-info p {
  margin: 0;
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Salon Chat d'Échange Sécurisé (style TCA) */
.al-trade-chat-modal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.al-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 44px;
  flex-wrap: wrap;
}

.al-chat-card-thumb {
  width: 48px;
  height: 64px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(246, 213, 128, 0.55);
  flex-shrink: 0;
}

.al-chat-header-meta {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.al-chat-header-meta h3 {
  margin: 0;
  font-size: 1.04rem;
}

.al-btn-danger-soft {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
  min-height: 44px;
}

.al-chat-feed {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 36vh;
  min-height: 150px;
  overflow-y: auto;
  padding: 12px;
  border-radius: 14px;
  background: rgba(5, 9, 18, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.al-chat-bubble {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.84rem;
  line-height: 1.4;
}

.al-chat-bubble p {
  margin: 0;
  overflow-wrap: anywhere;
}

.al-chat-bubble.is-mine {
  align-self: flex-end;
  background: linear-gradient(145deg, rgba(64, 48, 16, 0.72), rgba(22, 34, 58, 0.94));
  border: 1px solid rgba(246, 213, 128, 0.48);
}

.al-chat-bubble.is-peer {
  align-self: flex-start;
  background: rgba(16, 27, 48, 0.92);
  border: 1px solid rgba(123, 225, 221, 0.28);
}

.al-chat-bubble.is-system {
  align-self: flex-start;
  background: rgba(14, 24, 42, 0.82);
  border: 1px dashed rgba(246, 213, 128, 0.36);
}

.al-chat-bubble-head strong {
  font-size: 0.72rem;
  color: var(--al-gold-strong);
}

.al-chat-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(246, 213, 128, 0.14);
  border: 1px solid rgba(246, 213, 128, 0.48);
  color: var(--al-gold-strong);
  font-size: 0.8rem;
}

.al-chat-offer-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(6, 11, 22, 0.86);
  border: 1px solid rgba(123, 225, 221, 0.4);
}

.al-chat-offer-card img {
  width: 36px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.al-chat-composer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.al-chat-quick-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.al-chat-quick-btn {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
}

.al-chat-counter-drawer summary {
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.al-chat-counter-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(8, 14, 27, 0.82);
  border: 1px solid rgba(246, 213, 128, 0.24);
}

.al-chat-counter-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.al-chat-counter-cards .al-btn-sm {
  min-height: 44px;
}

.al-chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.al-chat-input-row .al-input {
  flex: 1;
  min-width: 0;
}

.al-trade-guest-chat-gate {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(14, 24, 44, 0.86);
  border: 1px solid rgba(246, 213, 128, 0.36);
}

.al-trade-guest-chat-gate p {
  margin: 0;
  font-size: 0.84rem;
}

@media (max-width: 1220px) {
  .al-trades-grid-aaa {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .al-trades-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-trades-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .al-trades-telemetry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-trades-grid-aaa {
    grid-template-columns: 1fr;
  }
  .al-trade-mode-choice {
    grid-template-columns: 1fr;
  }
  .al-thread-row {
    flex-wrap: wrap;
  }
  .al-thread-row .al-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .al-trade-aaa-body {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }
  .al-trade-art-btn {
    width: 92px;
  }
  .al-trade-aaa-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .al-chat-input-row {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ============================================================================
   BENCHMARK 10× AAA — STREAK 7 JOURS, PARCOURS 5 ÉTAPES, ASSISTANT COMBOS,
   PALIERS ALBUM + SOUHAITS, VITRINE, COMPTOIR CONFIANCE, MVP ARÈNE & PANTHÉON
   ============================================================================ */

/* 1. Série 7 Jours (Flamme du Gardien) & Parcours 5 Étapes sur Accueil */
.al-streak-panel,
.al-onboarding-panel {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(13, 24, 46, 0.92), rgba(7, 13, 26, 0.96));
  border: 1px solid rgba(246, 213, 128, 0.24);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.al-streak-head-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.al-streak-claim-btn {
  min-height: 36px;
}

.al-streak-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.al-streak-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 13px;
  background: rgba(9, 17, 34, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.2);
  min-width: 0;
}

.al-streak-day .al-streak-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--al-muted);
}

.al-streak-day strong {
  font-size: 0.76rem;
  line-height: 1.25;
  color: #f5efe4;
}

.al-streak-day.is-claimed {
  background: linear-gradient(155deg, rgba(16, 42, 46, 0.85), rgba(8, 22, 34, 0.92));
  border-color: rgba(123, 225, 221, 0.45);
}

.al-streak-day.is-today {
  background: linear-gradient(155deg, rgba(72, 50, 14, 0.82), rgba(20, 30, 52, 0.95));
  border-color: rgba(246, 213, 128, 0.82);
  box-shadow: 0 0 18px rgba(246, 213, 128, 0.22);
}

.al-streak-day.is-jackpot {
  background: linear-gradient(155deg, rgba(78, 48, 12, 0.85), rgba(38, 20, 58, 0.92));
  border-color: rgba(246, 213, 128, 0.65);
}

.al-streak-check {
  position: absolute;
  top: 5px;
  right: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #7be1dd;
}

.al-onboarding-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 0%, rgba(246, 213, 128, 0.14), transparent 52%),
    radial-gradient(circle at 8% 100%, rgba(56, 189, 248, 0.1), transparent 48%),
    linear-gradient(155deg, rgba(14, 24, 46, 0.96), rgba(6, 11, 22, 0.98));
  border: 1px solid rgba(246, 213, 128, 0.36);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 240, 195, 0.16);
}

.al-ob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.al-ob-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.al-ob-crest-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex-shrink: 0;
  background: linear-gradient(155deg, rgba(246, 213, 128, 0.24), rgba(146, 98, 22, 0.18));
  border: 1px solid rgba(246, 213, 128, 0.48);
  box-shadow: 0 0 18px rgba(246, 213, 128, 0.2);
}

.al-ob-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  color: var(--al-muted);
}

.al-ob-track {
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(246, 213, 128, 0.18);
}

.al-ob-track-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d99b26 0%, #ffe69c 55%, #7be1dd 100%);
  box-shadow: 0 0 12px rgba(246, 213, 128, 0.55);
  transition: width 0.35s ease;
}

.al-onboarding-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
}

.al-ob-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 12px;
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(14, 24, 46, 0.92), rgba(7, 13, 26, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-width: 0;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.al-ob-step:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 213, 128, 0.45);
}

.al-ob-step.is-ready {
  border-color: rgba(246, 213, 128, 0.72);
  background:
    radial-gradient(circle at 18% 0%, rgba(246, 213, 128, 0.22), transparent 58%),
    linear-gradient(160deg, rgba(42, 33, 16, 0.88), rgba(11, 18, 34, 0.96));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(246, 213, 128, 0.14),
    inset 0 1px 0 rgba(255, 242, 198, 0.28);
}

.al-ob-step.is-done {
  opacity: 0.82;
  border-color: rgba(123, 225, 221, 0.38);
  background: linear-gradient(160deg, rgba(13, 35, 42, 0.8), rgba(7, 15, 28, 0.94));
}

.al-ob-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(155deg, rgba(22, 36, 66, 0.95), rgba(10, 18, 36, 0.98));
  border: 1.5px solid rgba(148, 163, 184, 0.38);
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.al-ob-step.is-ready .al-ob-num {
  background: linear-gradient(160deg, #ffe79e 0%, #e5b140 60%, #b57b16 100%);
  border-color: #fff3c4;
  color: #160e02;
  box-shadow: 0 0 14px rgba(246, 213, 128, 0.5);
}

.al-ob-step.is-done .al-ob-num {
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.28), rgba(16, 82, 66, 0.55));
  border-color: rgba(123, 225, 221, 0.65);
  color: #7be1dd;
}

.al-ob-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.al-ob-copy strong {
  font-size: 0.82rem;
  line-height: 1.3;
  color: #f8f3e9;
  font-weight: 700;
}

.al-ob-reward-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(6, 12, 24, 0.82);
  border: 1px solid rgba(246, 213, 128, 0.34);
  color: #f6d580;
}

.al-ob-reward-chip.is-xp {
  border-color: rgba(123, 225, 221, 0.36);
  color: #93f0eb;
}

.al-ob-reward-chip.is-booster {
  border-color: rgba(196, 181, 253, 0.45);
  color: #e9d5ff;
}

.al-ob-reward-chip strong {
  font-size: 0.72rem;
  color: inherit;
  font-weight: 800;
}

.al-ob-act {
  display: flex;
  align-items: center;
}

.al-ob-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.al-ob-cta.is-claim {
  background: linear-gradient(180deg, #ffe9a6 0%, #eab949 58%, #be8419 100%);
  color: #160e02;
  border: 1px solid #fff3c7;
  box-shadow: 0 4px 16px rgba(234, 185, 73, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.al-ob-cta.is-claim:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(234, 185, 73, 0.54);
}

.al-ob-cta.is-go {
  background: linear-gradient(165deg, rgba(22, 38, 72, 0.94), rgba(10, 18, 36, 0.96));
  color: #dbeafe;
  border: 1px solid rgba(125, 211, 252, 0.34);
}

.al-ob-cta.is-go:hover {
  border-color: rgba(125, 211, 252, 0.72);
  color: #ffffff;
}

.al-ob-done-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #7be1dd;
  background: rgba(16, 72, 68, 0.35);
  border: 1px solid rgba(123, 225, 221, 0.38);
}

/* 2. Assistant de Combos en Direct (Synergie) */
.al-combo-advisor-strip {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(10, 25, 48, 0.92), rgba(7, 14, 28, 0.96));
  border: 1px solid rgba(123, 225, 221, 0.3);
}

.al-combo-adv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.al-combo-adv-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
}

.al-combo-adv-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(6, 12, 24, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.al-combo-adv-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.3;
  min-width: 0;
}

.al-combo-adv-icons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  color: var(--al-gold-strong);
  font-weight: 800;
}

/* 3. Paliers d'Album & Liste de Souhaits ★ */
.al-album-milestones-panel {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(16, 26, 48, 0.92), rgba(7, 12, 24, 0.96));
  border: 1px solid rgba(246, 213, 128, 0.28);
}

.al-album-milestones-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.al-album-ms-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(8, 15, 29, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.2);
  min-width: 0;
}

.al-album-ms-card.is-ready {
  border-color: rgba(246, 213, 128, 0.82);
  background: linear-gradient(155deg, rgba(66, 46, 14, 0.65), rgba(14, 24, 44, 0.95));
}

.al-album-ms-card.is-claimed {
  border-color: rgba(123, 225, 221, 0.42);
}

.al-album-ms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.al-album-ms-card strong {
  font-size: 0.82rem;
  color: #f8f3e9;
}

.al-ms-done {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7be1dd;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.al-ms-prog {
  font-size: 0.72rem;
  color: var(--al-muted);
  font-weight: 700;
}

.al-wishlist-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(14, 24, 44, 0.82);
  border: 1px solid rgba(246, 213, 128, 0.34);
}

.al-wishlist-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.al-wish-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.al-wish-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(246, 213, 128, 0.16);
  border: 1px solid rgba(246, 213, 128, 0.52);
  color: var(--al-gold-strong);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.al-album-slot.is-missing {
  cursor: pointer;
}

.al-album-slot.is-missing:hover {
  border-color: rgba(246, 213, 128, 0.65);
  transform: translateY(-2px);
}

.al-album-slot.is-wishlisted {
  border-color: rgba(246, 213, 128, 0.92) !important;
  box-shadow: 0 0 14px rgba(246, 213, 128, 0.34);
}

.al-album-lock.is-wished {
  color: #facc15;
  background: rgba(54, 36, 6, 0.92);
  border: 1px solid rgba(250, 204, 21, 0.72);
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.6);
}

/* 4. Vitrine du Collectionneur & Titre sur Profil */
.al-profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.al-profile-name-row h2 {
  margin: 0;
}

.al-profile-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.al-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.al-showcase-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(8, 15, 30, 0.88);
  border: 1px solid rgba(246, 213, 128, 0.28);
  color: #f5efe4;
  cursor: pointer;
  min-height: 164px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.al-showcase-slot:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 213, 128, 0.72);
}

.al-showcase-slot.is-empty {
  border-style: dashed;
}

.al-showcase-art-wrap {
  position: relative;
  width: 88px;
  aspect-ratio: 3 / 4;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(246, 213, 128, 0.42);
}

.al-showcase-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-showcase-rar {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 1px 5px;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 800;
  background: rgba(6, 11, 22, 0.88);
  color: var(--al-gold-strong);
}

.al-showcase-slot strong {
  font-size: 0.8rem;
  line-height: 1.25;
}

.al-showcase-titles-box {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.al-showcase-titles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.al-showcase-titles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

/* 5. Comptoir Royal — Alerte Souhaits, Confiance Vendeur & Prix juste */
.al-trade-card-aaa.is-wishlisted {
  border-color: rgba(250, 204, 21, 0.88) !important;
  box-shadow: 0 0 26px rgba(250, 204, 21, 0.2), 0 14px 32px rgba(0, 0, 0, 0.4);
}

.al-trade-wish-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(246, 213, 128, 0.24), rgba(250, 204, 21, 0.14));
  border: 1px solid rgba(250, 204, 21, 0.72);
  color: #fde047;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.al-trade-seller-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.al-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.42);
  color: #86efac;
  white-space: nowrap;
}

.al-trust-pill.is-official,
.al-trust-pill.is-new {
  background: rgba(123, 225, 221, 0.12);
  border-color: rgba(123, 225, 221, 0.36);
  color: #99f6e4;
}

.al-deal-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.al-deal-badge.is-super {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.56);
  color: #86efac;
}

.al-deal-badge.is-fair {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

/* 6. Écran de Fin de Match MVP (Arène) */
.al-mvp-report {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 580px;
  width: 100%;
  text-align: left;
}

.al-mvp-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.al-mvp-head h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.al-mvp-head-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.al-mvp-grid {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(8, 15, 30, 0.88);
  border: 1px solid rgba(246, 213, 128, 0.28);
}

.al-mvp-hero-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.al-mvp-hero-art {
  width: 92px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(246, 213, 128, 0.65);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.al-mvp-hero-col strong {
  font-size: 0.82rem;
}

.al-mvp-hero-col small {
  font-size: 0.72rem;
}

.al-mvp-stats-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.al-mvp-section-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--al-gold-strong);
}

.al-mvp-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.al-mvp-bar-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
}

.al-mvp-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.al-mvp-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}

.al-mvp-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.al-mvp-rewards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.al-mvp-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 7. Panthéon & Ligues de Saison (Top 25) */
.al-leaderboard-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.al-lb-hero-banner {
  background: linear-gradient(155deg, rgba(16, 28, 54, 0.94), rgba(7, 13, 26, 0.96));
  border-color: rgba(246, 213, 128, 0.32);
}

.al-lb-hero-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.al-lb-hero-head h2 {
  margin: 6px 0 0;
}

.al-lb-viewer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(7, 13, 27, 0.88);
  border: 1px solid color-mix(in srgb, var(--lg-color, #f6d580) 55%, transparent);
}

.al-lb-viewer-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.al-lb-rank-medal {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--al-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lg-color, #f6d580);
  background: rgba(15, 25, 48, 0.94);
  border: 2px solid color-mix(in srgb, var(--lg-color, #f6d580) 65%, transparent);
  flex-shrink: 0;
}

.al-lb-viewer-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.al-lb-viewer-left h3 {
  margin: 4px 0 2px;
  font-size: 1.1rem;
}

.al-lb-league-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--lg-color, #f6d580);
  background: color-mix(in srgb, var(--lg-color, #f6d580) 15%, rgba(8, 15, 30, 0.9));
  border: 1px solid color-mix(in srgb, var(--lg-color, #f6d580) 52%, transparent);
  white-space: nowrap;
}

.al-lb-viewer-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.al-lb-prog-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--al-muted);
  flex-wrap: wrap;
}

.al-lb-leagues-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.al-lb-league-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 12px;
  background: rgba(7, 13, 26, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.74rem;
}

.al-lb-league-chip.is-mine {
  border-color: var(--lg-color, #f6d580);
  background: color-mix(in srgb, var(--lg-color, #f6d580) 14%, rgba(8, 15, 30, 0.92));
}

.al-lb-lg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lg-color, #f6d580);
  box-shadow: 0 0 8px var(--lg-color, #f6d580);
}

.al-lb-league-chip small {
  color: var(--al-muted);
  font-size: 0.68rem;
}

.al-lb-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.al-lb-podium-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  padding: 16px 12px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(16, 28, 52, 0.92), rgba(7, 13, 26, 0.96));
  border: 1px solid color-mix(in srgb, var(--lg-color, #f6d580) 45%, transparent);
}

.al-lb-podium-card.is-rank-1 {
  padding-top: 22px;
  padding-bottom: 20px;
  border-color: rgba(246, 213, 128, 0.85);
  box-shadow: 0 0 28px rgba(246, 213, 128, 0.18);
}

.al-lb-podium-card.is-viewer {
  outline: 2px solid rgba(123, 225, 221, 0.65);
}

.al-lb-podium-rank {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--al-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--al-gold-strong);
}

.al-lb-podium-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.al-lb-podium-score strong {
  font-family: var(--al-font-display);
  font-size: 1.25rem;
  color: #f8f3e9;
}

.al-lb-title-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--al-gold-strong);
  background: rgba(246, 213, 128, 0.14);
  border: 1px solid rgba(246, 213, 128, 0.4);
}

.al-lb-you-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  background: rgba(123, 225, 221, 0.2);
  color: #7be1dd;
  border: 1px solid rgba(123, 225, 221, 0.5);
}

.al-lb-belt-minis,
.al-lb-row-belt {
  display: flex;
  align-items: center;
  gap: 4px;
}

.al-lb-mini-card {
  width: 30px;
  height: 40px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(246, 213, 128, 0.42);
}

.al-lb-table {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.al-lb-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.4fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(8, 15, 29, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.al-lb-row.is-viewer {
  background: linear-gradient(145deg, rgba(16, 44, 52, 0.72), rgba(10, 20, 40, 0.94));
  border-color: rgba(123, 225, 221, 0.58);
}

.al-lb-row-rank {
  font-family: var(--al-font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--al-muted);
  text-align: center;
}

.al-lb-row-rank.is-top-1 { color: #facc15; }
.al-lb-row-rank.is-top-2 { color: #e2e8f0; }
.al-lb-row-rank.is-top-3 { color: #f59e0b; }

.al-lb-row-player {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.al-lb-row-name {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.al-lb-row-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}

.al-lb-row-score strong {
  font-size: 0.95rem;
  color: var(--al-gold-strong);
}

.al-lb-row-score small {
  font-size: 0.68rem;
  color: var(--al-muted);
}

/* Responsive Benchmark 10× */
@media (max-width: 980px) {
  .al-onboarding-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .al-ob-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
  }
  .al-ob-cta,
  .al-ob-done-pill {
    width: auto;
    min-width: 92px;
    min-height: 44px;
    padding: 0 13px;
  }
  .al-album-milestones-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .al-album-ms-card {
    grid-column: span 2;
  }
  .al-album-ms-card:nth-child(4),
  .al-album-ms-card:nth-child(5) {
    grid-column: span 3;
  }
  .al-lb-leagues-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .al-streak-days-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .al-streak-day.is-jackpot {
    grid-column: span 2;
  }
  .al-onboarding-panel {
    padding: 13px 12px;
  }
  .al-ob-step {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 10px 10px;
  }
  .al-ob-cta,
  .al-ob-done-pill {
    min-width: 82px;
    padding: 0 11px;
    font-size: 0.74rem;
  }
  .al-album-milestones-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-album-ms-card,
  .al-album-ms-card:nth-child(4),
  .al-album-ms-card:nth-child(5) {
    grid-column: auto;
  }
  .al-album-ms-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .al-showcase-grid {
    grid-template-columns: 1fr;
  }
  .al-mvp-grid {
    grid-template-columns: 1fr;
  }
  .al-lb-viewer-card {
    grid-template-columns: 1fr;
  }
  .al-lb-podium {
    grid-template-columns: 1fr;
  }
  .al-lb-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .al-lb-row-belt,
  .al-lb-row-league {
    display: none;
  }
  .al-streak-claim-btn,
  .al-ob-step .al-btn-sm,
  .al-combo-adv-item .al-btn-sm,
  .al-album-ms-card .al-btn-sm,
  .al-wish-chip,
  .al-showcase-titles-row .al-btn-sm {
    min-height: 44px;
  }
}

@media (max-width: 440px) {
  .al-streak-days-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-streak-day.is-jackpot {
    grid-column: 1 / -1;
  }
  .al-album-milestones-row {
    grid-template-columns: 1fr;
  }
  .al-lb-leagues-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .al-combo-adv-item {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ============================================================================
   VRAI JEU 3D ACCESSLEAGUE — PORTAIL UNIFIÉ DANS LE LOBBY + PLEIN ÉCRAN 100 %
   ============================================================================ */
html.al-game3d-open,
body.al-game3d-open {
  height: 100dvh;
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.al-game3d-open > .al-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 60;
}

body.al-game3d-open > .al-main,
body.al-game3d-open #al-cookie-bar {
  display: none !important;
}

.al-game3d-loader {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, #132240 0%, #050810 74%);
  opacity: 1;
  transition: opacity 0.28s ease;
}

.al-game3d-loader.is-fading {
  opacity: 0;
  pointer-events: none;
}

.al-game3d-loader[hidden] {
  display: none !important;
}

.al-game3d-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 32px;
  border-radius: 20px;
  background: rgba(8, 14, 28, 0.9);
  border: 1px solid rgba(246, 213, 128, 0.44);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.72);
  text-align: center;
}

.al-game3d-loader-card strong {
  font-family: "Cinzel", Georgia, serif;
  color: #f6d580;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.al-game3d-loader-card small {
  color: #cbd5e1;
  font-size: 0.82rem;
}

.al-game3d-loader-bar {
  width: 210px;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.al-game3d-loader-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d99b26, #ffe9a8, #38bdf8);
  animation: alLoaderSlide 1.25s ease-in-out infinite;
}

@keyframes alLoaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

.al-topbar-g3d-btn {
  display: none;
}

body.al-game3d-open .al-topbar-g3d-btn {
  display: inline-flex;
}

@media (max-width: 768px) {
  body.al-game3d-open .al-topbar-g3d-btn {
    display: none;
  }
}

.al-game3d-launch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 15px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(22, 38, 72, 0.94), rgba(10, 18, 36, 0.96) 55%, rgba(58, 42, 12, 0.72));
  border: 1px solid rgba(246, 213, 128, 0.56);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.al-game3d-launch-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.al-game3d-launch-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.al-game3d-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #86efac;
  background: rgba(20, 83, 45, 0.42);
  border: 1px solid rgba(74, 222, 128, 0.52);
}

.al-game3d-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  flex-shrink: 0;
}

.al-game3d-launch-copy h3 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  color: #f8f3e9;
}

.al-game3d-launch-copy p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.al-game3d-launch-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.al-game3d-big-cta {
  min-width: 250px;
}

/* Scène Jeu 3D 2-en-1 Unifiée (intégrée sous la Topbar & au-dessus du dock mobile, 0 rechargement) */
.al-game3d-cinema {
  position: fixed;
  top: var(--al-topbar-h, 62px);
  left: 0;
  right: 0;
  bottom: var(--al-mnav-h, 0px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #050810;
  overflow: hidden;
}

.al-game3d-cinema.is-pure-fullscreen {
  top: 0;
  bottom: 0;
  z-index: 9999;
}

.al-game3d-cinema[hidden] {
  display: none !important;
}

.al-game3d-cinema.is-parked {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.al-game3d-cinema-iframe {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
  background: #050810;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.26s ease;
}

.al-game3d-cinema.is-loading .al-game3d-cinema-iframe {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Sur ordinateur : 0 bouton flottant par-dessus le canvas 3D (aucune collision avec Access AI !) */
.al-game3d-float-dock {
  display: none;
}

/* En mode plein écran cinéma pur uniquement : petite capsule discrète en haut au centre pour réafficher la barre */
.al-game3d-cinema.is-pure-fullscreen .al-game3d-float-dock {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(6, 11, 22, 0.84);
  border: 1px solid rgba(246, 213, 128, 0.48);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.56);
}

.al-game3d-cinema.is-pure-fullscreen .al-game3d-float-dock > .al-game3d-dock-btn:not(#btn-close-game3d-fs) {
  display: none;
}

.al-game3d-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(16, 28, 52, 0.86);
  color: #f8f3e9;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.al-game3d-dock-btn[hidden] {
  display: none !important;
}

.al-game3d-dock-btn:hover {
  background: rgba(34, 52, 90, 0.96);
  border-color: rgba(246, 213, 128, 0.65);
}

.al-game3d-dock-btn.is-back,
.al-game3d-dock-btn.is-gold {
  color: #f6d580;
  border-color: rgba(246, 213, 128, 0.34);
}

@media (max-width: 768px) {
  .al-game3d-launch-banner {
    padding: 13px 14px;
    gap: 12px;
  }
  .al-game3d-launch-copy {
    flex: 1 1 100%;
  }
  .al-game3d-launch-actions,
  .al-game3d-big-cta {
    width: 100%;
    min-width: 0;
  }
  .al-game3d-float-dock {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    order: -1;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(246, 213, 128, 0.3);
    background: #070d1b;
    padding: 3px 6px;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }
  .al-game3d-dock-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0 9px;
    font-size: 0.72rem;
    flex: 0 1 auto;
  }
}

/* Barre du haut mobile blindée (320px .. 600px) : zéro coupure même avec de grands soldes (ex. 10000 / 18944) */
@media (max-width: 600px) {
  .al-topbar {
    overflow-x: clip;
  }
  .al-topbar-inner {
    padding: 6px 10px;
    gap: 6px;
  }
  .al-brand {
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
  }
  .al-brand-emblem-mini {
    width: 26px;
    height: 26px;
  }
  .al-brand-text-mini {
    min-width: 0;
  }
  .al-brand-text-mini strong {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .al-topbar-right {
    gap: 5px;
    flex-shrink: 0;
  }
  .al-status-pills {
    gap: 5px;
  }
  .al-pill-level {
    display: none !important;
  }
  .al-pill {
    min-height: 44px;
    height: 44px;
    padding: 0 8px;
    gap: 4px;
    font-size: 0.74rem;
    white-space: nowrap;
  }
  .al-vault-btn {
    min-height: 44px;
    height: 44px;
    padding: 0 8px;
    gap: 5px;
  }
}

@media (max-width: 900px) {
  .al-streak-claim-btn,
  .al-voice-pill {
    min-height: 44px;
  }
  .al-inline-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
  }
}

@media (max-width: 390px) {
  .al-brand-text-mini {
    display: none !important;
  }
  .al-brand {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .al-brand-emblem-mini {
    width: 30px;
    height: 30px;
  }
}
