/* Sign Along (ASL) */
.g-asl { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; flex: 1; }
.g-asl .asl-hand { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.g-asl .asl-card { width: min(240px, 58vw); aspect-ratio: 1; border-radius: 32px; padding: 18px; background: radial-gradient(circle at 35% 25%, #fff, #f1ecff);
  box-shadow: 0 10px 0 rgba(43,27,79,.18), 0 0 0 6px rgba(255,255,255,.6); }
.g-asl .asl-copy { font-family: var(--font); font-size: 18px; font-weight: 600; padding: 10px 18px; border-radius: 99px; background: rgba(255,255,255,.9); color: var(--ink); box-shadow: 0 4px 0 rgba(43,27,79,.15); }
.g-asl .asl-copy.done { background: #e9fff3; }
.g-asl .asl-missing { display: grid; place-items: center; width: 100%; height: 100%; font-size: 48px; font-weight: 700; color: #6a5cff; border: 3px dashed #c9bdf7; border-radius: 18px; }
.choices.g-asl-signs .choice { aspect-ratio: 1; min-height: 0; max-height: 170px; padding: 12px; background: #fff; }
.choices.g-asl-signs .choice .asl-hand { height: 100%; }
.choices.g-asl-signs { max-width: 440px; justify-items: center; } /* keep the 2×2 sign cards together, centred */
.choices.g-asl-signs .choice { width: 100%; max-width: 170px; }
.choices.g-asl-words .choice { font-size: clamp(34px, 9vw, 48px); flex-direction: column; }
.choices.g-asl-words .choice small { font-size: 17px; letter-spacing: .12em; }
.asl-target { display: inline-block; min-width: 1.3em; padding: 0 .3em; border-radius: 12px; background: #fff3a0; letter-spacing: .06em; }
.g-asl .asl-player { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.g-asl .asl-frame { width: min(220px, 54vw); aspect-ratio: 1; border-radius: 30px; background: #fff; padding: 16px; display: grid; place-items: center;
  box-shadow: 0 10px 0 rgba(43,27,79,.18); }
.g-asl .asl-frame .asl-hand { animation: popIn .3s; }
/* Fixed square boxes: the tall hand drawings used to stretch the card/frame and push the answers off screen. */
.g-asl .asl-card { height: min(240px, 58vw, 34vh); width: min(240px, 58vw, 34vh); }
.g-asl .asl-frame { height: min(220px, 54vw, 30vh); width: min(220px, 54vw, 30vh); overflow: hidden; }
.g-asl .asl-frame > * { min-width: 0; min-height: 0; max-height: 100%; }
.g-asl .asl-done { font-size: 90px; font-weight: 700; color: #6a5cff; }
.g-asl .asl-trail { display: flex; gap: 6px; min-height: 52px; }
.g-asl .asl-trail span { width: 48px; height: 48px; background: rgba(255,255,255,.85); border-radius: 12px; padding: 4px; animation: popIn .3s; }
.g-asl .asl-slots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.g-asl .asl-slot { width: 64px; height: 84px; border-radius: 16px; border: 3px dashed rgba(255,255,255,.8); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px; }
.g-asl .asl-slot.filled { background: #fff; border-style: solid; border-color: #22c983; animation: correctPop .4s; }
.g-asl .asl-slot .asl-hand { height: 52px; } .g-asl .asl-slot b { font-size: 16px; }
.g-asl .asl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; width: 100%; max-width: 560px; }
.g-asl .asl-tile { aspect-ratio: 1; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 6px 0 rgba(43,27,79,.18); }
.g-asl .asl-tile.used { opacity: .25; transform: scale(.9); }
.trick-step .asl-hand.demo { width: 150px; height: 150px; object-fit: contain; margin: 0 auto; }
.trick-step .asl-hand.demo.sm { width: 96px; height: 96px; }
