:root {
  --paper: #fafaf7;
  --ink: #191b2f;
  --muted: #5d6070;
  --border: #e4e5eb;
  --blue: #334dff;
  --lime: #d9f759;
  --coral: #ff8066;
  --lav: #c6b6ff;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
body {
  min-height: 100dvh;
  background: var(--paper);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--border);
  background: rgb(250 250 247 / 94%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-top: env(safe-area-inset-top);
}
.header-inner,
.foot {
  max-width: 1304px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 52px);
}
.header-inner {
  height: 77px;
  gap: 18px;
}
.brand {
  margin: 0;
  display: block;
  line-height: 0;
}
.brand img {
  width: clamp(130px, 12vw, 165px);
  height: auto;
  display: block;
}
.desktop-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
}
.desktop-tabs a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.91rem;
  font-weight: 680;
  color: var(--muted);
  border-radius: 40px;
  padding: 10px 16px;
}
.desktop-tabs a.active {
  background: #e9ecff;
  color: #283bc6;
}
.desktop-tabs a:hover {
  background: #eff0f5;
}
.bell,
.account {
  border-radius: 40px;
  border: 1px solid #dcdde6;
  min-height: 43px;
}
.bell {
  background: white;
  width: 43px;
}
.account {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  padding: 9px 16px;
}
.account:hover {
  background: #32364d;
}
main {
  max-width: 1304px;
  padding: 28px clamp(20px, 4vw, 52px) 34px;
}
.hero {
  min-height: clamp(260px, 24vw, 335px);
  border: 0;
  border-radius: 27px;
  background: var(--blue);
  box-shadow: none;
  color: white;
}
.hero:before {
  inset: 0;
  background: repeating-radial-gradient(
    ellipse at 95% 123%,
    transparent 0 23px,
    rgb(255 255 255 / 14%) 24px 25px,
    transparent 26px 45px
  );
  opacity: 0.72;
  mask-image: linear-gradient(90deg, transparent 25%, #000);
}
.hero-copy {
  width: 58%;
  padding: clamp(24px, 3.25vw, 45px) clamp(24px, 4.5vw, 62px);
}
.hero h1 {
  font-size: clamp(3.15rem, 5.5vw, 5.6rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}
.hero h1 em {
  color: var(--lime);
}
.hero p {
  font-size: 1rem;
  color: #f6f7ff;
  max-width: 38ch;
  margin: 15px 0 20px;
  line-height: 1.4;
}
.hero-art {
  inset: -3% 1% -5% 50%;
}
.hero-art img {
  height: 100%;
  width: 100%;
  max-height: none;
  object-fit: contain;
  transform: none;
}
.btn {
  min-height: 44px;
  border-radius: 15px;
}
.hero-button.btn {
  color: var(--ink);
  background: var(--lime);
  border: 0;
  box-shadow: 0 3px 0 #17299c;
  gap: 10px;
  padding: 11px 17px;
}
.hero-button.btn:hover {
  background: #e9ff87;
}
.btn.lav {
  background: #e3e7ff;
  border-color: #c4cbff;
  color: #263bc4;
  box-shadow: none;
}
.catalogue {
  margin-top: 33px;
}
.catalogue-head {
  margin-bottom: 18px;
}
.section-heading h2,
.page-heading {
  font-size: clamp(1.9rem, 3.15vw, 2.75rem);
  letter-spacing: -0.06em;
}
.filters,
.seg {
  border-radius: 50px;
  border: 0;
  background: #eaeaf0;
  padding: 4px;
}
.filters button,
.seg button {
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 0.83rem;
}
.filters button[aria-pressed='true'],
.seg button[aria-pressed='true'] {
  border-color: transparent;
  box-shadow: 0 1px 4px #15172a26;
}
.cards {
  gap: 21px;
}
.card {
  border: 1px solid #dedfe7;
  box-shadow: 0 2px 5px #1a203107;
  border-radius: 20px;
}
.game-art {
  height: clamp(144px, 13.5vw, 195px);
  border: 0;
}
.game-art img {
  height: 95%;
  max-width: 76%;
  transform: none;
}
.one {
  --tint: #ffabbc;
  --tone: #973454;
}
.scale {
  --tint: #fbd27b;
  --tone: #805016;
}
.truth {
  --tint: #c6b6ff;
  --tone: #5e429b;
}
.ballon {
  --tint: #a0ddc8;
  --tone: #216851;
}
.thermo {
  --tint: #ffa98e;
  --tone: #93452d;
}
.apollon {
  --tint: #a9c8ff;
  --tone: #315783;
}
.game-art:before {
  opacity: 0.17;
  background-size: 7px 7px;
  mask-image: linear-gradient(40deg, #000, transparent 70%);
}
.scale .game-art:before,
.apollon .game-art:before {
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 10px,
    var(--ink) 11px,
    transparent 12px 22px
  );
}
.truth .game-art:before,
.thermo .game-art:before {
  background: repeating-radial-gradient(
    circle at 88% 100%,
    transparent 0 12px,
    var(--ink) 13px,
    transparent 14px 26px
  );
  mask-image: linear-gradient(140deg, transparent, #000);
}
.mode-chip {
  border: 0;
  left: 13px;
  top: 12px;
  border-radius: 30px;
  background: #fffffff2;
  padding: 5px 9px;
  font-size: 0.7rem;
  box-shadow: 0 1px 4px #1b183612;
}
.card-copy {
  padding: 17px 19px 19px;
}
.card-title {
  font-size: clamp(1.38rem, 2.1vw, 1.9rem);
  margin: 5px 37px 6px 0;
}
.category {
  font-size: 0.66rem;
}
.card-desc {
  color: var(--muted);
  font-size: 0.9rem;
}
.play {
  width: 33px;
  height: 33px;
  background: #f3f3f7;
  border: 0;
  right: 16px;
  top: 21px;
}
.play svg {
  width: 13px;
  height: 13px;
}
.card:hover {
  box-shadow: 0 8px 24px #15173a15;
}
.foot {
  border-top: 1px solid var(--border);
  min-height: 75px;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}
.foot button {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px;
}
dialog {
  border: 1px solid #dadde8;
  border-radius: 25px;
  box-shadow: 0 20px 80px #14152f40;
  background: #fff;
}
.modal-pad {
  padding: 25px;
}
.close {
  min-width: 36px;
  min-height: 36px;
}
.panel,
.room-panel {
  border-radius: 23px;
  border: 1px solid var(--border);
  box-shadow: 0 3px 17px #1a1d3c06;
}
.chip,
.choices button,
.roster span,
.trait {
  background: #f3f4fb;
  border-color: #dfe2ed;
}
.range {
  accent-color: var(--blue);
}
.field input:focus {
  border-color: var(--blue);
}
.note {
  background: #eef0ff;
}
.eyebrow {
  color: #3d4c95;
}
.source,
.text-btn {
  color: #2542c8;
}
.avatar-grid button[aria-pressed='true'] {
  background: #e7ebff;
  border-color: var(--blue);
}
.mobile-nav a.active {
  color: #233bbd;
}
.mobile-nav a.active i {
  background: #e7ebff;
}
button,
a,
.card img,
.trait .symbol,
.mobile-nav a i,
.field input,
.filters button {
  transition:
    transform 0.18s var(--ease),
    color 0.18s,
    background-color 0.18s,
    box-shadow 0.2s,
    border-color 0.18s;
}
button:active:not(:disabled),
.desktop-tabs a:active,
.mobile-nav a:active,
.brand:active {
  transform: scale(0.96);
}
.card:active:not(:disabled) {
  transform: scale(0.982);
}
.modal-art {
  height: 170px;
}
.modal-art img {
  height: 98%;
}
@media (hover: hover) {
  .card:hover .game-art img {
    transform: translateY(-3px) rotate(-3deg) scale(1.035);
  }
  .brand:hover {
    transform: rotate(-1.5deg);
  }
  .trait:hover .symbol {
    transform: translateY(-2px);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes peek {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes backdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-4px) rotate(1deg);
  }
}
@keyframes puff {
  50% {
    transform: scale(1.06);
  }
}
dialog[open] {
  animation: peek 0.21s var(--ease);
}
dialog[open]::backdrop {
  animation: backdropIn 0.2s;
}
.hero-art img {
  animation: drift 4.6s ease-in-out 1;
}
.route-enter {
  animation: arrive 0.27s var(--ease);
}
.cards .card {
  animation: arrive 0.3s var(--ease) backwards;
}
.cards .card:nth-child(3n + 2) {
  animation-delay: 35ms;
}
.cards .card:nth-child(3n) {
  animation-delay: 65ms;
}
#toast:not(:empty) {
  animation: peek 0.2s var(--ease);
}
.balloon-btn:active {
  animation: puff 0.18s;
}
.choices button {
  min-height: 44px;
}
@media (max-width: 850px) {
  .desktop-tabs {
    display: none;
  }
  .header-inner {
    height: 62px;
  }
  .brand img {
    width: 140px;
  }
  .mobile-nav {
    background: #fffffff2;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .foot {
    margin-bottom: 75px;
  }
  .cards {
    gap: 14px;
  }
  .hero-copy {
    padding: 27px;
  }
  .hero-art {
    left: 49%;
  }
  .hero p {
    max-width: 31ch;
  }
  .hero {
    min-height: 250px;
  }
  .foot {
    min-height: 64px;
  }
}
@media (max-width: 650px) {
  .header-inner {
    padding: 0 16px;
  }
  .brand img {
    width: 128px;
  }
  .bell {
    width: 39px;
    min-height: 39px;
  }
  .account {
    min-height: 39px;
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  main {
    padding: 16px 15px 23px;
  }
  .hero {
    min-height: 221px;
    border-radius: 22px;
  }
  .hero-copy {
    width: 64%;
    padding: 22px 0 22px 20px;
  }
  .hero h1 {
    font-size: clamp(2.32rem, 8.3vw, 3.2rem);
  }
  .hero-art {
    inset: 2% -6% -4% 53%;
  }
  .hero p {
    font-size: 0.84rem;
    margin: 12px 0 15px;
    max-width: 21ch;
  }
  .hero-button.btn {
    font-size: 0.83rem;
    min-height: 39px;
    padding: 9px 12px;
  }
  .catalogue {
    margin-top: 25px;
  }
  .section-heading h2 {
    font-size: 1.9rem;
  }
  .catalogue-head {
    gap: 12px;
  }
  .cards {
    gap: 13px 10px;
  }
  .card {
    border-radius: 16px;
  }
  .game-art {
    height: 116px;
  }
  .game-art img {
    height: 87%;
    max-width: 84%;
  }
  .mode-chip {
    left: 7px;
    top: 7px;
    font-size: 0.59rem;
    padding: 3px 6px;
  }
  .card-copy {
    padding: 11px 12px 14px;
  }
  .card-title {
    font-size: clamp(1.05rem, 4vw, 1.38rem);
    margin: 4px 0 6px;
  }
  .category {
    font-size: 0.61rem;
  }
  .card-desc {
    font-size: 0.8rem;
    line-height: 1.36;
  }
  .modal-art {
    height: 165px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  button:active,
  .card:hover,
  .brand:hover,
  .card:hover .game-art img {
    transform: none !important;
  }
}

/* Aperçu de progression sur l’accueil. */
.xp-apercu {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(16px, 3vw, 26px);
  border-radius: 22px;
  background: #edeeff;
  border: 1px solid #d0d5ff;
  color: #25234d;
}
.xp-apercu {
  margin-top: 22px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.xp-apercu:hover {
  background: #e3e6ff;
}
.xp-insigne {
  background: #fbcd75;
  color: #493217;
  font: 900 30px/1 sans-serif;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  transform: rotate(-7deg);
  flex-shrink: 0;
}
.xp-mesure {
  flex: 1;
  min-width: 0;
}
.xp-mesure div,
.fin-xp {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.xp-mesure strong {
  font-size: 1.25rem;
}
.xp-mesure progress {
  width: 100%;
  height: 10px;
  display: block;
  margin: 7px 0;
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #cfd4ef;
  overflow: hidden;
}
.xp-mesure progress::-webkit-progress-bar {
  background: #cfd4ef;
}
.xp-mesure progress::-webkit-progress-value {
  background: #4f56c4;
  border-radius: 10px;
}
.xp-mesure progress::-moz-progress-bar {
  background: #4f56c4;
  border-radius: 10px;
}
.xp-lien,
.fin-xp a {
  font-weight: 750;
  color: #383cb1;
}
.fin-xp {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: #eeeaff;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .xp-apercu {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 8px 12px;
  }
  .xp-apercu .xp-insigne {
    width: 40px;
    height: 40px;
  }
  .xp-lien {
    grid-column: 2;
    font-size: 0.86rem;
  }
  .mobile-nav a {
    min-width: 0;
    flex: 1;
    font-size: clamp(0.55rem, 2.6vw, 0.68rem);
  }
}

.tools,
.account {
  min-width: 0;
}
.tools .bell {
  flex-shrink: 0;
}
.account span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 851px) and (max-width: 1080px) {
  .desktop-tabs a {
    padding: 9px;
    gap: 4px;
  }
}

/* Carte des récompenses */
.xp-page {
  color: var(--ink);
  --ligne-carte: #9f98b2;
}
.xp-page h1, .xp-page h2, .xp-page h3 { font-family: Bricolage, sans-serif; }
.xp-page h2 { font-size: clamp(1.3rem, 2.35vw, 2rem); margin: 0; line-height: 1.05; letter-spacing: -.045em; }
.banniere-xp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(22px, 3vw, 42px);
  min-height: 195px;
  border-radius: 26px;
  background: radial-gradient(ellipse at 80% 80%, #514375, transparent 65%), #272541;
  color: #fff8ec;
}
.banniere-xp::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(#c1b2ea55 1px, transparent 1px);
  background-size: 13px 13px;
  mask-image: linear-gradient(95deg, transparent, black);
}
.banniere-texte { position: relative; z-index: 1; width: min(55%, 480px); }
.banniere-xp h1 { margin: 0 0 20px; font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -.065em; line-height: .95; }
.banniere-xp img { position: absolute; right: 3%; width: 40%; height: 108%; object-fit: contain; }
.banniere-xp .xp-mesure strong, .banniere-xp .xp-mesure b { font-size: .94rem; }
.banniere-xp .xp-mesure b { color: #e4f69d; }
.banniere-xp .xp-mesure small { color: #e2dff0; }
.banniere-xp progress { height: 7px; background: #5f5977; }
.banniere-xp progress::-webkit-progress-bar { background: #5f5977; }
.banniere-xp progress::-webkit-progress-value { background: var(--lime); }
.banniere-xp progress::-moz-progress-bar { background: var(--lime); }
.recompenses-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 31%);
  align-items: start;
  gap: clamp(16px, 2.2vw, 30px);
  margin-top: clamp(18px, 3vw, 36px);
}
.carte-chemins, .vitrine { min-width: 0; border: 1px solid #dedce5; border-radius: 22px; background: #fff; overflow: hidden; }
.carte-entete, .vitrine { padding: clamp(18px, 2.2vw, 30px); }
.carte-entete p { max-width: 61ch; color: var(--muted); margin: 9px 0 0; font-size: .94rem; }
.saut-palier {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  color: #3a337f;
  background: #eeebff;
  border: 1px solid #dbd6f7;
  border-radius: 20px;
  padding: 4px 11px;
  margin-top: 12px;
  font-size: .82rem;
  font-weight: 750;
}
.saut-palier .ico, .case-lot .ico { width: 13px; height: 13px; }
.carte-paliers {
  background: radial-gradient(#cec9d8 1px, transparent 1.1px) 0 0/14px 14px, #f6f4f8;
  list-style: none;
  padding: 0 clamp(10px, 2vw, 26px) 26px;
  border-top: 1px solid #e0dde8;
  margin: 0;
}
.etape { position: relative; }
.etape.libre:not(:first-child) { margin-top: 24px; border-top: 1px dashed #c6c0d1; }
.jalon {
  position: relative;
  display: grid;
  place-items: center;
  padding: 22px 0 24px;
}
.jalon-titre {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 94%;
  background: #f6f4f8;
  padding: 3px 8px;
  overflow-wrap: anywhere;
}
.jalon-titre .dessin-recompense { width: 52px; flex: 0 0 auto; }
.jalon-titre small, .suite-lot small {
  display: block;
  color: #605771;
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.jalon-titre h3 { margin: 2px 0 0; font-size: clamp(1.05rem, 1.7vw, 1.36rem); letter-spacing: -.035em; line-height: 1.12; }
.jalon-titre span { display: block; font-size: .74rem; color: var(--muted); }
.libre .jalon::after {
  position: absolute;
  content: '';
  left: 25%;
  right: 25%;
  bottom: 0;
  height: 14px;
  border: 2px solid var(--ligne-carte);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}
.libre .jalon::before {
  position: absolute;
  content: '';
  left: calc(50% - 1px);
  bottom: 14px;
  height: 12px;
  border-left: 2px solid var(--ligne-carte);
}
.rails { position: absolute; inset: 0; pointer-events: none; }
.trace-voie { position: absolute; top: 0; bottom: 0; left: calc(25% - 1px); border-left: 2px dashed var(--ligne-carte); }
.trace-voie + .trace-voie { left: calc(75% - 1px); }
.trace-voie.suivie { border-left: 3px solid #478a70; }
.voies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; }
.case-lot {
  position: relative;
  width: min(calc(100% - 10px), 230px);
  display: grid;
  grid-template-rows: 62px 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 5px;
  padding: 9px 8px 10px;
  border: 1px solid #cbc6d3;
  border-radius: 16px;
  background: #fcfbfd;
  color: #514c60;
  text-align: center;
  line-height: 1.15;
  overflow-wrap: anywhere;
  scroll-margin-block: 110px;
}
.dessin-recompense {
  display: block;
  width: 64px;
  aspect-ratio: 1;
  fill: none;
  stroke: #29243f;
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.case-lot strong { font-family: Bricolage, sans-serif; font-size: 1.02rem; }
.case-lot small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .73rem;
  font-weight: 750;
}
.case-lot.disponible { border: 2px solid #6053aa; color: #332b63; background: #f4f0ff; box-shadow: 0 3px 0 #c3b4e7; cursor: pointer; }
.case-lot.disponible:hover { background: #e9e1ff; }
.case-lot.disponible small { background: #51438f; color: white; padding: 4px 10px; border-radius: 16px; }
.case-lot.obtenu { color: #255941; background: #e7f6ec; border: 2px solid #599678; }
.case-lot.ecarte { background: #f0edf2; border-style: dashed; }
.case-lot.ecarte .dessin-recompense { filter: grayscale(1); opacity: .62; }
.case-lot.niveau .dessin-recompense, .case-lot.precedent .dessin-recompense { filter: saturate(.63); }
.inventaire { display: grid; gap: 18px; }
.vitrine-titre { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vitrine-titre h2 { font-size: 1.4rem; }
.vitrine-titre > span { white-space: nowrap; font-size: .79rem; font-weight: 750; background: #f2eef8; color: #514666; border-radius: 25px; padding: 4px 10px; }
.album-badges, .album-lots { list-style: none; margin: 18px 0 0; padding: 0; }
.album-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 7px; }
.album-badges li { position: relative; display: flex; align-items: center; flex-direction: column; text-align: center; gap: 5px; }
.album-badges strong { color: #504b60; font-size: .72rem; line-height: 1.18; overflow-wrap: anywhere; }
.socle-badge { display: block; position: relative; width: min(100%, 66px); }
.socle-badge .dessin-recompense { width: 100%; }
.a-gagner .dessin-recompense { filter: saturate(.27); opacity: .78; }
.socle-badge i { position: absolute; right: 0; bottom: 1px; display: grid; place-items: center; width: 18px; height: 18px; color: #5e566d; background: #eeebf2; border: 1px solid #cbc6d3; border-radius: 50%; }
.socle-badge .ico { width: 11px; height: 11px; }
.acquis .socle-badge i { background: #daf1dd; color: #315f41; border-color: #a2c7aa; }
.album-lots li, .suite-lot { display: flex; align-items: center; gap: 12px; }
.album-lots li + li { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.album-lots .dessin-recompense, .suite-lot .dessin-recompense { width: 44px; flex: 0 0 auto; }
.album-lots strong, .album-lots small, .suite-lot strong { display: block; overflow-wrap: anywhere; }
.album-lots small { color: var(--muted); }
.apercu-lot { display: grid; place-items: center; width: 90px; height: 90px; margin-bottom: 16px; border-radius: 22px; background: #f1ecff; }
.apercu-lot .dessin-recompense { width: 75px; }
.suite-lot { border: 1px solid #d7cee8; border-radius: 15px; padding: 9px 12px; background: #f6f2ff; }
.xp-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .recompenses-grille { display: flex; flex-direction: column; }
  .inventaire { display: contents; }
  .carte-chemins, .vitrine { width: 100%; }
  .inventaire .vitrine:first-child { order: -1; }
  .album-badges { display: flex; gap: 10px; overflow-x: auto; padding: 1px 1px 6px; }
  .album-badges li { flex: 0 0 64px; }
  .socle-badge { width: 49px; }
  .banniere-xp { padding: 22px 18px; min-height: 155px; }
  .banniere-xp img { right: -6%; width: 47%; }
  .banniere-texte { width: 60%; }
  .banniere-xp h1 { font-size: clamp(1.9rem, 6.7vw, 3rem); margin-bottom: 14px; }
  .banniere-xp .xp-mesure small { font-size: .71rem; }
  .vitrine { padding: 15px; }
  .album-badges { margin-top: 12px; }
  .jalon-titre { gap: 5px; }
  .lie .jalon-titre { max-width: 47%; flex-direction: column; text-align: center; }
  .lie .jalon-titre .dessin-recompense { width: 36px; }
}
