/* Blending practice (2026-10-25, js/blend-data.mjs): picture pop-ins, Blend by Ear mystery card, Two-step cheer,
   Say it fast!, Word Ladder, the Stuck helper, the grown-up coaching card and the blending check. Stage px (1600x900). */

/* ---- pictures that pop in as the reward */
.bl-pic { position: absolute; z-index: 20; box-sizing: border-box; display: grid; grid-template-rows: 1fr auto; place-items: center;
  padding: 14px 14px 8px; border-radius: 34px; background: #FFFFFF; box-shadow: 0 10px 0 rgba(20, 52, 36, .12), 0 18px 40px rgba(20, 52, 36, .16);
  border: 5px solid #FFD447; pointer-events: none; }
.bl-pic img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.bl-pic b { font: 700 34px/1.1 var(--font-read); color: var(--navy); }
.bl-pic.small b { font-size: 28px; }
.bl-pic.in-stuck { border-width: 4px; }
.bl-pic.in-stuck b { font-size: 24px; }

/* ---- Blend by Ear: the picture waits behind a sparkly card */
.bl-mystery { position: absolute; width: 250px; height: 250px; box-sizing: border-box; border: 6px dashed #F9B94F; border-radius: 34px; cursor: pointer;
  background: radial-gradient(circle at 30% 25%, #FFF8DA 0%, #FFE9A6 55%, #FFD978 100%); color: #B9790C;
  display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 10px 0 18px; font-family: var(--font-ui);
  box-shadow: 0 10px 0 rgba(185, 121, 12, .25); animation: blWiggle 2.4s ease-in-out infinite; }
.bl-mystery b { font: 800 130px/1 var(--font-read); color: #F29D2E; text-shadow: 0 6px 0 rgba(255, 255, 255, .7); }
.bl-mystery span { font-size: 30px; font-weight: 700; }
@keyframes blWiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) scale(1.03); } }

/* ---- Two-step: the "ma!" / "mat!" cheer under the slider */
.two-cheer { position: absolute; z-index: 25; padding: 8px 26px 10px; border-radius: 999px; background: #FFD447; color: var(--navy);
  font: 700 46px/1 var(--font-read); white-space: nowrap; box-shadow: 0 6px 0 #E5A800; pointer-events: none;
  animation: twoPop .5s cubic-bezier(.34, 1.56, .64, 1); }
.two-cheer.end { background: #4FE0B0; box-shadow: 0 6px 0 #22A97C; }
.two-cheer::before { content: ''; position: absolute; left: 50%; top: -14px; margin-left: -14px; border: 14px solid transparent; border-top: 0; border-bottom-color: #FFD447; }
.two-cheer.end::before { border-bottom-color: #4FE0B0; }
@keyframes twoPop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- Say it fast! */
.fast-word { cursor: pointer; padding: 0 30px; border-radius: 40px; transition: background .2s; }
.fast-word:not(.said) { animation: fastBreath 1.6s ease-in-out infinite; }
.fast-word.said { background: rgba(255, 255, 255, .7); }
.fast-word.said .glyph { color: var(--ink); }
@keyframes fastBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.tap-begin.fast-hint { width: 300px; }

/* ---- Word Ladder */
.ladder { position: absolute; width: 300px; height: 560px; pointer-events: none; }
.lad-rail { position: absolute; top: 18px; /* flush with the top rung: clears the 3-line game intro card (2026-10-27) */ bottom: 0; width: 22px; border-radius: 11px; background: linear-gradient(90deg, #C98B5B, #A86B43); box-shadow: 0 6px 0 rgba(0, 0, 0, .12); }
.lad-rail.l { left: 14px; } .lad-rail.r { right: 14px; }
.lad-rung { position: absolute; left: 4px; right: 4px; height: 70px; margin-top: -35px; display: grid; place-items: center; }
.lad-rung::before { content: ''; position: absolute; left: 8px; right: 8px; top: 26px; height: 18px; border-radius: 9px; background: #C98B5B; }
.lad-word { position: relative; min-width: 150px; padding: 4px 18px 8px; border-radius: 20px; text-align: center; font: 700 42px/1.1 var(--font-read); color: var(--navy);
  background: #FFFFFF; box-shadow: 0 5px 0 rgba(20, 52, 36, .14); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.lad-rung.done .lad-word { opacity: 1; transform: none; }
.lad-rung.now::after { content: '?'; position: relative; width: 70px; height: 56px; display: grid; place-items: center; border-radius: 18px; border: 4px dashed #4FB98F;
  background: rgba(255, 255, 255, .85); color: #2E9A72; font: 800 38px/1 var(--font-read); grid-area: 1 / 1; }
.lad-pal { position: absolute; left: 228px; width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .18)); }
.ladder.at-top .lad-pal { width: 150px; height: 150px; left: 290px; }
.big-word .glyph.chg { border-radius: 22px; background: #FFE66D; box-shadow: 0 0 0 8px #FFE66D; }
.lad-banner { position: absolute; width: 760px; padding: 40px 30px 44px; box-sizing: border-box; text-align: center; border-radius: 44px; background: #FFFFFF;
  box-shadow: 0 12px 0 rgba(20, 52, 36, .12), 0 24px 60px rgba(20, 52, 36, .18); border: 6px solid #4FE0B0; }
.lad-banner b { display: block; font: 800 76px/1.1 var(--font-ui); color: #1E9E6E; }
.lad-banner span { display: block; margin-top: 10px; font: 700 44px/1.2 var(--font-ui); color: var(--navy); }

/* ---- the Stuck helper's button and card */
.stuck-btn { position: absolute; z-index: 15; display: inline-flex; align-items: center; gap: 10px; height: 64px; padding: 0 22px 0 10px; border: 0; border-radius: 32px;
  background: #FFFFFF; color: var(--adult, #3E8044); font: 700 28px/1 var(--font-ui); cursor: pointer; box-shadow: 0 5px 0 rgba(20, 52, 36, .14); }
.stuck-btn i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--adult, #3E8044); color: #FFFFFF; font: 800 30px/1 var(--font-ui); font-style: normal; }
/* Isaiah 2026-10-30: phones (and every screen): the slider friend always wins a touch over Help (Help is z 15; blend-ui.mjs attachStuck) */
.player .track.has-help .knob { z-index: 16; }
.stuck { position: absolute; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(20, 52, 36, .35); }
.stuck-card { position: relative; width: 870px; box-sizing: border-box; padding: 34px 44px 36px; border-radius: 44px; background: #FFFFFF; text-align: center;
  box-shadow: 0 24px 60px rgba(20, 52, 36, .3); border-top: 12px solid #FFD447; }
.stuck-card h3 { margin: 0 0 6px; font: 800 44px/1.1 var(--font-ui); color: var(--navy); }
.stuck-word { position: relative; display: inline-block; font-size: 150px; --ls: .06em; letter-spacing: var(--ls); }
.stuck-word .glyph { color: var(--muted); transition: color .15s; }
.stuck-word .glyph.on { color: var(--ink); }
.stuck-word .glyph.all { color: #1E9E6E; }
.stuck-steps { list-style: none; margin: 4px 0 24px; padding: 0; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.stuck-steps li { padding: 8px 16px; border-radius: 999px; background: #EDF7F0; color: #557A63; font: 700 24px/1.2 var(--font-ui); white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.stuck-steps li.now { background: #FFD447; color: var(--navy); transform: scale(1.08); }
.stuck-row { display: flex; justify-content: center; gap: 18px; }
.stuck-row button { height: 72px; padding: 0 34px; border: 0; border-radius: 36px; font: 700 28px/1 var(--font-ui); cursor: pointer; box-shadow: 0 5px 0 rgba(0, 0, 0, .12); }
.stuck-again { background: #EDF7F0; color: var(--navy); }
.stuck-ok { background: #5BC85B; color: #FFFFFF; }

/* ---- grown-up coaching card */
.coach { position: absolute; inset: 0; z-index: 650; display: grid; place-items: center; background: rgba(16, 24, 58, .5); }
.coach-card { width: 1180px; box-sizing: border-box; padding: 36px 56px 38px; border-radius: 40px; background: #FFFFFF; border-top: 14px solid var(--adult, #3E8044);
  box-shadow: 0 30px 80px rgba(20, 52, 36, .3); font-family: var(--font-ui); color: #22314F; }
.coach-kick { margin: 0; font-size: 24px; font-weight: 700; color: var(--adult, #3E8044); text-transform: uppercase; letter-spacing: .06em; }
.coach-card h2 { margin: 4px 0 14px; font-size: 46px; line-height: 1.15; color: var(--adult, #3E8044); }
.coach-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.coach-card li { display: flex; gap: 16px; align-items: flex-start; font-size: 28px; line-height: 1.3; }
.coach-n { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #EAF6E7; color: var(--adult, #3E8044); font-size: 26px; }
.coach-note { margin: 18px 0 20px; padding: 14px 22px; border-radius: 22px; background: #FFF6DA; font-size: 26px; line-height: 1.35; }
.coach-ok { display: block; margin: 0 auto; height: 80px; padding: 0 50px; border: 0; border-radius: 40px; background: var(--adult, #3E8044); color: #FFFFFF; font: 700 32px/1 var(--font-ui); cursor: pointer; box-shadow: 0 6px 0 rgba(0, 0, 0, .15); }
.tp-card.tp-blend { width: 1100px; max-height: 860px; box-sizing: border-box; overflow-y: auto; padding: 26px 54px 28px; text-align: left; }
.tp-card.tp-blend h3 { margin-bottom: 8px; font-size: 40px; }
.tp-card.tp-blend h3, .tp-card.tp-blend .tp-ok { text-align: center; }
.tp-card.tp-blend .tp-ok { display: block; margin: 0 auto; }
.tp-card.tp-blend p { font-size: 25px; line-height: 1.35; margin-bottom: 10px; }
.tp-card h4 { margin: 6px 0 8px; font-size: 32px; color: var(--adult, #3E8044); }
.coach-mini { margin: 0 0 8px; padding-left: 30px; font-size: 23px; line-height: 1.3; color: #3B4A63; }
.coach-mini li { margin-bottom: 2px; }
.tp-card p.coach-mini-note { font-size: 22px; margin-bottom: 14px; color: #7A5A00; background: #FFF6DA; border-radius: 18px; padding: 10px 18px; }

/* ---- blending check */
.bc-word { --ls: .06em; letter-spacing: var(--ls); }
.bc-dots { position: absolute; width: 380px; display: flex; justify-content: center; gap: 14px; }
.bc-dots i { width: 24px; height: 24px; border-radius: 50%; background: #D8EDDE; }
.bc-dots i.yes { background: #5BC85B; } .bc-dots i.no { background: #F9B94F; }
.bc-dots i.cur { box-shadow: 0 0 0 5px rgba(20, 52, 36, .25); }
.bc-btn { position: absolute; width: 250px; height: 110px; border: 0; border-radius: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 36px/1 var(--font-ui); cursor: pointer; box-shadow: 0 7px 0 rgba(0, 0, 0, .14); }
.bc-btn.yes { background: #5BC85B; color: #FFFFFF; }
.bc-btn.no { background: #FFFFFF; color: #B06A00; border: 5px solid #F9B94F; }
.bc-btn.picked { outline: 8px solid rgba(20, 52, 36, .3); outline-offset: 4px; }
.bc-result { position: absolute; width: 1140px; box-sizing: border-box; display: flex; gap: 40px; align-items: center; padding: 38px 48px; border-radius: 44px;
  background: #FFFFFF; box-shadow: 0 12px 0 rgba(20, 52, 36, .1), 0 24px 60px rgba(20, 52, 36, .14); font-family: var(--font-ui); color: #22314F; }
.bc-result.pass { border: 6px solid #5BC85B; } .bc-result.notyet { border: 6px solid #F9B94F; }
.bc-result.wait { width: 1000px; display: block; text-align: center; }
.bc-score { flex: none; width: 210px; height: 210px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: #EAF6E7; }
.bc-result.notyet .bc-score { background: #FFF3D6; }
.bc-score b { font: 800 100px/1 var(--font-ui); color: #2E8B3A; }
.bc-result.notyet .bc-score b { color: #B06A00; }
.bc-score span { font-size: 30px; font-weight: 700; }
.bc-text h2, .bc-result.wait h2 { margin: 0 0 10px; font-size: 42px; line-height: 1.15; }
.bc-text p, .bc-result.wait p { margin: 0; font-size: 28px; line-height: 1.4; }
.bc-game { margin-top: 18px; height: 70px; padding: 0 34px; border: 0; border-radius: 35px; background: #43BE95; color: #FFFFFF; font: 700 28px/1 var(--font-ui); cursor: pointer; box-shadow: 0 5px 0 #23795D; } /* green shadow like .fb-go, was purple (Isaiah 2026-10-31 launch run) */

/* stretched words ("ffffiiiish") must never join into an fi / ffi ligature */
.script-card .slow, .kid-says, .together-says { font-variant-ligatures: none; font-feature-settings: "liga" 0, "clig" 0; }

/* a long memory-word review (9+ words, with its Child says line) keeps three rows above the progress beads */
.sight-review.many { gap: 20px 30px; }
.sight-review.many span { padding: 6px 26px 12px; font-size: 80px; }
/* 2026-10-26 mobile review B-21: body has touch-action none, so a scroller must say how it may be dragged (WebKit doesn't
   always reset it at a scroll box): the blending tips card scrolls once a tip runs long */
.tp-card.tp-blend { touch-action: pan-y; overscroll-behavior: contain; }
