/* Pipe Kids (2026-11-26): bright, big and friendly, made for tablets. Scoped
   to body.kids and k- classes so nothing clashes with pipe.css. */
body.kids { background: #fff7ec; color: #23283a; }
.kids h1, .kids h2 { color: #23283a; font-weight: 700; letter-spacing: -.01em; }
.kids main a { color: #e4572e; }
.k-hero { display: flex; gap: 24px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; background: linear-gradient(135deg, #ffd166, #ff8fab); border-radius: 28px;
  padding: 28px 32px; margin: 18px 0 26px; box-shadow: 0 14px 40px -18px rgba(228, 87, 46, .45); }
.k-hero h1 { font-size: 34px; margin: 0 0 6px; }
.k-hero p { margin: 0; font-size: 17px; color: #3b3f55; }
.k-h2 { font-size: 22px; margin: 8px 0 14px; }
.k-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.k-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 20px;
  padding: 12px; text-decoration: none; color: #23283a !important;
  box-shadow: 0 8px 24px -14px rgba(35, 40, 58, .35); }
.k-cover { aspect-ratio: 1; border-radius: 14px; background: #ffeedd; overflow: hidden; }
.k-cover img { width: 100%; height: 100%; object-fit: contain; }
.k-tag { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 3px 10px;
  border-radius: 99px; background: #eef2ff; color: #4338ca; }
.k-tag.k-done { background: #dcfce7; color: #166534; }
.k-tag.k-failed, .k-tag.k-paused { background: #fee2e2; color: #991b1b; }
.k-tag.k-reveal { background: #fef3c7; color: #92400e; }
.k-empty { background: #fff; border-radius: 20px; padding: 28px; text-align: center; font-size: 17px; }
.k-mute { color: #6b7088; font-size: 14px; }
.k-foot { margin-top: 26px; }
.k-top { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 16px 0 10px; }
.k-top h1 { font-size: 30px; margin: 0; }
.k-back { font-weight: 600; text-decoration: none; }
.k-note { background: #fff1e6; border: 2px solid #ffb38a; color: #9a3412; border-radius: 14px;
  padding: 12px 16px; margin: 10px 0 16px; font-size: 15.5px; }
.k-step { background: #fff; border-radius: 24px; padding: 22px 24px; margin: 0 0 18px;
  box-shadow: 0 10px 30px -20px rgba(35, 40, 58, .35); }
.k-step h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0 0 14px; }
.k-center h2 { justify-content: center; }
.k-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center;
  justify-content: center; background: #ff8fab; color: #fff; font-size: 18px; }
.k-num:empty { display: none; }
.k-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.k-tight { gap: 8px; align-items: center; }
.k-between { justify-content: space-between; align-items: center; margin-top: 10px; }
.k-center { text-align: center; }
.k-centerrow { justify-content: center; }
.kids main label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px;
  color: #23283a; }
.kids label small { font-weight: 400; color: #6b7088; }
.k-grow { flex: 1 1 220px; }
.k-age { width: 90px; }
.kids main input, .kids main textarea, .kids main select, .k-pad input { font: inherit; font-size: 18px;
  color: #23283a; background: #fffaf3; border: 2px solid #f1dcc4; border-radius: 14px;
  padding: 10px 14px; outline: none; box-sizing: border-box; }
.kids main input:focus, .kids main textarea:focus, .kids main select:focus, .k-pad input:focus {
  border-color: #ff8fab; }
.kids main textarea { width: 100%; min-height: 130px; line-height: 1.5; resize: vertical; }
.k-narr { margin-top: 14px; max-width: 360px; }
.k-over { color: #dc2626; font-weight: 700; }
.k-chars { display: flex; gap: 14px; flex-wrap: wrap; }
.k-char { width: 180px; background: #fffaf3; border-radius: 18px; padding: 10px; display: flex;
  flex-direction: column; gap: 8px; align-items: center; }
.k-char img { width: 160px; height: 160px; object-fit: contain; background: #fff; border-radius: 12px; }
.k-char b { font-size: 17px; }
.k-busy img { animation: k-pulse 1.4s ease-in-out infinite; }
@keyframes k-pulse { 50% { opacity: .45; transform: scale(.96); } }
.k-add { width: 180px; min-height: 230px; border: 3px dashed #ffb38a; border-radius: 18px;
  background: #fff; color: #e4572e; font: inherit; font-weight: 700; font-size: 17px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  text-align: center; }
.k-add span { font-size: 44px; line-height: 1; }
.k-big { display: inline-flex; align-items: center; justify-content: center; font: inherit;
  font-size: 20px; font-weight: 700; color: #fff !important; background: linear-gradient(135deg, #ff7a59, #ff4d8d);
  border: 0; border-radius: 99px; padding: 16px 30px; min-height: 58px; cursor: pointer;
  text-decoration: none; box-shadow: 0 10px 24px -10px rgba(255, 77, 141, .7); }
.k-big:disabled { opacity: .6; }
.k-alt { background: linear-gradient(135deg, #3ec9c1, #3b82f6);
  box-shadow: 0 10px 24px -10px rgba(59, 130, 246, .6); }
.k-small { font: inherit; font-size: 15px; font-weight: 600; border: 2px solid #f1dcc4; background: #fff;
  color: #23283a; border-radius: 99px; padding: 7px 14px; cursor: pointer; }
.k-ghost { color: #6b7088; }
.k-go { text-align: center; margin: 8px 0 30px; }
.k-mic { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 17px;
  font-weight: 700; border: 0; border-radius: 99px; padding: 12px 20px; background: #eef2ff;
  color: #3730a3; cursor: pointer; }
.k-mic .k-dot { width: 14px; height: 14px; border-radius: 50%; background: #6366f1; }
.k-mic.on { background: #fee2e2; color: #991b1b; }
.k-mic.on .k-dot { background: #ef4444; animation: k-pulse 1s infinite; }
.k-reveal { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin: 12px 0 22px; }
.k-reveal .k-d { width: 180px; height: 220px; object-fit: contain; background: #fff; border-radius: 16px;
  border: 2px solid #f1dcc4; }
.k-reveal .k-h { width: 260px; height: 340px; object-fit: cover; border-radius: 22px;
  box-shadow: 0 16px 36px -18px rgba(35, 40, 58, .5); }
.k-arrow { font-size: 40px; color: #ff8fab; }
.k-who { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.k-who b { font-size: 22px; }
.k-fail { width: 260px; padding: 20px; border-radius: 18px; background: #fee2e2; color: #991b1b; }
.k-grown { border: 3px solid #c7d2fe; }
.k-grown input { width: 140px; }
.k-progress { font-size: 22px; font-weight: 700; margin: 6px 0 12px; }
.k-bar { height: 16px; background: #ffeedd; border-radius: 99px; overflow: hidden; max-width: 520px;
  margin: 0 auto 14px; }
.k-bar div { height: 100%; width: 6%; background: linear-gradient(90deg, #ffd166, #ff4d8d);
  border-radius: 99px; transition: width .8s; }
.k-video { width: 100%; max-width: 880px; margin: 8px auto 18px; border-radius: 22px; background: #000; }
.k-pad { width: min(96vw, 820px); max-height: 96vh; border: 0; border-radius: 24px; padding: 16px;
  background: #fff7ec; color: #23283a; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.k-pad::backdrop { background: rgba(20, 24, 40, .55); }
.k-pad label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.k-pad canvas { display: block; width: 100%; max-width: 58vh; aspect-ratio: 1; margin: 12px auto;
  background: #fff; border-radius: 16px; border: 2px solid #f1dcc4; touch-action: none; }
.k-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.k-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.k-col { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 0 0 2px #f1dcc4; cursor: pointer; }
.k-col.on { box-shadow: 0 0 0 3px #23283a; }
.k-tool { font: inherit; font-size: 15px; font-weight: 700; border: 2px solid #f1dcc4; background: #fff;
  color: #23283a; border-radius: 12px; padding: 9px 14px; min-height: 44px; cursor: pointer; }
.k-tool.on { background: #23283a; color: #fff; border-color: #23283a; }
@media (max-width: 640px) {
  .k-hero h1 { font-size: 26px; }
  .k-char, .k-add { width: 46%; }
  .k-char img { width: 100%; height: auto; aspect-ratio: 1; }
  .k-reveal .k-h { width: 80%; height: auto; }
}
/* Over pipe.css (2026-11-26 screenshots): Pipe's inputs are 44 px high and dark
   on focus, its placeholders slate, its top bar see-through. */
body.kids { color: var(--ink); }
.kids main, .k-pad { color: #23283a; }
body.kids .topbar { background: rgba(11, 18, 32, .97); }
.kids main input, .kids main select { height: auto; min-height: 52px; line-height: 1.35; }
.kids main select { padding: 10px 40px 10px 14px; }
.kids main select option { background: #fff; color: #23283a; }
.kids main input::placeholder, .kids main textarea::placeholder { color: #bba996; }
.kids main input:focus, .kids main textarea:focus, .kids main select:focus { background: #fff; }
.kids main label.k-add { color: #e4572e; font-size: 17px; font-weight: 700; align-items: center;
  justify-content: center; gap: 6px; }
.kids main label > span small { font-weight: 400; color: #6b7088; }
/* The drawing pad, v2 (2026-11-26): icon tools with labels, four brushes,
   mirror drawing with a centre guide, sizes as dots, 16 colours and any colour. */
.k-toolbar { display: flex; gap: 6px; flex-wrap: wrap; align-items: stretch; margin: 12px 0 0; }
.k-toolbar .k-tool { display: inline-flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; min-width: 62px; min-height: 62px; padding: 6px 8px;
  border-radius: 14px; font-size: 12.5px; line-height: 1.1; }
.k-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.k-tool:disabled { opacity: .35; cursor: default; }
.k-danger { color: #dc2626; }
.k-sep { width: 2px; background: #f1dcc4; margin: 8px 3px; border-radius: 2px; }
.k-canvas-wrap { position: relative; width: 100%; max-width: 56vh; margin: 12px auto; }
.k-pad .k-canvas-wrap canvas { max-width: none; margin: 0; }
.k-guide { position: absolute; top: 2%; bottom: 2%; left: 50%; width: 0; margin-left: -1px;
  border-left: 3px dashed rgba(255, 77, 141, .55); pointer-events: none; }
.k-palette { justify-content: space-between; align-items: center; gap: 12px; }
.k-sizes { display: flex; gap: 6px; align-items: center; }
.k-size { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #f1dcc4; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.k-size i { display: block; border-radius: 50%; background: #23283a; }
.k-size.on { border-color: #23283a; box-shadow: 0 0 0 2px #23283a; }
.k-colors { gap: 6px; flex: 1 1 300px; justify-content: flex-end; }
.k-pad .k-col { width: 36px; height: 36px; padding: 0; }
.k-col[data-col="#ffffff"] { box-shadow: 0 0 0 2px #d9c7b2; }
.k-col.on, .k-col[data-col="#ffffff"].on { box-shadow: 0 0 0 3px #23283a; }
.k-more { position: relative; overflow: hidden; cursor: pointer;
  background: conic-gradient(#ef4444, #f97316, #facc15, #22c55e, #38bdf8, #8b5cf6, #ec4899, #ef4444); }
.kids main .k-more input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0;
  padding: 0; border: 0; opacity: 0; cursor: pointer; }
@media (max-width: 640px) {
  .k-toolbar .k-tool { min-width: 54px; min-height: 54px; font-size: 11.5px; }
  .k-colors { justify-content: flex-start; }
}
/* How the movie came to be (2026-11-26): the drawings, their 3D selves, the
   story as written and the movie, in order, on one page. */
.k-by { font-size: 17px; margin: -2px 0 16px; color: #3b3f55; display: flex; gap: 14px;
  flex-wrap: wrap; align-items: baseline; }
.k-by a { font-weight: 700; }
.k-alive { display: flex; flex-direction: column; gap: 18px; }
.k-pair { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto;
  align-items: center; justify-items: center; gap: 6px 18px; background: #fffaf3;
  border-radius: 20px; padding: 16px; }
.k-pair figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.k-pair figcaption { font-size: 13px; font-weight: 600; color: #6b7088; text-transform: uppercase;
  letter-spacing: .06em; }
.k-pair .k-d { width: 220px; height: 260px; object-fit: contain; background: #fff; border-radius: 16px;
  border: 2px solid #f1dcc4; }
.k-pair .k-h { width: 220px; height: 290px; object-fit: cover; border-radius: 20px;
  box-shadow: 0 16px 36px -18px rgba(35, 40, 58, .5); }
.k-pair-name { grid-column: 1 / -1; font-size: 22px; }
.k-tale { margin: 0; padding: 20px 24px; border-radius: 18px; background: #fffaf3;
  border-left: 6px solid #ff8fab; font-size: 21px; line-height: 1.6; color: #23283a;
  font-style: italic; white-space: pre-line; }
@media (max-width: 640px) {
  .k-pair { gap: 6px 8px; padding: 12px; }
  .k-pair .k-d, .k-pair .k-h { width: 132px; height: 170px; }
  .k-pair .k-arrow { font-size: 26px; }
  .k-tale { font-size: 18px; padding: 16px 18px; }
}

/* Kids Art on its own address (2026-11-29): one light theme for every page
   there, set through pipe.css tokens so billing and passwords match. */
body.ka {
  --bg: #fff7ec; --bg-elev: #fffaf4; --panel: #ffffff; --panel-2: #fff1e2; --panel-3: #ffe7cf;
  --line: rgba(35, 40, 58, .08); --line-2: rgba(35, 40, 58, .15); --line-3: rgba(35, 40, 58, .26);
  --ink: #23283a; --ink-2: #3b3f55; --mute: #6b7088; --dim: #8a8ea3;
  --accent: #e4572e; --accent-2: #ef6f48; --accent-ink: #ffffff; --accent-soft: rgba(228, 87, 46, .1);
  --accent-line: rgba(228, 87, 46, .5); --shadow: 0 20px 50px -24px rgba(35, 40, 58, .35);
  color-scheme: light; background: var(--bg); color: var(--ink);
}
.k-word { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -.02em;
  color: #23283a; text-decoration: none; }
.k-word span { color: #e4572e; }
.k-word:hover { text-decoration: none; }
body.ka .topbar { background: rgba(255, 247, 236, .96); border-bottom-color: var(--line-2); }
body.ka .nav a:hover { background: rgba(35, 40, 58, .05); }
body.ka .nav a.on { background: rgba(35, 40, 58, .08); }
body.ka .k-newmovie { margin: 0; }
body.ka .avatar { background: linear-gradient(135deg, #ffd166, #ff8fab); color: #23283a; border-color: transparent; }
body.ka .menu-pop { background: #fff; }
body.ka .btn:hover { box-shadow: 0 8px 26px -10px rgba(228, 87, 46, .55); }
body.ka .btn.ghost:hover { background: rgba(35, 40, 58, .05); }
body.ka .btn.soft:hover { background: var(--panel-2); }
body.ka input:focus, body.ka textarea:focus, body.ka select:focus { background: #fff;
  box-shadow: 0 0 0 4px rgba(228, 87, 46, .12); }
body.ka input::placeholder, body.ka textarea::placeholder { color: #b8a693; }
body.ka select option { background: #fff; color: #23283a; }
body.ka .notice { color: #14532d; }
body.ka .err { color: #991b1b; }
body.ka .warn { color: #7c2d12; }
body.ka .notice b, body.ka .err b, body.ka .warn b { color: inherit; }
body.ka .aurora-bg { display: none; }
body.ka .tabbar { background: rgba(255, 247, 236, .97); grid-template-columns: repeat(2, 1fr); }
body.ka .auth-hero { background: linear-gradient(140deg, #ffd166 0%, #ffb38a 55%, #ff8fab 100%);
  border-right: 0; border-bottom: 0; }
body.ka .auth-hero::after { display: none; }
body.ka .auth-hero .k-word { font-size: 30px; }
body.ka .auth-hero .display { color: #23283a; }
body.ka .auth-hero .grad { background: none; color: #b33a16; -webkit-text-fill-color: #b33a16; }
body.ka .auth-hero .eyebrow, body.ka .auth-hero .lead, body.ka .auth-points li { color: #3b3f55; }
body.ka .auth-hero .eyebrow .i { color: #b33a16; }
body.ka .auth-points b { color: #23283a; }
body.ka .pt-ico { background: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .9); color: #e4572e; }
body.ka .auth-foot { color: #5b4a3a; }
body.ka .auth-side { background: var(--bg); }
body.ka .auth-card .title { color: #23283a; }
