﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Chewy&family=Lexend+Deca:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@font-face {
  font-family: "AdigianaToybox";
  src: url("/fonts/AdigianaToyboxRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "SergioTrendy";
  src: url("/fonts/Sergio Trendy.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
body {
  padding-right: 20px;
  padding-left: 20px;
  overflow-x: hidden;
}

.hm-main-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* centre horizontalement */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* centre verticalement */
  height: 100vh; /* exemple : plein écran */
}

.hm-question-card {
  background-color: transparent !important;
  color: white;
  border: 0 hidden !important;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.hm-question-button {
  background-color: white !important;
  color: var(--title-color) !important;
  width: 100% !important;
  height: 100px !important;
  padding: 10px;
  margin: 0;
}

.hm-question-button:hover {
  background-color: var(--mud-palette-primary-darken) !important;
  color: white !important;
}

.hm-question-button * {
  font-size: clamp(16px, 2vw, 18px) !important;
  font-weight: 600;
  text-wrap: wrap;
  text-wrap: pretty;
}

/* Le composant s'adapte à la taille intrinsèque du SVG */
.bullet {
  margin-top: 3rem;
  display: inline-grid;
  place-items: center;
}

.bullet-img {
  grid-area: 1/1;
  display: block;
  width: 260px; /* taille naturelle du SVG */
  height: auto;
  max-width: 100%;
}

.hm-game-header {
  font-weight: 800;
  font-size: 40px;
  margin-bottom: 30px !important;
}

.avatar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  aspect-ratio: 1/1;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* centrage vertical */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* centrage horizontal */
  overflow: hidden; /* au cas où */
}

.avatar-start {
  width: 30vh;
}

.avatar-game {
  width: 150px;
}

.avatar img {
  width: 100% !important;
  aspect-ratio: 1/1;
  -o-object-fit: contain;
     object-fit: contain; /* garde le ratio, ne dépasse pas */
}

.bullet-text {
  grid-area: 1/1; /* superposé au centre */
  color: #0B1D3A; /* bleu marine */
  -webkit-transform: rotate(-6deg);
      -ms-transform: rotate(-6deg);
          transform: rotate(-6deg);
  text-align: center;
  line-height: 1;
  white-space: nowrap; /* évite de déformer la bulle */
  pointer-events: none;
  padding-right: 1rem;
  font-family: "AdigianaToybox", "Comic Relief", "Indie Flower", "Manrope", sans-serif !important;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: clamp(12px, 4vw, 18px) !important;
}

/* Si tu veux forcer une taille visuelle, ajoute une classe au composant:
   <BulletedLabel class="size-40" ... />
*/
.bullet.size-32 .bullet-img {
  width: 32px;
}

.bullet.size-40 .bullet-img {
  width: 40px;
}

.bullet.size-64 .bullet-img {
  width: 64px;
}

.hm-pseudo-input input {
  font-size: 1.2rem;
  text-align: center;
  font-weight: 700;
}

.avatar-tile .avatar-img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  /*position: absolute;*/
  margin-top: -30px;
}

.avatar-tile {
  border: 4px solid blue;
  border-radius: 9999px;
  background-color: transparent;
  width: 120px;
  height: 120px;
}

.avatar-tile:hover {
  border: 4px solid #398ece;
}

.hm-hero-content .mud-input {
  border-radius: 100px;
  border: 4px solid blue;
  color: white;
}

.hm-hero-content .mud-input .mud-input-slot {
  padding: 14px !important;
  color: white;
}

.hm-hero-content .mud-input-outlined-border {
  border: none !important;
  color: white;
}

.avatar-selected {
  border-color: var(--mud-palette-primary);
  background-color: color-mix(in srgb, var(--mud-palette-primary) 15%, white);
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.avatar-carousel {
  height: 250px;
  width: 120%;
}

.hm-score {
  position: relative; /* référence pour les enfants en position absolue */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* centre horizontal */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* centre vertical */
  height: 40px;
}

.score-background,
.score-counter-v2 {
  position: absolute; /* se superposent l’un sur l’autre */
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%); /* centrage parfait */
}

.score-counter-v2 {
  font-family: "AdigianaToybox", "SergioTrendy", sans-serif;
  font-variant-numeric: tabular-nums;
  will-change: contents;
  color: white;
  font-size: 28px;
  font-weight: 400 !important;
}

.score-background {
  max-width: 300px;
}

@media (prefers-reduced-motion: reduce) {
  .score-counter-v2 {
    -webkit-transition: none;
    transition: none;
  }
}
.hm-anwser-regular {
  background-color: white !important;
  color: black;
}

.hm-anwser-success, .hm-anwser-success:hover {
  background-color: limegreen !important;
  color: white !important;
}

.hm-anwser-fail, .hm-anwser-fail:hover {
  background-color: red !important;
  color: white !important;
}

.disabled-hover {
  pointer-events: none;
}

.hm-answer-alert {
  font-size: 14px;
}

.ldma-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none; /* très important */
}

.ldma {
  position: absolute;
  width: 1200px;
  height: 1200px;
  pointer-events: none;
  background: radial-gradient(circle, rgb(0, 0, 0) 5%, rgba(0, 0, 0, 0) 70%);
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
}

/* visible quand actif */
.ldma.ldma--on {
  opacity: 1;
  visibility: visible;
}

/* Par défaut sans filtre */
:root {
  --cb-filter: none;
}

.cb-on {
  -webkit-filter: var(--cb-filter);
          filter: var(--cb-filter);
}

/* Optionnel : éviter que votre overlay bloque l'UI */
.cb-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.hm-card-overlay {
  position: relative;
  overflow: hidden;
}

/* Lottie recouvre le contenu mais reste "cliquable à travers" */
.hm-overlay-lottie {
  position: absolute;
  width: 200%;
  bottom: -10px;
  z-index: 0;
  pointer-events: none;
  /*border: 4px red solid;*/
  padding: 0;
  -webkit-transform: translateX(-25%);
      -ms-transform: translateX(-25%);
          transform: translateX(-25%);
}

.hm-overlay-lottie canvas {
  width: 100% !important;
}

.boss-bullet {
  /*    position: absolute;
  top: -100px;*/
  /*border: solid 1px green;*/
  /*height: calc(min(20%, 20vh));*/
  -o-object-fit: contain;
     object-fit: contain;
}

.boss-bullet .bullet {
  /*border: solid 1px yellow;*/
  width: 100%;
  height: 100%;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  margin-top: 0;
}

.boss-bullet .bullet-img {
  max-width: 140% !important;
  width: 140%;
  /*transform: translateY(calc(min(-40%, -14vh)));*/
  opacity: 1;
  /*border: solid 1px black;*/
  margin-top: -40%;
  margin-bottom: -30%;
}

.boss-dialog-content .bullet-text {
  position: relative !important;
  max-width: 80%;
  text-wrap: pretty;
  text-wrap: wrap;
  font-size: 25px !important;
  /*transform: translateY(10%);*/
  height: 100%;
  vertical-align: central;
  -ms-flex-line-pack: center;
      align-content: center;
}

.boss-dialog-content {
  margin: 0px !important;
  overflow: hidden !important;
  max-width: 500px;
  padding: 0 0 0 0 !important;
  height: 700px;
}

.boss-dialog-content .avatar-img {
  position: absolute;
  bottom: 15%;
  z-index: 2;
  pointer-events: none;
  width: 60% !important;
  /*height: 60% !important;*/
}

.boss-button {
  position: absolute;
  font-size: 1.2rem !important;
  padding: 30px !important;
  border-radius: 9999px !important;
  bottom: 20px; /* marge depuis le bas */
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

/* PODIUM */
/* fond général du bloc */
.podium {
  position: relative;
  padding: 0 0 16px 0;
  border-radius: 12px;
  color: #fff;
  overflow: visible;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* bandeau top */
.podium-top {
  position: relative;
  height: 72px;
}

.podium-top-diamond {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 34px;
  height: 34px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  background: #fff;
  border-radius: 4px;
  aspect-ratio: 1/1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* losange de rang centré */
.podium-rank-diamond {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 34px;
  height: 34px;
  color: #232354;
  font-weight: 900;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  aspect-ratio: 1/1;
}

.podium-rank-diamond::before {
  content: attr(data);
}

.podium-rank-diamond > * {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

/* fine ligne blanche en dessous */
.podium-top-sep {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
}

/* grille colonnes */
.podium-cols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-template-columns: repeat(5, 1fr);
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  gap: 22px;
}

.podium .mud-tabs {
  min-height: 80vh;
}

/* colonnes */
.col {
  text-align: center;
  position: relative;
  max-width: 180px;
}

.col-header {
  position: absolute; /* important */
  margin-left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  display: block;
  right: auto;
  inset: auto; /* neutralise d'éventuels resets */
}

.col .name {
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  margin-top: 6px;
  white-space: nowrap;
}

.col .pts {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 2px;
  white-space: nowrap;
}

.col-1 .avatar-wrap {
  background-color: orangered !important;
}

.col-2 .avatar-wrap {
  background-color: blueviolet !important;
}

.col-3 .avatar-wrap {
  background-color: lightseagreen !important;
}

.col-dot span {
  font-size: 30px;
}

.col-me .avatar-wrap {
  background-color: lawngreen !important;
}

.crown {
  font-size: 28px;
  margin-bottom: 4px;
  margin-top: -4px;
}

/* avatar au sommet des barres */
.podium .avatar-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 6px;
  margin-bottom: -50% !important;
  z-index: 1000 !important;
  width: 100% !important;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  aspect-ratio: 1/1;
  margin-right: 5px;
  margin-top: 50px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* centrage vertical */
  justify-content: center; /* centrage horizontal */
  overflow: hidden; /* au cas où */
}

/*.podium .avatar-img {
    width: 50px !important;
    height: 50px !important;
}*/
/* barres */
.bar {
  position: relative;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-bottom: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-content: center;
  padding-top: 50px;
}

.col {
  -webkit-transform-origin: bottom;
      -ms-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-animation: growY 0.6s ease-out both;
          animation: growY 0.6s ease-out both;
}

@-webkit-keyframes growY {
  from {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
  }
  to {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
  }
}

@keyframes growY {
  from {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
  }
  to {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
  }
}
.bar.is-in {
  -webkit-transform: scaleY(0);
      -ms-transform: scaleY(0);
          transform: scaleY(0);
}

.bar-1 {
  background: -webkit-gradient(linear, left top, left bottom, from(#73d1ff), to(rgba(90, 90, 240, 0)));
  background: linear-gradient(180deg, #73d1ff 0%, rgba(90, 90, 240, 0) 100%);
}

.bar-2 {
  background: -webkit-gradient(linear, left top, left bottom, from(#8ce0ff), to(rgba(97, 97, 242, 0)));
  background: linear-gradient(180deg, #8ce0ff 0%, rgba(97, 97, 242, 0) 100%);
}

.bar-3 {
  background: -webkit-gradient(linear, left top, left bottom, from(#9ae6ff), to(rgba(107, 107, 244, 0)));
  background: linear-gradient(180deg, #9ae6ff 0%, rgba(107, 107, 244, 0) 100%);
}

.bar-me {
  background: -webkit-gradient(linear, left top, left bottom, from(#a3e9a5), to(rgba(95, 195, 106, 0)));
  background: linear-gradient(180deg, #a3e9a5 0%, rgba(95, 195, 106, 0) 100%);
  opacity: 0.95;
}

/* badges de rang */
.rank-badge {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #2b2b6a;
  font-weight: 900;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  margin-bottom: 20px;
  top: 110%;
}

/*.podium-tab-header {
    background: #00000040 !important;
    color: white;
}

.podium-tab-header .mud-tab.mud-tab-active {
    color:white;
}*/
/* Remplit le cercle avec le visuel interne (img/svg/… ) */
/*.avatar :deep(img),
.avatar :deep(svg),
.avatar :deep(canvas),
.avatar :deep(div) {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain;*/ /* ou 'cover' si tu veux remplir totalement */
/*}*/
/* carré de rang du joueur */
.rank-square {
  position: absolute;
  right: 10px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #ffffff;
  color: #2c2c6b;
  font-weight: 900;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* bouton bas */
.podium-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 14px 0 10px;
}

.btn-leader {
  background: -webkit-gradient(linear, left top, right top, from(#48d46b), to(#68ea99));
  background: linear-gradient(90deg, #48d46b, #68ea99);
  color: #fff;
  font-weight: 800;
  border-radius: 24px;
  padding: 10px 22px;
  -webkit-box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
          box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* responsive */
@media (max-width: 700px) {
  .podium-cols {
    gap: 14px;
  }
}
/* Le conteneur colonne est la référence */
.col {
  position: relative;
  isolation: isolate;
}

/* L’avatar chevauche la barre et passe au-dessus */
.avatar-wrap {
  position: relative;
  z-index: 3;
  margin-bottom: -22px; /* ton chevauchement */
  overflow: visible !important;
}

/* La barre reste en dessous */
.bar {
  position: relative;
  z-index: 1;
  /* évite de créer un stacking context involontaire : */
  -webkit-transform: none;
      -ms-transform: none;
          transform: none; /* ou retire toute transform */
  -webkit-filter: none;
          filter: none; /* idem si possible */
  opacity: 1; /* 1 pour éviter un nouveau contexte */
}

.avatar-game {
  --tilt: 6deg; /* amplitude */
  --dur: 700ms; /* durée totale */
  -webkit-transform-origin: 50% 100%;
      -ms-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  will-change: transform;
}

.wobble-3 {
  -webkit-animation: wobble3 var(--dur) ease-in-out both;
          animation: wobble3 var(--dur) ease-in-out both;
}

@-webkit-keyframes wobble3 {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  16.66% {
    -webkit-transform: rotate(var(--tilt));
            transform: rotate(var(--tilt));
  }
  33.33% {
    -webkit-transform: rotate(calc(-1 * var(--tilt)));
            transform: rotate(calc(-1 * var(--tilt)));
  }
  50% {
    -webkit-transform: rotate(var(--tilt));
            transform: rotate(var(--tilt));
  }
  66.66% {
    -webkit-transform: rotate(calc(-1 * var(--tilt)));
            transform: rotate(calc(-1 * var(--tilt)));
  }
  83.33% {
    -webkit-transform: rotate(var(--tilt));
            transform: rotate(var(--tilt));
  }
  100% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  /* revient à la position initiale */
}

@keyframes wobble3 {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  16.66% {
    -webkit-transform: rotate(var(--tilt));
            transform: rotate(var(--tilt));
  }
  33.33% {
    -webkit-transform: rotate(calc(-1 * var(--tilt)));
            transform: rotate(calc(-1 * var(--tilt)));
  }
  50% {
    -webkit-transform: rotate(var(--tilt));
            transform: rotate(var(--tilt));
  }
  66.66% {
    -webkit-transform: rotate(calc(-1 * var(--tilt)));
            transform: rotate(calc(-1 * var(--tilt)));
  }
  83.33% {
    -webkit-transform: rotate(var(--tilt));
            transform: rotate(var(--tilt));
  }
  100% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  /* revient à la position initiale */
}
/* option accessibilité */
@media (prefers-reduced-motion: reduce) {
  .wobble-3 {
    -webkit-animation: none;
            animation: none;
  }
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.marquee-content {
  display: inline-block;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}

/* ===== Card container (sans background) ===== */
.cr-card {
  border-radius: 16px;
  padding: 18px 18px 14px;
}

/* ===== États ===== */
.cr-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 180px;
}

.cr-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  -webkit-animation: crspin 0.9s linear infinite;
          animation: crspin 0.9s linear infinite;
}

@-webkit-keyframes crspin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes crspin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.cr-error, .cr-empty {
  text-align: center;
  padding: 16px 8px;
}

/* ===== TOP 1 box ===== */
.cr-topbox {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.cr-topbox-inner {
  background: #1800A8;
  color: #26244a;
  border-radius: 16px;
  padding: 40px 24px;
  min-height: 72px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.cr-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  aspect-ratio: 1/1;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  max-height: 100px;
}

.cr-logo img {
  width: 100% !important;
  aspect-ratio: 1/1;
  -o-object-fit: contain;
     object-fit: contain;
}

.cr-logo-fallback {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #eee;
  color: #333;
  font-weight: 900;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.cr-topname {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== Médaille (Lottie) ===== */
.cr-medal-wrap {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: -80px; /* chevauchement sous la box blanche */
  width: 120px;
  /*height: 120px;*/ /* même taille que le style du dotlottie-wc */
  /*display: grid;*/
  place-items: center;
  pointer-events: none; /* purement décoratif */
}

/* ===== Liste (Top 5 + … + Me) ===== */
.cr-list {
  margin-top: 42px; /* laisse la place à la médaille */
  padding: 6px 4px 0;
}

.cr-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  padding: 6px 2px;
}

.cr-rank {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 26px;
          flex: 0 0 26px; /* largeur fixe */
  text-align: right;
  font-weight: 900;
  font-size: 1.05rem;
}

.cr-name {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto; /* prend tout l’espace restant */
  overflow: hidden; /* masque ce qui dépasse */
}

.cr-name .marquee {
  width: 100%; /* occupe toute la largeur dispo */
  display: block;
}

.cr-name-strong {
  font-weight: 900;
}

.cr-score {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 70px;
          flex: 0 0 70px; /* largeur fixe pour les scores */
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cr-ellipsis {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1;
  padding: 6px 0;
}

/* ===== Actions ===== */
.cr-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 12px;
}

.cr-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  background: -webkit-gradient(linear, left top, right top, from(#48d46b), to(#68ea99));
  background: linear-gradient(90deg, #48d46b, #68ea99);
  -webkit-box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
          box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.cr-btn:active {
  -webkit-transform: translateY(1px);
      -ms-transform: translateY(1px);
          transform: translateY(1px);
}

/* ===== Responsive ===== */
@media (max-width: 520px) {
  .cr-name {
    font-size: 0.95rem;
  }
}
/* Conteneur */
.hm-progress {
  height: 10px;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

/* Barre interne avec point de départ dynamique */
.hm-progress::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  /* La barre démarre à --start (0% par défaut) */
  width: var(--start, 0%);
  background: rgb(255, 64, 129);
  border-radius: 9999px;
  -webkit-animation: hmfill var(--duration, 15000ms) linear forwards;
          animation: hmfill var(--duration, 15000ms) linear forwards;
}

/* Animation adaptant le point de départ */
@-webkit-keyframes hmfill {
  from {
    width: var(--start, 0%);
  }
  to {
    width: 100%;
  }
}
@keyframes hmfill {
  from {
    width: var(--start, 0%);
  }
  to {
    width: 100%;
  }
}
body {
  font-family: "Lexend Deca", "Roboto" !important;
  font-optical-sizing: auto;
}

/* full-bleed: déborde la padding du layout pour un hero bord à bord */
.hm-hero-bleed {
  /*         position: relative;
      left: 50%;
      right: 50%;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      width: 100vw; */
}

.hm-hero {
  border-radius: 0;
}

.hm-hero-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  text-align: center;
  padding: 24px;
}

.comic-font {
  font-family: "AdigianaToybox", "Chewy", "Comic Relief", "Indie Flower", "Manrope", sans-serif !important;
  letter-spacing: 2px;
}

.start-card {
  padding: 1rem !important;
  padding-top: 2rem !important;
  min-width: 100%;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  min-height: 140px !important;
}

.start-card .start-card-content {
  font-size: 2.4rem !important;
}

.hm-hero-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}

.hm-hero-content-rules {
  gap: 20px !important;
}

.hm-hero-sub {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.question-title, .score-counter {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
}

.hm-grad-1 {
  background: linear-gradient(135deg, #5b86e5, #36d1dc);
}

.hm-grad-2 {
  background: linear-gradient(135deg, #7f53ac, #647dee);
}

.hm-grad-3 {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.hm-hero-title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hm-hero-sub {
  color: #f5f7ff;
}

.hm-card {
  border-radius: 14px;
  -webkit-transition: -webkit-transform 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: -webkit-transform 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.15s ease;
}

.hm-card:hover {
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
          box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.score-counter {
  position: absolute;
  padding-right: 50px;
}

.page-badge {
  display: inline-block;
  vertical-align: middle;
}
.page-badge--shadow {
  -webkit-filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
          filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

:host {
  display: inline-block;
}

.info-card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* centre vertical */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* optionnel : centre horizontal */
  border: 1px solid #ccc;
  background: var(--card-bg);
  color: var(--content-color);
  border-radius: var(--radius);
  padding: 40px 28px 32px; /* top + espace pour la pastille */
  text-align: center;
  -webkit-box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
          box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  min-height: 210px;
  vertical-align: central;
}

.info-badge-feedback {
  background: white;
  color: black;
}

.info-card__content {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
}

.info-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  padding: 8px 16px;
  min-width: 220px;
  text-align: center;
  border-radius: 9999px;
  background: var(--title-bg);
  color: var(--title-color);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  z-index: 0; /* en dessous du texte, au-dessus de la carte */
}

/* Anneaux décoratifs derrière la pastille (2 couches) */
.info-card__badge::before,
.info-card__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  z-index: -2;
}

.info-card__badge::before {
  inset: -6px;
  background: var(--badge-ring2);
  -webkit-filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.15));
          filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.15));
}

.info-card__badge::after {
  inset: -3px;
  background: var(--badge-ring1);
}

:host {
  display: inline-block;
}

.speech-pill {
  position: relative;
  display: inline-block;
  background: var(--bg);
  color: var(--fg);
  border-radius: var(--radius);
  padding: var(--pad);
  font-size: var(--font-size);
  font-weight: var(--font-weight);
  line-height: 1.1;
  -webkit-transform: rotate(var(--tilt));
      -ms-transform: rotate(var(--tilt));
          transform: rotate(var(--tilt));
}

.speech-pill--shadow {
  -webkit-filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25));
          filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25));
}

/* base inchangée */
.speech-pill::after {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--tail-w);
  height: var(--tail-h);
  background: var(--bg);
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

/* pointe vers l'extérieur, côté DROIT */
.speech-pill--right::after {
  right: var(--tail-offset);
  clip-path: polygon(100% 50%, 0 0, 0 100%); /* pointe à droite */
}

/* pointe vers l'extérieur, côté GAUCHE */
.speech-pill--left::after {
  left: var(--tail-offset);
  clip-path: polygon(0 50%, 100% 0, 100% 100%); /* pointe à gauche */
}

/* contre-rotation du texte si besoin */
.speech-pill__inner {
  display: inline-block;
}

.speech-pill__upright {
  -webkit-transform: rotate(calc(-1 * var(--tilt)));
      -ms-transform: rotate(calc(-1 * var(--tilt)));
          transform: rotate(calc(-1 * var(--tilt)));
}

.logo-img {
  max-width: 300px;
  width: 80vw;
  -o-object-fit: contain;
     object-fit: contain;
}

.blurry-dialog {
  backdrop-filter: blur(10px);
}
/*# sourceMappingURL=D:\Git\Benethik-HandiMind\Benethik.HandiMind.Web\wwwroot\css\style.css.map */