:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam{
  --cc-pin:#093d30;--cc-ivoire:#fff1cf;--cc-or:#e3be75;
  --cc-serif:Georgia,"Times New Roman",serif;
  --cc-ar:"Naskh","Amiri","Noto Naskh Arabic","Geeza Pro","Traditional Arabic",serif;
  container-type:inline-size;isolation:isolate;scroll-margin-block-start:70px;box-sizing:border-box;
  width:100%;max-width:720px;min-width:0;margin:clamp(12px,2.2vw,28px) auto;
  overflow:hidden;border:1px solid #b8985a;border-radius:clamp(10px,1.5vw,20px);
  background:#07382c;color:var(--cc-ivoire);box-shadow:0 12px 30px -17px #12291e;
  text-align:center;font-family:var(--cc-serif);
}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam *{box-sizing:border-box}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam [hidden]{display:none!important}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam bdi[lang="ar"],:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[lang="ar"]{font-family:var(--cc-ar)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head,:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-instruction,:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-board,:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-chest{
  margin:0;border:0;border-radius:0;box-shadow:none;background-repeat:no-repeat;background-position:center;background-size:100% 100%;
}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head{
  display:grid;grid-template-columns:14.4% minmax(0,1fr) 15.1%;align-items:center;
  width:100%;min-height:46px;aspect-ratio:1024/110;padding:0 5.6% 0 2%;
  background-image:url("at-cc-bandeau-ambre-b53fa8714e.webp");background-color:#184436;direction:ltr;color:#fff0ce;
}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-exam-title,:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head span{color:inherit;margin:0;border:0;background:transparent;padding:0;text-shadow:0 1px 1px #072d21}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-exam-title{font:600 clamp(16px,3.95cqw,32px)/1.16 var(--cc-serif);text-align:start;margin-inline-start:1cqw}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[dir="rtl"] .cc-head .cc-exam-title{font-family:var(--cc-ar);text-align:center;direction:rtl;line-height:1.36}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-number{font:600 clamp(13px,4.1cqw,34px)/1 var(--cc-serif);font-variant-numeric:tabular-nums}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-count{font:500 clamp(12px,3.1cqw,25px)/1.2 var(--cc-serif);white-space:nowrap;font-variant-numeric:tabular-nums}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-instruction{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.5cqw;
  width:100%;aspect-ratio:1024/249;padding:8% 22% 1%;
  background-image:url("at-cc-instruction-riad-6f02de9c1f.webp");background-color:#d7b78d;color:#1b392b;}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-tense{font:600 clamp(11px,1.9cqw,16px)/1.1 var(--cc-serif);color:#6a4321}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-instruction p{max-width:100%;font:600 clamp(15px,3.27cqw,27px)/1.12 var(--cc-serif);margin:0;color:#153d2e;text-wrap:balance}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-instruction p bdi{font-size:1.14em;line-height:1}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[lang="ar"] .cc-instruction p,:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[lang="ar"] .cc-tense{font-family:var(--cc-ar);line-height:1.4}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-board{display:flex;align-items:center;justify-content:center;flex-direction:column;
  width:100%;aspect-ratio:1024/260;padding:1.8% 18% 1%;gap:.3cqw;
  background-image:url("at-cc-cartouche-riad-a8b3a0f35a.webp");background-color:#cca16f;color:#fff0d1;}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-board small{color:#ffd99b;letter-spacing:.06em;font:600 clamp(10px,1.9cqw,15px)/1.22 var(--cc-serif)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[lang="ar"] .cc-board small{font-family:var(--cc-ar);letter-spacing:0}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-pair{display:flex;align-items:center;justify-content:center;gap:2.35cqw;max-width:100%;font:400 clamp(27px,7.7cqw,60px)/1.33 var(--cc-ar);color:#fff2d1;text-shadow:0 2px 2px #002317}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-pair bdi{font:inherit;white-space:nowrap}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-pair span{font:400 .54em/1 var(--cc-serif);color:#ddbd7e}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-chest{position:relative;isolation:isolate;width:100%;aspect-ratio:1024/585;background-image:url("at-cc-coffre-riad-61e907b234.webp");background-color:#715437}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-cards{position:absolute;inset:26.2% 11.1% 28.35%;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.6%;align-items:stretch;z-index:1}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-lip{position:absolute;inset:0;z-index:3;background:url("at-cc-devant-coffre-f0aff7e00a.webp") center / 100% 100% no-repeat;pointer-events:none}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card{position:relative;appearance:none;display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:17% 2.4% 13%;
  border:0;border-radius:0;outline-offset:-8px;background:transparent url("at-cc-carte-palmette-02ff9065d2.webp") center / 100% 100% no-repeat;box-shadow:none;
  color:#153a2a;cursor:pointer;text-align:center;touch-action:manipulation;overflow:visible;
  filter:drop-shadow(1px 2px 2px #2b170b85);transform:translateY(0);transform-origin:center 95%;
  transition:filter .18s ease,transform .24s ease;}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card[disabled]{opacity:1;cursor:default}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card span{display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;line-height:1.3}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card bdi[lang="ar"]{font:500 clamp(15px,5.45cqw,46px)/1.48 var(--cc-ar);white-space:nowrap;color:inherit;text-shadow:0 1px #fff4d0}
/* Keep all marks and the full baseline visible on compact cards. A long conjugated
   form keeps a little more vertical size than its condensed horizontal advance. */
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card[data-letters="6"] bdi[lang="ar"]{font-size:4.96cqw;transform:scaleX(.91)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card[data-letters="7"] bdi[lang="ar"]{font-size:4.83cqw;transform:scaleX(.88)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card[data-letters="8"] bdi[lang="ar"]{font-size:4.62cqw;transform:scaleX(.84)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card bdi{flex:none}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card bdi[lang="fr"]{font:600 clamp(11px,2.6cqw,19px)/1.1 var(--cc-serif);overflow-wrap:anywhere;text-wrap:balance}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card:focus-visible{outline:2px dashed #053c34}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-selected{filter:drop-shadow(0 0 1px #153d30) drop-shadow(0 0 3px #122d1d);color:#083729}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-selected::after,:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-wrong::after,:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-revealed::after{
  content:"";position:absolute;width:22%;height:2.5%;bottom:19%;left:39%;border-radius:3px;background:#1b5541;}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-wrong{filter:grayscale(.50) brightness(.82);color:#5f332d}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-wrong::after{content:"×";height:auto;bottom:16%;color:#812e23;background:transparent;font:700 clamp(12px,3cqw,22px)/1 var(--cc-serif)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-revealed::after{background:#6f6857}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-right{z-index:2;transform:translateY(-10%);color:#093f2c;
  filter:drop-shadow(0 0 1px #fffae5) drop-shadow(0 0 3px #ffdc79) drop-shadow(0 0 6px #f5b640) drop-shadow(0 0 12px #edb13eab)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-celebrating{animation:cc-or-evaluation .94s cubic-bezier(.2,.75,.28,1) both}
@keyframes cc-or-evaluation{
  0%{transform:translateY(0);filter:drop-shadow(0 1px 2px #44290c)}
  36%{filter:drop-shadow(0 0 2px #fff8cb) drop-shadow(0 0 5px #ffda67) drop-shadow(0 0 12px #ffc256) drop-shadow(0 0 18px #eda332a6)}
  68%{transform:translateY(-12.5%)}
  100%{transform:translateY(-10%);filter:drop-shadow(0 0 1px #fffae5) drop-shadow(0 0 3px #ffdc79) drop-shadow(0 0 6px #f5b640) drop-shadow(0 0 12px #edb13eab)}
}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-footer{position:relative;isolation:isolate;margin:0;background:radial-gradient(ellipse at 50% 0,#14533f 0,#073e2e 54%,#053023 100%);padding:0 6% 3.7%;color:#fff3d6;border-top:2px solid #d4ae69}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-validate{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.6em;max-width:100%;min-width:56%;min-height:44px;vertical-align:top;margin:-2.1% auto 0;
  box-shadow:inset 0 0 0 2px #e5ac52,inset 0 0 0 3px #fff1c1,inset 0 -3px 7px #a57532,0 4px 9px #05251ba8;
  border:1px solid #976529;border-radius:100px;background:linear-gradient(110deg,#e6b760,#ffdf91 49%,#ecc06d 77%,#dba34e);padding:.45em 1.48em;
  color:#0c2e21;font:600 clamp(16px,3.65cqw,29px)/1.15 var(--cc-serif);cursor:pointer}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[lang="ar"] .cc-validate{font-family:var(--cc-ar)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-validate::after{content:"›";font:400 1.3em/1 var(--cc-serif)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[dir="rtl"] .cc-validate::after{content:"‹"}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-validate:disabled{cursor:default;opacity:1;filter:saturate(.54);color:#3f402c}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[data-state="right"] .cc-validate::after{content:"✓";font-size:.84em}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-msg{margin:1.08em auto .7em;color:#fff2d4;font:500 clamp(13px,2.5cqw,19px)/1.4 var(--cc-serif)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[lang="ar"] .cc-msg{font-family:var(--cc-ar)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[data-state="wrong"] .cc-msg,:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[data-state="retry"] .cc-msg{color:#ffdcc5}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam[data-state="right"] .cc-msg{color:#ffdf92}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-correction{margin:.1em auto .35em;color:#fff2d5;font:500 clamp(23px,4.4cqw,35px)/1.36 var(--cc-ar)}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-correction em{color:#ffda89;font-style:normal}
:is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-correction small{display:block;color:#ead7ad;font:500 14px/1.4 var(--cc-serif)}
@container(max-width:520px){
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-instruction{min-height:132px;padding:8.8% 21.5% 1.3%}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-tense{font-size:clamp(11px,2.65cqw,14px)}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-instruction p{font-size:clamp(14px,3.65cqw,19px);line-height:1.12}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-board{min-height:95px}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-number{font-size:clamp(13px,4.3cqw,20px)}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-exam-title{font-size:clamp(14px,3.8cqw,19px)}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-exam-title{max-width:95%;text-align:center;text-wrap:balance}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-count{font-size:clamp(11px,3.1cqw,15px);word-spacing:-.08em}
}
@container(max-width:345px){
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-instruction{min-height:150px;padding:11% 20% 0}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head{grid-template-columns:15% minmax(0,1fr) 17%}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-exam-title{font-size:14px;line-height:1.05;margin:0 auto;max-width:90%}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-head .cc-count{font-size:11px}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-footer{padding-inline:3.5%}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam .cc-pair{font-size:clamp(25px,8.5cqw,30px);gap:1.8cqw}
}
@media(prefers-reduced-motion:reduce){
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card{transition:none}
  :is(#corps .aev-stage,.aev-stage) :where(.aev-question.aev-chest-question) > .cc-game.cc-exam button.cc-card.is-celebrating{animation:none}
}
/* Only the conjugation question uses the photographed chest, with the exam's controls. */
:is(#corps .aev-stage,.aev-stage) .aev-chest-question {
  padding:0!important;
}
:is(#corps .aev-stage,.aev-stage) .aev-chest-question > .cc-game.cc-exam {
  margin:0 auto;max-width:100%;border:0;border-radius:0;box-shadow:none;
}
.aev-stage:has(> .aev-chest-question) > .aev-head {
  display:flex;align-items:center;justify-content:space-between;gap:1em;padding:8px 4%;
}
:is(#corps .aev-stage,.aev-stage):has(> .aev-chest-question) > .aev-head .aev-title {
  font-size:clamp(16px,3.2cqw,22px)!important;
}
.aev-stage:has(> .aev-chest-question) > .aev-head .aev-count {
  position:absolute;clip-path:inset(50%);width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;white-space:nowrap;border:0;
}
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam[data-prompt="phrase"] .cc-board {
  min-height:clamp(110px,25cqw,185px);
  padding:3% 16% 2%;gap:.75cqw;
}
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam[data-prompt="phrase"] .cc-pair {
  width:100%;min-width:0;
  font-size:clamp(18px,5.4cqw,36px);line-height:1.55;
}
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam[data-prompt="phrase"] .cc-pair bdi {
  white-space:normal;text-wrap:balance;
}
/* Three candidate forms keep their natural portrait aspect on the shelf. */
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam .cc-cards:has(>:nth-child(3):last-child) {
  inset-inline:16%;gap:3%;
}
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam :is(.cc-validate,.cc-replay,.cc-card):focus-visible {
  outline-color:#ffe197!important;
}
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam .cc-msg:not(:empty) {
  margin:.65em auto .25em;line-height:1.55;
}
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam .cc-msg .aev-correction {
  margin:.3em 0;color:#fff7de;
}
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam .aev-correction bdi {
  display:inline-block;margin-inline:.32em;font-size:1.35em;
}
:is(#corps .aev-stage,.aev-stage) .cc-game.cc-exam .cc-replay {
  background:transparent;color:#fff0ca;border:1px solid #bb995c;border-radius:100px;margin:.4em 0 0;padding:.4em 1em;font:500 clamp(13px,2.3cqw,17px)/1.45 var(--cc-serif);
}
