/* Private Creation Station step-1 preview — external CSS only */
:root{
  --ink:#1b2550; --muted:#445; --cream:#fff8ef; --sky:#bfe6ff; --card:#fff;
  --accent:#1f6fc5; --warm:#e53935; --sun:#ffd23f; --ok:#2e7d32; --line:#d7e3f4;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.cp{
  margin:0; font:18px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink); background:linear-gradient(#eaf6ff,var(--cream) 28%);
  min-height:100vh;
}
.cp a{color:var(--accent)}
.cp .skip{position:absolute;left:-9999px}
.cp .skip:focus{left:8px;top:8px;background:#fff;padding:.5rem;z-index:9}
.cp-banner{
  background:#1b2550;color:#fff;text-align:center;padding:.55rem 1rem;font-size:.92rem;
}
.cp-banner strong{color:var(--sun)}
.cp-wrap{max-width:720px;margin:0 auto;padding:1rem 1.1rem 3rem}
.cp-brand{display:flex;align-items:center;gap:.75rem;margin:1rem 0 1.25rem;text-decoration:none;color:inherit}
.cp-brand img{width:140px;height:auto}
.cp-brand span{font-size:.85rem;color:var(--muted)}
.cp-card{
  background:var(--card);border:1px solid var(--line);border-radius:18px;
  padding:1.15rem 1.2rem 1.3rem;margin:0 0 1rem;box-shadow:0 8px 24px rgba(27,37,80,.06);
}
.cp-card h1{font-size:1.55rem;margin:.1rem 0 .55rem;line-height:1.2}
.cp-card h2{font-size:1.2rem;margin:.2rem 0 .5rem}
.cp-card p{margin:.45rem 0}
.cp-muted{color:var(--muted);font-size:.95rem}
.cp-steps{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1rem;padding:0;list-style:none}
.cp-steps li{
  background:#eef5ff;border:1px solid var(--line);border-radius:999px;
  padding:.25rem .7rem;font-size:.82rem;color:var(--muted);
}
.cp-steps li.on{background:var(--accent);color:#fff;border-color:var(--accent)}
.cp-steps li.done{background:#e8f5e9;color:var(--ok);border-color:#c8e6c9}
.cp-btnrow{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.cp-btn{
  appearance:none;border:0;border-radius:999px;padding:.85rem 1.25rem;
  min-height:48px;font:inherit;font-weight:700;cursor:pointer;background:var(--accent);color:#fff;
  text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
}
.cp-btn:disabled,.cp-btn.is-disabled{opacity:.45;cursor:not-allowed}
.cp-btn.ghost{background:#fff;color:var(--accent);border:2px solid var(--accent)}
.cp-btn.sun{background:var(--sun);color:var(--ink)}
.cp-field{margin:.85rem 0}
.cp-field label{display:block;font-weight:700;margin-bottom:.35rem}
.cp-field input[type=text],.cp-field input[type=email]{
  width:100%;max-width:100%;padding:.85rem 1rem;min-height:48px;border:2px solid var(--line);
  border-radius:12px;font:inherit;background:#fff;
}
.cp-check{display:flex;gap:.6rem;align-items:flex-start;margin:.7rem 0}
.cp-check input{width:1.15rem;height:1.15rem;margin-top:.2rem;flex:none}
.cp-note{
  background:#fff8e1;border:1px solid #ffe082;border-radius:12px;padding:.75rem .9rem;font-size:.92rem;
}
.cp-warn{
  background:#fff3f0;border:1px solid #ffcbbd;border-radius:12px;padding:.75rem .9rem;font-size:.92rem;
}
.cp-plans{display:grid;gap:.85rem}
.cp-plan{
  border:2px solid var(--line);border-radius:16px;padding:1rem;background:#fafcff;
}
.cp-plan.featured{border-color:var(--accent);background:#f0f7ff}
.cp-plan h3{margin:.1rem 0 .35rem;font-size:1.05rem}
.cp-price{
  display:inline-block;margin:.35rem 0;padding:.25rem .6rem;border-radius:8px;
  background:#eef5ff;font-weight:700;font-size:.92rem;color:var(--accent);
}
.cp-badge{
  display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.02em;
  background:var(--sun);color:var(--ink);border-radius:6px;padding:.15rem .45rem;margin-bottom:.35rem;
}
.cp-choices{display:grid;gap:.55rem;margin:.6rem 0 1rem}
.cp-choice{
  appearance:none;text-align:left;width:100%;padding:.9rem 1rem;min-height:48px;border-radius:14px;
  border:2px solid var(--line);background:#fff;font:inherit;cursor:pointer;
}
.cp-choice:hover{border-color:#9ec0e8}
.cp-choice.on{border-color:var(--accent);background:#eef5ff;box-shadow:0 0 0 2px rgba(31,111,197,.15)}
.cp-choice strong{display:block}
.cp-progress{font-size:.9rem;color:var(--muted);margin-bottom:.4rem}
.cp-book{max-width:640px;margin:0 auto}
.cp-page{
  background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:0 0 1rem;
}
.cp-page img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#eaf6ff}
.cp-page .words{padding:.9rem 1rem 1.1rem}
.cp-page .words p{margin:.35rem 0;font-size:1.05rem}
.cp-page .words .who{font-weight:700;color:var(--accent);font-size:.85rem}
.cp-foot{margin-top:1.5rem;font-size:.85rem;color:var(--muted);text-align:center}
@media (min-width:820px){
  .cp-card h1{font-size:1.85rem}
  .cp-plans{grid-template-columns:1fr}
  .cp-wrap{padding-top:1.5rem}
}
/* one free try: make / check / review / creations (cp1109r) */
.cp-status{list-style:none;padding:0;margin:.8rem 0}
.cp-status li{padding:.35rem 0 .35rem 1.9rem;position:relative;color:var(--muted)}
.cp-status li::before{content:"○";position:absolute;left:.3rem;top:.3rem}
.cp-status li.ok{color:var(--ok)}
.cp-status li.ok::before{content:"✓";font-weight:700}
.cp-status li.run{color:var(--ink);font-weight:700}
.cp-status li.run::before{content:"…"}
#cp-make-bar{width:100%;height:12px;margin:.5rem 0}
.cp-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:.6rem 0}
.cp-video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#000;border-radius:12px;margin:.4rem 0}
.cp-page.reading{outline:4px solid var(--sun);outline-offset:2px}
.cp-pill{display:inline-block;border-radius:999px;padding:.2rem .7rem;font-weight:700;font-size:.85rem;background:#eef5ff;color:var(--accent)}
.cp-pill.approved{background:#e8f5e9;color:var(--ok)}
.cp-pill.held{background:#fff3f0;color:var(--warm)}
.cp-pill.pending{background:#fff8e1;color:#8a6d00}
.cp-rev-sample .cp-sample{border-style:dashed;box-shadow:none;margin-top:1rem}
.cp-wait h2{margin-top:0}
.cp-card h3{font-size:1.05rem;margin:1rem 0 .4rem}
.cp-vbar{width:100%;height:10px;margin:.3rem 0}
.cp-video[hidden],.cp-vbar[hidden],#cp-make-bar[hidden]{display:none}
.cp a.cp-btn{color:#fff;text-align:center;justify-content:center}
.cp a.cp-btn.ghost{color:var(--accent)}
.cp a.cp-btn.sun{color:var(--ink)}
.cp a.cp-btn.is-disabled{pointer-events:none}

/* Phone-first readability (iPhone ~390px). Desktop stays as above. cp1109phone */
@media (max-width:640px){
  body.cp{font-size:20px;line-height:1.55}
  .cp-banner{padding:.7rem 1rem;font-size:1rem;line-height:1.4}
  .cp-wrap{padding:1rem .95rem 3.25rem}
  .cp-brand{gap:.85rem;margin:1.1rem 0 1.35rem}
  .cp-brand img{width:160px}
  .cp-brand span{font-size:.95rem}
  .cp-card{padding:1.35rem 1.15rem 1.5rem;margin:0 0 1.15rem;border-radius:20px}
  .cp-card h1{font-size:1.75rem;line-height:1.22;margin:.15rem 0 .7rem}
  .cp-card h2{font-size:1.35rem;margin:.25rem 0 .65rem}
  .cp-card h3{font-size:1.15rem;margin:1.1rem 0 .5rem}
  .cp-card p{margin:.55rem 0}
  .cp-muted{font-size:1rem}
  .cp-steps{gap:.55rem;margin:0 0 1.15rem}
  .cp-steps li{padding:.45rem .85rem;font-size:.95rem;min-height:40px;display:inline-flex;align-items:center}
  .cp-btnrow{gap:.75rem;margin-top:1.2rem}
  .cp-btn{padding:1rem 1.35rem;min-height:52px;font-size:1.05rem;gap:.5rem}
  .cp-field{margin:1.05rem 0}
  .cp-field label{margin-bottom:.45rem;font-size:1.05rem}
  .cp-field input[type=text],.cp-field input[type=email]{
    padding:1rem 1.05rem;min-height:52px;font-size:1.05rem;border-radius:14px;
  }
  .cp-check{gap:.75rem;margin:.9rem 0;align-items:flex-start}
  .cp-check input{width:1.4rem;height:1.4rem;margin-top:.15rem}
  .cp-note,.cp-warn{padding:1rem 1.05rem;font-size:1rem;line-height:1.5}
  .cp-plans{gap:1rem}
  .cp-plan{padding:1.15rem;border-radius:18px}
  .cp-plan h3{font-size:1.15rem}
  .cp-price{padding:.4rem .75rem;font-size:1rem}
  .cp-badge{font-size:.85rem;padding:.25rem .55rem}
  .cp-choices{gap:.75rem;margin:.75rem 0 1.15rem}
  .cp-choice{padding:1.05rem 1.1rem;min-height:56px;border-radius:16px;font-size:1.05rem}
  .cp-choice strong{font-size:1.1rem;margin-bottom:.15rem}
  .cp-progress{font-size:1rem;margin-bottom:.55rem}
  .cp-page .words{padding:1.05rem 1.1rem 1.25rem}
  .cp-page .words p{font-size:1.15rem;line-height:1.5;margin:.45rem 0}
  .cp-page .words .who{font-size:.95rem}
  .cp-status li{padding:.55rem 0 .55rem 2.1rem;font-size:1.05rem}
  .cp-actions{gap:.75rem;margin:.8rem 0}
  .cp-pill{padding:.35rem .85rem;font-size:.95rem}
  .cp-foot{font-size:.95rem;margin-top:1.75rem;line-height:1.45;padding:0 .15rem}
  #cp-make-bar{height:16px;margin:.7rem 0}
  .cp-vbar{height:14px}
}

/* Short built-in voice picker (Voice 1…Voice 4). Plain labels only. */
.cp-voice-picker{margin:.85rem 0 1rem}
.cp-voice-title{font-weight:700;margin:.2rem 0 .45rem;font-size:1.05rem}
.cp-voices{display:grid;gap:.7rem;margin:.55rem 0}
.cp-voice-row{display:grid;grid-template-columns:1fr auto;gap:.55rem;align-items:stretch}
.cp-voice-row .cp-voice-pick{margin:0;min-height:48px}
.cp-voice-row .cp-voice-hear{margin:0;white-space:nowrap;min-height:48px;padding:.85rem 1rem}
@media (max-width:640px){
  .cp-voice-picker{margin:1rem 0 1.15rem}
  .cp-voice-title{font-size:1.15rem;margin:.15rem 0 .55rem}
  .cp-voices{gap:.85rem}
  .cp-voice-row{grid-template-columns:1fr;gap:.55rem}
  .cp-voice-row .cp-voice-pick,.cp-voice-row .cp-voice-hear{min-height:52px;font-size:1.05rem}
}

/* Listen-only brand: not a link */
div.cp-brand{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;margin:0 0 1rem;text-decoration:none;color:inherit;cursor:default}
div.cp-brand img{display:block;height:auto;max-width:min(282px,100%)}
div.cp-brand span{font-weight:700}

/* ---- v7 (cp1113v19x) ---- */
/* [hidden] must win over .cp-btn{display:inline-flex}: fixes Back showing on step 1 */
.cp [hidden]{display:none !important}
.cp-choice.is-off,.cp-choice:disabled{opacity:.5;cursor:not-allowed;background:#f4f5f8;border-style:dashed}
.cp-choice .cp-later{display:block;font-style:normal;font-size:.85rem;color:var(--muted);margin-top:.15rem}
.cp-sub{font-size:1.05rem !important;margin:1.1rem 0 .4rem !important}
.cp-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:.4rem 0}
.cp-chip{appearance:none;border:2px solid var(--line);background:#fff;border-radius:999px;padding:.55rem .9rem;min-height:44px;font:inherit;font-size:.95rem;cursor:pointer;color:var(--ink)}
.cp-chip.on{border-color:var(--accent);background:#eef5ff;font-weight:700}
.cp-used h2{margin-top:0}
.cp-rev-test{margin:.6rem 0}
/* book pages: art with the child's word label + title page */
.cp-page .art{position:relative}
.cp-page .art img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#eaf6ff}
.cp-page.no-art .art{display:none}
.cp-page.no-art .words{padding-top:1.1rem}
.cp-tag{position:absolute;top:4%;max-width:60%;background:#fff;color:#6a2fb8;border:2px solid #8a4fd0;border-radius:12px;padding:.25rem .65rem;font-weight:800;font-size:1rem;line-height:1.25;box-shadow:0 3px 10px rgba(0,0,0,.18)}
.cp-tag.tl{left:3%}
.cp-tag.tr{right:3%}
.cp-tag.tc{left:50%;transform:translateX(-50%)}
.cp-page.title .words{text-align:center}
.cp-page.title .words .cp-title{font-size:1.6rem;font-weight:900;line-height:1.2;margin:.2rem 0}
.cp-page.title .words .cp-title span:nth-child(5n+1){color:#e8453c}
.cp-page.title .words .cp-title span:nth-child(5n+2){color:#f28c1c}
.cp-page.title .words .cp-title span:nth-child(5n+3){color:#3aa63a}
.cp-page.title .words .cp-title span:nth-child(5n+4){color:#2f7de1}
.cp-page.title .words .cp-title span:nth-child(5n+5){color:#8a4fd0}
.cp-page .words .cp-credit{font-size:.9rem;color:var(--muted)}
.cp-page .words .pn{font-size:.8rem;color:var(--muted);text-align:right;margin:0}
.cp-print-tip{font-size:.92rem;color:var(--muted);margin:.2rem 0 .6rem;max-width:42rem}
/* My Botsville bookshelf */
.cp-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.8rem;margin:.6rem 0 0;padding:.9rem;border-radius:16px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(#c79a6b,#a8754a) border-box;border:6px solid transparent;border-bottom-width:14px}
.cp-shelf a,.cp-shelf div.book{display:block;text-decoration:none;color:var(--ink);border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 4px 10px rgba(27,37,80,.12)}
.cp-shelf img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.cp-shelf .t{display:block;padding:.4rem .5rem;font-weight:800;font-size:.9rem;line-height:1.25}
.cp-shelf .s{display:block;padding:0 .5rem .45rem;font-size:.8rem;color:var(--muted)}
@media (max-width:640px){ .cp-tag{font-size:.95rem} .cp-shelf{grid-template-columns:repeat(2,1fr)} }
/* Voice buttons look like choices but are not story choices (own class, own selection). */
.cp-voice-pick{appearance:none;text-align:left;width:100%;padding:.9rem 1rem;min-height:48px;border-radius:14px;border:2px solid var(--line);background:#fff;font:inherit;cursor:pointer;color:var(--ink)}
.cp-voice-pick:hover{border-color:#9ec0e8}
.cp-voice-pick.on{border-color:var(--accent);background:#eef5ff;box-shadow:0 0 0 2px rgba(31,111,197,.15)}
.cp-voice-pick strong{display:block}
@media (max-width:640px){.cp-voice-pick{padding:1.05rem 1.1rem;min-height:56px;border-radius:16px;font-size:1.05rem}}
.cp-choice.is-off{padding:.55rem .9rem !important;min-height:0 !important;font-size:.9rem !important}
.cp-choice.is-off strong{font-size:.95rem !important;margin:0 !important}
/* ---- v9 (cp1113v19x): problem + help chips, optional music, story video player, simpler review ---- */
.cp-chip:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.cp-music-pick{margin:1.2rem 0 .4rem;padding:.8rem .9rem;border:2px dashed var(--line);border-radius:14px;background:#fbfdff}
.cp-player{margin:.4rem 0 .8rem}
.cp-player canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:14px;background:#1b2550}
.cp-player .cp-btnrow{margin-top:.6rem}
.cp-player-note{font-size:.9rem;color:var(--muted);margin:.35rem 0 0}
.cp-rev-steps{margin:.4rem 0 0;padding-left:1.4rem;font-size:1.05rem;line-height:1.5}
.cp-rev-steps li{margin:.15rem 0}
.cp-rev .cp-btnrow{margin-top:.5rem}
.cp-rev .cp-rev-meta{font-size:.85rem;color:var(--muted);margin:.2rem 0}
.cp-rev details{margin-top:.6rem;font-size:.9rem;color:var(--muted)}
.cp-rev details summary{cursor:pointer}
.cp-rev .cp-rev-plot{margin:.35rem 0;font-size:.95rem}
@media (max-width:640px){ .cp-chips .cp-chip{flex:1 1 100%;text-align:left;font-size:1rem;min-height:48px} .cp-rev .cp-btnrow .cp-btn{width:100%} }
.cp-rev-done > summary{cursor:pointer;font-weight:700;font-size:1.05rem}
.cp-rev-done .cp-rev{box-shadow:none;border:1px solid var(--line);margin-top:.8rem}
/* ---- v10 (cp1113v19x): review groups, distinct Play story vs Read aloud ---- */
.cp-rev-group{margin:1.2rem 0 .4rem}
.cp-rev-head{font-size:1.25rem;margin:.2rem 0 .6rem}
.cp-rev .cp-rev-title{font-size:1.15rem;margin:0 0 .35rem}
.cp-player .cp-play-story{font-size:1.1rem;min-height:52px;padding:.8rem 1.4rem}
.cp-read-pages{border-style:dashed}
/* ---- v11 (cp1113v19x): Read aloud is visibly secondary (white, dashed outline); Play story stays the only yellow button ---- */
.cp .cp-btn.ghost.cp-read-pages{background:#fff !important;color:var(--accent) !important;border:2px dashed var(--accent) !important;box-shadow:none !important}
/* ---- v18 / copy1114: letters-left counter under typed boxes, with a visible label ---- */
.cp-count { margin: 6px 2px 0; font-size: 0.95rem; color: var(--ink); font-weight: 700; }
.cp-count-label { font-weight: 700; }
.cp-count-n { font-weight: 800; }
/* v18v: read-aloud buttons are "coming soon" (device voice off): calm, clearly not broken, wraps at 390px */
.cp-btn.cp-soon{background:#fff7e0;color:#6b4e00;border:2px dashed #e0b84a;cursor:help;white-space:normal;max-width:100%;opacity:1}
.cp-btn.cp-soon:hover{filter:none}

/* ===== v19-voice (Nov 10): simple review page + Nana's voice player ===== */
.cp-3steps{list-style:none;margin:.6rem 0 0;padding:0;display:grid;gap:.6rem}
.cp-3steps li{display:flex;align-items:center;gap:.85rem;background:#eef6ff;border:2px solid var(--line);border-radius:16px;padding:.75rem .9rem;font-size:1.25rem;font-weight:700;color:var(--ink)}
.cp-3steps .n{flex:0 0 auto;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:800}
.cp-3steps li.done{background:#eaf7ec;border-color:#9fd3a7}
.cp-3steps li.done .n{background:var(--ok)}
.cp-3steps li.done .n::after{content:"\2713";font-size:1.2rem}
.cp-3steps li.done .n{font-size:0}
.cp-3step-note{margin:.7rem 0 0;font-size:1rem;color:var(--muted)}
#cp-rev-signin input{font-size:1.3rem;min-height:56px;width:100%;box-sizing:border-box}
.cp-btn.cp-big,.cp-rev .cp-open-play{width:100%;min-height:60px;font-size:1.25rem;justify-content:center;margin-top:.6rem}
.cp-rev-top{display:flex;gap:.8rem;align-items:center}
.cp-rev-cover{width:96px;height:54px;object-fit:cover;border-radius:10px;flex:0 0 auto;background:#dfeaf7}
.cp-rev-hw{min-width:0}
.cp-rev-hw .cp-rev-title{margin:0 0 .2rem}
.cp-rev-hw .cp-pill{margin:0}
.cp-rev .cp-rev-decide{display:flex;gap:.6rem}
.cp-rev .cp-rev-decide .cp-btn{flex:1 1 0;min-height:52px;justify-content:center}
/* v19u: two separate, well-spaced Save / PDF buttons under the review player */
.cp-rev-files,.cp-family-files{display:flex;flex-wrap:wrap;gap:1.1rem 1.25rem;margin:1.15rem 0 1.4rem}
.cp-rev-files .cp-btn,.cp-family-files .cp-btn{min-height:44px;padding:.7rem 1.15rem}
.cp-family-files:empty{display:none}
@media (max-width:640px){
  .cp-rev-files .cp-btn,.cp-family-files .cp-btn{width:100%}
}
.cp-player-row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.cp-player-row .cp-pause-story,.cp-player-row .cp-page-prev,.cp-player-row .cp-page-next{min-height:44px;min-width:44px;padding:.55rem .9rem;font-size:1rem}

.cp-player .cp-play-story{min-height:60px;font-size:1.25rem;flex:1 1 12rem;justify-content:center}
.cp-player .cp-stop-story{min-height:60px;flex:0 1 8rem;justify-content:center}
.cp-music-toggle{background:#fff;border:1.5px solid var(--line);color:var(--muted);border-radius:999px;padding:.35rem .8rem;font-size:.9rem;min-height:40px;cursor:pointer}
.cp-music-toggle.on{border-color:var(--accent);color:var(--accent);font-weight:700}
.cp-now-playing{margin:.5rem 0 0;font-size:1.15rem;font-weight:800;color:var(--ink);background:#fff3c4;border-radius:12px;padding:.5rem .8rem}
.cp-player.is-playing canvas{outline:4px solid var(--sun);outline-offset:2px}
.cp-player.is-playing .cp-now-playing::before{content:"";display:inline-block;width:.7rem;height:.7rem;border-radius:50%;background:var(--warm);margin-right:.5rem;vertical-align:middle;animation:cpPulse 1s ease-in-out infinite}
@keyframes cpPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
@media (prefers-reduced-motion:reduce){.cp-player.is-playing .cp-now-playing::before{animation:none}}
.cp-page.cp-reading{outline:4px solid var(--sun);outline-offset:3px;border-radius:14px}
.cp-voice-audio{display:none}
@media (max-width:640px){ .cp-3steps li{font-size:1.15rem} .cp-rev .cp-rev-decide .cp-btn{width:auto} .cp-player .cp-stop-story{flex:1 1 40%} }
#cp-rev-signin input{padding:.85rem 1rem;border:2px solid var(--line);border-radius:12px;font-family:inherit;background:#fff}
.cp-player.is-playing .cp-play-story:disabled{opacity:1;cursor:default}
/* v19r: hide the picture-count line once Play starts */
.cp-player.is-playing .cp-pic-progress{display:none !important}


/* v19d: one-story review screen and a quiet All stories link */
.cp-rev-quiet{margin:1.6rem 0 .3rem;font-size:.92rem;color:var(--muted)}
.cp-rev-quiet a{color:var(--muted);text-decoration:underline}
.cp-rev-one .cp-rev-title{font-size:1.45rem;margin:0 0 .4rem;line-height:1.25}
.cp-rev-one .cp-rev-plot{margin:.7rem 0 1rem}
.cp-rev-next{margin:1rem 0 0}
.cp-rev-next .cp-btn{min-height:44px}

/* v19f: on a phone, story-book words stay below the picture and are smaller so the art stays visible. */
@media (max-width:640px){
  .cp-page .words{padding:.55rem .75rem .7rem}
  .cp-page .words p{font-size:.95rem;line-height:1.4;margin:.28rem 0}
  .cp-page .words .who{font-size:.8rem}
  .cp-page .words .pn{font-size:.72rem}
  .cp-page.title .words .cp-title{font-size:1.25rem;line-height:1.2}
  .cp-page .words .cp-credit{font-size:.8rem}
  .cp-tag{font-size:.8rem;padding:.18rem .45rem;max-width:52%}
}

/* v19g P1-3: live player words are HTML under the canvas, at least 17px, never the tiny scaled band. */
.cp-player-words{display:flex;gap:.8rem;align-items:flex-start;margin:.55rem 0 .15rem;padding:.7rem .9rem;background:#fff8ef;border:1px solid #e6d7bf;border-radius:12px;}
.cp-player-words-text{flex:1;margin:0;font-size:max(17px,1.05rem);line-height:1.45;color:#1b2550;font-weight:600;}
.cp-player-words-n{flex:0 0 auto;margin:0;font-size:.95rem;color:#445;padding-top:.1rem;white-space:nowrap;}

.cp-status li.skip{color:var(--muted);font-weight:600}
.cp-status li.skip::before{content:"–"}
.cp-field-after-music{margin-top:1rem}

/* v19i: saved video OFF -> gentle "coming soon" label (not a skip-link; .cp .skip is the screen-reader skip link) */
.cp-status li.soon{color:var(--muted);font-weight:600}
.cp-status li.soon::before{content:"\2026"}
.cp-video-soon{font-weight:600}

/* v20: helps that do not fit the chosen problem are hidden */
.cp-chip[hidden]{display:none!important}

/* v19t: "voice coming" note and the one "Tap for sound" fallback on the story player */
.cp-voice-coming { margin: .5rem 0 0; padding: .55rem .8rem; border-radius: 12px; background: #fff7d6; border: 1px solid #f1d67a; color: #4a3b00; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.cp-voice-coming[hidden], .cp-tap-sound[hidden] { display: none !important; }
.cp-tap-sound { display: block; width: 100%; min-height: 52px; margin: .6rem 0 0; font-size: 1.15rem; }
.cp-rev-golive { margin-top: .4rem; }
.cp-rev-release .cp-btn { margin-top: .4rem; }
.cp-watch-title { margin-bottom: .2rem; }
.cp-keep h2 { margin-top: 0; }

/* livelinks: Family Tree "coming soon" card (no link, no form) */
.cp-card.cp-soon { border: 2px dashed #e0b84a; background: #fffaf0; }
.cp-card.cp-soon h2 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cp-soon-tag { display: inline-block; padding: .15rem .65rem; border-radius: 999px; background: #ffd84d; color: #3a2a00; font-size: .85rem; font-weight: 800; line-height: 1.4; }

/* rf1113: family-first opening + collapsed "For parents" info */
.cp-lead{font-size:1.12rem;font-weight:700;line-height:1.45}
.cp-btnrow.cp-one{justify-content:center}
.cp-btnrow.cp-one .cp-btn{font-size:1.1rem;padding-left:1.6rem;padding-right:1.6rem}
.cp-parents{margin-top:1rem;border:2px solid #dbe6fb;border-radius:14px;background:#f7faff}
.cp-parents summary{cursor:pointer;font-weight:800;padding:.7rem .9rem;list-style-position:inside}
.cp-parents[open] summary{border-bottom:1px solid #dbe6fb}
.cp-parents-body{padding:.4rem .9rem .8rem;font-size:.95rem}
.cp-parents-body ol{padding-left:1.2rem;margin:.4rem 0}

/* ftry1114: footer layout moved out of inline style (CSP style-src 'self') */
.cp-site-foot{max-width:40rem;margin:24px auto 16px;padding:0 16px;text-align:center;font-weight:700}

/* nov21-1115: no lonely last line in the Creation Station footer */
.cp-foot{text-wrap:balance}
