/* La vitrine partage désormais le décor et les matières du jeu actuel. */
body.current-design {
  --paper: #fffefa;
  --ink: #22314d;
  --text: #52627a;
  --muted: #65748b;
  --purple: #3c70a2;
  --purple-dark: #2d567d;
  --pale: #eef3fc;
  --blue-pale: #eaf3fc;
  --line: #d9e1eb;
  background: #fffefa;
  color: var(--text);
}
body.current-design ::selection { background: #d9e8f7; color: #22314d; }
body.current-design > main {
  background: linear-gradient(180deg, #f3f7ff 0, #fffefa 670px, #fffefa 100%);
}
body.current-design :is(.site-header, main, .site-footer) .button,
body.current-design .project-dialog:not(.adventure-dialog) .button {
  color: #294338;
  background: #b9db9a;
  border-color: #9cbd81;
  border-bottom-color: #8bb36e;
}
body.current-design :is(.site-header, main, .site-footer) .button:hover,
body.current-design .project-dialog:not(.adventure-dialog) .button:hover {
  color: #264032;
  background: #c5e4ad;
  border-color: #91b574;
  border-bottom-color: #7fa763;
}
body.current-design :is(.site-header, main, .site-footer) .button.secondary,
body.current-design .project-dialog:not(.adventure-dialog) .button.secondary {
  color: #456481;
  background: #fffdf5;
  border-color: #cedbe8;
  border-bottom-color: #bacddd;
}
body.current-design .site-header {
  border-bottom: 1px solid #d5dfeb;
  background: #fffefaf7;
}
body.current-design :is(.site-header, .site-footer) .wordmark {
  gap: 9px;
  color: #2d567d;
  letter-spacing: -1.25px;
}
body.current-design :is(.site-header, .site-footer) .brand-emblem {
  display: block;
  width: 33px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}
body.current-design .site-header nav a { color: #61728a; }
body.current-design .site-header nav a:hover { color: #2d567d; }
body.current-design .site-header .menu-toggle span { background: #486b8e; }
body.current-design main .hero { gap: 58px; padding-block: 45px 56px; min-height: 660px; }
body.current-design main .hero-art {
  position: relative;
  min-height: 0;
  height: 500px;
  padding: 0;
  overflow: hidden;
  border: 2px solid #d0deeb;
  border-radius: 29px;
  background: #dcebf8;
  isolation: isolate;
}
body.current-design main .hero-landscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 57% center;
}
body.current-design main .hero-art .world-art {
  position: absolute;
  z-index: 1;
  left: 4%;
  right: auto;
  bottom: 4%;
  width: 47%;
  height: 54%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
}
body.current-design main .speech-bubble {
  top: 24px;
  left: 23px;
  max-width: calc(100% - 46px);
  padding: 10px 14px;
  border-color: #d3dce7;
  border-radius: 15px;
  color: #3d5873;
  background: #fffdf4;
  font-size: 16px;
  line-height: 1.4;
  transform: none;
  white-space: normal;
}
body.current-design main .speech-bubble::after { border-color: #d3dce7; background: #fffdf4; }
body.current-design main .speech-bubble > span { color: #b18728; }
body.current-design main .hero-copy { padding-bottom: 0; }
body.current-design main .hero-description { max-width: 430px; color: #617188; }
body.current-design main .hero-actions { max-width: 320px; gap: 6px; }
body.current-design main .hero-actions > :is(.hero-project-link, .hero-secondary, .text-button, .button.secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 9px 12px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  color: #5a708a;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.5;
  text-transform: none;
}
body.current-design main .hero-actions > :is(.hero-project-link, .hero-secondary, .text-button, .button.secondary):hover {
  color: #2f5f8b;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: none;
}
body.current-design main .hero-note { margin-top: 12px; color: #68798c; }
body.current-design main .hero-note svg { stroke: #7b93ad; }
body.current-design main .values-ribbon { border-block: 1px solid #dce5ed; background: #f5f8fc; }
body.current-design main .ribbon-icon.purple { color: #7b91b8; }
body.current-design main .ribbon-icon.blue { color: #5d95bd; }
body.current-design main .ribbon-icon.coral { color: #bc8c78; }
body.current-design main .intro { padding-bottom: 78px; }
body.current-design main .project-status { border-color: #e6ddbf; background: #fff8e5; color: #7a673b; }
body.current-design main .work-section { border-top: 1px solid #dce4ed; }
body.current-design main .filters { gap: 10px; margin-block: 30px 43px; }
body.current-design main .filter {
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 10px;
  color: #67798e;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}
body.current-design main .filter:hover { color: #345c82; background: #f2f5fa; }
body.current-design main .filter.active {
  color: #385d7f;
  border-bottom-color: #a3bdd3;
  background: #edf3f9;
}
body.current-design main .filter > span { color: #5e7790; background: #dce8f2; }
body.current-design main .projects { gap: 70px; }
body.current-design main .project { gap: 68px; }
body.current-design main .project-visual {
  height: 385px;
  border: 2px solid #d1dfeb;
  border-bottom: 4px solid #c5d4e2;
  border-radius: 25px;
  background: #eef4fb;
}
body.current-design main .world-preview {
  background: linear-gradient(145deg, #dfeffa, #f0ecfa 61%, #fff8e6);
}
body.current-design main .visual-label {
  top: 18px;
  left: 18px;
  right: auto;
  max-width: calc(100% - 36px);
  gap: 12px;
  padding: 7px 10px;
  border: 1px solid #d3deea;
  border-radius: 9px;
  color: #526b83;
  background: #fffdf5;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .85px;
}
body.current-design main .visual-label > span { color: #bd9c46; font-size: 16px; }
body.current-design .current-world-art {
  display: block;
  width: 330px;
  max-width: 80%;
  aspect-ratio: 1;
  background: url('assets/demo-islands.webp') 50% 0 / 300% 200% no-repeat;
}
body.current-design .current-world-art[data-world='francais'] { background-position: 50% 0; }
body.current-design .current-world-art[data-world='maths'] { background-position: 0 0; }
body.current-design .current-world-art[data-world='sciences'] { background-position: 100% 0; }
body.current-design main .world-preview .current-world-art {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
body.current-design main .world-pill,
body.current-design main .round-arrow {
  color: #466680;
  border-color: #d0dce7;
  background: #fffdf4;
}
body.current-design main .world-pill { border-bottom-width: 3px; }
body.current-design main .world-pill > span { color: #bd9c46; }
body.current-design main .project-copy h3 em { color: #3e729c; }
body.current-design main .project-meta { color: #66829c; }
body.current-design main .project-tags > span { border-color: #dce4eb; color: #637990; background: #f8fafc; }
body.current-design main .text-button { color: #3e6d94; }
body.current-design main .parent-preview {
  padding-top: 70px;
  background: linear-gradient(145deg, #e4eff8, #f7f4eb 75%);
  border-color: #d3e0eb;
}
body.current-design main .parent-dashboard {
  width: 330px;
  min-width: 0;
  max-width: calc(100% - 64px);
  min-height: 330px;
  transform: rotate(-1deg);
  border-color: #c6d6e5;
  border-bottom-color: #b8cadd;
  background: #fffdf6;
}
body.current-design main .parent-preview .visual-label { color: #526b83; }
body.current-design main .parent-preview .visual-label > span { color: #789b7c; }
body.current-design main .dash-brand { color: #3f7199; }
body.current-design main .dash-brand > span { color: #c8a553; }
body.current-design main .dash-avatar { color: #557187; background: #e8f0f6; }
body.current-design main .dash-top { border-bottom-color: #dce4eb; }
body.current-design main .dash-date { color: #748394; }
body.current-design main .dash-box { background: #eaf1e2; color: #526448; }
body.current-design main .dash-week i { color: #829079; border-color: #d4dfca; background: #fffef6; }
body.current-design main .dash-week .done { color: #3f5d38; border-color: #a8c78f; background: #c9e2b3; }
body.current-design main .dash-lesson > b { color: #b79942; }
body.current-design main .dash-lesson > span:last-child { color: #6b8ba6; }
body.current-design main .dash-lesson small { color: #798a97; }
body.current-design main .play-preview { padding: 0; background: #e0ecf7; }
body.current-design main .current-game-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
body.current-design main .play-preview .work-mascot {
  left: 6%;
  right: auto;
  bottom: 5%;
  width: 29%;
  height: 43%;
  object-fit: contain;
  object-position: center bottom;
}
body.current-design main .play-preview .visual-label { color: #526b83; }
body.current-design main .play-preview .visual-label > span { color: #bd9c46; }
body.current-design main .current-game-prompt {
  position: absolute;
  z-index: 2;
  left: 43%;
  right: 9%;
  bottom: 27%;
  display: block;
  padding: 13px 12px;
  border: 2px solid #dacda9;
  border-bottom: 4px solid #c7b68c;
  border-radius: 15px;
  color: #425c72;
  background: #fffcf0;
  font: 500 29px/1.2 var(--display);
  text-align: center;
}
body.current-design main .approach-section {
  border-block: 1px solid #d8e2ec;
  background: linear-gradient(120deg, #e9f2fb, #f1eef8);
}
body.current-design main .approach-section::before { color: #a1b3ce; }
body.current-design main .approach-intro .section-label { color: #5f7c9d; }
body.current-design main .approach-intro h2 { color: #2a3f5a; }
body.current-design main .approach-intro h2 em { color: #547fa5; }
body.current-design main .approach-intro > p:not(.section-label) { color: #65778e; }
body.current-design main .approach-companion > span { color: #4a6580; }
body.current-design main .approach-companion b { color: #b89b45; }
body.current-design main .principles article { border-bottom-color: #d1dce9; }
body.current-design main .principle-icon { background: #fffdf4; color: #879bb4; border: 1px solid #d4deea; }
body.current-design main .principles article:nth-child(2) .principle-icon { background: #e6f0f8; color: #709ebf; }
body.current-design main .principles article:nth-child(3) .principle-icon { background: #f9f0e7; color: #ba9279; }
body.current-design main .principles h3 { color: #3b506d; }
body.current-design main .principles p { color: #65778e; }
body.current-design main .closing .star-one { color: #c5a04b; }
body.current-design main .closing .star-two { color: #a1b1cf; }
body.current-design .site-footer {
  border-top: 1px solid #d6e1ec;
  background: linear-gradient(110deg, #edf4fa, #f0edf8);
}
body.current-design .site-footer > div > p,
body.current-design .site-footer .footer-right { color: #647c94; }
body.current-design .site-footer .footer-right > a { color: #536f8b; }

/* Les fiches de présentation ; la démonstration garde ses propres styles. */
body.current-design .project-dialog:not(.adventure-dialog) {
  color: #253c57;
  border-color: #cbd9e6;
  background: #fffdf7;
}
body.current-design .project-dialog:not(.adventure-dialog)::backdrop { background: #1c314d94; }
body.current-design .project-dialog:not(.adventure-dialog) .dialog-close {
  width: 44px;
  height: 44px;
  color: #57708a;
  border-color: #d5dfe9;
  background: #fffef8;
}
body.current-design .project-dialog:not(.adventure-dialog) .dialog-close:hover { background: #edf3f9; }
body.current-design .project-dialog:not(.adventure-dialog) .dialog-heading { background: #fffdf7; }
body.current-design .project-dialog:not(.adventure-dialog) .dialog-heading h2 { color: #2b425d; }
body.current-design .project-dialog:not(.adventure-dialog) .dialog-heading h2 em { color: #507da5; }
body.current-design .project-dialog:not(.adventure-dialog) .dialog-heading .section-label { color: #66829e; }
body.current-design .project-dialog:not(.adventure-dialog) .dialog-heading > p:last-child,
body.current-design .project-dialog:not(.adventure-dialog) .dialog-body p { color: #65768a; }
body.current-design .project-dialog:not(.adventure-dialog) .dialog-scene {
  height: 280px;
  background: #e8f0f8;
  object-fit: cover;
  object-position: center;
}
body.current-design .project-dialog:not(.adventure-dialog) .current-world-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(130deg, #e4f0fa, #f2edf8 62%, #fff7e2);
}
body.current-design .project-dialog:not(.adventure-dialog) .current-world-scene .current-world-art {
  width: 260px;
  height: 260px;
  max-width: 75%;
  flex: 0 0 auto;
}
body.current-design .project-dialog:not(.adventure-dialog) .current-scene-label {
  position: absolute;
  left: 22px;
  bottom: 18px;
  padding: 7px 12px;
  border: 1px solid #d2dfeb;
  border-radius: 10px;
  color: #536d85;
  background: #fffdf4;
  font-size: 12px;
  font-weight: 800;
}
body.current-design .project-dialog:not(.adventure-dialog) .dialog-detail { border-block-color: #d9e3ec; }
body.current-design .project-dialog:not(.adventure-dialog) .dialog-detail strong { color: #456f90; }

@media (max-width: 1050px) {
  body.current-design main .hero { gap: 34px; min-height: 620px; padding-block: 38px 47px; }
  body.current-design main .hero-art { height: 470px; }
  body.current-design main .speech-bubble { font-size: 14px; left: 18px; top: 21px; max-width: calc(100% - 36px); }
  body.current-design main .project { gap: 42px; }
  body.current-design main .project-visual { height: 350px; }
  body.current-design main .current-world-art { width: 300px; }
}
@media (max-width: 800px) {
  body.current-design :is(.site-header, .site-footer) .brand-emblem { width: 30px; height: 33px; }
  body.current-design .site-header nav a { font-size: 10px; }
  body.current-design main .hero { gap: 25px; min-height: 570px; padding-block: 30px 40px; }
  body.current-design main .hero-art { height: 415px; }
  body.current-design main .speech-bubble { font-size: 12px; left: 14px; top: 17px; padding: 9px 11px; max-width: calc(100% - 28px); }
  body.current-design main .hero-art .world-art { width: 50%; height: 51%; bottom: 4%; left: 3%; }
  body.current-design main .project { gap: 30px; }
  body.current-design main .project-visual { height: 320px; border-radius: 23px; }
  body.current-design main .visual-label { font-size: 7px; left: 14px; top: 15px; max-width: calc(100% - 28px); padding: 6px 8px; gap: 8px; }
  body.current-design main .current-world-art { width: 270px; max-width: 91%; }
  body.current-design main .parent-dashboard { width: 285px; max-width: calc(100% - 34px); min-width: 0; transform: rotate(-1deg); }
  body.current-design main .parent-preview { padding-top: 63px; }
  body.current-design main .dash-content { padding-inline: 16px; }
  body.current-design main .current-game-prompt { font-size: 23px; left: 40%; right: 7%; bottom: 26%; padding: 11px 8px; }
  body.current-design main .filter { font-size: 11px; padding-inline: 12px; }
}
@media (max-width: 600px) {
  body.current-design > main { background: linear-gradient(180deg, #f2f7ff 0, #fffefa 650px); }
  body.current-design .site-header .button.small { min-height: 44px; }
  body.current-design :is(.site-header, .site-footer) .wordmark { gap: 6px; }
  body.current-design :is(.site-header, .site-footer) .brand-emblem { width: 28px; height: 31px; }
  body.current-design .site-header nav { border-color: #d6e1ec; background: #fffef8; }
  body.current-design .site-header nav a { font-size: 12px; }
  body.current-design .site-header nav a:hover { background: #edf3f9; }
  body.current-design .site-header .menu-toggle { width: 30px; height: 44px; }
  body.current-design main .hero { gap: 27px; padding-block: 24px 35px; min-height: 0; }
  body.current-design main .hero-art { width: 100%; max-width: 440px; height: 310px; border-radius: 24px; }
  body.current-design main .hero-landscape { object-position: 56% center; }
  body.current-design main .hero-art .world-art { width: 46%; height: 54%; left: 4%; bottom: 4%; }
  body.current-design main .speech-bubble { left: 15px; top: 16px; padding: 8px 11px; max-width: calc(100% - 30px); font-size: 13px; }
  body.current-design main .hero-description { max-width: 365px; }
  body.current-design main .hero-actions { max-width: 335px; gap: 5px; }
  body.current-design main .hero-actions > :is(.hero-project-link, .hero-secondary, .text-button, .button.secondary) { min-height: 44px; font-size: 12px; }
  body.current-design main .hero-note { margin-top: 8px; }
  body.current-design main .intro { padding-bottom: 54px; }
  body.current-design main .filters { gap: 4px 7px; margin-block: 23px 29px; }
  body.current-design main .filter { min-height: 44px; padding: 8px 10px; font-size: 10px; border-radius: 8px; }
  body.current-design main .projects { gap: 44px; }
  body.current-design main .project { gap: 24px; }
  body.current-design main .project-visual { height: 320px; border-radius: 24px; }
  body.current-design main .current-world-art { width: 282px; max-width: 85%; }
  body.current-design main .visual-label { top: 15px; left: 15px; max-width: calc(100% - 30px); font-size: 8px; padding: 7px 9px; }
  body.current-design main .world-pill { left: 17px; bottom: 18px; }
  body.current-design main .round-arrow { right: 17px; bottom: 18px; }
  body.current-design main .parent-preview { padding-top: 62px; }
  body.current-design main .parent-dashboard { width: 285px; max-width: calc(100% - 45px); transform: rotate(-1deg); }
  body.current-design main .play-preview .work-mascot { width: 32%; height: 44%; left: 5%; bottom: 5%; }
  body.current-design main .current-game-prompt { left: 42%; right: 8%; bottom: 29%; padding: 12px 10px; font-size: 27px; }
  body.current-design main .text-button { min-height: 44px; }
  body.current-design .site-footer .footer-right { gap: 10px 20px; }
  body.current-design .project-dialog:not(.adventure-dialog) .dialog-close { top: 12px; right: 12px; }
  body.current-design .project-dialog:not(.adventure-dialog) .dialog-heading { padding-top: 52px; }
  body.current-design .project-dialog:not(.adventure-dialog) .dialog-scene { height: 230px; }
  body.current-design .project-dialog:not(.adventure-dialog) .current-world-scene .current-world-art { width: 218px; height: 218px; }
  body.current-design .project-dialog:not(.adventure-dialog) .current-scene-label { left: 15px; bottom: 14px; padding: 6px 9px; font-size: 11px; }
  body.current-design .project-dialog:not(.adventure-dialog) .dialog-body .button { font-size: 11px; }
}
@media (max-width: 360px) {
  body.current-design :is(.site-header, .site-footer) .wordmark { font-size: 37px; gap: 5px; }
  body.current-design :is(.site-header, .site-footer) .brand-emblem { width: 25px; height: 28px; }
  body.current-design .site-header .header-inner { gap: 8px; }
  body.current-design .site-header .button.small { padding-inline: 8px; font-size: 7px; }
  body.current-design main .hero-art { height: 285px; }
  body.current-design main .speech-bubble { font-size: 12px; left: 12px; top: 14px; max-width: calc(100% - 24px); }
  body.current-design main .project-visual { height: 292px; }
  body.current-design main .current-world-art { width: 250px; }
  body.current-design main .filter { font-size: 9px; padding-inline: 8px; }
  body.current-design main .visual-label { font-size: 7px; }
  body.current-design main .current-game-prompt { font-size: 23px; padding: 11px 8px; }
  body.current-design .project-dialog:not(.adventure-dialog) .dialog-body .button { font-size: 10px; }
}
