/* ==========================================================================
   ASHTAR KATKOOT - ANIMAL ADVENTURE 3 : "THE STUCK BALL"
   PASS 1 - story opening, Meet Our Friends, and the first crate (1/4).
   ==========================================================================

   PRESENTATION ONLY. Scoped entirely under `#app .adv3-*`, so nothing here can
   reach Chapter 1, Adventure 2, or any other screen. Every rule below is either
   written for this file or copied from animal-adventure2.css - which is already
   approved on a real phone - and re-prefixed. No layout value was invented.
   Adventure 2's own stylesheet is not modified.

   WHY A SEPARATE STYLESHEET AT ALL. The chapter map, Chapter 1 and Adventure 2
   are all approved and frozen. Sharing a stylesheet would mean editing one of
   them to add a screen, which is exactly the kind of shared-file edit that turns
   into a regression nobody was looking for. A separate file with its own prefix
   means this pass cannot change how anything that already shipped looks.
   ========================================================================== */
/* ---------- the screen ---------- */

#app .adv3-screen{
  position:fixed;
  inset:0;
  z-index:24;
  display:flex;
  flex-direction:column;
  overflow:hidden;              /* the stage scrolls, not the page */
  background:#0f2a17;
  color:#f6fff0;
  font-family:inherit;
  touch-action:manipulation;
}

#app .adv3-screen[hidden]{display:none}
/* ---------- the scene backdrop ----------
   TWO layers that cross-fade. One layer would have to snap from one picture
   to the next, which is exactly the slideshow feeling the story rewrite was
   meant to remove. The pair is the same two-image idea Chapter 1 uses for its
   own story, reimplemented here so animal-story.js is never touched. */

#app .adv3-scene{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}

#app .adv3-scene-layer{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .62s ease;
  pointer-events:none;         /* the art is never a tap target any more */
}

#app .adv3-scene-layer.is-front{opacity:1}
/* Fills the letterbox bands a contained portrait artwork leaves on a taller
   phone screen, using a blurred copy of that same picture so the empty area
   is the scene's own colour rather than a flat void. Decoration only: it is
   aria-hidden, it is never a target, and the real artwork always sits on top
   of it at full sharpness. */

#app .adv3-scene-blur{
  position:absolute;
  inset:-8%;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  filter:blur(26px) saturate(1.15) brightness(.62);
  -webkit-filter:blur(26px) saturate(1.15) brightness(.62);
}
/* The window the picture is shown through. Two fills: the whole artwork,
   contained; or one framed region of it, for the one source that is a full
   book spread rather than a single scene. */

#app .adv3-scene-crop{
  position:absolute;
  inset:0;
  overflow:hidden;
}

#app .adv3-scene-crop.is-full img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;         /* the whole picture, never stretched */
}

#app .adv3-scene-crop.is-crop{
  inset:auto;
  left:0;
  right:0;
  top:0;
  bottom:0;
}

#app .adv3-scene-crop.is-crop img{
  position:absolute;
  display:block;
  max-width:none;              /* the percentage geometry is the sizing method */
  object-fit:fill;             /* exact mapping: no resampling surprise */
}

#app .adv3-scene-img{
  user-select:none;
  -webkit-user-drag:none;
  /* Deliberately transparent. With object-fit:contain the element fills the
     frame while the picture sits inside it, so an opaque background here would
     paint over the blurred backdrop and turn the letterbox bands back into the
     flat bars that backdrop exists to avoid. */
  background:transparent
}
/* Warm, gentle, and never a flat grey box: the top stays bright for the sky
   and the bottom deepens so white controls and captions stay readable. */

#app .adv3-scene-veil{
  transition:opacity .62s ease;
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(10,40,18,.30) 0%,rgba(8,32,15,.10) 26%,rgba(8,30,14,.34) 62%,rgba(6,24,12,.62) 100%);
}
/* ---------- the story caption ----------
   A caption, never a substitute voice. The approved MP3 is always the primary
   path; this text is what the child reads while the recording plays, and what
   they read instead if audio is unavailable. */

#app .adv3-caption{
  position:absolute;
  z-index:2;
  left:50%;
  bottom:calc(9% + env(safe-area-inset-bottom));
  width:min(92%,520px);
  transform:translateX(-50%);
  padding:10px 16px;
  border-radius:18px;
  border:2px solid rgba(255,255,255,.55);
  background:rgba(12,44,22,.62);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  color:#fff;
  font-size:clamp(15px,4.2vw,19px);
  font-weight:1000;
  line-height:1.5;
  text-align:center;
  text-shadow:0 1px 3px rgba(0,0,0,.5);
  opacity:0;
  transition:opacity .22s ease;
  pointer-events:none;
}

#app .adv3-caption.is-on{opacity:1}
/* ---------- top bar: back + the bridge tracker ---------- */

#app .adv3-top{
  position:relative;
  z-index:5;
  display:flex;
  align-items:center;
  gap:8px;
  padding:calc(8px + env(safe-area-inset-top)) 10px 8px;
  background:linear-gradient(180deg,rgba(6,26,12,.62),rgba(6,26,12,0));
}

#app .adv3-back{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border:2px solid rgba(255,255,255,.7);
  border-radius:50%;
  background:linear-gradient(180deg,#a9743c,#8a5a2b);
  color:#fff8e8;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 3px 0 #5f3c19,0 6px 12px rgba(0,0,0,.32);
}

#app .adv3-back:active{transform:translateY(2px);box-shadow:0 1px 0 #5f3c19}
/* ---------- THE BRIDGE TRACKER ----------
   Four planks that fill left to right, plus an n/4 readout. Built as a general
   0-4 progress display, so milestone 2/4 and 3/4 need no new CSS and no new
   markup - only a bigger value. */
/* The plank that was JUST completed gets a short, one-off build shimmer, so
   the celebration always points at real new progress. */

/* ---------- the stage: the one scroll container ---------- */

#app .adv3-stage{
  position:relative;
  z-index:4;
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  /* Reserve the scrollbar's width ALWAYS. Without this the stage's content box
     narrows the moment the content outgrows the viewport, the panel narrows
     with it, and every card inside changes box - measured as 166x158 becoming
     143x136 mid-activity. That is invisible to a child but it destroys the one
     thing a recall game relies on: that a position means something. */
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
  padding:0 10px calc(14px + env(safe-area-inset-bottom));
  display:flex;
  flex-direction:column;
  align-items:center;
}
/* On the story screen the stage is a pass-through: the scene behind it is the
   whole interaction, and the caption must not eat the tap. */
/* On the story screen the stage is a pass-through: the picture speaks for itself
   and the only thing on it is the dim skip control. */

#app .adv3-stage.is-story{pointer-events:none;overflow:hidden;padding:0}

#app .adv3-stage.is-story .adv3-skip{pointer-events:auto}


#app .adv3-panel{
  width:100%;
  max-width:440px;
  margin-top:6px;
  padding:12px 12px 14px;
  border:2px solid rgba(255,255,255,.7);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,252,240,.96),rgba(250,242,222,.94));
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
  color:#33240f;
  box-shadow:0 6px 0 rgba(120,88,30,.32),0 12px 24px rgba(0,0,0,.34);
}


#app .adv3-title{
  margin:0 0 2px;
  color:#2f4a1c;
  font-size:clamp(16px,4.6vw,20px);
  font-weight:1000;
  line-height:1.35;
  text-align:center;
}

#app .adv3-sub{
  margin:0 0 8px;
  color:#6b7a45;
  font-size:clamp(11px,3.1vw,13px);
  font-weight:1000;
  line-height:1.4;
  text-align:center;
}

#app .adv3-step{
  margin:0 0 6px;
  color:#8a6a2c;
  font-size:clamp(11px,3vw,13px);
  font-weight:1000;
  text-align:center;
}
/* ---------- the skip control ----------
   Deliberately DIM, small, and late. It fades in a beat after the story beat
   starts so it never presents itself as the thing the child is meant to press.
   The story advances perfectly well if this is never touched, and pressing it
   many times still advances exactly one beat, because it shares the same
   guarded advance path. */

#app .adv3-skip{
  position:absolute;
  z-index:6;
  inset-inline-end:14px;
  bottom:calc(16px + env(safe-area-inset-bottom));
  min-height:34px;
  padding:6px 14px;
  border:1.5px solid rgba(255,255,255,.42);
  border-radius:999px;
  background:rgba(10,38,18,.42);
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
  color:rgba(255,255,255,.88);
  font-size:clamp(10px,2.8vw,12px);
  font-weight:1000;
  line-height:1;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
}

#app .adv3-skip.is-on{opacity:1;pointer-events:auto}
/* ---------- the spoken hand-off (c2_sound_intro) ----------
   A calm, non-interactive screen. The four friends are plain elements, not
   buttons, so there is genuinely nothing to answer while the task is being
   explained. */
/* A listening cue, not dialogue. It fills what would otherwise be a blank
   waiting line, and says "a voice is talking, wait" without inventing any
   words to match audio that has not been transcribed. */
/* ---------- the continuation CTA, deliberately NOT an animal ----------
   Phone review flagged the button being read as a fifth choice, because it
   used to sit immediately under the card grid with the same weight as a card.
   Three things separate it now:
     1. it lives in its own row with real space above it, not inside the grid;
     2. it is full width and visually a BUTTON, with a bottom edge to press
        down on, which a picture card has no reason to have;
     3. it only appears once the completion praise has finished, so it never
        arrives while the child is still listening to the fourth animal.
   The spacing is the load-bearing part: at 360x640 the grid is tight, and a
   button that shares a margin with a card is a mis-tap waiting to happen. */

#app .adv3-cta-row{
  margin-top:14px;
  padding-top:12px;
  border-top:2px dashed rgba(120,150,90,.42);
}

#app .adv3-cta-row .adv3-cta{
  min-height:56px;              /* comfortably above a child's smallest tap */
  font-size:clamp(15px,4.3vw,18px);
  border-radius:18px;
  box-shadow:0 6px 0 #23794c,0 10px 18px rgba(0,0,0,.3);
}

#app .adv3-cta-row .adv3-cta:active{
  transform:translateY(3px);
  box-shadow:0 3px 0 #23794c;
}
/* Discovery, the moment all four have been heard: the set is visibly closed
   before the child is congratulated for it. */

#app .adv3-discover.is-complete .adv3-dgrid{
  box-shadow:inset 0 0 0 2px rgba(95,217,127,.45);
  border-radius:16px;
  transition:box-shadow .3s ease;
}

#app .adv3-discover.is-ready .adv3-dcard{
  opacity:.94;
}
/* ---------- MEET OUR FRIENDS ---------- */

#app .adv3-dgrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px;
  margin:2px 0 8px;
}

#app .adv3-dcard{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
  padding:8px 6px 9px;
  border:2.5px solid rgba(255,255,255,.95);
  border-radius:18px;
  background:linear-gradient(180deg,#fffdf4,#f6ecd6);
  box-shadow:0 4px 0 #c9a45a,0 7px 13px rgba(60,40,10,.22);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform .1s ease,box-shadow .1s ease;
}

#app .adv3-dcard:active{transform:translateY(3px);box-shadow:0 1px 0 #c9a45a}

#app .adv3-dcard-art{
  display:block;
  width:100%;
  max-width:104px;
  aspect-ratio:1/1;
}

#app .adv3-dcard-art img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;         /* transparent 3D art, never cropped or squashed */
  filter:drop-shadow(0 2px 3px rgba(74,48,16,.28));
}

#app .adv3-dcard-en{
  color:#33240f;
  font-size:clamp(14px,4vw,17px);
  font-weight:1000;
  line-height:1.15;
  letter-spacing:.03em;
}

#app .adv3-dcard-ar{
  color:#7a5320;
  font-size:clamp(11px,3.1vw,13px);
  font-weight:1000;
  line-height:1.3;
}

#app .adv3-dcard.is-heard{
  border-color:#7ee2ac;
  box-shadow:0 4px 0 #3fae74,0 0 0 3px rgba(126,226,172,.42),0 7px 13px rgba(60,40,10,.22);
}

#app .adv3-dcard-tick{
  position:absolute;
  top:5px;
  inset-inline-end:5px;
  display:none;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#2fa96a;
  color:#fff;
  font-size:13px;
  font-weight:1000;
  line-height:1;
  box-shadow:0 1px 3px rgba(0,0,0,.3);
}

#app .adv3-dcard.is-heard .adv3-dcard-tick{display:flex}

/* The counter gets its own row so it cannot share vertical space with the
   note under it: both are EMPTIED and refilled as the child taps, and a
   line that changes height under a finger is a line that moves the tap
   target. Fixed height, centred, always present. */
#app .adv3-countrow{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  margin:2px 0 0;
}
#app .adv3-heardcount{
  margin:0;
  color:#7a5320;
  font-size:clamp(12px,3.3vw,14px);
  font-weight:1000;
  text-align:center;
  line-height:1.3;
}

#app .adv3-progress-note{
  margin:2px 0 8px;
  color:#6b7a45;
  font-size:clamp(11px,3vw,12.5px);
  font-weight:1000;
  text-align:center;
  line-height:1.4;
}
/* ---------- the primary action ---------- */

#app .adv3-cta{
  display:block;
  width:100%;
  min-height:50px;
  padding:12px 16px;
  border:2.5px solid rgba(255,255,255,.9);
  border-radius:16px;
  background:linear-gradient(180deg,#8ef0a8,#3fb56f);
  color:#08301c;
  font-size:clamp(14px,4vw,17px);
  font-weight:1000;
  line-height:1.2;
  text-align:center;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 5px 0 #23794c,0 9px 16px rgba(0,0,0,.3);
}

#app .adv3-cta[hidden]{display:none}

#app .adv3-cta:active{transform:translateY(3px);box-shadow:0 2px 0 #23794c}

#app .adv3-cta-ghost{
  background:linear-gradient(180deg,#fff6d8,#ffe9a8);
  color:#4a3210;
  box-shadow:0 5px 0 #b98a24,0 9px 16px rgba(0,0,0,.3);
}
/* ---------- WHO MADE THAT SOUND? ---------- */
/* A small moving "it is playing" cue. Purely decorative - the child can always
   press the button again, whether or not this is animating. */
/* Four picture choices. NO TEXT: this activity is sound recognition, and a
   printed word next to the picture would let the child answer by reading. */

/* Wrong is gentle: a short wobble and a return to normal. No red, no cross, no
   reveal, and the card goes straight back to being tappable. */

@keyframes adv3shake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-5px)}
  75%{transform:translateX(5px)}
}

#app .adv3-panel.shake{animation:adv3shake .34s ease-in-out 1}
/* Reserve room only once there is something to say, so an unanswered question
   does not sit above a band of dead space at the bottom of the card. */
/* ---------- MILESTONE 1/4 ---------- */

#app .adv3-milestone{position:relative;overflow:hidden}

#app .adv3-milestone-count{
  margin:2px 0 4px;
  color:#2f7a4c;
  font-size:clamp(30px,10vw,44px);
  font-weight:1000;
  line-height:1.05;
  text-align:center;
  letter-spacing:.01em;
  text-shadow:0 2px 0 rgba(255,255,255,.7);
}

#app .adv3-donelist{
  display:flex;
  justify-content:center;
  gap:8px;
  margin:6px 0 2px;
  padding:0;
  list-style:none;
}

#app .adv3-donelist li{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
  padding:4px 7px;
  border-radius:12px;
  background:rgba(255,255,255,.6);
  box-shadow:inset 0 0 0 1.5px rgba(95,217,127,.4);
}

#app .adv3-donelist img{
  display:block;
  width:clamp(30px,9vw,40px);
  height:clamp(30px,9vw,40px);
  object-fit:contain;
}

#app .adv3-donelist span{
  color:#2f4a1c;
  font-size:clamp(10px,2.8vw,12px);
  font-weight:1000;
  line-height:1.2;
}
/* A short, one-off sparkle burst behind the milestone card. */

#app .adv3-sparkles{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
}

#app .adv3-sparkles i{
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ffe9a8;
  opacity:0;
  animation:adv3spark 1.1s ease-out 1;
}

@keyframes adv3spark{
  0%{opacity:0;transform:translateY(6px)}
  25%{opacity:1}
  100%{opacity:0;transform:translateY(-42px)}
}

#app .adv3-milestone-foot{margin-top:8px;text-align:center}

#app .adv3-continuation{
  margin:0 0 8px;
  color:#6b7a45;
  font-size:clamp(11px,3.1vw,13px);
  font-weight:1000;
  line-height:1.4;
}
/* ---------- ANIMAL MEMORY ---------- */
/* The panel becomes a column so the board can claim the leftover height
   instead of the page growing and the stage scrolling. */
/* The card itself is a 3D flip. Two faces, back-to-back, and the rotation is
   the ONLY motion that carries meaning here, so it is the one animation that
   is never cut for speed. */
/* FACE DOWN: a warm star, deliberately not a question mark and not a lock.
   It reads as "something is hidden here", which is the invitation the game
   needs, and it is not a control, so it never looks tappable on its own. */
/* FACE UP: the animal, contained and centred, on a light board so the art
   keeps its own colours. Nothing is printed on it. */
/* MATCHED: permanently face-up, with a green rim so the child can see at a
   glance which pairs are already banked and never re-taps one. */
/* NOT A MATCH. Deliberately soft: a cool, low-contrast outline and NOTHING
   else. No red, no shake, no cross. Turning over two cards that do not go
   together is the mechanic of the game, not a mistake, and the visual has to
   agree with that or the child learns to play afraid of the board. */
/* Neutral, soft, and FULLY OPAQUE. Reducing opacity here would make the two
   pictures harder to compare and would read as punishment; the outline alone
   carries the signal. */
/* The reward pulse lives on the OUTER CARD, which has no competing transform.
   Putting it on the flipping inner element is what produced the flicker. */
/* LOCKED - during the spoken introduction, during a comparison, and after
   the final match. The dimming is on the BOARD, not the cards, so the eight
   pictures stay fully legible throughout: a locked card should still look
   like a card, not a grey rectangle. */
/* Completed board: every slot is empty but every slot is still there, so the
   geometry the child learned is unchanged while the completion line plays. */
/* The listening line under the board. Present only while the introduction is
   speaking, then removed outright so it cannot be left behind as a stray
   sentence under a finished board. */
/* The listening line keeps its height forever once it has been rendered, because
   it is EMPTIED rather than removed when the narration ends. Removing it would
   hand its height back to the flex board, grow every row and move every card -
   or, on Missing Letter, shift the letter buttons under the child's finger. */
/* ---------- milestone 2/4 and the QA review stop ---------- */
/* Deliberately unlike the rest of the game. This is a review stop, and it
   should look like one - nobody should mistake it for designed gameplay,
   because the next milestones do not exist yet. */

#app .adv3-qastop{
  margin:10px 0 4px;
  padding:9px 10px;
  border:2px dashed #b4762a;
  border-radius:12px;
  background:rgba(255,244,222,.9);
  color:#7a4f14;
  font-size:clamp(10px,2.9vw,12px);
  font-weight:1000;
  line-height:1.55;
  text-align:center;
}
/* ---------- MISSING LETTER ---------- */
/* Chapter 1's structure, reproduced: a slot per character in DOM order, LTR,
   with only the blank slot marked. The `dir="ltr"` on the board is not optional -
   the surrounding document is RTL, and without it the word reads backwards. */
/* The placeholder underscore. A PSEUDO-ELEMENT, never a text node: the letter
   this slot is waiting for must not exist anywhere in the DOM before the child
   chooses it - not as visible text, not as low-opacity text, and not as
   something a screen reader will read out. */
/* The slot keeps its box at all times: `width`/`height` are explicit, and an
   empty flex child with no content would otherwise collapse. */
/* A wrong letter is marked SOFTLY. It is never written into the word, and the
   only thing that changes is this button, so the retry target is obvious. */
/* The completed board: still the child's work, just frozen. */
/* WHO IS MISSING? (activity four)
   *
   * THE CROSS-FADE DURATION LIVES HERE, not in a JS constant, because it is a
   * CSS transition rather than a timer. Both rows sit in the same flex column and
   * swapping the study row for the question row must not change layout - so the
   * change has to be animated by the stylesheet. .38s is long enough to read as a
   * change of scene rather than a blink, and short enough not to stall the round.
   *
   * `visibility` rather than `display` on the slots, and the delay on the
   * visibility change, are what stop a slot from appearing and disappearing inside
   * a single paint. They also mean no image is ever re-requested, because no
   * element is created, destroyed or re-`src`'d between rounds.
   *
   * Do NOT reintroduce a JS constant for this duration: nothing in the controller
   * reads one, so it would look authoritative and change nothing.
   * ------------------------------------------------------------------------- */
/* `visibility` rather than `display`: the slot keeps its box, so nothing
   reflows and no image is ever re-requested. */
/* ---------- the completed bridge (4/4) ---------- */

#app .adv3-milestone.is-complete-bridge{
  border-color:rgba(150,235,175,.95);
  box-shadow:0 0 0 3px rgba(95,217,127,.35),0 10px 24px rgba(20,80,45,.28);
}

#app .adv3-sparkles-wide i{
  width:9px;
  height:9px;
}

#app .adv3-milestone.is-crossing{
  border-color:rgba(255,231,160,.95);
}
/* ---------- small / short phones ---------- */

@media (max-width:380px){

  #app .adv3-panel{padding:10px 10px 12px;border-radius:20px}

  #app .adv3-dcard-art{max-width:88px}

  #app .adv3-milestone-count{font-size:clamp(26px,9vw,36px)}
}

@media (max-height:700px){

  #app .adv3-caption{bottom:calc(6% + env(safe-area-inset-bottom));padding:8px 14px}

  #app .adv3-dcard{padding:6px 5px 7px}

  #app .adv3-dcard-art{max-width:76px}

  #app .adv3-milestone-count{font-size:clamp(24px,8vw,34px)}

  #app .adv3-donelist img{width:clamp(26px,7.6vw,34px);height:clamp(26px,7.6vw,34px)}
/* On a 640-tall screen the header is what competes with the board, so it
     gives up its margins and the four animal cards keep their pixels. The columns
     and rows do NOT change: a different grid shape per screen size would mean
     the layout cannot be reasoned about or tested. */
}
/* ---------- reduced motion ----------
   The plank fill and the tap feedback are the only motion that carries
   meaning, so they get a short, opacity-free substitute rather than nothing. */

@media (prefers-reduced-motion:reduce){

  #app .adv3-panel.shake{animation:none}

  #app .adv3-sparkles{display:none}

  #app .adv3-caption{transition:none}

  #app .adv3-scene-layer{transition-duration:.18s}
/* Nothing else needs handling here, and it is worth saying why rather than
   leaving a reader to wonder: this adventure has no flip card, no two-state
   face and no cross-fading row. The Discovery card's only motion is its
   press-down transform, and the crate fill is a scaleX transition - both of
   which are already dropped above with the rest. The heard state is a border
   and a tick, so a child who prefers reduced motion loses no information. */

  #app .adv3-scene-veil{transition:none}

  #app .adv3-skip{transition:none}
}

/* ---------- THE CRATE TRACKER ----------
   Four crates that fill left to right, plus an n/4 readout. This is the direct
   analogue of Adventure 2's plank tracker and it deliberately mirrors it: same
   pill, same segment height, same left-origin fill, same one-off shimmer on the
   segment that was JUST completed, so the celebration always points at real new
   progress rather than at a decoration.

   Built as a general 0-4 display even though only 0 and 1 exist in this pass, so
   that milestone 2/4 needs no new CSS and no new markup - only a larger value.
   The later passes will supply the artwork; nothing is faked here.
   */
#app .adv3-crates{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px 10px;
  border:2px solid rgba(255,255,255,.7);
  border-radius:999px;
  background:rgba(10,40,20,.52);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}
#app .adv3-cratebar{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  gap:4px;
  /* Explicitly LTR, even though the screen is Arabic. The crates are stacked one
     above another in the story, and the child has to watch the FIRST crate land
     first - so crate 1 must be on the left. Left to the natural RTL order it
     would sit on the right and the first milestone would look like it happened
     at the far end of the stack. */
  direction:ltr;
}
#app .adv3-crate{
  position:relative;
  flex:1 1 0;
  height:12px;
  border-radius:4px;
  background:rgba(255,255,255,.24);
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.34);
  overflow:hidden;
}
#app .adv3-crate-fill{
  position:absolute;
  inset:0;
  display:block;
  border-radius:inherit;
  /* Wood, because that is what the thing being counted is. */
  background:linear-gradient(180deg,#e2b479,#a9713a);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
  transform:scaleX(0);
  transform-origin:left center;       /* a crate is pushed into place from the left */
  transition:transform .5s cubic-bezier(.2,.9,.3,1);
}
#app .adv3-crate.is-done .adv3-crate-fill{transform:scaleX(1)}
/* The crate that was JUST placed gets a short, one-off shimmer, so the
   celebration always points at real new progress. */
#app .adv3-crate.is-newest .adv3-crate-fill{
  background:linear-gradient(180deg,#f6d5a2,#c98a4b);
  animation:adv3crate .7s ease-out 1;
}
@keyframes adv3crate{
  0%{filter:brightness(1.9)}
  60%{filter:brightness(1.25)}
  100%{filter:brightness(1)}
}
#app .adv3-cratecount{
  flex:0 0 auto;
  color:#ffe9c8;
  font-size:clamp(12px,3.4vw,15px);
  font-weight:1000;
  line-height:1;
  letter-spacing:.02em;
  white-space:nowrap;
}

/* ---------- the crate tracker on a small screen ---------- */
@media (max-width:380px){
  #app .adv3-crates{padding:4px 7px;gap:6px}
  #app .adv3-cratebar{gap:3px}
  #app .adv3-crate{height:11px;border-radius:3px}
  #app .adv3-cratecount{font-size:clamp(11px,3.1vw,13px)}
}
@media (max-height:700px){
  #app .adv3-crates{padding:4px 8px}
  #app .adv3-crate{height:10px}
  #app .adv3-cratecount{font-size:clamp(11px,3.1vw,13px)}
}

/* ====================================================================== *
 * ACTIVITY 2 - CHOOSE THE PICTURE
 *
 * Everything below is EXTRACTED from animal-adventure2.css and re-prefixed,
 * the same way the rest of this file was built, because Adventure 2's sound
 * recognition board is the strongest Choose-the-Picture language already in
 * the project and a second, different-looking one would be a worse product.
 * Carried across: the 2x2 grid, the card, the correct state, the gentle wrong
 * wobble, the replay pill, the five-bar "it is speaking" wave, and the
 * feedback line with its reserved-height rule.
 *
 * New here, and only here:
 *   - .adv3-ccard carries --pop-delay and animates its own entrance
 *   - .adv3-choose.is-locked is the visual half of the input lock
 *   - .adv3-replay-txt is the replay pill's label
 *
 * `transform` is used on the cards for the pop, which is a TRANSITION of
 * nothing meaningful: no image is scaled by it (the animal is `object-fit:
 * contain` inside a fixed square), so the "never scale an important image"
 * rule is respected - the art only ever changes box through layout.
 * ====================================================================== */

/* ---------- THE BOARD ---------- */

#app .adv3-cgrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px;
}

#app .adv3-ccard{
  position:relative;
  display:block;
  padding:8px 6px;
  border:2.5px solid rgba(255,255,255,.95);
  border-radius:18px;
  background:linear-gradient(180deg,#fffdf4,#f4ead4);
  box-shadow:0 4px 0 #c9a45a,0 7px 13px rgba(60,40,10,.22);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform .1s ease,box-shadow .1s ease;
  /* `both` matters: it holds the FROM state for the whole delay, so a card
     scheduled for +330 ms is genuinely invisible rather than already sitting
     there at full opacity waiting for its turn. */
  animation:adv3cardin .26s ease-out both;
  animation-delay:var(--pop-delay,0ms);
}

/* The entrance. opacity 0 -> 1 with scale(.86) -> 1 and a small rise, so it
   reads as four things arriving rather than one block of pictures appearing.
   `--pop-delay` is set per card from the ALREADY RANDOMISED visual order, so
   the order the cards pop in carries no information about the answer. */
@keyframes adv3cardin{
  0%{opacity:0;transform:translateY(8px) scale(.86)}
  60%{opacity:1}
  100%{opacity:1;transform:translateY(0) scale(1)}
}

#app .adv3-ccard-art{
  display:block;
  width:100%;
  max-width:112px;
  margin:0 auto;
  aspect-ratio:1/1;
}

/* Transparent 3D character art on a cream card: `contain` always, so nothing
   is ever cropped or squashed to fill the square. */
#app .adv3-ccard-art img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 2px 3px rgba(74,48,16,.28));
}

#app .adv3-ccard:active{transform:translateY(3px);box-shadow:0 1px 0 #c9a45a}

#app .adv3-ccard-tick{
  position:absolute;
  top:5px;
  inset-inline-end:5px;
  display:none;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#2fa96a;
  color:#fff;
  font-size:13px;
  font-weight:1000;
  line-height:1;
  box-shadow:0 1px 3px rgba(0,0,0,.3);
}

/* Correct: immediate, unmissable, and shown on the card the child actually
   pressed - never on a different card, so there is nothing to misread. */
#app .adv3-ccard.is-right{
  border-color:#5fd97f;
  background:linear-gradient(180deg,#eafff0,#d6f7e2);
  box-shadow:0 4px 0 #2b7c3e,0 0 0 4px rgba(95,217,127,.5),0 7px 13px rgba(60,40,10,.22);
  animation:adv3breathe .4s ease-out 1;
  animation-delay:0ms;         /* the entrance must not replay on top of this */
}

#app .adv3-ccard.is-right .adv3-ccard-tick{display:flex}

/* Reuses the SAME keyframes Adventure 3 already ships for a wrong Discovery
   answer, so a wrong tap feels identical in both activities. */
#app .adv3-ccard.is-wrong{animation:adv3shake .34s ease-in-out 1}

@keyframes adv3breathe{
  0%{transform:scale(1)}
  45%{transform:scale(1.06)}
  100%{transform:scale(1)}
}

/* ---------- INPUT LOCK ----------
 * The buttons are genuinely `disabled` in the DOM - that is the real guard and
 * it survives a touch that started before the lock landed. This rule is only
 * the visible half: it stops a pressed card from looking live while it cannot
 * be answered, which is the state a child would otherwise try to tap twice. */
#app .adv3-choose.is-locked .adv3-ccard{
  cursor:default;
  box-shadow:0 3px 0 #b9a278;
  filter:saturate(.86);
}

/* ---------- THE FEEDBACK LINE ---------- */

#app .adv3-feedback{
  min-height:0;
  margin:8px 0 0;
  font-size:clamp(12px,3.4vw,15px);
  font-weight:1000;
  line-height:1.4;
  text-align:center;
}

/* Room only once there is something to say, so an unanswered question does not
   sit above a band of dead space. */
#app .adv3-feedback:not(:empty){min-height:22px}

#app .adv3-feedback.is-good{color:#1d7a45}

#app .adv3-feedback.is-soft{color:#a06a1e}

/* ---------- REPLAY / LISTEN ---------- */

#app .adv3-replay{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:48px;
  padding:8px 16px;
  border:2.5px solid rgba(255,255,255,.92);
  border-radius:999px;
  background:linear-gradient(180deg,#fff6d8,#ffd97a);
  color:#4a3210;
  font-size:clamp(13px,3.7vw,16px);
  font-weight:1000;
  line-height:1;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 4px 0 #b98a24,0 7px 14px rgba(0,0,0,.3);
}

#app .adv3-replay-txt{font-size:1em;line-height:1}

#app .adv3-replay:active{transform:translateY(3px);box-shadow:0 1px 0 #b98a24}

#app .adv3-replay:disabled{opacity:.5;cursor:default;box-shadow:0 3px 0 #b98a24}

/* The five-bar "it is speaking" cue. Purely decorative - the child can always
   press replay again whether or not this is animating. */
#app .adv3-wave{
  display:flex;
  align-items:flex-end;
  gap:3px;
  height:26px;
}

#app .adv3-wave i{
  display:block;
  width:4px;
  height:8px;
  border-radius:2px;
  background:rgba(255,255,255,.75);
}

#app .adv3-wave.is-on i{animation:adv3wave .7s ease-in-out infinite}
#app .adv3-wave.is-on i:nth-child(1){animation-delay:0s}
#app .adv3-wave.is-on i:nth-child(2){animation-delay:.1s}
#app .adv3-wave.is-on i:nth-child(3){animation-delay:.2s}
#app .adv3-wave.is-on i:nth-child(4){animation-delay:.3s}
#app .adv3-wave.is-on i:nth-child(5){animation-delay:.4s}

@keyframes adv3wave{
  0%,100%{height:7px}
  50%{height:24px}
}

/* ---------- THE ACTIVITY CARD ---------- */

#app .adv3-choose{
  margin-top:2px;
  padding:10px 10px 12px;
  position:relative;
  overflow:hidden;
}

/* The question's own progress, and the ONLY question counter on this board.
   The crate pill stays on screen above it showing "1 / 4" as well - and that one
   counts crates PLACED, not questions ANSWERED. Two identical fractions meaning
   different things is precisely the confusion this avoids, and every assertion
   passed while it was on screen: only a screenshot showed it. */
#app .adv3-qcount{
  flex-direction:column;
  gap:1px;
}

#app .adv3-qcount-label{
  color:#8a6a2c;
  font-size:clamp(10px,2.8vw,12px);
  font-weight:1000;
  line-height:1.2;
}

/* ---------- MILESTONE 2/4: the milestone list reuses the Discovery one ----- */

#app .adv3-milestone-foot .adv3-cta-row{margin-top:8px}

/* ---------- 360px WIDE ----------
 * The grid stays 2x2 at every width. A different grid SHAPE per screen size
 * would move every picture to a new position between devices, and in a game
 * where the child remembers "the zebra was up there" that is the one thing
 * that must not change. Only the picture's pixels shrink. */

@media (max-width:380px){

  #app .adv3-ccard{padding:6px 5px 7px}

  #app .adv3-ccard-art{max-width:92px}

  #app .adv3-choose{padding:9px 9px 11px}
}

/* ---------- 640px TALL ----------
 * Vertical space is the scarce axis here: title, step, two rows of cards, the
 * feedback line, the fraction and the replay pill. The header gives up its
 * margins and the cards give up pixels, in that order - never the grid shape,
 * never the tap target. */

@media (max-height:700px){

  #app .adv3-choose{padding:8px 9px 10px;margin-top:0}

  #app .adv3-choose .adv3-title{margin-bottom:0}

  #app .adv3-choose .adv3-sub{margin-bottom:5px}

  #app .adv3-cgrid{gap:7px}

  #app .adv3-ccard{padding:6px 5px 7px}

  #app .adv3-ccard-art{max-width:84px}

  #app .adv3-feedback{margin:5px 0 0}

  #app .adv3-countrow{min-height:20px;margin-top:0}

  #app .adv3-qcount-label{font-size:10px}

  #app .adv3-cta-row{margin-top:6px}

  #app .adv3-replay{min-height:44px;padding:6px 14px}

  #app .adv3-wave{height:22px}
}

/* ---------- REDUCED MOTION ----------
 * The entrance is the one thing that genuinely must not be animated here: with
 * `both` and a delay, a card is INVISIBLE until its turn, so suppressing the
 * animation without also removing the delay would leave three of the four
 * pictures permanently gone. Both are cancelled together, and the JS still
 * holds the input lock for the same total time - the child waits exactly as
 * long, they simply do not watch it happen. */

@media (prefers-reduced-motion:reduce){

  #app .adv3-ccard{animation:none;opacity:1}

  #app .adv3-ccard.is-right{animation:none}

  #app .adv3-ccard.is-wrong{animation:none}

  #app .adv3-choose.is-locked .adv3-ccard{filter:none}

  #app .adv3-wave.is-on i{animation:none;height:16px}
}
/* FIX 3 - the Activity 3 board, rebuilt as ONE grid.
 *
 * The phone failure was structural, not a matter of shrinking things:
 *
 *   - two INDEPENDENT columns, each stacking four items at its own natural height
 *   - the picture column was four SQUARE cards, so it was ~650 px tall
 *   - the word column was four short bars, so it was ~250 px tall
 *   - half the screen was empty, and the fourth picture was below the fold
 *
 * No amount of tightening fixes that shape, because the two columns do not want
 * the same height. So the board is now ONE grid with four rows and two columns:
 * each row is a picture beside its own word slot, so the rows ARE the alignment,
 * the two sides are guaranteed the same height, and the board's height is set by
 * the tallest row rather than by the sum of a column.
 *
 * The pictures are small and WIDE rather than square. The art is transparent 3D
 * character art on transparent canvas, so a square crop wastes most of its area
 * and a wide box shows the animal larger for the same vertical budget.
 *
 * The grid SHAPE is identical at every width - four rows, two columns, always.
 * A board that rearranges itself between devices destroys the one thing a
 * matching task depends on, which is that a position means something.
 */
#app .adv3-match{
  margin-top:2px;
  padding:8px 8px 10px;
}

/* THE BOARD. Four rows, two columns, gap only.
   `grid-auto-rows` is not used: the row height comes from the picture, and the
   word cell is told to match it, so a word is never taller than its row. */
#app .adv3-mboard{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:repeat(4,1fr);
  gap:7px;
  margin:3px 0 6px;
}

/* THE WORD CARD - left column. It fills its row and centres its label, so the
   word is optically centred against the animal beside it. */
#app .adv3-mword{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:44px;
  padding:4px 6px;
  border:2.5px solid rgba(255,255,255,.92);
  border-radius:14px;
  background:linear-gradient(180deg,#fff6d8,#ffd97a);
  color:#4a3210;
  font-size:clamp(13px,3.9vw,16px);
  font-weight:1000;
  line-height:1.05;
  letter-spacing:.02em;
  text-align:center;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 3px 0 #b98a24;
  transition:transform .1s ease,box-shadow .1s ease;
}

#app .adv3-mword:active{transform:translateY(2px);box-shadow:0 1px 0 #b98a24}

/* THE PICTURE CARD - right column. Deliberately WIDE, not square: the art is
   transparent and centred in its own canvas, so a square box would crop air, not
   animal. A 3:2 box shows more of the animal in the same vertical space. */
#app .adv3-mpic{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:44px;
  padding:3px 5px;
  border:2.5px solid rgba(255,255,255,.95);
  border-radius:14px;
  background:linear-gradient(180deg,#fffdf4,#f4ead4);
  box-shadow:0 3px 0 #c9a45a,0 5px 10px rgba(60,40,10,.18);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform .1s ease,box-shadow .1s ease,border-color .18s ease;
}

#app .adv3-mpic img{
  display:block;
  width:100%;
  height:100%;
  max-height:100%;
  aspect-ratio:3/2;
  object-fit:contain;         /* contain ALWAYS: never cropped, never squashed */
  filter:drop-shadow(0 2px 3px rgba(74,48,16,.28));
}

#app .adv3-mpic:active{transform:translateY(2px);box-shadow:0 1px 0 #c9a45a}

/* Selected on EITHER side. A ring, not a recolour: the picture has to stay
   recognisably the SAME picture, and on the word side it has to stay a word. */
#app .adv3-mpic.is-picked,
#app .adv3-mword.is-picked{
  border-color:#5fb8e6;
  box-shadow:0 3px 0 #2f7fa8,0 0 0 4px rgba(95,184,230,.5);
}

/* A joined pair. Both halves KEEP their place and gain a tint, so the finished
   board still shows WHAT matched WHAT instead of four gaps. */
#app .adv3-mpic.is-matched,
#app .adv3-mword.is-matched{
  border-color:#5fd97f;
  background:linear-gradient(180deg,#eafff0,#d6f7e2);
  color:#1d7a45;
  box-shadow:0 3px 0 #2b7c3e;
  cursor:default;
  opacity:.7;
}

/* Wrong: a short wobble on both halves of the failed pair, then both go. */
#app .adv3-mword.is-wrong,
#app .adv3-mpic.is-wrong{animation:adv3shake .34s ease-in-out 1}

#app .adv3-match.is-locked .adv3-mpic,
#app .adv3-match.is-locked .adv3-mword{filter:saturate(.92)}

/* The counter sits under the board in the same place as Activity 2's, so the two
   activities read as one family. */
#app .adv3-match .adv3-feedback{margin:4px 0 0}

/* ---------- 360px wide: the same four rows, just tighter ---------- */

@media (max-width:380px){

  #app .adv3-match{padding:7px 7px 9px}

  #app .adv3-mboard{gap:5px}

  #app .adv3-mword{padding:3px 4px;font-size:12px;min-height:40px}

  #app .adv3-mpic{padding:2px 4px;min-height:40px}
}

/* ---------- 640px tall: the scarce axis ----------
 * Vertical space is what runs out, so the header gives up its margins first and
 * the board's row gap second. The row COUNT and the two-column shape never
 * change - that would make the board untestable and unlearnable. */

@media (max-height:700px){

  #app .adv3-match{padding:6px 7px 8px;margin-top:0}

  #app .adv3-match .adv3-title{margin-bottom:0;font-size:15px}

  #app .adv3-mboard{gap:5px;margin:2px 0 4px}

  #app .adv3-mword{min-height:38px;padding:3px 4px}

  #app .adv3-mpic{min-height:38px;padding:2px 3px}

  #app .adv3-match .adv3-feedback{margin:3px 0 0}

  #app .adv3-countrow{min-height:18px;margin-top:0}
}

/* ---------- reduced motion ----------
 * The wobble is the only motion here and it carries no information, so removing it
 * costs the child nothing. */

@media (prefers-reduced-motion:reduce){

  #app .adv3-mword.is-wrong,
  #app .adv3-mpic.is-wrong{animation:none}

  #app .adv3-match.is-locked .adv3-mpic,
  #app .adv3-match.is-locked .adv3-mword{filter:none}
}

/* ====================================================================== *
 * ACTIVITY 4 - CHOOSE THE NAME
 *
 * One large picture, four written words. The picture is the biggest thing on
 * the screen because the child is answering ABOUT it.
 * ====================================================================== */

#app .adv3-choosename{
  margin-top:2px;
  padding:10px 10px 12px;
}

#app .adv3-nart{
  width:100%;
  max-width:150px;
  margin:0 auto 4px;
}

#app .adv3-nart img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  filter:drop-shadow(0 3px 5px rgba(74,48,16,.3));
}

/* The same four-cell grid as Activity 2, so the two "choose" activities feel
   like one family and the child learns the shape once. */
#app .adv3-ngrid{gap:8px}

#app .adv3-nword{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:6px 4px;
  border:2.5px solid rgba(255,255,255,.95);
  border-radius:16px;
  background:linear-gradient(180deg,#fffdf4,#f4ead4);
  color:#33240f;
  font-size:clamp(13px,3.9vw,16px);
  font-weight:1000;
  line-height:1.1;
  letter-spacing:.02em;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 4px 0 #c9a45a;
  transition:transform .1s ease,box-shadow .1s ease;
  /* Same staggered entrance as Activity 2's cards, for the same reason: all four
     answers must be on screen before a tap can land. */
  animation:adv3cardin .26s ease-out both;
  animation-delay:var(--pop-delay,0ms);
}

#app .adv3-nword:active{transform:translateY(3px);box-shadow:0 1px 0 #c9a45a}

#app .adv3-nword.is-right{
  border-color:#5fd97f;
  background:linear-gradient(180deg,#eafff0,#d6f7e2);
  box-shadow:0 4px 0 #2b7c3e,0 0 0 4px rgba(95,217,127,.5);
  animation:adv3breathe .4s ease-out 1;
  animation-delay:0ms;
}

#app .adv3-nword.is-wrong{animation:adv3shake .34s ease-in-out 1}

#app .adv3-choosename.is-locked .adv3-nword{filter:saturate(.9)}

/* ====================================================================== *
 * SMALL SCREENS
 *
 * Only pixels shrink. The grid SHAPE never changes per screen size: two columns
 * of two stays two columns of two, because a board that rearranges itself
 * between devices destroys the one thing a matching task depends on, which is
 * that a position means something.
 * ====================================================================== */

@media (max-width:380px){

  #app .adv3-match{padding:9px 9px 11px}

  #app .adv3-mboard{gap:6px}

  #app .adv3-mcol{gap:5px}

  #app .adv3-mpic{padding:4px}

  #app .adv3-mword{min-height:50px;font-size:12px}

  #app .adv3-nart{max-width:124px}

  #app .adv3-nword{min-height:48px;font-size:12px}
}

@media (max-height:700px){

  #app .adv3-match{padding:8px 9px 10px;margin-top:0}

  #app .adv3-match .adv3-title{margin-bottom:0}

  #app .adv3-mboard{gap:5px;margin:3px 0 6px}

  #app .adv3-mcol{gap:4px}

  #app .adv3-mpic{padding:3px}

  #app .adv3-mword{min-height:44px;padding:4px 3px}

  #app .adv3-choosename{padding:8px 9px 10px;margin-top:0}

  #app .adv3-nart{max-width:104px}

  #app .adv3-nword{min-height:42px}

  #app .adv3-ngrid{gap:6px}
}

/* ====================================================================== *
 * REDUCED MOTION
 *
 * The staggered entrance carries `both` and a delay, so a card is INVISIBLE
 * until its turn. Cancelling the animation without also zeroing the delay would
 * leave three of the four answers permanently gone, so both go together - and
 * the JS still holds input for the same total time.
 * ====================================================================== */

@media (prefers-reduced-motion:reduce){

  #app .adv3-mpic.is-wrong,
  #app .adv3-mword.is-wrong{animation:none}

  #app .adv3-nword{animation:none;opacity:1}

  #app .adv3-nword.is-right{animation:none}

  #app .adv3-nword.is-wrong{animation:none}

  #app .adv3-match.is-locked .adv3-mpic,
  #app .adv3-choosename.is-locked .adv3-nword{filter:none}

  #app .adv3-sparkles{display:none}
}