/* Crème commun, identique au libellé « Découvrir EvoMaths ». */
:root{--button-label-cream:#fff6dd}
:is(button,a.button,.navigation a,.top nav a,.top-links a,.learner-progress,.hero>.discover){
  background:#163f59!important;
  color:var(--button-label-cream)!important;
  border:1px solid #c9a35d!important;
  border-radius:10px;
  text-shadow:none!important;
}
:is(button,a.button,.navigation a,.top nav a,.top-links a,.learner-progress,.hero>.discover):not(:disabled):hover{background:#285c77!important;color:var(--button-label-cream)!important}
:is(button,a.button,.navigation a,.top nav a,.top-links a,.learner-progress,.hero>.discover) :is(span,strong,small){color:inherit!important}
button:disabled{opacity:.55;cursor:default}
button[aria-pressed="true"],button[aria-selected="true"]{box-shadow:inset 0 0 0 2px #e4bd6a!important}
/* Carte : les zones cliquables laissent apparaître les îles, même au survol. */
.map button.hotspot,
.map button.hotspot:not(:disabled):hover{
  background:transparent!important;
  border:0!important;
  border-radius:35%;
  box-shadow:none!important;
}
/* Niveaux à venir : couleurs inversées, en conservant leur état désactivé. */
.hero .level-options>button.level:disabled{
  background:var(--button-label-cream)!important;
  color:#163f59!important;
  opacity:1;
  box-shadow:inset 0 0 0 3px #163f59;
}
.learner-progress{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;text-decoration:none}
.learner-progress span{color:inherit}
#parents .parent-details>a.button[href="/abonnements"],
#parents .parent-details>a.button[href="/abonnements"]:hover{
  background:var(--button-label-cream)!important;
  color:#163f59!important;
}

/* Cartouche de découverte validé : deux étoiles, sans flèche. */
.hero>a.hero-discover{
  display:flex;align-items:center;justify-content:center;gap:20px;
  width:430px;max-width:calc(100% - 40px);min-width:0;min-height:88px;padding:18px 24px;
  border:2px solid #d8b86e!important;border-radius:18px;
  background:linear-gradient(180deg,#356b86 0%,#1b4c67 43%,#133b54 100%)!important;
  box-shadow:inset 0 0 0 4px #173f58,inset 0 0 0 5px #bda26399,inset 0 9px 20px #80c4de18,0 5px 0 #14344b,0 12px 24px #0b304744;
  font:bold 26px/1.3 Georgia,serif;text-shadow:0 1px 2px #08283d!important;
}
.hero>a.hero-discover .discovery-star{color:#ebcc88!important;font-size:28px;font-weight:normal}
.hero>a.hero-discover:before,.hero>a.hero-discover:after{content:'';position:absolute;left:50%;width:7px;height:7px;transform:translateX(-50%) rotate(45deg);background:#e2c17a;border:1px solid #ffe8ac}
.hero>a.hero-discover:before{top:-5px}.hero>a.hero-discover:after{bottom:-5px}
.hero>a.hero-discover:hover{background:linear-gradient(180deg,#407e9c,#205772 43%,#173f58)!important}
@media(min-width:1000px) and (max-height:800px){.hero>a.hero-discover{width:390px;min-height:68px;padding:12px 22px;font-size:23px}}
@media(max-width:560px){.hero>a.hero-discover{width:330px;min-height:72px;gap:12px;padding:12px 18px;font-size:21px}.hero>a.hero-discover .discovery-star{font-size:24px}}

