/* Tablet Çocuk palette v05 · reference colours only. 18 November 2026.
   Pink = RGB channel median of an unobstructed source crop, not a new colour guess.
   Load after children.css, tablet-v4.css and the common palette stylesheet. */
body.page-kids .children-world,
body.page-home .v4-children {
  --cw-pink:#DF2863;
  --cw-rose:#E65A7F;
  --cw-orange:#FB5D2E;
  --cw-yellow:#FBC056;
  --cw-teal:#44BDBD;
  --cw-green:#41631E;
  --cw-lavender:#B8A1CF;
  --cw-paper:#FFF9F2;
  --cw-ink:#231D25;
  --kid-bg:#DF2863;
  --kid-yellow:#FBC056;
  --kid-teal:#44BDBD;
  --kid-lav:#B8A1CF;
}

/* Pink entry; un-tinted white preserves AA for all of the supporting type. */
body.page-kids .children-world .cw-opening {
  background:var(--cw-pink);
  color:#FFFFFF;
}
body.page-kids .children-world .cw-opening-note {
  color:#FFFFFF;
  opacity:1;
}
body.page-kids .children-world .cw-opening .cw-kicker,
body.page-kids .children-world .cw-opening-bottom {
  background:var(--cw-paper);
  color:var(--cw-ink);
  opacity:1;
}
body.page-kids .children-world .cw-opening h1>span,
body.page-kids .children-world .cw-poster-sheet {
  background:var(--cw-yellow);
  color:var(--cw-ink);
}
body.page-kids .children-world .cw-poster-stamp {
  background:var(--cw-teal);
  color:var(--cw-ink);
  border-color:var(--cw-ink);
}
body.page-kids .children-world .cw-start {
  background:var(--cw-paper);
  color:var(--cw-ink);
}
body.page-kids .children-world .cw-opening a:focus-visible {
  outline-color:#FFFFFF;
}
body.page-kids .children-world .cw-paper-bird [fill="#D82762"] {
  fill:var(--cw-pink);
}
body.page-kids .children-world .cw-paper-bird [fill="#F7F2EA"] {
  fill:var(--cw-paper);
}

/* Reading rests on light paper. The colours belong to choices and small accents. */
body.page-kids .children-world,
body.page-kids .children-world .cw-workshop {
  background:var(--cw-paper);
  color:var(--cw-ink);
}
body.page-kids .children-world .cw-workshop-heading,
body.page-kids .children-world .cw-word-group {
  border-color:var(--cw-green);
}
body.page-kids .children-world .cw-workshop .cw-kicker,
body.page-kids .children-world .cw-word-group legend>span {
  color:var(--cw-green);
  opacity:1;
}
body.page-kids .children-world .cw-words label>span {
  background:#FFFFFF;
  color:var(--cw-ink);
  border-color:var(--cw-ink);
}
body.page-kids .children-world .cw-word-group:nth-of-type(1) input:checked+span {
  background:var(--cw-rose);
  border-color:var(--cw-ink);
  color:var(--cw-ink);
}
body.page-kids .children-world .cw-word-group:nth-of-type(2) input:checked+span {
  background:var(--cw-teal);
  border-color:var(--cw-ink);
  color:var(--cw-ink);
}
body.page-kids .children-world .cw-word-group:nth-of-type(3) input:checked+span {
  background:var(--cw-yellow);
  border-color:var(--cw-ink);
  color:var(--cw-ink);
}
body.page-kids .children-world .cw-words input:focus-visible+span {
  outline-color:var(--cw-green);
}
body.page-kids .children-world .cw-make {
  background:var(--cw-green);
  border-color:var(--cw-green);
  color:var(--cw-paper);
}
body.page-kids .children-world .cw-shuffle {
  color:var(--cw-ink);
  border-color:var(--cw-ink);
}
body.page-kids .children-world .cw-story-sheet {
  background:#FFFFFF;
  color:var(--cw-ink);
  border-color:var(--cw-ink);
  box-shadow:9px 10px 0 var(--cw-lavender);
}
body.page-kids .children-world .cw-story-top,
body.page-kids .children-world .cw-story-end {
  border-color:var(--cw-green);
}
body.page-kids .children-world .cw-story-mark {
  color:var(--cw-green);
}
body.page-kids .children-world .cw-sheet-corner {
  background:var(--cw-orange);
  border-color:var(--cw-ink);
}
body.page-kids .children-world .cw-original-note {
  color:var(--cw-green);
  border-color:var(--cw-green);
  opacity:1;
}

/* The last act returns to colour; the story above retains a calm reading surface. */
body.page-kids .children-world .cw-coming {
  background:var(--cw-teal);
  color:var(--cw-ink);
  border-color:var(--cw-ink);
}
body.page-kids .children-world .cw-coming-symbol>span {
  background:var(--cw-paper);
  color:var(--cw-ink);
}
body.page-kids .children-world .cw-coming-symbol>span:nth-child(2) {
  background:var(--cw-yellow);
}
body.page-kids .children-world .cw-coming-symbol>span:nth-child(3) {
  background:var(--cw-lavender);
}
body.page-kids .children-world .cw-coming-symbol>span:nth-child(4) {
  background:var(--cw-rose);
}

/* Homepage doorway uses the same child palette, without changing shared chrome. */
body.page-home .v4-children {
  background:var(--cw-pink);
  color:#FFFFFF;
}
body.page-home .v4-children :is(h2,.v4-folio,.v4-word-play small) {
  color:#FFFFFF;
  opacity:1;
}
body.page-home .v4-children .v4-folio::before {
  background:var(--cw-yellow);
}
body.page-home .v4-children .btn {
  background:var(--cw-yellow);
  color:var(--cw-ink);
  border-color:var(--cw-ink);
}
body.page-home .v4-children .btn:focus-visible {
  outline:3px solid #FFFFFF;
  outline-offset:6px;
}
body.page-home .v4-children .v4-word-play .v4-a {color:var(--cw-yellow)}
body.page-home .v4-children .v4-word-play .v4-q {color:var(--cw-teal)}
body.page-home .v4-children .v4-word-play .v4-ex {color:var(--cw-lavender)}
@media(max-width:760px) {
  body.page-kids .children-world .cw-story-sheet {
    box-shadow:7px 8px 0 var(--cw-lavender);
  }
}
@media(hover:hover) and (pointer:fine) {
  body.page-kids .children-world .cw-words input:not(:checked)+span:hover {
    background:var(--cw-lavender);
    color:var(--cw-ink);
  }
  body.page-kids .children-world .cw-make:hover {
    background:var(--cw-green);
    color:var(--cw-paper);
  }
}
