/* The K-2 look (30 Sep 2026, switch kid_design): kid.js puts class "kid" on the body of the home page, the practice round
   and the activity frame for a child in Kindergarten, Year 1 or Year 2. Every rule here starts with body.kid (or
   html.kid-wait), so with the switch off, or for an older child, nothing changes. The logo's navy, gold and sky blue;
   big targets (48 px or more); pictures drawn in SVG and CSS. */
html.kid-wait .wrap{visibility:hidden}
body.kid{--k-navy:#0a2650; --k-sky:#38bdf8; --k-blue:#2563eb; --k-line:#dbe7f5;
  background:radial-gradient(120% 60% at 80% 0%, #bfe6fb 0%, rgba(191,230,251,0) 60%), linear-gradient(180deg,#d4eefc 0%,#eaf6ff 34%,#eafaf3 100%)}
body.kid .wrap{max-width:1080px; padding:14px 18px 40px}

/* ---- the top bar */
body.kid .k-top, body.kid .top{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  background:rgba(255,255,255,.88); border-radius:24px; padding:8px 10px 8px 14px; margin:0 0 14px; box-shadow:0 6px 20px rgba(10,38,80,.08)}
body.kid .k-brand, body.kid .top a.brand{display:inline-flex; align-items:center; gap:10px; min-height:52px; text-decoration:none; color:var(--k-navy);
  font-weight:800; font-size:23px; letter-spacing:-.01em}
body.kid .k-brand img, body.kid .top a.brand .mark{width:48px; height:48px; border-radius:12px; box-shadow:none; flex:none}
body.kid .k-brand b, body.kid .top a.brand .bt > span:not(.k-m){color:var(--k-navy)}
body.kid .k-brand em, body.kid .top a.brand .k-m{font-style:normal; color:var(--k-blue)}
body.kid .k-nav{display:flex; gap:6px; flex-wrap:wrap}
body.kid .k-nav a{display:inline-flex; align-items:center; gap:8px; min-height:52px; padding:0 18px; border-radius:18px; text-decoration:none;
  color:var(--k-navy); font-weight:700; font-size:18px}
body.kid .k-nav a svg{width:24px; height:24px}
body.kid .k-nav a.on{background:#dbeafe; color:var(--k-blue); font-weight:800}

/* ---- hello: one small row (owner, 30 Sep 2026: "the massive banner above is just saying hi. It needs to be smaller") */
body.kid .k-hello{display:flex; align-items:center; gap:12px; min-height:56px; max-height:72px; padding:4px 8px; margin:0 0 10px}
body.kid .k-avbox{flex:none; width:48px; height:48px; border-radius:50%; background:#fff; padding:3px; box-shadow:0 3px 10px rgba(10,38,80,.12)}
body.kid .k-avatar{width:100%; height:100%; display:block}
body.kid .k-hello h1{flex:0 1 auto; min-width:0; margin:0; font-size:30px; line-height:1.1; color:var(--k-navy); letter-spacing:-.01em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.kid .k-starcount{flex:none; display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border-radius:999px; background:#fff; font-weight:800; font-size:20px;
  color:var(--k-navy); box-shadow:0 3px 0 #fde68a}
body.kid .k-starcount i{font-style:normal; color:#f59e0b; font-size:22px}
body.kid .k-hellodino{flex:none; width:60px; height:60px; margin-left:auto}
@media (prefers-reduced-motion:reduce){ body.kid .k-mascot{animation:none} }

/* ---- sections */
body.kid .k-sec{display:block; background:rgba(255,255,255,.94); border-radius:28px; padding:18px 18px 20px; margin:0 0 14px; box-shadow:0 8px 26px rgba(10,38,80,.07)}
body.kid .k-head{display:flex; align-items:center; gap:14px; margin:0 0 14px}
body.kid .k-head > div{flex:1; min-width:0}
body.kid .k-head h2{margin:0; font-size:30px; color:var(--k-navy); letter-spacing:-.01em}
body.kid .k-head h2 small{font-size:18px; color:#64748b}
body.kid .k-head p{margin:2px 0 0; font-size:17px; color:#475569; font-weight:600}
body.kid .k-ic{flex:none; width:60px; height:60px; border-radius:50%; display:grid; place-items:center; background:#e0f2fe; color:var(--k-blue); font-size:28px}
body.kid .k-ic svg{width:30px; height:30px}
body.kid .k-star{color:#f59e0b; font-size:36px; line-height:1}
body.kid .k-all{flex:none; display:inline-flex; align-items:center; gap:6px; min-height:50px; padding:0 18px; border-radius:16px; border:2px solid #bfdbfe;
  background:#fff; color:var(--k-blue); font-weight:800; font-size:17px; text-decoration:none}
body.kid .k-all span{font-size:24px; line-height:1}
body.kid .k-h1{font-size:40px; margin:6px 4px 14px; color:var(--k-navy)}
body.kid .k-note{margin:12px 2px 0; font-size:17px; color:#475569; font-weight:600}

/* ---- Today: one numbered list, one Start (owner, 30 Sep 2026: "should the first thing they see be the work they are required to do today?") */
body.kid .k-todo{list-style:none; margin:0; padding:0; display:grid; gap:8px}
body.kid .k-todo-i{display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-height:60px; padding:8px 12px; border-radius:18px; background:#f8fbff; border:2px solid var(--k-line)}
body.kid .k-n{flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:#e0ecff; color:var(--k-blue); font-weight:800; font-size:20px}
body.kid .k-what{flex:1 1 200px; min-width:0; display:flex; flex-direction:column}
body.kid .k-what b{font-size:20px; color:var(--k-navy); line-height:1.2}
body.kid .k-what small{font-size:15px; color:#475569; font-weight:700}
body.kid .k-mins{flex:none; font-size:15px; color:#475569; font-weight:700}
body.kid .k-tick{flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; border:3px solid #cbd5e1; background:#fff; color:#fff}
body.kid .k-tick svg{width:24px; height:24px}
body.kid .k-todo-i.done{background:#f0fdf4; border-color:#bbf7d0}
body.kid .k-todo-i.done .k-tick{background:#16a34a; border-color:#16a34a}
body.kid .k-todo-i.done .k-what b{color:#166534}
body.kid .k-todo-i.lock{background:#f8fafc; opacity:.8}
body.kid .k-todo-i.lock .k-tick{border-color:#e2e8f0; color:#64748b; background:#f1f5f9}
body.kid .k-todo-i.paper .k-tick{border-style:dashed}
body.kid .k-todo-i.next{background:#fff; border:3px solid #86efac; box-shadow:0 6px 18px rgba(22,163,74,.14); padding:12px}
body.kid .k-todo-i.next .k-n{background:#16a34a; color:#fff}
body.kid .k-start{flex:none; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:64px; min-width:170px; padding:0 26px; border-radius:20px;
  background:linear-gradient(180deg,#22c55e,#16a34a); color:#fff; font-weight:800; font-size:26px; text-decoration:none; box-shadow:0 5px 0 #15803d}
body.kid .k-start:active{transform:translateY(3px); box-shadow:0 2px 0 #15803d}
body.kid .k-start svg{width:34px; height:34px}
body.kid .k-alldone{display:flex; align-items:center; gap:14px; margin:12px 0 0; padding:12px 16px; border-radius:20px; background:#fefce8; border:2px solid #fde68a}
body.kid .k-alldone b{font-size:24px; color:var(--k-navy)} body.kid .k-alldone p{margin:2px 0 0; font-size:16px; color:#475569; font-weight:600}
/* soft_check_lock (5 Oct 2026): the box before Show what you know while the week's lesson is not finished */
body.kid .k-warn{max-width:min(460px, calc(100vw - 32px)); padding:22px 24px; border:2px solid #fde68a; border-radius:24px; background:#fffbeb; color:var(--k-navy)}
body.kid .k-warn::backdrop{background:rgba(15,23,42,.45)}
body.kid .k-warn p{margin:0 0 10px; font-size:22px; font-weight:700; line-height:1.35}
body.kid .k-warn p + p{margin-bottom:18px; font-size:19px; font-weight:600}
body.kid .k-warn button.k-start{border:0; font-family:inherit; cursor:pointer}
body.kid .k-warnbtns{display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px}
body.kid .k-warnbtns .k-start{order:0}                 /* the phone rule puts a Start last: here it stays first */
body.kid .k-warnany{display:inline-flex; align-items:center; min-height:48px; padding:0 10px; font-size:19px; font-weight:700; color:#475569}
body.kid .k-party{font-size:44px; line-height:1; animation:k-pop .6s ease-out}
body.kid .k-cheer{width:76px; height:76px; flex:none; animation:k-pop .6s ease-out}
@keyframes k-pop{0%{transform:scale(.4); opacity:0} 70%{transform:scale(1.1); opacity:1} 100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){ body.kid .k-party, body.kid .k-cheer{animation:none} }
body.kid .k-chips{display:inline-flex; gap:5px; align-items:center}
body.kid .k-chips i{font-style:normal; font-weight:800; font-size:24px; color:var(--k-navy); min-width:34px; height:40px; padding:0 6px; display:grid; place-items:center;
  background:#fff; border-radius:10px; box-shadow:0 2px 0 #cbd5e1}
body.kid .k-chips.big i{font-size:38px; min-width:52px; height:62px; border-radius:14px; box-shadow:0 4px 0 #bfdbfe}
body.kid .k-chips.big i:nth-child(odd){transform:rotate(-5deg)} body.kid .k-chips.big i:nth-child(3){transform:rotate(5deg)}
body.kid #k-warm > div:empty{display:none}
body.kid #k-warm .panel{margin:0 0 14px; border-radius:28px}
body.kid #k-warm .btn{min-height:52px; font-size:19px; padding:0 22px}

/* ---- tiles: practice sets, lessons, locked work */
body.kid .k-row{display:grid; gap:12px; grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
body.kid .k-tile{position:relative; display:flex; flex-direction:column; gap:8px; min-height:132px; padding:14px 64px 14px 16px; border-radius:22px; text-decoration:none; color:inherit;
  background:#fff; border:2px solid var(--k-line)}
body.kid .k-tile.k-act{background:color-mix(in srgb, var(--c) 9%, white); border-color:color-mix(in srgb, var(--c) 18%, white)}
body.kid .k-tile .k-tx{display:flex; flex-direction:column; gap:2px; min-width:0}
body.kid .k-tile small{font-size:13.5px; font-weight:800; color:color-mix(in srgb, var(--c, #64748b) 70%, #334155)}
body.kid .k-tile b{font-size:20px; color:var(--k-navy); line-height:1.2}
body.kid .k-tile em{font-style:normal; font-size:14.5px; color:#475569; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
body.kid .k-tile .k-emo{font-size:40px; line-height:1}
body.kid .k-tile.k-act .k-emo{position:absolute; right:16px; top:14px; font-size:34px}
body.kid .k-tile .k-pic .k-chips i{background:#eff6ff; box-shadow:none}
body.kid .k-tile .k-dfoot{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
body.kid .k-tile .k-dfoot small{color:#64748b}
body.kid .k-stars{display:inline-flex; gap:2px; font-size:26px; line-height:1; color:#cbd5e1}
body.kid .k-stars i{font-style:normal} body.kid .k-stars i.on{color:#fbbf24; text-shadow:0 2px 0 #f59e0b}
body.kid .k-go{position:absolute; right:12px; bottom:12px; width:48px; height:48px; border-radius:50%; display:grid; place-items:center; background:#e0ecff; color:var(--k-blue)}
body.kid .k-go svg{width:24px; height:24px}
body.kid .k-tile.k-lockd{background:#f8fafc; opacity:.75; padding-right:16px}
body.kid .k-tile.k-lockd .k-emo{position:absolute; right:14px; top:12px; font-size:26px}
body.kid .k-more{display:flex; flex-wrap:wrap; gap:12px 16px; align-items:center; margin:14px 0 0; padding:14px 16px; border-radius:22px; background:#fffbeb; border:2px solid #fde68a}
body.kid .k-more .k-emo{font-size:34px}
body.kid .k-more .tx{flex:1 1 220px; min-width:0} body.kid .k-more b{font-size:20px; color:var(--k-navy)} body.kid .k-more p{margin:2px 0 0; color:#475569; font-size:15px}
body.kid .k-more .btn{min-height:52px; font-size:19px; padding:0 22px}
body.kid .k-more .msg{flex:1 1 100%; font-weight:800; font-size:17px; color:#92400e; margin:0} body.kid .k-more .msg:empty{display:none}
body.kid details.k-locked > summary{list-style:none; cursor:pointer; position:relative; min-height:60px}
body.kid details.k-locked > summary::-webkit-details-marker{display:none}
body.kid details.k-locked > summary .k-head{margin:0; padding-right:60px}
body.kid details.k-locked > summary .k-ic{background:#e2e8f0; color:#334155}
body.kid details.k-locked > summary .k-go{top:50%; bottom:auto; transform:translateY(-50%); transition:transform .15s}
body.kid details.k-locked[open] > summary .k-go{transform:translateY(-50%) rotate(90deg)}
body.kid details.k-locked[open] > .k-row{margin-top:14px}
body.kid .k-bottom{display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; font-size:16px; color:#475569; font-weight:600; margin:12px 4px 0}

/* ---- the practice round and the activity frame */
body.kid .top a.brand{padding-right:10px}
body.kid .k-starrow{display:flex; align-items:center; justify-content:center; gap:14px; margin:0 0 12px; min-height:56px}
body.kid .k-starrow .stars{gap:10px}
body.kid .k-starrow .star{width:46px; height:46px; background:none; box-shadow:none; font-size:44px; color:#d6dee9; line-height:1}
body.kid .k-starrow .star.on{background:none; color:#fbbf24; text-shadow:0 3px 0 #f59e0b; box-shadow:none}
body.kid .k-mascot.k-mini{width:56px; height:56px; flex:none}
body.kid #panel{border-radius:32px; padding:22px 22px 24px; box-shadow:0 10px 30px rgba(10,38,80,.09)}
body.kid #panel .q{font-size:clamp(52px,9vw,88px); background:#fff; border:3px solid #dbeafe; border-radius:26px; padding:10px 14px; margin:10px auto 8px;
  max-width:640px; color:var(--k-navy); box-shadow:0 6px 0 #e0ecff; flex-wrap:wrap}
body.kid #panel .q .box{min-width:110px; height:92px; font-size:56px}
body.kid #panel .opts{gap:12px}
body.kid #panel button.opt{min-height:80px; font-size:40px; border-radius:22px; background:#dbeafe; border-color:#bfdbfe; color:var(--k-navy); box-shadow:0 6px 0 #93c5fd}
body.kid #panel button.opt.right{background:#dcfce7; border-color:#86efac; color:#15803d; box-shadow:0 6px 0 #4ade80}
body.kid #panel button.opt.wrong{background:#ffe4e6; border-color:#fda4af; color:#be123c; box-shadow:0 6px 0 #fb7185}
body.kid #panel button.key{min-height:72px; font-size:36px}
body.kid #panel .say{font-size:24px; min-height:36px}
body.kid #panel .btn{min-height:52px; font-size:18px}
body.kid #panel a.round{min-height:60px; font-size:18px; border-radius:18px}
body.kid #panel h1{font-size:34px}
@media (orientation:portrait){
  body.kid #panel .opts{grid-template-columns:1fr; max-width:520px; margin-left:auto; margin-right:auto}
  body.kid #panel button.opt{min-height:66px; font-size:36px}
}

/* ---- phone */
@media (max-width:700px){
  body.kid .wrap{padding:10px 12px 32px}
  body.kid .k-top{border-radius:20px; padding:6px 8px}
  body.kid .k-brand{font-size:19px} body.kid .k-brand img{width:44px; height:44px}
  body.kid .k-nav{width:100%; justify-content:space-between}
  body.kid .k-nav a{flex:1; justify-content:center; padding:0 8px; font-size:16px; gap:6px}
  body.kid .k-sec{padding:14px 12px 16px; border-radius:24px}
  body.kid .k-head{flex-wrap:wrap; gap:10px}
  body.kid .k-head h2{font-size:25px}
  body.kid .k-ic{width:50px; height:50px}
  body.kid .k-all{order:3; flex:1 1 100%; justify-content:center}
  body.kid .k-row{grid-template-columns:1fr}
  body.kid .top a.brand{font-size:19px}
  body.kid .k-starrow .star{width:40px; height:40px; font-size:38px}
  body.kid .k-starrow .stars{gap:4px}
  body.kid .k-mascot.k-mini{width:44px; height:44px}
  body.kid #panel{padding:16px 12px 18px}
}

/* ---- below Today: smaller (My island, My practice, Lessons, Locked work) */
body.kid .k-sec.k-small{padding:12px 14px 14px; border-radius:22px}
body.kid .k-small .k-head{margin:0 0 10px; gap:10px}
body.kid .k-small .k-head h2{font-size:22px}
body.kid .k-small .k-head p{font-size:15px}
body.kid .k-small .k-ic{width:44px; height:44px; font-size:22px}
body.kid .k-small .k-ic svg{width:24px; height:24px}
body.kid .k-small .k-tile{min-height:104px; padding:10px 60px 10px 14px}
body.kid .k-small .k-tile b{font-size:18px}
body.kid .k-small .k-tile .k-pic{display:none}
body.kid .k-small details.k-locked > summary, body.kid details.k-locked.k-small > summary{min-height:52px}

/* ---- My island: a path of stones (real passes only) */
body.kid .k-trail + .k-trail{margin-top:8px}
body.kid .k-trail h3{margin:0 0 2px; font-size:17px; color:var(--k-navy)}
body.kid .k-path{position:relative; height:calc(var(--rows) * 124px)}
body.kid .k-path svg{position:absolute; inset:0; width:100%; height:100%; overflow:visible}
body.kid .k-path path{fill:none; stroke:#d6b77c; stroke-width:10; stroke-linecap:round; stroke-dasharray:2 16}
body.kid .k-stop{position:absolute; transform:translate(-50%,-50%); display:flex; flex-direction:column; align-items:center; min-width:56px; min-height:56px;
  text-decoration:none; color:var(--k-navy)}
body.kid .k-stone{width:56px; height:56px; display:block}
body.kid .k-stop .k-lbl{font-size:14px; font-weight:800; white-space:nowrap; background:rgba(255,255,255,.9); border-radius:8px; padding:0 6px; margin-top:-4px}
body.kid .k-stop.shut{opacity:.55}
body.kid .k-stop.done .k-lbl{color:#166534}
body.kid .k-here{position:absolute; bottom:calc(100% - 6px); left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center;
  font-size:12px; font-weight:800; color:#b91c1c; white-space:nowrap; line-height:1.1}
body.kid .k-pin{width:34px; height:34px; order:2}
body.kid .k-sec.k-big .k-path{height:calc(var(--rows) * 150px)}
body.kid .k-sec.k-big .k-stone{width:72px; height:72px}
body.kid .k-sec.k-big .k-trail h3{font-size:22px}
body.kid .k-sec.k-big .k-lbl{font-size:16px}
/* stone_dinos (owner, 22 Oct 2026): the week's dino stands on its lit stone; the "You are here" pin goes above the dino */
body.kid .k-sbase{position:relative; display:block; line-height:0}
body.kid .k-sdino{position:absolute; left:50%; bottom:42%; width:92%; height:auto; transform:translateX(-50%); pointer-events:none;
  filter:drop-shadow(0 2px 2px rgba(59,36,16,.35))}
body.kid .k-stop.k-hasdino .k-here{bottom:calc(100% + 34px)}
/* star_stones (owner, 22 Oct 2026: "Can the star sparkle?"): a passed set stone's star twinkles and two small glints blink by it, slowly (one
   twinkle in 2.4 s); it moves with Reduce Motion too (a reward moves: hatch_motion) */
body.kid .k-sstar{position:absolute; left:50%; top:-2%; transform:translateX(-50%); font-size:calc(var(--sz, 56px) * .5); line-height:1; pointer-events:none}
body.kid .k-sec.k-big .k-sstar{--sz:72px}
body.kid .k-sstar{animation:k-twinkle 2.4s ease-in-out infinite; filter:drop-shadow(0 0 4px rgba(253,224,71,.9))}
body.kid .k-sstar i{position:absolute; width:.32em; height:.32em; background:radial-gradient(circle,#fff 0 22%,rgba(255,255,255,0) 60%),
  linear-gradient(0deg,transparent 44%,#fff 44% 56%,transparent 56%), linear-gradient(90deg,transparent 44%,#fff 44% 56%,transparent 56%);
  opacity:0; animation:k-glint 2.4s ease-in-out infinite}
body.kid .k-sstar i:first-of-type{right:-.18em; top:-.08em}
body.kid .k-sstar i + i{left:-.2em; bottom:.02em; animation-delay:1.2s}
@keyframes k-twinkle{0%,100%{transform:translateX(-50%) scale(.9) rotate(-6deg); filter:drop-shadow(0 0 3px rgba(253,224,71,.7))}
  50%{transform:translateX(-50%) scale(1.12) rotate(6deg); filter:drop-shadow(0 0 10px rgba(253,224,71,1))}}
@keyframes k-glint{0%,60%,100%{opacity:0; transform:scale(.4)} 75%{opacity:1; transform:scale(1.1)}}
@media (max-width:700px){ body.kid .k-sstar{--sz:48px} body.kid .k-sec.k-big .k-sstar{--sz:52px} }

/* ---- My dinos */
body.kid .k-dinos{display:grid; gap:12px; grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
body.kid .k-dcard{display:flex; flex-direction:column; align-items:center; text-align:center; gap:2px; padding:10px 8px 12px; border-radius:20px; background:#fff; border:2px solid var(--k-line)}
body.kid .k-dcard.hatched{background:#f0fdf4; border-color:#bbf7d0}
body.kid .k-dimg{width:110px; height:110px}
body.kid .k-dcard.egg .k-dimg{width:80px; height:100px; margin:5px 0}
body.kid .k-dcard b{font-size:18px; color:var(--k-navy)} body.kid .k-dcard small{font-size:14px; color:#475569; font-weight:600}

/* ---- the set test's finish screen: the new dino, once */
body.kid .k-hatch{display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; margin:0 auto 14px; max-width:640px;
  padding:12px 16px; border-radius:24px; background:#fefce8; border:3px solid #fde68a}
body.kid .k-hatch h3{margin:0; font-size:28px; color:var(--k-navy)} body.kid .k-hatch p{margin:4px 0 10px; font-size:17px; font-weight:600; color:#334155}
body.kid .k-hatchpic{position:relative; width:150px; height:150px; flex:none}
body.kid .k-eggc{position:absolute; left:25px; bottom:0; width:100px; height:125px; opacity:.9; animation:k-wob .5s ease-in-out}
body.kid .k-baby{position:absolute; left:5px; top:0; width:140px; height:140px; animation:k-pop .8s ease-out}
@keyframes k-wob{25%{transform:rotate(-8deg)} 75%{transform:rotate(8deg)}}
@media (prefers-reduced-motion:reduce){ body.kid .k-eggc, body.kid .k-baby{animation:none} }
body.kid .k-btn{display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 22px; border-radius:18px; color:#fff; font-weight:800; font-size:19px; text-decoration:none}

/* ---- Dino Island (switch dino_theme): the jungle round the edges, a plain light centre, parchment for the work */
body.kid.dino{background:#f1f8e6}
body.kid.dino::before{content:""; position:fixed; inset:0; z-index:-1; background:#f1f8e6 var(--dino-bg, none) center/cover no-repeat}
body.kid.dino .k-top, body.kid.dino .top{background:rgba(255,252,240,.94); border:2px solid #e9d8a6}
body.kid.dino .k-sec{background:rgba(255,252,242,.96); border:2px solid #ecdcb0}
body.kid.dino .k-todo-i{background:#fffdf6; border-color:#efe2bd}
body.kid.dino .k-todo-i.done{background:#f0fdf4; border-color:#bbf7d0}
body.kid.dino .k-todo-i.next{background:#fff; border-color:#86efac}
body.kid.dino .k-n{background:#fdf0c8; color:#8a5a14}
body.kid.dino .k-todo-i.next .k-n{background:#16a34a; color:#fff}
body.kid.dino .k-ic{background:#e8f5d8; color:#3f7a1e}
body.kid.dino .k-tile, body.kid.dino .k-dcard{border-color:#efe2bd}
body.kid.dino #panel{background:rgba(255,252,242,.97); border:2px solid #ecdcb0}
body.kid.dino #panel .q{background:#fdf3d7; border:4px solid #d9b77a; box-shadow:0 6px 0 #c9a45f; color:#1f2937}
body.kid.dino #panel .q .box{background:#fff; border-color:#c9a45f}
body.kid.dino #panel button.opt{background:#fff6dc; border:3px solid #d9b77a; box-shadow:0 6px 0 #c9a45f; color:#1f2937}
body.kid.dino #panel button.opt.right{background:#dcfce7; border-color:#86efac; color:#15803d; box-shadow:0 6px 0 #4ade80}
body.kid.dino #panel button.opt.wrong{background:#ffe4e6; border-color:#fda4af; color:#be123c; box-shadow:0 6px 0 #fb7185}
body.kid .btn.k-green, body.kid .k-btn.k-green{background:linear-gradient(180deg,#22c55e,#16a34a); color:#fff; border:0; box-shadow:0 5px 0 #15803d}
body.kid .btn.k-blue, body.kid .k-btn.k-blue{background:linear-gradient(180deg,#38bdf8,#0284c7); color:#fff; border:0; box-shadow:0 5px 0 #0369a1}
body.kid .btn.k-orange{background:linear-gradient(180deg,#fb923c,#ea580c); color:#fff; border:0; box-shadow:0 5px 0 #c2410c}
body.kid .btn.k-green, body.kid .btn.k-blue, body.kid .btn.k-orange{min-height:56px; border-radius:18px; font-size:20px; font-weight:800}
/* the helper dino: at the edge of the round, beside the stars; short kind words, never on the question */
body.kid .k-helper{position:relative; display:flex; align-items:center; gap:8px}
body.kid .k-helper .k-dino{width:64px; height:64px; flex:none}
body.kid .k-bubble{position:relative; background:#fff; border:2px solid #d9b77a; border-radius:16px; padding:6px 12px; font-weight:800; font-size:17px; color:var(--k-navy);
  max-width:230px; visibility:hidden; opacity:0; transition:opacity .2s}
body.kid .k-bubble.on{visibility:visible; opacity:1}
body.kid .k-bubble::before{content:""; position:absolute; left:-9px; top:50%; margin-top:-7px; border:7px solid transparent; border-right-color:#d9b77a; border-left:0}
@media (prefers-reduced-motion:reduce){ body.kid .k-bubble{transition:none} }

body.kid .k-nav.five a{padding:0 12px}
@media (min-width:701px) and (max-width:1000px){
  body.kid .k-brand{font-size:20px}
  body.kid .k-nav.five a{flex-direction:column; gap:0; padding:0 10px; font-size:14px; line-height:1.1}
  body.kid .k-nav.five a svg{width:22px; height:22px}
}
@media (max-width:700px){
  body.kid .k-hello h1{font-size:24px}
  body.kid .k-starcount{font-size:17px; padding:4px 10px}
  body.kid .k-hellodino{width:48px; height:48px}
  body.kid .k-todo-i{padding:8px 10px}
  body.kid .k-mins{order:3; flex:1 1 auto; padding-left:52px}
  body.kid .k-start{order:4; flex:1 1 100%}
  body.kid .k-nav.five a{flex-direction:column; gap:0; font-size:12.5px; padding:2px 2px; min-height:52px; line-height:1.1}
  body.kid .k-nav.five a svg{width:22px; height:22px}
  body.kid .k-path{height:calc(var(--rows) * 104px)}
  body.kid .k-stone{width:48px; height:48px}
  body.kid .k-stop .k-lbl{font-size:12px}
  body.kid .k-sec.k-big .k-stone{width:52px; height:52px}
  body.kid .k-sec.k-big .k-lbl{font-size:13px}
  body.kid .k-sec.k-big .k-path{height:calc(var(--rows) * 120px)}
  body.kid .k-dinos{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.kid .k-helper .k-dino{width:48px; height:48px}
  body.kid .k-bubble{font-size:14px; max-width:150px; padding:4px 8px}
}

/* ================================================================ Gameful learning (1 Oct 2026, features.json _gameful).
   Each part only through its own switch: a body class kid.js adds (k-calm, k-wash, k-parch) or an element it makes. */
/* ---- calm_background (the owner: "all we see are the busy sides ... it detracts from the boxes of the work"): on a work page
   a strong cream wash, the picture only a strip at the bottom; home, island and dinos a lighter wash */
body.kid.dino.k-calm::before{background:linear-gradient(180deg,rgba(255,251,240,.93) 0%,rgba(255,251,240,.93) 82%,rgba(255,251,240,.4) 100%),
  var(--dino-bg, none) center bottom/cover no-repeat, #f1f8e6}
body.kid.dino.k-wash::before{background:linear-gradient(rgba(255,251,240,.5),rgba(255,251,240,.5)), var(--dino-bg, none) center/cover no-repeat, #f1f8e6}
body.kid.dino.k-calm .top, body.kid.dino.k-calm #panel{box-shadow:0 10px 30px rgba(90,62,20,.12)}

/* ---- parchment_tiles (the owner's mock-ups, in CSS only): the question card, a tile for each number, parchment buttons with a
   darker bottom edge, plain green / blue / purple / gold frames round the home sections */
body.kid.dino.k-parch #panel .q{background:radial-gradient(130% 150% at 50% 0%,#fffaeb 0%,#f6e6c1 100%); border:4px solid #c9a46a; border-radius:28px;
  box-shadow:inset 0 0 0 4px #fbf1d9, 0 7px 0 #b08950; gap:clamp(6px,1.4vw,14px); padding:16px 14px; font-size:clamp(40px,8vw,76px)}
body.kid.dino.k-parch #panel .q > span:not(.box){min-width:1.25em; padding:2px .2em 0; text-align:center; border-radius:18px; line-height:1.18;
  background:linear-gradient(180deg,#fffcf3 0%,#f3e2ba 100%); border:3px solid #d4b077; box-shadow:0 5px 0 #b08950}
body.kid.dino.k-parch #panel .q .box{background:#fffdf7; border:4px dashed #c9a46a; border-radius:18px; box-shadow:none}
body.kid.dino.k-parch #panel .q .box.right{border-style:solid; border-color:#86efac; background:#f0fdf4}
body.kid.dino.k-parch #panel button.opt, body.kid.dino.k-parch #panel button.key:not(.ok){background:linear-gradient(180deg,#fffcf3 0%,#f3e2ba 100%);
  border:3px solid #d4b077; box-shadow:0 7px 0 #a98247; color:#3b2a14; border-radius:22px}
body.kid.dino.k-parch #panel button.opt:active, body.kid.dino.k-parch #panel button.key:not(.ok):active{transform:translateY(4px); box-shadow:0 3px 0 #a98247}
body.kid.dino.k-parch #panel button.opt.right{background:#dcfce7; border-color:#86efac; color:#15803d; box-shadow:0 7px 0 #4ade80}
body.kid.dino.k-parch #panel button.opt.wrong{background:#ffe4e6; border-color:#fda4af; color:#be123c; box-shadow:0 7px 0 #fb7185}
body.kid.dino.k-parch #panel button.key.ok{border-radius:22px; box-shadow:0 7px 0 #15803d; background:linear-gradient(180deg,#22c55e,#16a34a); border-color:#16a34a}
body.kid.dino.k-parch #panel input.pen{background:#fffdf7; border-color:#c9a46a}
body.kid.dino.k-parch .k-sec{background:#fffdf5}
body.kid.dino.k-parch #k-today{border:4px solid #6aa84f; box-shadow:0 6px 0 rgba(74,124,47,.25)}
body.kid.dino.k-parch #k-island{border:4px solid #3b8fd0; box-shadow:0 6px 0 rgba(35,99,150,.22)}
body.kid.dino.k-parch #k-practice, body.kid.dino.k-parch #k-allsets{border:4px solid #9466c9; box-shadow:0 6px 0 rgba(104,64,150,.22)}
body.kid.dino.k-parch #k-learn, body.kid.dino.k-parch #k-alllearn{border:4px solid #d9a02b; box-shadow:0 6px 0 rgba(160,110,20,.25)}

/* ---- fixup_round: "Let's fix these" */
body.kid #panel .pill.fixing{background:#fde68a; color:#7c4a03; font-size:18px; padding:6px 14px; margin-left:0}
body.kid #panel button.opt.show{border-color:#22c55e; box-shadow:0 0 0 5px #bbf7d0, 0 7px 0 #4ade80}
body.kid #panel .q .box.wrong{border-color:#fda4af; background:#fff1f2; color:#be123c}

/* ---- stars_info: how many are done, never how many are right */
body.kid .k-prog{display:block; width:min(360px,48vw); height:20px; border-radius:999px; background:#efe3c4; overflow:hidden;
  box-shadow:inset 0 2px 3px rgba(60,40,10,.18)}
body.kid .k-prog i{display:block; height:100%; border-radius:999px; background:linear-gradient(180deg,#8bd46f,#4caf50); transition:width .3s}
body.kid #panel .done .lead.k-info{font-size:24px; font-weight:800; color:var(--k-navy)}
body.kid .k-prog.fixing i{background:linear-gradient(180deg,#fcd34d,#f59e0b)}
@media (prefers-reduced-motion:reduce){ body.kid .k-prog i{transition:none} }

/* ---- egg_growth: still, wobble, small crack, bigger crack (CSS over the egg picture) */
body.kid .k-eggbox{position:relative; display:inline-block; line-height:0; transform-origin:50% 88%}
body.kid .k-crack{position:absolute; inset:0; width:100%; height:100%; pointer-events:none}
body.kid .k-crack path{fill:none; stroke:#4a2f12; stroke-width:2.8; stroke-linecap:round; stroke-linejoin:round}
body.kid .k-egg10 .k-crack path{stroke:#2e1a08; stroke-width:4.4}   /* egg_ring: thick cracks, a light edge so they show on every egg colour */
body.kid .k-egg10 .k-crack path.k-ch{stroke:#fff6dc; stroke-width:8}
body.kid .k-dcard.egg .k-eggbox{margin:5px 0} body.kid .k-dcard.egg .k-eggbox .k-dimg{margin:0}
body.kid .k-st1 .k-eggbox, body.kid .k-st2 .k-eggbox{animation:k-wobble 3s ease-in-out infinite}
body.kid .k-st3 .k-eggbox{animation:k-wobble 1.8s ease-in-out infinite}
@keyframes k-wobble{0%,64%,100%{transform:rotate(0)} 72%{transform:rotate(-7deg)} 82%{transform:rotate(6deg)} 91%{transform:rotate(-3deg)}}
@media (prefers-reduced-motion:reduce){ body.kid .k-st1 .k-eggbox, body.kid .k-st2 .k-eggbox, body.kid .k-st3 .k-eggbox{animation:none; transform:rotate(-5deg)} }
body.kid .k-egg{display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; text-align:left; margin:0 auto 14px; max-width:640px;
  padding:10px 16px; border-radius:24px; background:#f7fee7; border:3px solid #bef264}
body.kid .k-egg .k-dimg{width:96px; height:96px}
body.kid .k-egg h3{margin:0; font-size:24px; color:var(--k-navy)} body.kid .k-egg p{margin:2px 0 0; font-size:17px; font-weight:600; color:#334155}

/* ---- mastery_labels: Mastered (gold), Nearly there, Learning; a test not passed is never called a loss */
body.kid .k-mlabel{display:inline-block; font-size:12.5px; font-weight:800; line-height:1.5; border-radius:999px; padding:0 8px; white-space:nowrap}
body.kid .k-mlabel.mastered{background:#fde68a; color:#78350f}
body.kid .k-mlabel.nearly{background:#dcfce7; color:#166534}
body.kid .k-mlabel.learning{background:#e0f2fe; color:#075985}
body.kid .k-stop .k-mlabel{margin-top:2px}
body.kid .k-trail.k-labelled + .k-trail{margin-top:22px}
body.kid .k-trail.k-labelled h3{margin-bottom:12px}
body.kid .k-stop.k-mastered .k-stone{filter:drop-shadow(0 0 7px rgba(251,191,36,.95))}
body.kid .k-mastery{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 12px; max-width:640px; margin:0 auto 14px;
  padding:12px 16px; border-radius:22px; background:#f0f9ff; border:3px solid #bae6fd; text-align:center}
body.kid .k-mastery b{font-size:22px; color:var(--k-navy)} body.kid .k-mastery span{font-size:17px; font-weight:700; color:#334155}
body.kid .k-mastery .k-mlabel{font-size:15px; padding:2px 12px}
body.kid .k-mastery.gold{background:#fffbeb; border-color:#fbbf24}

/* ---- place_choice: Where shall we go today? */
body.kid .k-places{display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:14px 0 0; padding:10px 12px; border-radius:18px;
  background:#fffdf6; border:2px dashed #e2cd98}
body.kid .k-places > b{font-size:17px; color:var(--k-navy)}
body.kid .k-placebtns{display:flex; flex-wrap:wrap; gap:8px}
body.kid .k-place{display:inline-flex; align-items:center; gap:8px; min-height:52px; padding:3px 12px 3px 3px; border-radius:16px; border:3px solid #e2cd98;
  background:#fff; font:inherit; font-weight:800; font-size:16px; color:var(--k-navy); cursor:pointer}
body.kid .k-place .k-thumb{flex:none; width:58px; height:40px; border-radius:11px; background:#e5e7eb center/cover no-repeat}
body.kid .k-place.on{border-color:#16a34a; box-shadow:0 0 0 3px #bbf7d0; background:#f0fdf4}
@media (max-width:700px){
  body.kid .k-placebtns{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%}
  body.kid .k-prog{width:min(220px,46vw)}
  body.kid.dino.k-parch #panel .q{padding:12px 6px; gap:5px; font-size:32px}
  body.kid.dino.k-parch #panel .q .box{min-width:60px; height:56px; font-size:30px}
  body.kid .k-egg{text-align:center}
}

/* ================================================================ More of the mock-up look (1 Oct 2026, the owner: "integrate these more -
   especially the cards and the light brown boxes with the brick borders"; "the background needs to be lighter"; "our logo seems out of
   place"). Each part through its own switch: k-stone (stone_frames), k-logo (themed_logo), the topic tiles (topic_tiles, made by kid.js);
   the wash numbers from features.json dino_wash (not set = the numbers before). */
/* ---- dino_wash: how much cream lies over the picture (0 = the picture, 1 = plain cream) */
body.kid.dino.k-calm::before{background:linear-gradient(180deg,rgba(255,251,240,var(--k-wash-work,.93)) 0%,rgba(255,251,240,var(--k-wash-work,.93)) 82%,
  rgba(255,251,240,calc(var(--k-wash-work,.93) - .53)) 100%), var(--dino-bg, none) center bottom/cover no-repeat, #f1f8e6}
body.kid.dino.k-wash::before{background:linear-gradient(rgba(255,251,240,var(--k-wash-home,.5)),rgba(255,251,240,var(--k-wash-home,.5))),
  var(--dino-bg, none) center/cover no-repeat, #f1f8e6}

/* ---- stone_frames (the owner's card mock-ups, 1 Oct 2026): curved frames with rounded corners, a different look for each box, and the
   stones, leaves or quartz INSIDE each corner (img/dino/box-<name>.svg, tools/draw-frames.py): Today leafy green, My island blue with
   stones, practice purple with quartz, lessons gold with rocks, locked grey, the work natural stone on the brownish-orange board.
   The cards take their topic's frame. The top bar is a green banner, as in the mock-up's home page. */
body.kid.dino.k-stone{--frame:url(img/dino/box-stone.svg); --k-in:radial-gradient(120% 130% at 50% 30%, #f6e0b0 0%, #ecc78c 58%, #d9a35e 100%)}
body.kid.dino.k-stone :is(.k-sec, #panel, #k-today, #k-island, #k-practice, #k-allsets, #k-learn, #k-alllearn){
  border:38px solid transparent; border-image:var(--frame) 84 / 50px stretch; border-radius:44px; padding:0;
  box-shadow:0 8px 18px rgba(70,45,15,.16); background:var(--k-in) border-box}
body.kid.dino.k-stone #k-today{--frame:url(img/dino/box-leaf.svg); --k-in:linear-gradient(180deg,#fbf3d2,#f1e2a8)}
body.kid.dino.k-stone :is(#k-island, #k-islandv .k-sec){--frame:url(img/dino/box-blue.svg); --k-in:linear-gradient(180deg,#ecf8f8,#d3ecee)}
body.kid.dino.k-stone :is(#k-practice, #k-allsets){--frame:url(img/dino/box-purple.svg); --k-in:linear-gradient(180deg,#f8f0fd,#ebdef5)}
body.kid.dino.k-stone :is(#k-learn, #k-alllearn){--frame:url(img/dino/box-gold.svg); --k-in:linear-gradient(180deg,#fff6dc,#fbe6b0)}
body.kid.dino.k-stone .k-locked{--frame:url(img/dino/box-grey.svg); --k-in:#f4f1ec}
body.kid.dino.k-stone #k-dinosv .k-sec{--frame:url(img/dino/box-leaf.svg); --k-in:linear-gradient(180deg,#fbf3d2,#f1e2a8)}
body.kid.dino.k-stone :is(.k-head h2, .k-trail h3){color:#3b2410}
body.kid.dino.k-stone :is(.k-head p, .k-note){color:#5a3b17}
body.kid.dino.k-stone .k-stop.shut{opacity:.85}
body.kid.dino.k-stone .k-stop.shut .k-lbl{color:#5a3b17; background:rgba(255,250,238,.9)}
/* the cards: the frame of their topic (topic_tiles) or sand, light inside in the topic's colour */
body.kid.dino.k-stone :is(.k-tile, .k-dcard){--frame:url(img/dino/box-sand.svg); border:26px solid transparent; border-image:var(--frame) 84 / 34px stretch;
  border-radius:30px; box-shadow:0 4px 8px rgba(70,45,15,.14); background:color-mix(in srgb, var(--c, #d6b57e) 10%, #fffaf0) border-box}
body.kid.dino.k-stone .k-tile{padding:0 44px 0 0; min-height:112px}
body.kid.dino.k-stone .k-tile.k-lockd{--frame:url(img/dino/box-grey.svg); background:#f4f1ec border-box}
body.kid.dino.k-stone .k-tile .k-go{right:-6px; bottom:-6px}
body.kid.dino.k-stone .k-tile .k-tt-card{right:-6px; top:-6px}
/* the light parchment boxes inside a box: the Today rows, More practice, Where shall we go today? */
body.kid.dino.k-stone .k-todo-i{background:linear-gradient(180deg,#fffaee 0%,#f7e6c4 100%); border:2px solid #c9a46a; box-shadow:0 4px 0 rgba(140,100,50,.4)}
body.kid.dino.k-stone .k-todo-i.next{background:linear-gradient(180deg,#fffef8 0%,#eef8df 100%); border-color:#6fb04d; box-shadow:0 4px 0 rgba(74,140,47,.5)}
body.kid.dino.k-stone .k-todo-i.done{background:linear-gradient(180deg,#f7fdf2 0%,#e3f4d6 100%); border-color:#8fcb72}
body.kid.dino.k-stone :is(.k-more, .k-places){background:linear-gradient(180deg,#fffaee 0%,#f7e6c4 100%); border:2px solid #c9a46a; box-shadow:0 4px 0 rgba(140,100,50,.4)}
/* chunky buttons, as in the mock-up: View all and the others in orange, Show me in blue */
body.kid.dino.k-stone .k-all{background:linear-gradient(180deg,#ffb04a 0%,#f08a1c 100%); border:2px solid #b85f0c; box-shadow:0 4px 0 #a5520a; color:#fff;
  text-shadow:0 1px 0 rgba(0,0,0,.25)}
body.kid.dino.k-stone .k-all:active{transform:translateY(3px); box-shadow:0 1px 0 #a5520a}
body.kid.dino.k-stone .k-ic{background:linear-gradient(180deg,#fffcf3,#f1e0b6); color:#7a4f1d; box-shadow:inset 0 0 0 2px #d9bd85}
@media (max-width:700px){
  body.kid.dino.k-stone :is(.k-sec, #panel, #k-today, #k-island, #k-practice, #k-allsets, #k-learn, #k-alllearn){border-width:28px; border-image-width:38px; border-radius:34px}
  body.kid.dino.k-stone :is(.k-tile, .k-dcard){border-width:20px; border-image-width:28px}
  body.kid.dino.k-stone :is(.k-top, .top){border-radius:20px}
}

/* ---- topic_tiles: the coloured tile of a set's or a lesson's topic (curriculum/topic-tiles.json) */
body.kid .k-ttile{flex:none; display:inline-grid; place-items:center; width:42px; height:42px; border-radius:12px; box-sizing:border-box;
  background:linear-gradient(180deg, color-mix(in srgb, var(--t) 62%, #fff) 0%, var(--t) 58%); border:2px solid color-mix(in srgb, var(--t) 70%, #000);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.45), 0 3px 0 color-mix(in srgb, var(--t) 60%, #000)}
body.kid .k-ttile svg{width:64%; height:64%; filter:drop-shadow(0 1.5px 0 rgba(0,0,0,.35))}
body.kid .k-ttile b{color:#fff; font-weight:900; font-size:24px; line-height:1; text-shadow:0 2px 0 rgba(0,0,0,.32), 0 0 2px rgba(0,0,0,.35)}
body.kid .k-ttile b.k-ttw{font-size:15px; letter-spacing:-.02em}
body.kid .k-tile .k-tt-card{position:absolute; right:12px; top:12px; width:50px; height:50px; border-radius:14px}
body.kid .k-tile .k-tt-card b{font-size:28px} body.kid .k-tile .k-tt-card b.k-ttw{font-size:17px}
body.kid .k-todo-i.done .k-tt-row, body.kid .k-todo-i.lock .k-tt-row{opacity:.6}
@media (max-width:700px){ body.kid .k-tt-row{width:34px; height:34px; border-radius:10px} body.kid .k-tt-row b{font-size:19px} body.kid .k-tt-row b.k-ttw{font-size:12px} }

/* ---- themed_logo: the logo stays as it is, on a round parchment plaque; the name and the menu in the theme's colours */
body.kid.dino.k-logo :is(.k-brand img, .top a.brand .mark){width:54px; height:54px; padding:5px; box-sizing:border-box; border-radius:50%; object-fit:contain;
  background:radial-gradient(circle at 50% 35%, #fffdf5 0%, #f1dfb5 100%); border:3px solid #b08950; box-shadow:0 3px 0 #8a6a3a, inset 0 0 0 2px #fff6dd}
body.kid.dino.k-logo :is(.k-brand, .top a.brand), body.kid.dino.k-logo :is(.k-brand b, .top a.brand .bt > span:not(.k-m)){color:#5a3b17}
body.kid.dino.k-logo :is(.k-brand span, .top a.brand .bt){text-shadow:0 1px 0 #fffaeb}
body.kid.dino.k-logo :is(.k-brand em, .top a.brand .k-m){color:#3f8f2a}
body.kid.dino.k-logo .k-nav a{color:#5a3b17}
body.kid.dino.k-logo .k-nav a.on{background:linear-gradient(180deg,#eef8df,#d9efc4); color:#2f6b1d; box-shadow:inset 0 0 0 2px #a7d98c}

/* ---- island_art (the owner, 1 Oct 2026: "with the map I want more colours and more of an island feel"): the path on an island
   (img/dino/map-island.svg, tools/draw-island.py; or the owner's own picture "map-island" in img/dino/assets.json), a sandy trail,
   stones in colours, a wooden sign for each path's name */
body.kid.dino.k-isle .k-path{background:var(--map-bg, url(img/dino/map-island.svg)) center/cover no-repeat; border-radius:24px; border:3px solid #e2c27a;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.35), 0 4px 10px rgba(30,80,110,.18); margin:4px 0 6px}
body.kid.dino.k-isle .k-path path{stroke:#fbe7b0; stroke-width:9; stroke-dasharray:none; stroke-linecap:round}
body.kid.dino.k-isle .k-path path.k-edge{stroke:#a5773c; stroke-width:15}
body.kid.dino.k-isle .k-trail h3{display:inline-block; margin:0 0 6px; padding:3px 14px; border-radius:12px; color:#fff8e6; font-size:16px;
  background:linear-gradient(180deg,#c58a4a,#985f2c); border:2px solid #6b4626; box-shadow:0 3px 0 #6b4626; text-shadow:0 1px 0 rgba(0,0,0,.3)}
body.kid.dino.k-isle .k-stop .k-stone{filter:drop-shadow(0 3px 2px rgba(0,0,0,.35))}
body.kid.dino.k-isle .k-stop:not(.shut):not(.done):nth-of-type(4n+1) .k-stone{filter:sepia(.8) saturate(3) hue-rotate(160deg) drop-shadow(0 3px 2px rgba(0,0,0,.35))}
body.kid.dino.k-isle .k-stop:not(.shut):not(.done):nth-of-type(4n+2) .k-stone{filter:sepia(.8) saturate(3) hue-rotate(230deg) drop-shadow(0 3px 2px rgba(0,0,0,.35))}
body.kid.dino.k-isle .k-stop:not(.shut):not(.done):nth-of-type(4n+3) .k-stone{filter:sepia(.8) saturate(3) hue-rotate(300deg) drop-shadow(0 3px 2px rgba(0,0,0,.35))}
body.kid.dino.k-isle .k-stop:not(.shut):not(.done):nth-of-type(4n) .k-stone{filter:sepia(.8) saturate(3) hue-rotate(60deg) drop-shadow(0 3px 2px rgba(0,0,0,.35))}
body.kid.dino.k-isle .k-stop.here .k-stone{filter:drop-shadow(0 0 7px #fff) drop-shadow(0 0 4px #22c55e)}
body.kid.dino.k-isle .k-stop.shut{opacity:1}
body.kid.dino.k-isle .k-stop.shut .k-stone{filter:grayscale(.4) drop-shadow(0 3px 2px rgba(0,0,0,.3))}
body.kid.dino.k-isle .k-stop .k-lbl{background:#fff; border:2px solid #2f6b26; color:#2f5a17; border-radius:10px; box-shadow:0 2px 0 rgba(0,0,0,.18)}
body.kid.dino.k-isle .k-stop.shut .k-lbl{background:#fffaf0; border-color:#b8ab96; color:#5f5850}
body.kid.dino.k-isle .k-stop.done .k-lbl{background:#fde68a; border-color:#b45309; color:#78350f}
body.kid.dino.k-isle .k-here{color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.6)}

/* stone_frames: the top bar, a green banner with a light edge; the logo on its plaque; the name and the menu in cream (after themed_logo's
   brown, so these win) */
body.kid.dino.k-stone :is(.k-top, .top){border:3px solid #1f4a18; border-radius:26px; padding:4px 10px;
  background:linear-gradient(180deg,#4f9a3a 0%,#2f6b26 100%); box-shadow:inset 0 2px 0 rgba(255,255,255,.28), inset 0 -3px 0 rgba(0,0,0,.18), 0 6px 14px rgba(30,60,20,.25)}
body.kid.dino.k-stone :is(.k-brand, .top a.brand), body.kid.dino.k-stone :is(.k-brand b, .top a.brand .bt > span:not(.k-m)){color:#fff8e6}
body.kid.dino.k-stone :is(.k-brand span, .top a.brand .bt){text-shadow:0 2px 0 rgba(0,0,0,.25)}
body.kid.dino.k-stone :is(.k-brand em, .top a.brand .k-m){color:#ffd970}
body.kid.dino.k-stone .k-nav a{color:#fff8e6}
body.kid.dino.k-stone .k-nav a.on{background:linear-gradient(180deg,#fffaee,#f1e2b8); color:#2f5a17; box-shadow:0 3px 0 #1f4a18}
body.kid.dino.k-stone #panel a.btn.ghost[href*="show-me"]{background:linear-gradient(180deg,#5cb8f0 0%,#2b8bd6 100%); border:2px solid #1c6aa8; color:#fff;
  box-shadow:0 4px 0 #17588c; text-shadow:0 1px 0 rgba(0,0,0,.25)}
/* island_art: more room between the rows, and "You are here" in red with a white outline */
body.kid.dino.k-isle .k-path{height:calc(var(--rows) * 146px)}
body.kid.dino.k-isle .k-sec.k-big .k-path{height:calc(var(--rows) * 164px)}
body.kid.dino.k-isle .k-here{color:#b91c1c; font-size:13px; text-shadow:0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 2px #fff}
@media (max-width:700px){ body.kid.dino.k-isle .k-path{height:calc(var(--rows) * 122px)} body.kid.dino.k-isle .k-sec.k-big .k-path{height:calc(var(--rows) * 132px)} }

/* ================================================================ calm_layout (1 Oct 2026, the owner: "is our design currently too busy and takes away
   the focus of learning"): calm where the child thinks, colourful where the child chooses. The main switch calm_layout and one switch
   for each part; each part off = exactly as before. */
/* calm_work_strip: a work page (a round, an activity, the week check) on plain cream, without the jungle strip at the bottom */
body.kid.dino.k-calm.k-nostrip::before{background:#fbf6e9}
/* calm_work_board: the question board without the stones in its corners */
body.kid.dino.k-stone.k-plainboard #panel{--frame:url(img/dino/box-stone-plain.svg)}
/* calm_home_island: on the home page a small My island button; the map is on the My island page */
body.kid .k-islandbtn{position:relative; display:flex; align-items:center; gap:14px; min-height:72px; margin:0 0 14px; padding:10px 64px 10px 12px;
  border-radius:24px; text-decoration:none; color:inherit; background:linear-gradient(180deg,#ecf8f8,#d3ecee); border:3px solid #4a9cc6; box-shadow:0 4px 0 #1f5a7a}
body.kid .k-islandbtn .k-isthumb{flex:none; width:84px; height:54px; border-radius:14px; border:2px solid #e2c27a; background:var(--map-bg, url(img/dino/map-island.svg)) center/cover no-repeat}
body.kid .k-islandbtn b{font-size:22px; color:#3b2410} body.kid .k-islandbtn small{display:block; font-size:15px; font-weight:700; color:#1f5a7a}
body.kid .k-islandbtn .k-go{position:absolute; right:14px; top:50%; margin-top:-24px}
/* calm_home_small: My practice and Lessons smaller on the home page (the full cards stay under My work) */
body.kid.k-homesmall #k-home :is(#k-practice, #k-learn) .k-tile{min-height:0}
body.kid.k-homesmall #k-home :is(#k-practice, #k-learn) .k-tile :is(em, .k-dfoot){display:none}
body.kid.k-homesmall #k-home :is(#k-practice, #k-learn) .k-tile b{font-size:17px}
body.kid.k-homesmall #k-home :is(#k-practice, #k-learn) .k-head h2{font-size:24px}
body.kid.k-homesmall #k-home :is(#k-practice, #k-learn) .k-ic{width:46px; height:46px; font-size:22px}
body.kid.k-homesmall #k-home #k-practice .k-more{padding:6px 12px}
body.kid.k-homesmall #k-home #k-practice .k-more p{display:none}
body.kid.k-homesmall #k-home :is(#k-practice, #k-learn) .k-tile .k-go{display:none}                   /* the whole card is the link */

/* ---- place_sky (1 Oct 2026, the owner: "another option for those who find the background too distracting"): the plain sky, as it is on
   every page (no wash, no jungle strip) */
body.kid.dino.k-sky::before, body.kid.dino.k-sky.k-wash::before, body.kid.dino.k-sky.k-calm::before, body.kid.dino.k-sky.k-calm.k-nostrip::before{
  background:var(--dino-bg, none) center/cover no-repeat, #dff2fd}

/* ================================================================ quiet_look (2 Oct 2026, the owner: "too busy and colourful ... distracting to the
   learner"; "make sure the tan colour is a light tan"). Quiet where the child works (k-qwork) and on the home and My work views (k-qhome);
   My island and My dinos as they are. Colours: --q-page, --q-card (the light tan), --q-line, --q-btn (features.json quiet_colours).
   Every rule needs one of the quiet classes, so with the switches off nothing here applies. */
body.kid.dino{--q-page:#ffffff; --q-card:#fbf6ec; --q-line:#ece1cb; --q-btn:#0a2650;
  --q-bar-from:#cfe4fb; --q-bar-to:#ffffff; --q-bar-text:#0a2650; --q-bar-line:#d6e4f5; --q-greet:#ffffff; --q-greet-line:var(--q-line)}
/* the page: plain, no picture */
body.kid.dino:is(.k-qwork, .k-qhome){background:var(--q-page)}
body.kid.dino:is(.k-qwork, .k-qhome)::before{background:var(--q-page) !important}     /* over calm_background, calm_work_strip and the sky */
/* the top bar: white, a thin line, the name and the menu in navy */
body.kid.dino.k-qwork .top, body.kid.dino.k-qhome .k-top{background:#fff; border:1px solid var(--q-line); border-radius:20px; box-shadow:none; padding:4px 10px}
body.kid.dino:is(.k-qwork, .k-qhome) :is(.k-brand, .top a.brand), body.kid.dino:is(.k-qwork, .k-qhome) :is(.k-brand b, .top a.brand .bt > span:not(.k-m)){color:var(--k-navy)}
body.kid.dino:is(.k-qwork, .k-qhome) :is(.k-brand span, .top a.brand .bt){text-shadow:none}
body.kid.dino:is(.k-qwork, .k-qhome) :is(.k-brand em, .top a.brand .k-m){color:#2563eb}
body.kid.dino:is(.k-qwork, .k-qhome) :is(.k-brand img, .top a.brand .mark){background:none; border:0; box-shadow:none; padding:0}
body.kid.dino.k-qhome .k-nav a{color:var(--k-navy)}
body.kid.dino.k-qhome .k-nav a.on{background:var(--q-card); color:var(--k-navy); box-shadow:inset 0 0 0 1px var(--q-line)}

/* ---- quiet_work: the round, the lesson, the week check */
body.kid.dino.k-qwork #panel{border:1px solid var(--q-line); border-image:none; border-radius:24px; padding:20px 22px 22px; background:var(--q-card); box-shadow:none}
body.kid.dino.k-qwork #panel .q{background:#fff; border:2px solid var(--q-line); border-radius:22px; box-shadow:none; color:var(--k-navy)}
body.kid.dino.k-qwork #panel .q > span:not(.box){background:none; border:0; box-shadow:none; padding:0; min-width:0}
body.kid.dino.k-qwork #panel .q .box{background:#fff; border:3px dashed #cdb88f; border-radius:16px; box-shadow:none}
body.kid.dino.k-qwork #panel .q .box.right{border:3px solid #86efac; background:#f0fdf4}
body.kid.dino.k-qwork #panel .q .box.wrong{border:3px solid #fda4af; background:#fff1f2}
body.kid.dino.k-qwork #panel :is(button.opt, button.key:not(.ok)){background:#fff; border:2px solid var(--q-line); box-shadow:none; color:var(--k-navy)}
body.kid.dino.k-qwork #panel :is(button.opt, button.key:not(.ok)):active{transform:none; background:var(--q-card)}
body.kid.dino.k-qwork #panel button.opt.right{background:#dcfce7; border-color:#4ade80; color:#15803d; box-shadow:none}
body.kid.dino.k-qwork #panel button.opt.wrong{background:#ffe4e6; border-color:#fb7185; color:#be123c; box-shadow:none}
body.kid.dino.k-qwork #panel button.opt.show{border-color:#22c55e; box-shadow:0 0 0 4px #bbf7d0}
body.kid.dino.k-qwork #panel button.key.ok{background:var(--q-btn); border:0; box-shadow:none; color:#fff}
body.kid.dino.k-qwork #panel .btn:is(.k-green, .k-blue, .k-orange), body.kid.dino.k-qwork #panel .btn.go{background:var(--q-btn); border:0; box-shadow:none; color:#fff; text-shadow:none}
body.kid.dino.k-qwork #panel :is(.btn.ghost, .btn2, a.btn.ghost[href*="show-me"]){background:#fff; border:2px solid var(--q-line); box-shadow:none; color:var(--k-navy); text-shadow:none}
body.kid.dino.k-qwork #panel .pill{background:#fff; color:#6b5a3a; box-shadow:inset 0 0 0 1px var(--q-line)}
body.kid.dino.k-qwork #panel .watchnote{background:#fff; border:1px solid var(--q-line); color:#334155}
body.kid.dino.k-qwork .k-prog{background:#efe6d3}
body.kid.dino.k-qwork .k-prog i{background:#4caf50}
/* quiet_helper: the dino only while it says something (after an answer, at the end); never while the child thinks */
body.kid.dino.k-qhelp .k-helper:not(:has(.k-bubble.on)) .k-dino{visibility:hidden}
body.kid.dino.k-qhelp .k-bubble{border-color:var(--q-line)}
body.kid.dino.k-qhelp .k-bubble::before{border-right-color:var(--q-line)}

/* ---- quiet_home: Today alone on the home page, on the light tan card; My work in the same style */
body.kid.dino.k-qhome #k-home :is(#k-practice, #k-learn){display:none}
body.kid.dino.k-qhome :is(.k-hellodino, .k-starcount){display:none}
body.kid.dino.k-qhome :is(#k-today, #k-home .k-sec, #k-work .k-sec){border:1px solid var(--q-line); border-image:none; border-radius:24px; padding:18px 18px 20px;
  background:var(--q-card); box-shadow:none}
body.kid.dino.k-qhome :is(.k-head h2, .k-h1){color:var(--k-navy)}
body.kid.dino.k-qhome :is(.k-head p, .k-note){color:#475569}
body.kid.dino.k-qhome .k-ic{background:#fff; color:#b7791f; box-shadow:inset 0 0 0 1px var(--q-line)}
body.kid.dino.k-qhome .k-todo-i{background:#fff; border:1px solid var(--q-line); box-shadow:none}
body.kid.dino.k-qhome .k-todo-i.next{background:#fff; border:2px solid var(--q-btn); box-shadow:none}
body.kid.dino.k-qhome .k-todo-i.done{background:#f0fdf4; border:1px solid #bbf7d0}
body.kid.dino.k-qhome .k-n{background:var(--q-card); color:#6b5a3a}
body.kid.dino.k-qhome .k-todo-i.next .k-n{background:var(--q-btn); color:#fff}
body.kid.dino.k-qhome .k-start{background:var(--q-btn); box-shadow:none; color:#fff}
body.kid.dino.k-qhome .k-start:active{transform:none; box-shadow:none}
body.kid.dino.k-qhome .k-ttile{background:var(--t); border:0; box-shadow:none}
body.kid.dino.k-qhome .k-ttile svg, body.kid.dino.k-qhome .k-ttile b{filter:none; text-shadow:none}
body.kid.dino.k-qhome .k-all{background:#fff; border:2px solid var(--q-line); box-shadow:none; color:var(--k-navy); text-shadow:none}
body.kid.dino.k-qhome .k-all:active{transform:none}
body.kid.dino.k-qhome .k-islandbtn{background:#fff; border:1px solid var(--q-line); box-shadow:none}
body.kid.dino.k-qhome .k-islandbtn b{color:var(--k-navy)} body.kid.dino.k-qhome .k-islandbtn small{color:#475569}
body.kid.dino.k-qhome .k-go{background:var(--q-card); color:var(--k-navy)}
body.kid.dino.k-qhome .k-locked .k-ic{background:#fff}
body.kid.dino.k-qhome .k-tile.k-lockd{background:#f8f5ee}
/* My work: plain cards, the topic as a small icon */
body.kid.dino.k-qhome .k-tile{border:1px solid var(--q-line); border-image:none; border-radius:18px; padding:14px 64px 14px 16px; min-height:112px;
  background:#fff; box-shadow:none}
body.kid.dino.k-qhome .k-tile .k-go{right:12px; bottom:12px}
body.kid.dino.k-qhome .k-tile .k-tt-card{right:12px; top:12px}
body.kid.dino.k-qhome :is(.k-more, .k-places){background:#fff; border:1px solid var(--q-line); box-shadow:none}
body.kid.dino.k-qhome #k-work .k-more{margin:0 0 14px}
body.kid.dino.k-qhome :is(.k-more, #k-work) .btn.go{background:var(--q-btn); border:0; box-shadow:none}
@media (max-width:700px){
  body.kid.dino.k-qwork #panel, body.kid.dino.k-qhome :is(#k-today, #k-home .k-sec, #k-work .k-sec){border-width:1px; border-radius:20px; padding:14px}
  body.kid.dino.k-qhome .k-tile{border-width:1px}
}

/* the lesson's bead mat: lighter, with a thin line (quiet_work) */
body.kid.dino.k-qwork #panel .mat{background:#fffdf9; border:2px solid #e8dcc3}
body.kid.dino.k-qwork #panel .tray{background:#fff; border:2px dashed #dfd3bb}

/* ---- quiet_bar (2 Oct 2026, the owner: "I dont like the green box where selective coach is ... could we have a gradient colour that
   fades"): on every child page (the island and the dinos too) the top bar fades from --q-bar-from (left) to --q-bar-to (right) */
body.kid.dino.k-qbar :is(.k-top, .top){background:linear-gradient(90deg, var(--q-bar-from) 0%, var(--q-bar-to) 78%); border:1px solid var(--q-bar-line);
  border-radius:20px; box-shadow:none; padding:4px 10px}
body.kid.dino.k-qbar :is(.k-brand, .top a.brand), body.kid.dino.k-qbar :is(.k-brand b, .top a.brand .bt > span:not(.k-m)){color:var(--q-bar-text)}
body.kid.dino.k-qbar :is(.k-brand span, .top a.brand .bt){text-shadow:none}
body.kid.dino.k-qbar :is(.k-brand em, .top a.brand .k-m){color:#d4880f}
body.kid.dino.k-qbar :is(.k-brand img, .top a.brand .mark){background:none; border:0; box-shadow:none; padding:0}
body.kid.dino.k-qbar .k-nav a{color:var(--q-bar-text)}
body.kid.dino.k-qbar .k-nav a.on{background:color-mix(in srgb, var(--q-bar-text) 10%, transparent); color:var(--q-bar-text); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--q-bar-text) 30%, transparent)}
body.kid.dino.k-qbar .top a.brand{color:var(--q-bar-text)}

/* ---- quiet_greeting: on the home page the dino says what today's work is */
body.kid.dino.k-qgreet .k-hello{max-height:none}
body.kid.dino.k-qgreet .k-greet{position:relative; flex:0 1 auto; max-width:520px; margin-left:10px; padding:8px 14px; border-radius:16px; background:#fff;
  border:2px solid var(--q-line); font-weight:800; font-size:18px; line-height:1.3; color:var(--k-navy)}
body.kid.dino.k-qgreet .k-greet::before{content:""; position:absolute; left:-9px; top:50%; margin-top:-7px; border:7px solid transparent; border-right-color:var(--q-line); border-left:0}
@media (max-width:700px){
  body.kid.dino.k-qgreet .k-hello{flex-wrap:wrap}
  body.kid.dino.k-qgreet .k-greet{font-size:16px; max-width:calc(100% - 80px)}
}
/* 2 Oct, round 3 (the owner: "Move the dinosaur and what it is saying over to the left. Get rid of the avatar and have the greeting to
   the child inside the dinosaur speech box"): the dino on the left, "Hi Ava!" and today's work in its speech box; not on My island or My dinos */
body.kid.dino.k-qgreet .k-dinohello{justify-content:flex-start; gap:4px; padding:4px 0}
body.kid.dino.k-qgreet .k-dinohello .k-hellodino{display:block; width:84px; height:84px; margin:0}
body.kid.dino.k-qgreet .k-dinohello .k-greet{flex:1 1 auto; max-width:none; margin-left:12px; padding:12px 18px; font-size:20px; font-weight:700}   /* to the right edge of the boxes below (owner, 3 Oct) */
body.kid.dino.k-qgreet .k-dinohello h1{display:block; margin:0 0 2px; font-size:26px; white-space:normal; overflow:visible}
body.kid.dino.k-qgreet .k-dinohello .k-greet{background:var(--q-greet); border-color:var(--q-greet-line)}   /* quiet_colours greet, greet_line */
body.kid.dino.k-qgreet .k-dinohello .k-greet::before{border-right-color:var(--q-greet-line)}
/* dino_notes and weekly_praise (2 Oct 2026): the teacher's note and last week's praise, each on its own line in the speech box */
body.kid.dino.k-qgreet .k-dinohello .k-gline{display:block; margin:6px 0}
body.kid.dino.k-qgreet .k-dinohello .k-gnote{padding:6px 12px; border-radius:12px; background:#fff; border:1px solid var(--q-greet-line); color:#5b21b6}
body.kid.dino.k-qgreet .k-dinohello .k-gpraise{color:#9a5b00}
body.kid.dino.k-qgreet .k-dinohello .k-gpraise::before{content:"\2605  "; color:#f59e0b}
body.kid.dino.k-qgreet:is([data-kview="island"], [data-kview="dinos"]) .k-dinohello{display:none}
@media (max-width:700px){
  body.kid.dino.k-qgreet .k-dinohello{flex-wrap:nowrap}
  body.kid.dino.k-qgreet .k-dinohello .k-hellodino{width:60px; height:60px}
  body.kid.dino.k-qgreet .k-dinohello .k-greet{font-size:17px; padding:10px 14px}
  body.kid.dino.k-qgreet .k-dinohello h1{font-size:22px}
}

/* ---- quiet_today_cards (2 Oct 2026, the owner: "a list looks quite busy and confusing and overwhelming"): the next thing big with the
   one Start; the day's things as small numbered boxes in one row; no topic tiles */
body.kid.dino .k-now{display:flex; align-items:center; gap:16px; margin:0 0 14px; padding:18px 20px; border-radius:22px; background:#fff; border:2px solid var(--q-btn)}
body.kid.dino .k-nowtx{flex:1; min-width:0; display:flex; flex-direction:column; gap:4px}
body.kid.dino .k-nowtx small{font-size:16px; font-weight:800; color:#6b5a3a}
body.kid.dino .k-nowtx b{font-size:32px; line-height:1.15; color:var(--k-navy)}
body.kid.dino .k-nowtx span{font-size:18px; font-weight:600; color:#475569}
body.kid.dino .k-steps{list-style:none; margin:0; padding:0; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0, 1fr); gap:10px}
body.kid.dino .k-step{display:flex; flex-direction:column; align-items:flex-start; gap:6px; min-height:108px; padding:12px; border-radius:16px; background:#fff; border:1px solid var(--q-line)}
body.kid.dino .k-step .k-n{width:34px; height:34px; font-size:17px; background:var(--q-card); color:#6b5a3a}
body.kid.dino .k-step .k-n svg{width:20px; height:20px}
body.kid.dino .k-step b{font-size:17px; line-height:1.2; color:var(--k-navy)}
body.kid.dino .k-step small{margin-top:auto; font-size:14px; font-weight:700; color:#64748b}
body.kid.dino .k-step .k-topic{font-style:normal; font-size:14px; font-weight:600; line-height:1.25; color:#334155}     /* card_topics */
body.kid.dino .k-step.next{border:2px solid var(--q-btn)}
body.kid.dino .k-step.next .k-n{background:var(--q-btn); color:#fff}
body.kid.dino .k-step.done{background:#f0fdf4; border-color:#bbf7d0}
body.kid.dino .k-step.done .k-n{background:#16a34a; color:#fff}
body.kid.dino .k-step.done small{color:#15803d}
body.kid.dino .k-step.lock{background:#faf8f3}
body.kid.dino .k-step.lock .k-n{background:#eef0f3; color:#64748b}
body.kid.dino .k-step.paper{border-style:dashed; border-color:#cdb88f}
/* week_plan (4 Oct 2026): on This week every box opens its own thing; the link covers the box (the box is the touch target) */
body.kid.dino .k-step.k-tap{position:relative; cursor:pointer}
body.kid.dino .k-step.k-tap .k-stepgo{position:absolute; inset:0; border-radius:inherit}
body.kid.dino .k-step.k-tap .k-stepgo:focus-visible{outline:3px solid var(--q-btn); outline-offset:2px}
body.kid.dino .k-today .k-alldone{margin:0 0 14px}
@media (max-width:900px){
  body.kid.dino .k-steps{grid-auto-flow:row; grid-template-columns:repeat(3, minmax(0, 1fr))}
}
/* week_rows (6 Oct 2026, the owner: "all squished with the cards in one row"): on a wide screen at most 4 boxes in a row (8 = two rows) */
@media (min-width:901px){
  body.kid.dino.k-rows4 .k-steps{grid-auto-flow:row; grid-template-columns:repeat(4, minmax(0, 1fr))}
}
@media (max-width:700px){
  body.kid.dino .k-now{flex-wrap:wrap; padding:14px}
  body.kid.dino .k-now .k-start{width:100%}
  body.kid.dino .k-nowtx b{font-size:26px}
  body.kid.dino .k-step{min-height:92px; padding:10px}
  body.kid.dino .k-step b{font-size:15px}
}

/* ---- term_week_label: this term and week, beside Today */
body.kid .k-wk{flex:none; padding:8px 14px; border-radius:999px; background:#fff; border:1px solid var(--q-line, #e2e8f0); font-weight:800; font-size:18px; color:var(--k-navy)}
body.kid .k-wkrow{display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:0 0 14px}   /* the term and week label, and the week's topics */
body.kid .k-topics{display:flex; flex-direction:column; gap:4px; min-width:0; font-size:16px; font-weight:700; color:var(--k-navy); line-height:1.3}
body.kid .k-tt{display:inline-block; margin-right:8px; padding:2px 9px; border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; vertical-align:1px}
body.kid .k-tt-idea{background:#dbeafe; color:#1e3a8a}
body.kid .k-tt-other{background:#ffedd5; color:#9a3412}

/* ---- work_by_term (2 Oct 2026): My work week by week for this term; each other term in its own closed box */
body.kid .k-week{margin:0 0 14px}
body.kid .k-week h3{margin:4px 4px 8px; font-size:20px; color:var(--k-navy)}
body.kid details.k-term{margin:0 0 10px; padding:0 14px; border-radius:18px; background:#fff; border:1px solid var(--q-line, #e2e8f0)}
body.kid details.k-term > summary{position:relative; display:flex; align-items:center; gap:12px; min-height:64px; padding-right:60px; list-style:none; cursor:pointer}
body.kid details.k-term > summary::-webkit-details-marker{display:none}
body.kid details.k-term > summary b{font-size:22px; color:var(--k-navy)}
body.kid details.k-term > summary small{font-size:15px; font-weight:700; color:#64748b}
body.kid details.k-term > summary .k-go{right:0; top:50%; bottom:auto; transform:translateY(-50%); transition:transform .15s}
body.kid details.k-term[open] > summary .k-go{transform:translateY(-50%) rotate(90deg)}
body.kid details.k-term[open]{padding-bottom:6px}

/* ---- island_after_work (2 Oct 2026, the owner: "they can only open my dino and my island after they have completed their work for that
   day"): a small lock in the menu and on the My island button; My island and My dinos say what to do first */
body.kid .k-nav a .k-navlock{display:inline-grid; place-items:center; font-style:normal; color:#94a3b8}
body.kid .k-nav a .k-navlock svg{width:16px; height:16px}
body.kid .k-islandbtn.k-shut .k-isthumb{filter:grayscale(.7); opacity:.7}
body.kid .k-islandbtn.k-shut .k-go svg{width:22px; height:22px}
body.kid .k-gate{display:flex; align-items:center; gap:22px; padding:24px}
/* the owner, 2 Oct: "still have it locked but change it to the colourful theme we had previously with the nice background": the locked
   page has the island's picture behind it and the island's own frame (My dinos: the leaf frame), as My island and My dinos have */
body.kid.dino.k-stone #k-gatev[data-for="island"] .k-sec{--frame:url(img/dino/box-blue.svg); --k-in:linear-gradient(180deg,#ecf8f8,#d3ecee)}
body.kid.dino.k-stone #k-gatev[data-for="dinos"] .k-sec{--frame:url(img/dino/box-leaf.svg); --k-in:linear-gradient(180deg,#fbf3d2,#f1e2a8)}
body.kid .k-gatedino{flex:none; width:140px; height:140px; object-fit:contain}
body.kid .k-gatetx h2{margin:0 0 8px; font-size:30px; color:var(--k-navy)}
body.kid .k-gatetx p{margin:0 0 10px; font-size:19px; font-weight:600; color:#334155}
body.kid .k-gatetx .k-start{margin-top:6px}
@media (max-width:700px){
  body.kid .k-gate{flex-direction:column; text-align:center; padding:18px}
  body.kid .k-gatedino{width:110px; height:110px}
  body.kid .k-nav a .k-navlock{display:none}
}

/* ---- today_tile_colour (2 Oct 2026, the owner: "Add some light colour to the tiles"): each kind of work a light wash of its own colour,
   the same every day (features.json today_tile_colours); the Now box keeps its navy line, a done box its green tick, a locked box grey */
body.kid.dino.k-qtint{--t-recall:#0d9488; --t-facts:#16a34a; --t-lesson:#2563eb; --t-other:#ea580c; --t-check:#ca8a04; --t-paper:#a16207; --t-book:#7c3aed}
body.kid.dino.k-qtint .k-step{--k:#64748b; background:color-mix(in srgb, var(--k) 9%, #fff); border-color:color-mix(in srgb, var(--k) 30%, #fff)}
body.kid.dino.k-qtint .k-step[data-kind="recall"]{--k:var(--t-recall)}
body.kid.dino.k-qtint .k-step:is([data-kind="round"], [data-kind="own"]){--k:var(--t-facts)}
body.kid.dino.k-qtint .k-step[data-kind="lesson"]{--k:var(--t-lesson)}
body.kid.dino.k-qtint .k-step[data-kind="other"]{--k:var(--t-other)}
body.kid.dino.k-qtint .k-step[data-kind="check"]{--k:var(--t-check)}
body.kid.dino.k-qtint .k-step[data-kind="paper"]{--k:var(--t-paper)}
body.kid.dino.k-qtint .k-step[data-kind="book"]{--k:var(--t-book)}          /* today_book (4 Oct 2026): a workbook page */
body.kid.dino.k-qtint .k-step .k-n{background:color-mix(in srgb, var(--k) 22%, #fff); color:color-mix(in srgb, var(--k) 70%, #000)}
body.kid.dino.k-qtint .k-step small{color:#475569}
body.kid.dino.k-qtint .k-step.next{border:2px solid var(--q-btn)}
body.kid.dino.k-qtint .k-step.next .k-n{background:var(--q-btn); color:#fff}
body.kid.dino.k-qtint .k-step.done .k-n{background:#16a34a; color:#fff}
body.kid.dino.k-qtint .k-step.done small{color:#15803d}
body.kid.dino.k-qtint .k-step.lock{background:#f5f5f4; border-color:#e7e5e4}
body.kid.dino.k-qtint .k-step.lock .k-n{background:#e7e5e4; color:#57534e}
body.kid.dino.k-qtint .k-step.paper{border-style:dashed; border-color:color-mix(in srgb, var(--k) 45%, #fff)}

/* ---- work_today_box (2 Oct 2026): My work says what it is for; while today's work is not finished, the next thing and its Start at
   the top; the dino says "Today's work is on Home" there (the Home sentence on Home, the My work sentence on My work) */
body.kid .k-workwhy{max-width:780px; margin:-4px 4px 14px; font-size:18px; line-height:1.4; font-weight:600; color:#475569}
body.kid .k-worktoday{display:flex; align-items:center; gap:16px; margin:0 0 14px; padding:14px 18px; border-radius:20px; background:#fff; border:2px solid var(--q-btn, #0a2650)}
body.kid .k-worktoday > div{flex:1; min-width:0; display:flex; flex-direction:column; gap:2px}
body.kid .k-worktoday b{font-size:22px; color:var(--k-navy)}
body.kid .k-worktoday > div span{font-size:17px; font-weight:600; color:#475569}
body.kid.dino.k-qgreet[data-kview="work"] .k-dinohello .k-g-home{display:none}
body.kid.dino.k-qgreet:not([data-kview="work"]) .k-dinohello .k-g-work{display:none}
@media (max-width:700px){
  body.kid .k-worktoday{flex-wrap:wrap}
  body.kid .k-worktoday .k-start{width:100%}
}

/* ---- island_thin_frame (3 Oct 2026, the owner: "i find the thick border in my dinos and island too thick - get rid of it"): My island,
   My dinos and their locked pages keep their light colour and the picture behind them, with a thin line in place of the stone frame */
body.kid.dino.k-thinframe :is(#k-islandv, #k-dinosv, #k-gatev) .k-sec{border:2px solid #a8d5e0; border-image:none; border-radius:24px; padding:18px 18px 20px;
  background:var(--k-in, #fff) border-box; box-shadow:0 6px 18px rgba(10,60,110,.10)}
body.kid.dino.k-thinframe :is(#k-dinosv, #k-gatev[data-for="dinos"]) .k-sec{border-color:#cfe0a6}
body.kid.dino.k-thinframe #k-dinosv .k-dcard{border:2px solid #e2cf9b; border-image:none; border-radius:20px; padding:12px 10px 14px; background:#fffdf6;
  box-shadow:0 3px 10px rgba(70,45,15,.10)}
body.kid.dino.k-thinframe #k-dinosv .k-dcard.hatched{background:#f0fdf4; border-color:#a7e3b9}
@media (max-width:700px){
  body.kid.dino.k-thinframe :is(#k-islandv, #k-dinosv, #k-gatev) .k-sec{border-width:2px; border-radius:20px; padding:14px}
}

/* ---- done_more (3 Oct 2026): all done, and more if they want: a button to My work; My island and My dinos from the speech box */
body.kid .k-domore{margin:8px 0 10px; font-size:17px; font-weight:700; color:var(--k-navy)}
body.kid .k-alldone .k-domore-go{min-height:56px; min-width:0; padding:0 20px; font-size:20px}
body.kid .k-alldone .k-domore-go svg{width:26px; height:26px}
body.kid.dino.k-qgreet .k-dinohello .k-glinks{display:flex; flex-wrap:wrap; gap:10px; margin-top:8px}
body.kid .k-gbtn{display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:0 16px; border-radius:16px; background:#ecfdf5; border:2px solid #86efac;
  color:#166534; font-weight:800; font-size:17px; text-decoration:none}
body.kid .k-gbtn svg{width:22px; height:22px}

/* ---- dino_moves (owner, 4 Oct 2026): the helper says hi once a day (pops up, then tilts left and right like a wave); the cheering dino
   jumps up and down once when the island opens; a hatched dino jumps after it pops out. About a second each; still with Reduce Motion */
@keyframes k-hi{0%{transform:translateY(26px) scale(.6); opacity:0} 30%{transform:translateY(-10px) scale(1.06); opacity:1} 42%{transform:none}
  56%{transform:rotate(-12deg)} 70%{transform:rotate(12deg)} 84%{transform:rotate(-7deg)} 100%{transform:none}}
@keyframes k-jump{0%,30%,60%,90%,100%{transform:translateY(0)} 15%{transform:translateY(-24px)} 45%{transform:translateY(-16px)} 75%{transform:translateY(-8px)}}
body.kid .k-hi-anim{animation:k-hi 1.3s ease-out; transform-origin:50% 90%}
body.kid .k-cheer.k-jump-anim{animation:k-pop .6s ease-out, k-jump 1.1s ease-in-out .6s; transform-origin:50% 100%}
body.kid.k-moves .k-baby{animation:k-pop .8s ease-out, k-jump 1.1s ease-in-out .8s; transform-origin:50% 100%}
@media (prefers-reduced-motion:reduce){ body.kid .k-hi-anim, body.kid .k-cheer.k-jump-anim, body.kid.k-moves .k-baby{animation:none} }

/* ---- dino_buddy (owner, 5 Oct 2026): choose a hatched dino on My dinos (open after the week's work); it says hi on the home page */
body.kid .k-buddybtn{margin-top:6px; min-height:48px; padding:0 14px; border-radius:999px; border:2px solid #16a34a; background:#fff; color:#166534;
  font:inherit; font-weight:800; cursor:pointer}
body.kid .k-buddybtn:disabled{opacity:.6}
body.kid .k-buddyon{margin-top:6px; min-height:48px; display:inline-flex; align-items:center; padding:0 14px; border-radius:999px; background:#16a34a; color:#fff; font-weight:800}
body.kid .k-dcard.k-isbuddy{border-color:#16a34a; box-shadow:0 0 0 3px #bbf7d0}
body.kid .k-buddynote{display:flex; flex-wrap:wrap; align-items:center; gap:10px}
body.kid .k-buddyoff{margin-top:0; border-color:#94a3b8; color:#334155}
body.kid .k-hellodino.k-buddypic{object-fit:contain}
/* step_colours (6 Oct 2026): the child's steps as colours on the Workbook card */
.k-stepc{display:flex; flex-wrap:wrap; gap:4px 10px; font-style:normal; font-size:14px; font-weight:800; color:#334155; margin:2px 0}
.k-stepc span{display:inline-flex; align-items:center} .k-cdot{display:inline-block; width:12px; height:12px; border-radius:50%; margin-right:5px; box-shadow:0 0 0 1px rgba(15,23,42,.25)}

/* bright_now (9 Oct 2026): the big next box on the home page light sky blue, its Start a strong sky blue */
body.kid.dino.k-bright .k-now{background:#e0f2fe; border-color:#38bdf8}
body.kid.dino.k-bright .k-now .k-start{background:#0284c7; color:#fff; box-shadow:0 4px 0 #075985}

/* mission_home (9 Oct 2026, the owner approved the picture): a greeting with the date, This week's mission with its picture, the
   jobs as rows with a bar each, and the week's ring, the next egg and the teacher's note. Baby blue page (owner, 9 Oct: "make the
   background baby blue rather than green"). Made for every iPad: the menu is the bar at the top; the side cards beside the jobs
   from 1100 px; under that, one column with the side cards in a row (owner: "the layout doesnt look
   right ... Make sure it is responsive to ipad"). */
body.kid.k-mission{--m-ink:#0a2650; --m-soft:#5b6b82; --m-page:#fff; background:var(--m-page)}   /* white (owner, 10 Oct 2026, after the mock-up: "yes make this live"); was baby blue #e4f1fb */
body.kid.dino.k-mission.k-qhome, body.kid.k-mission.k-qhome::before{background:var(--m-page) !important}
body.kid.k-mission .wrap{max-width:1320px}
body.kid.k-mission .wrap > .k-top .k-brand img{border-radius:50% !important; background:#fff !important; padding:4px !important; box-shadow:0 0 0 3px #60a5fa !important; box-sizing:border-box; object-fit:contain}   /* the owner: "place a circle around the logo" */
body.kid.k-mission .wrap > .k-top{background:#fff !important; border:0 !important; box-shadow:0 1px 3px rgba(10,38,80,.07)}
body.kid.k-mission .wrap > .k-top .k-nav a{color:var(--m-ink)}
body.kid.k-mission .wrap > .k-top .k-nav a.on{background:#dbeafe; box-shadow:none}
body.kid.k-mission .k-mgrid{display:grid; grid-template-columns:minmax(0,1fr); gap:20px; align-items:start}   /* minmax(0,…): a long title never widens the page past a phone's screen */
body.kid.k-mission .k-mside{display:grid; grid-template-columns:1fr 1fr; gap:16px}
body.kid.k-mission .k-mside > :last-child:nth-child(odd){grid-column:1 / -1}     /* an odd card out: the full width */
body.kid.k-mission .k-mdate{margin:6px 0 0; font-size:14px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--m-soft)}
body.kid.k-mission .k-mhi{margin:2px 0 14px; font-size:clamp(26px,3vw,32px); color:var(--m-ink)}
/* the mission box (owner, 9 Oct 2026: the yellow box and the greens "doesnt go well with the blue"): a soft violet over the baby blue page,
   white words, a warm peach for the job's name and a coral Start; violet and coral are a calm pair that children's apps use often */
body.kid.k-mission .k-mcard{display:flex; align-items:center; gap:20px; background:linear-gradient(180deg,#7262f2 0%,#9a8bfa 50%,#cfc5ff 100%); border-radius:28px; padding:22px 26px;
  box-shadow:0 8px 20px rgba(109,92,232,.25)}
body.kid.k-mission .k-mtx{flex:1; min-width:0}
body.kid.k-mission .k-mtx small{display:block; font-size:14px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#e4dfff}
body.kid.k-mission .k-mtx h2{margin:8px 0 6px; font-size:clamp(28px,3.2vw,36px); line-height:1.15; color:#fff}
body.kid.k-mission :is(.k-mtx, .k-worktoday) :is(h1, h2, p, small, b, span){text-shadow:0 1px 2px rgba(60,40,160,.35)}   /* the lighter violet (owner, 10 Oct: "too dark ... go a little lighter"): the white words stay clear */
body.kid.k-mission .k-mtx h2 em{font-style:normal; color:#ffd2b8}
body.kid.k-mission .k-mtx p{margin:0 0 16px; font-size:18px; color:#fff}
body.kid.k-mission .k-mstart{display:inline-flex; align-items:center; min-height:60px; padding:0 30px; border-radius:18px; background:#f97316; color:#fff;
  font-size:24px; font-weight:800; text-decoration:none; box-shadow:0 5px 0 #c2410c}
body.kid.k-mission .k-mstart:active{transform:translateY(3px); box-shadow:0 2px 0 #c2410c}
body.kid.k-mission .k-hero{flex:none; width:clamp(150px,19vw,210px); aspect-ratio:1; border-radius:50%; border:4px dashed #fff; overflow:hidden; background:#dbf2fe}
body.kid.k-mission .k-hero img{width:100%; height:100%; object-fit:cover; display:block}
body.kid.k-mission .k-mkick{margin:22px 0 10px; font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#0369a1}
body.kid.k-mission .k-jobs{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:minmax(0,1fr); gap:12px}
body.kid.k-mission .k-job{display:flex; align-items:center; gap:16px; background:#fff; border-radius:22px; padding:14px 16px; box-shadow:0 1px 3px rgba(10,38,80,.07)}
body.kid.k-mission .k-jic{flex:none; width:56px; height:56px; border-radius:16px; background:var(--jb); display:grid; place-items:center; font-size:28px}
body.kid.k-mission .k-jtx{flex:1; min-width:0; display:flex; flex-direction:column}
body.kid.k-mission .k-jtx small{font-size:14px; font-weight:800; color:var(--jc)}
body.kid.k-mission .k-jtx b{font-size:21px; color:var(--m-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body.kid.k-mission .k-jtx em{font-style:normal; font-size:15px; color:var(--m-soft)}
body.kid.k-mission .k-jpl{list-style:none; margin:2px 0 4px; padding:0; font-size:16px; color:var(--m-ink)}   /* day_one_book: each page of the day's Workbook row */
body.kid.k-mission .k-jtopd{margin:2px 0 4px} body.kid.k-mission .k-jtopd > summary{display:inline-flex; align-items:center; gap:6px; cursor:pointer; list-style:none;   /* runs_always: the Topics box */
  font-size:14px; font-weight:800; color:#6d28d9; background:#fff; border:2px solid #ddd6fe; border-radius:10px; padding:4px 10px}
body.kid.k-mission .k-jtopd > summary::-webkit-details-marker{display:none} body.kid.k-mission .k-jtopd > summary::after{content:"▸"} body.kid.k-mission .k-jtopd[open] > summary::after{content:"▾"}
body.kid.k-mission .k-jpl li{margin:3px 0} body.kid.k-mission .k-jpl li > i{display:inline-block; width:11px; height:11px; border-radius:50%; margin-right:7px}
body.kid.k-mission .k-jpl li.ok{color:#15803d} body.kid.k-mission .k-jpl li.ok::after{content:" ✓"; font-weight:800}
body.kid.k-mission .k-jbar{display:block; height:8px; max-width:260px; border-radius:6px; background:#e2e8f0; margin-top:6px; overflow:hidden}
body.kid.k-mission .k-jbar > i{display:block; height:100%; background:var(--jc); border-radius:6px}
/* bar_full (owner, 10 Oct 2026: "the status bar is very short and it says done but because the bar only spans half of the box it feels like it
   isnt done"): the bar runs the whole width of the row's words, up to the time and the button */
body.kid.k-mission.k-barfull .k-jbar{max-width:none; width:100%}
body.kid.k-mission .k-jmin{flex:none; font-size:15px; font-weight:800; color:var(--m-soft)}
body.kid.k-mission .k-jgo{flex:none; width:60px; height:60px; border-radius:16px; background:var(--jc); color:#fff; display:grid; place-items:center; font-size:24px; text-decoration:none}
body.kid.k-mission .k-job.lock{opacity:.65}
body.kid.k-mission .k-mside-card{display:block; background:#fff; border-radius:24px; padding:18px; box-shadow:0 1px 3px rgba(10,38,80,.07); text-decoration:none; color:var(--m-ink)}
body.kid.k-mission .k-mring{display:flex; align-items:center; gap:14px}
body.kid.k-mission .k-mringpic{position:relative; flex:none; width:110px; height:110px}
body.kid.k-mission .k-mring svg{width:100%; height:100%}
body.kid.k-mission .k-mpct{position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center}
body.kid.k-mission .k-mpct b{font-size:28px; line-height:1} body.kid.k-mission .k-mpct small{font-size:12px; color:var(--m-soft)}
body.kid.k-mission .k-mring h3{margin:0 0 2px; font-size:20px} body.kid.k-mission .k-mring p{margin:0; color:var(--m-soft); font-size:15px}
body.kid.k-mission .k-megg{display:flex; align-items:center; gap:14px}
body.kid.k-mission .k-meggpic{flex:none; width:72px; height:72px} body.kid.k-mission .k-meggpic img{width:100%; height:100%; object-fit:contain}
body.kid.k-mission .k-megg b{display:block; font-size:18px} body.kid.k-mission .k-megg small{display:block; font-size:14px; color:var(--m-soft)}
body.kid.k-mission .k-mnote b{display:block; font-size:17px; color:#be123c} body.kid.k-mission .k-mnote p{margin:8px 0 0; font-size:17px; overflow-wrap:anywhere}
body.kid.k-mission .k-mparents{grid-column:1 / -1; display:flex; justify-content:space-between; align-items:center; min-height:56px; padding:0 20px;
  background:#fff; border-radius:18px; box-shadow:0 1px 3px rgba(10,38,80,.07); color:var(--m-ink); font-size:17px; font-weight:800; text-decoration:none}
body.kid.k-mission .k-mparents span{font-size:24px; color:#7565ee}
body.kid.k-mission .k-mside > .k-mnote{grid-column:1 / -1}
/* wide: the side cards in a column beside the jobs, the ring big */
@media (min-width:1100px){
  body.kid.k-mission .k-mgrid{grid-template-columns:minmax(0,1fr) 300px}
  body.kid.k-mission .k-mside{grid-template-columns:1fr}
  body.kid.k-mission .k-mring{flex-direction:column; text-align:center; gap:8px}
  body.kid.k-mission .k-mringpic{width:150px; height:150px}
  body.kid.k-mission .k-mpct b{font-size:36px}
  body.kid.k-mission .k-mring h3{font-size:22px}
}
/* the menu icons stay plain (owner, 9 Oct 2026: coloured tiles tried, then "remove the colours in the icon as it seems distracting now") */
/* My work in the home page's look (owner, 9 Oct 2026: "redesign the my work page to have the same look and feel as the home page"):
   the baby blue page, white rounded cards with a soft shadow, a coloured icon tile on each card, a violet arrow; no cream boxes */
body.kid.k-mission #k-work .k-wcard{margin:8px 0 16px; min-height:0; padding:18px 24px}
body.kid.k-mission #k-work .k-wcard .k-hero{width:clamp(120px,14vw,150px)}
body.kid.k-mission #k-work .k-wkick{margin:0; font-size:14px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#e4dfff}
body.kid.k-mission #k-work .k-wbar{flex:1; min-width:90px; max-width:200px; margin-top:0; --jc:#16a34a}
body.kid.k-mission #k-work .k-wdone{align-self:flex-start; margin-top:4px; padding:2px 10px; border-radius:10px; background:#dcfce7; color:#15803d; font-size:14px; font-weight:800}
body.kid.k-mission #k-work .k-workwhy{margin:0 0 14px; font-size:17px; color:var(--m-soft)}
body.kid.k-mission #k-work .k-worktoday{background:linear-gradient(180deg,#7262f2 0%,#9a8bfa 55%,#cfc5ff 100%) !important; border:0 !important; border-radius:24px;
  color:#fff; padding:16px 20px; box-shadow:0 8px 20px rgba(109,92,232,.25)}
body.kid.k-mission #k-work .k-worktoday :is(b, span){color:#fff}
body.kid.k-mission #k-work .k-worktoday .k-start{background:#f97316 !important; box-shadow:0 5px 0 #c2410c !important; color:#fff}
body.kid.k-mission #k-home #k-newpages{margin-top:22px !important}      /* Extra practice on Home: the home page's look and a gap above (owner, 10 Oct) */
body.kid.k-mission :is(#k-work, #k-newpages).k-sec{background:none !important; border:0 !important; box-shadow:none !important; padding:0 !important}
body.kid.k-mission #k-work .k-wrow{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:0 0 18px}
body.kid.k-mission #k-work .k-wrow{align-items:stretch}
body.kid.k-mission #k-work .k-wrow > *{margin:0 !important; min-height:150px; height:100%; box-sizing:border-box; align-self:stretch}
body.kid.k-mission #k-work .k-wrow .k-worktoday{background:#fff !important; box-shadow:0 1px 3px rgba(10,38,80,.07) !important; border-radius:22px; padding:14px 16px}
body.kid.k-mission #k-work .k-wrow .k-worktoday :is(b, span){color:var(--m-ink) !important; text-shadow:none !important}
body.kid.k-mission #k-work .k-wrow .k-worktoday > div span{color:var(--m-soft) !important; font-size:15px}
body.kid.k-mission #k-work .k-wrow .k-worktoday b{font-size:20px}
body.kid.k-mission #k-work .k-wrow .k-worktoday .k-start span{color:#fff !important}
body.kid.k-mission #k-work .k-wrow .k-worktoday .k-start{min-height:52px; padding:0 22px; font-size:19px; border-radius:16px; width:auto}
body.kid.k-mission #k-work .k-wrow .k-worktoday .k-start svg{width:26px; height:26px}
body.kid.k-mission #k-work .k-wrow .k-worktoday{display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:14px}
body.kid.k-mission #k-work .k-wrow .k-worktoday > div{display:flex; flex-direction:column; gap:4px}
body.kid.k-mission #k-work .k-wrow .k-more{display:grid; grid-template-columns:56px 1fr; align-content:space-between; gap:12px 14px}
body.kid.k-mission #k-work .k-wrow .k-more > :is(#more-go-wrap, .msg){grid-column:1 / -1}
body.kid.k-mission #k-work .k-wrow .k-more .msg:empty{display:none}
@media (max-width:640px){ body.kid.k-mission #k-work .k-wrow{grid-template-columns:1fr} }
body.kid.k-mission #k-work .k-more{background:#fff !important; border:0 !important; border-radius:22px; box-shadow:0 1px 3px rgba(10,38,80,.07); margin:0 0 18px !important}
body.kid.k-mission #k-work .k-more .k-emo{width:56px; height:56px; border-radius:16px; background:#fef3c7; display:grid; place-items:center; font-size:28px}
body.kid.k-mission #k-work .k-more #more-go{background:#f97316 !important; border:0; box-shadow:0 4px 0 #c2410c; color:#fff; border-radius:16px; min-height:52px; padding:0 26px; font-size:19px}
body.kid.k-mission :is(#k-work, #k-newpages) .k-sec{background:none !important; border:0 !important; box-shadow:none !important; padding:0 !important; margin:22px 0 0 !important; --frame:none}
body.kid.k-mission :is(#k-work, #k-newpages) .k-sec::before, body.kid.k-mission :is(#k-work, #k-newpages) .k-sec::after{display:none !important}
body.kid.k-mission :is(#k-work, #k-newpages) .k-head{margin:0 0 12px}
body.kid.k-mission :is(#k-work, #k-newpages) .k-head h2{font-size:24px; color:var(--m-ink)}
body.kid.k-mission :is(#k-work, #k-newpages) .k-head p{font-size:15px; color:var(--m-soft)}
body.kid.k-mission :is(#k-work, #k-newpages) .k-head .k-ic{width:48px; height:48px; border-radius:14px; background:#fff !important; border:0 !important; box-shadow:0 1px 3px rgba(10,38,80,.08)}
body.kid.k-mission #k-work .k-week h3{font-size:14px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#0369a1; margin:14px 0 8px}
body.kid.k-mission :is(#k-work, #k-newpages) .k-tile{background:#fff !important; border:0 !important; border-image:none !important; border-radius:22px !important; box-shadow:0 1px 3px rgba(10,38,80,.07) !important}
body.kid.k-mission :is(#k-work, #k-newpages) .k-tile::before, body.kid.k-mission :is(#k-work, #k-newpages) .k-tile::after{display:none !important}
body.kid.k-mission :is(#k-work, #k-newpages) .k-tile .k-tx small{color:#7565ee}
body.kid.k-mission :is(#k-work, #k-newpages) .k-tile .k-go{background:#7565ee !important; color:#fff !important; border:0 !important; box-shadow:0 3px 0 #5b4ae3}
body.kid.k-mission #k-work details.k-locked, body.kid.k-mission #k-work details.k-term{background:#fff !important; border:0 !important; border-radius:22px; box-shadow:0 1px 3px rgba(10,38,80,.07) !important; padding:14px 16px !important}
body.kid.k-mission #k-work details.k-term > summary .k-go{background:#ece9ff; color:#5b4ae3}
body.kid.k-mission #k-work details.k-locked > summary .k-go{background:#ece9ff !important; color:#5b4ae3 !important}
/* the menu: always the bar at the top (owner, 9 Oct 2026: "should we move all these icons to the top like before?") */
@media (max-width:640px){
  body.kid.k-mission .k-mside{grid-template-columns:1fr}
  body.kid.k-mission .k-mcard{flex-direction:column-reverse; align-items:flex-start}
  body.kid.k-mission .k-jmin{display:none}
}

/* subject_choice: Maths | English under the greeting (kid.js) */
body.kid.k-mission .k-hirow{display:flex; align-items:center; justify-content:space-between; gap:8px 16px; flex-wrap:wrap; margin:2px 0 14px}
body.kid.k-mission .k-hirow .k-mhi{margin:0}
@media (min-width:1100px){ body.kid.k-mission .k-hirow{margin-right:320px} }   /* the choice's right edge on the mission box's right edge (owner, 10 Oct) */
body.kid.k-mission .k-subj{display:inline-flex; background:#fff3e6; border:2px solid #fed7aa; border-radius:14px; padding:3px; gap:2px; flex:none}   /* light orange, as the Show what you know box (owner, 10 Oct) */
body.kid.k-mission .k-subj button{font:inherit; font-size:15px; font-weight:800; border:0; background:none; color:#475569; padding:6px 14px; border-radius:11px;
  display:flex; gap:6px; align-items:center; min-height:40px; cursor:pointer}
body.kid.k-mission .k-subj button{color:#9a3412}
body.kid.k-mission .k-subj button.on{background:#ea580c; color:#fff; box-shadow:0 2px 0 #c2410c}   /* the colours of Show what you know (owner, 10 Oct) */
body.kid.k-mission .k-subj button i{font-style:normal; font-size:16px}
body.kid.k-mission .k-soon{background:#f3efff; border-radius:22px; padding:22px; font-size:18px; color:#475569}
body.kid.k-mission #k-eng .k-mcard{margin-bottom:0}
/* dino_hop: the mission picture and the egg jump twice when Home or My work opens (kid.js kHop) */
@keyframes k-hop{0%,100%{transform:translateY(0) rotate(0)} 25%{transform:translateY(-16px) rotate(-4deg)} 50%{transform:translateY(0) rotate(0)} 70%{transform:translateY(-6px) rotate(3deg)}}
body.kid.k-mission .k-hop{animation:k-hop .8s ease-in-out 2}
@media (prefers-reduced-motion:reduce){ body.kid.k-mission .k-hop{animation:none} }

/* the white page with light cards (owner, 10 Oct 2026: "the background is white, all the cards are in some light colour", the violet
   mission box kept; "yes make this live"): each card its own light colour, from its button's colour; no shadows; My work the same */
body.kid.k-mission .wrap > .k-top{box-shadow:none !important; border:1px solid #e8edf5 !important}
body.kid.k-mission .k-job{box-shadow:none}
body.kid.k-mission .k-job[data-kind="round"], body.kid.k-mission .k-job[data-kind="own"]{background:#ecfdf3}
body.kid.k-mission .k-job[data-kind="book"]{background:#f3efff}
body.kid.k-mission .k-job[data-kind="check"]{background:#fff3e6}
body.kid.k-mission .k-job[data-kind="again"]{background:#fdf2f8}   /* again_daily: the Practise again card of each day, as the other cards */
body.kid.k-mission .k-job[data-kind="again"] .k-jtx b{white-space:normal; overflow-wrap:anywhere}   /* its whole title (the concept), on two lines on a phone */
body.kid.k-mission .k-job:is([data-kind="lesson"], [data-kind="other"], [data-kind="review"], [data-kind="paper"]){background:#eef6ff}
body.kid.k-mission .k-job .k-jic{background:#fff}
/* daily_first (owner, 19 Oct 2026, the mock-up: "Let's go with picture 2"): Quick Recall and Review, first in today's list, in their colour with a frame */
body.kid.k-mission .k-job.k-daily{background:var(--jb); box-shadow:inset 0 0 0 3px var(--jc)}
body.kid.k-mission .k-job.k-daily small{color:var(--jc); font-weight:800}
body.kid.k-mission .k-job.k-daily.done{box-shadow:none}
body.kid.k-mission .k-jbar{background:#fff}
body.kid.k-mission .k-mside-card{box-shadow:none}
body.kid.k-mission .k-mring{background:#eaf3ff} body.kid.k-mission .k-mring circle:first-child{stroke:#fff}
body.kid.k-mission .k-megg{background:#eafaf0}
body.kid.k-mission .k-mnote{background:#fff0f3}
body.kid.k-mission .k-mparents{background:#f4f6fa; box-shadow:none}
body.kid.k-mission :is(#k-work, #k-newpages) .k-tile{background:#eef6ff !important; box-shadow:none !important}
body.kid.k-mission #k-work .k-tile.k-set{background:#ecfdf3 !important}
body.kid.k-mission :is(#k-work, #k-newpages) .k-head .k-ic{background:#eef6ff !important; box-shadow:none !important}
body.kid.k-mission #k-work .k-wrow .k-worktoday{background:#f3efff !important; box-shadow:none !important}
body.kid.k-mission #k-work .k-more{background:#fffbeb !important; box-shadow:none !important}
body.kid.k-mission #k-work .k-more .k-emo{background:#fff}
body.kid.k-mission #k-work :is(details.k-locked, details.k-term){background:#f4f6fa !important; box-shadow:none !important}
body.kid.k-mission #k-work details.k-locked .k-ic{background:#fff !important}

/* teacher_card: the teacher's picture and name on the note, Listen, and Welcome back (kid.js) */
body.kid.k-mission .k-tav{flex:none; border-radius:50%; object-fit:cover; border:3px solid #fff; box-shadow:0 0 0 2px #fbcfe8; background:#fde68a}
body.kid.k-mission .k-tavl{display:grid; place-items:center; font-weight:800; color:#92400e; font-size:22px}
body.kid.k-mission .k-tnote{display:flex; gap:12px; align-items:flex-start}
body.kid.k-mission .k-listen{margin-top:8px; font:800 15px/1 "Quicksand",Ubuntu,Arial,sans-serif; color:#fff; background:#db2777; border:0; border-radius:12px;
  padding:9px 14px; min-height:40px; cursor:pointer}
body.kid.k-mission .k-welcome{display:flex; gap:12px; align-items:center; background:#fff7ed; border:2px solid #fdba74; border-radius:18px; padding:10px 14px; margin:0 0 14px}
body.kid.k-mission .k-welcome p{margin:0; flex:1; font-size:17px; color:var(--m-ink)} body.kid.k-mission .k-welcome .k-listen{margin:0}

/* day_plan (owner, 11 Oct 2026): the week as days from the class's lesson day; each day a tile to open; catch-up and "Do Tuesday's work" */
body.kid.k-mission .k-days{display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; margin:14px 0 4px}
body.kid.k-mission .k-day{border-radius:16px; padding:9px 4px 7px; text-align:center; font:inherit; font-weight:800; font-size:16px; background:#f0fdf4; color:#15803d;
  border:2px solid #86efac; cursor:pointer; min-height:56px}     /* green (owner, 11 Oct 2026: "Make the days buttons green rather than violet") */
body.kid.k-mission .k-day small{display:block; font-size:12px; font-weight:700; opacity:.85; margin-top:2px}
body.kid.k-mission .k-day.class{background:#0a2650; border-color:#0a2650; color:#fff}
body.kid.k-mission .k-day.done{background:#16a34a; border-color:#15803d; color:#fff}
body.kid.k-mission .k-day.today{border:3px solid #f97316; box-shadow:0 4px 0 #fed7aa}
body.kid.k-mission .k-day.today:not(.done):not(.class){background:#fff; color:#c2410c}
body.kid.k-mission .k-day.sel{outline:3px solid #0a2650; outline-offset:2px}
/* catch_fold: a day left not done is amber; the jobs left from earlier days in one folded box */
body.kid.k-mission .k-job.done{text-align:left}   /* not style.css's .done (centred) */
body.kid.k-mission .k-day.missed:not(.today){background:#fffbeb; border-color:#fcd34d; color:#b45309}
body.kid.k-mission .k-catchbox{margin:12px 0 0; border-radius:20px; background:#fffbeb; border:2px solid #fde68a; padding:0 14px}
body.kid.k-mission .k-catchbox > summary{list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; padding:14px 4px; font-size:18px; color:#92400e}
body.kid.k-mission .k-catchbox > summary::-webkit-details-marker{display:none}
body.kid.k-mission .k-catchbox > summary::after{content:"▸"; margin-left:auto; font-size:20px; transition:transform .15s}
body.kid.k-mission .k-catchbox[open] > summary::after{transform:rotate(90deg)}
body.kid.k-mission .k-catchbox > summary span{font-weight:700; font-size:16px; color:#b45309}
body.kid.k-mission .k-catchbox .k-jobs{margin:0 0 12px}
/* week_egg: this week's egg at the end of the path; it hatches on the finished-week screen */
body.kid.k-mission .k-pegg{display:block; height:34px} body.kid.k-mission .k-pegg img{height:34px; width:auto; display:block}
body.kid.k-mission .k-weekegg .k-meggpic img{animation:k-wewob 2.4s ease-in-out infinite}
@keyframes k-wewob{0%,80%,100%{transform:rotate(0)} 85%{transform:rotate(-7deg)} 90%{transform:rotate(6deg)} 95%{transform:rotate(-4deg)}}
.k-hatchpop{animation:k-hatch .7s cubic-bezier(.2,1.6,.4,1) both}
@keyframes k-hatch{from{transform:scale(.2); opacity:0} to{transform:scale(1); opacity:1}}
@media (prefers-reduced-motion:reduce){body.kid.k-mission .k-weekegg .k-meggpic img, .k-hatchpop{animation:none}}
/* last_week_note: one quiet line for the week before */
body.kid.k-mission .k-lastwk{display:flex; align-items:center; gap:12px; margin:14px 0 0; padding:10px 14px; border-radius:16px; background:#eff6ff; border:2px solid #bfdbfe; color:var(--k-navy)}
body.kid.k-mission .k-lastwk > span{font-size:24px} body.kid.k-mission .k-lastwk p{margin:0; flex:1; font-size:16px}
body.kid.k-mission .k-lastgo{font-weight:800; color:#1d4ed8; text-decoration:none; white-space:nowrap; padding:8px 12px; border-radius:12px; background:#fff; border:2px solid #bfdbfe}
/* day_path: the days as stones on the way to Dino Island; a dino footprint on each done day */
body.kid.k-mission .k-wpath{position:relative; display:flex; align-items:center; gap:10px; margin:16px 0 0; padding:0 10px; height:46px;
  background:url(img/dino/map-island.svg) center/cover no-repeat; border:3px solid #e2c27a; border-radius:24px}   /* the island map (owner, 11 Oct 2026: "these nice map") */
body.kid.k-mission .k-ptrack{position:relative; flex:1; height:10px; border-radius:6px; background:repeating-linear-gradient(90deg,#f8fafc 0 14px,transparent 14px 22px)}
body.kid.k-mission .k-ptrack > i{position:absolute; inset:0 auto 0 0; border-radius:6px; background:#16a34a}
body.kid.k-mission .k-pdino{position:absolute; top:-6px; margin-left:10px; font-size:34px; line-height:1; transform:scaleX(-1); transition:left .6s}
body.kid.k-mission .k-pisle{display:flex; flex-direction:column; align-items:center; line-height:1}
body.kid.k-mission .k-pisle b{font-size:26px} body.kid.k-mission .k-pisle small{font-size:11px; font-weight:800; color:#0a2650}
body.kid.k-mission .k-dfoot{width:18px; height:18px; fill:currentColor; display:block; margin:0 auto 1px}
body.kid.k-mission .k-day.done .k-dfoot{fill:#fff}
body.kid.k-mission .k-daydone{display:flex; gap:14px; align-items:center; margin:12px 0 0; padding:14px 16px; border-radius:20px; background:#f0fdf4; border:2px solid #86efac; color:#14532d}
body.kid.k-mission .k-daydone > .k-dfoot{width:40px; height:40px; fill:#16a34a; margin:0; flex:none}
body.kid.k-mission .k-daydone b{font-size:20px} body.kid.k-mission .k-daydone p{margin:2px 0 0; font-size:16px}
body.kid.k-mission .k-mdays{display:flex; align-items:center; justify-content:center; gap:6px; margin:8px 0 0; color:#15803d}
body.kid.k-mission .k-mdays .k-dfoot{width:18px; height:18px; fill:#16a34a; margin:0}
body.kid.k-mission .k-more{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin:10px 0 4px; padding:12px 16px; border-radius:18px;
  background:#fff7ed; border:2px dashed #fdba74; font-weight:700; color:#9a3412}
body.kid.k-mission .k-more .k-moreb{background:#fff; color:#ea580c; border:2px solid #f97316; border-radius:14px; padding:9px 16px; font:inherit; font-weight:800; cursor:pointer; box-shadow:0 3px 0 #fed7aa}
body.kid.k-mission button.k-mstart.k-moreb{border:0; cursor:pointer; font:inherit; font-weight:800}
body.kid.k-mission .k-job.k-catch small{color:#c2410c}
@media (max-width:700px){ body.kid.k-mission .k-days{grid-template-columns:repeat(4,minmax(0,1fr))} }

/* week_done (owner, 11 Oct 2026): the finished-week screen over the whole page: confetti, the dino, the island and the dino cards, the check-in */
.k-wd{position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:16px; background:radial-gradient(circle at 50% 30%, rgba(167,139,250,.92), rgba(76,29,149,.9));
  overflow:auto; animation:kwdIn .35s ease-out}
@keyframes kwdIn{from{opacity:0} to{opacity:1}}
.k-wdconf{position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:2}
.k-wdbox{position:relative; z-index:1; width:min(860px, 100%); background:#fff; border-radius:28px; padding:22px 26px 24px; box-shadow:0 24px 60px rgba(30,10,80,.45);
  color:#0a2650; animation:kwdPop .5s cubic-bezier(.2,1.4,.4,1)}
@keyframes kwdPop{from{transform:scale(.85)} to{transform:scale(1)}}
.k-wdx{position:absolute; top:14px; right:14px; width:44px; height:44px; border-radius:50%; border:2px solid #e2e8f0; background:#fff; font-size:20px; font-weight:800; color:#475569; cursor:pointer}
.k-wdtop{display:flex; align-items:center; gap:20px; flex-wrap:wrap}
.k-wdhero{width:190px; height:190px; flex:none; border-radius:50%; background:radial-gradient(circle,#fef9c3,#fde68a); display:grid; place-items:center; overflow:hidden;
  box-shadow:0 0 0 6px #fde68a, 0 0 40px #facc15; animation:kwdBob 1.6s ease-in-out infinite}
.k-wdhero img{width:92%; height:92%; object-fit:contain}
@keyframes kwdBob{0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)}}
.k-wdkick{margin:0; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#7c3aed; font-size:14px}
.k-wdtop h1{margin:4px 0 2px; font-size:40px; line-height:1.1; background:linear-gradient(90deg,#7c3aed,#ea580c); -webkit-background-clip:text; background-clip:text; color:transparent}
.k-wdlead{margin:0 0 10px; font-size:19px; color:#334155}
.k-wdsound{border:2px solid #7c3aed; color:#7c3aed; background:#f5f3ff; border-radius:14px; padding:9px 16px; font:inherit; font-weight:800; font-size:16px; cursor:pointer}
.k-wdprize{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:18px 0 6px}
.k-wdp{display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto auto; column-gap:12px; align-items:center; text-decoration:none; color:#0a2650;
  border-radius:20px; padding:14px 16px; background:linear-gradient(180deg,#ecfdf5,#d1fae5); border:2px solid #86efac; box-shadow:0 5px 0 #86efac}
.k-wdp + .k-wdp{background:linear-gradient(180deg,#eff6ff,#dbeafe); border-color:#93c5fd; box-shadow:0 5px 0 #93c5fd}
.k-wdpic{grid-row:1 / span 3; width:74px; height:74px; display:grid; place-items:center; font-size:48px}
.k-wdpic img, .k-wdpic .k-eggbox{max-width:74px; max-height:74px}
.k-wdp b{font-size:20px} .k-wdp small{font-size:14px; color:#475569}
.k-wdbtn{justify-self:start; margin-top:6px; background:#16a34a; color:#fff; font-weight:800; border-radius:12px; padding:7px 14px}
.k-wdp + .k-wdp .k-wdbtn{background:#2563eb}
.k-wdask{margin-top:18px; padding-top:14px; border-top:2px dashed #e2e8f0}
.k-wdask h2{margin:0 0 10px; font-size:22px}
.k-wdhow{display:grid; grid-template-columns:repeat(3,1fr); gap:10px}
.k-wdhow button{border:2px solid #e2e8f0; background:#fff; border-radius:16px; padding:10px 6px; font:inherit; font-weight:800; font-size:17px; color:#0a2650; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; gap:2px}
.k-wdhow button span{font-size:30px}
.k-wdhow button.on{border-color:#f97316; background:#fff7ed; box-shadow:0 4px 0 #fed7aa}
.k-wdthanks{margin:10px 0 0; min-height:1.3em; font-weight:700; color:#15803d}
.k-wdnote{margin-top:14px; font-size:14px; color:#64748b}
.k-wdnote summary{cursor:pointer; font-weight:600}
.k-wdnote textarea{width:100%; box-sizing:border-box; margin-top:8px; border:1px solid #cbd5e1; border-radius:10px; padding:8px 10px; font:inherit; font-size:15px; resize:vertical}
.k-wdsendrow{margin-top:6px}
.k-wdsend{border:1px solid #cbd5e1; background:#fff; color:#334155; border-radius:10px; padding:6px 12px; font:inherit; font-weight:700; font-size:14px; cursor:pointer}
.k-wdopen{border:0; cursor:pointer; font:inherit; font-weight:800; margin-left:10px}
@media (max-width:700px){ .k-wdprize{grid-template-columns:1fr} .k-wdtop h1{font-size:30px} .k-wdhero{width:140px; height:140px} }
/* hatch_show (owner, 21 Oct 2026: "do we see it animated and head popping out slowly then fully cracking open with the Dino saying something?"): the
   week egg hatches over the finished-week screen (kid.js hatchShow), a way a week (kid.js HATCH_WAYS). The egg picture twice: .k-hsa its top half,
   .k-hsb its bottom half (in front of the dino, so the head shows first); transform and opacity only; .done = the end: the wave, the bubble */
.k-hs{position:fixed; inset:0; z-index:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:16px; box-sizing:border-box;
  overflow:hidden; background:radial-gradient(circle at 50% 38%, #ede9fe, #8b5cf6 58%, #4c1d95); color:#0a2650; animation:kwdIn .3s ease-out;
  -webkit-tap-highlight-color:transparent; touch-action:manipulation; -webkit-user-select:none; user-select:none}
.k-hs.k-hsdemo{z-index:300}
.k-hsconf{position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:0}   /* the burst: behind the egg and the dino (not over its face) */
.k-hsconf.k-hsrain{z-index:5}
.k-hsh{position:relative; z-index:1; margin:0; font-size:32px; font-weight:800; color:#fff; text-align:center; text-shadow:0 2px 0 rgba(30,10,80,.4)}
.k-hpct{display:inline-block; width:96px; height:12px; margin-right:8px; border-radius:999px; background:#e2e8f0; vertical-align:middle; overflow:hidden}   /* catchup_percent */
.k-hpct > i{display:block; height:100%; border-radius:999px; background:#16a34a}
.k-hpcn{font-size:16px; color:#14532d}
.k-chdwk{position:relative; z-index:1; margin:0; padding:6px 16px; border-radius:999px; background:rgba(255,255,255,.9); color:#4c1d95; font-size:18px; font-weight:800; text-align:center}   /* catchup_hatch: the week a catch-up egg is for */
.k-hsrow{position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:14px}
.k-hsstage{--s:min(460px, 80vw, 46vh); position:relative; width:var(--s); height:var(--s); flex:none; margin-top:calc(var(--s) * .12)}   /* room for a jump */
.k-hsstage > span{position:absolute; inset:0}
.k-hsimg{position:absolute; inset:0; width:100%; height:100%; object-fit:contain; display:block; pointer-events:none}
.k-hsdino{z-index:1; opacity:0; transform:translateY(-5%) scale(.45) rotate(0); transform-origin:50% 100%}
.k-hsegg{z-index:2; transform-origin:50% 90%}
.k-hsp{position:absolute; inset:0}
.k-hsa{-webkit-clip-path:polygon(0 0,100% 0,100% 44%,90% 39%,80% 45%,70% 39%,60% 45%,50% 39%,40% 45%,30% 39%,20% 45%,10% 39%,0 44%);
  clip-path:polygon(0 0,100% 0,100% 44%,90% 39%,80% 45%,70% 39%,60% 45%,50% 39%,40% 45%,30% 39%,20% 45%,10% 39%,0 44%); transform-origin:78% 42%}
.k-hsb{-webkit-clip-path:polygon(0 44%,10% 39%,20% 45%,30% 39%,40% 45%,50% 39%,60% 45%,70% 39%,80% 45%,90% 39%,100% 44%,100% 100%,0 100%);
  clip-path:polygon(0 44%,10% 39%,20% 45%,30% 39%,40% 45%,50% 39%,60% 45%,70% 39%,80% 45%,90% 39%,100% 44%,100% 100%,0 100%)}
.k-hscr{position:absolute; inset:0; width:100%; height:100%}
.k-hscr path{fill:none; stroke:#2e1a08; stroke-width:1.1; stroke-linecap:round; stroke-linejoin:round}
.k-hscr path.k-ch{stroke:#fff6dc; stroke-width:2.1}
.k-hscr g{opacity:0; animation:k-hsin .25s ease-out both}
.k-hsc1{animation-delay:var(--c1, 99s) !important} .k-hsc2{animation-delay:var(--c2, 99s) !important} .k-hsc3{animation-delay:var(--c3, 99s) !important}
@keyframes k-hsin{from{opacity:0} to{opacity:1}}
.k-hs[data-egg="egg-green"]{--shell:#7cb342} .k-hs[data-egg="egg-blue"]{--shell:#29b6f6} .k-hs[data-egg="egg-purple"]{--shell:#9c4dcc}
.k-hs[data-egg="egg-orange"]{--shell:#fb8c00} .k-hs[data-egg="egg-rainbow"]{--shell:#ec4899}
.k-hsbits{z-index:4; pointer-events:none}
.k-hsbits i{position:absolute; inset:0; opacity:0; animation:k-hsfly .9s cubic-bezier(.2,.7,.4,1) var(--b, 99s) both}
.k-hsbits i::before{content:""; position:absolute; left:calc(50% - 10px); top:34%; width:20px; height:15px; border-radius:45% 15% 45% 15%; background:#fff8e7;
  box-shadow:inset 0 0 0 3px var(--shell, #7cb342); transform:rotate(var(--r))}
@keyframes k-hsfly{0%{opacity:0; transform:translate(0,0)} 1%{opacity:1; transform:translate(0,0)} 75%{opacity:1} 100%{opacity:0; transform:translate(var(--x), var(--y))}}
@keyframes k-hsfall{to{transform:translateY(30%) scale(.92); opacity:0}}
/* peek (week 1 of the show, 21 Oct 2026): a wobble, cracks spread, the top lifts and tilts, the head rises slowly, the shell falls away, one jump */
.k-hs[data-way="peek"]{--c1:.3s; --c2:.7s; --c3:1.1s; --b:3.65s}
.k-hs[data-way="peek"] .k-hsegg{animation:k-hs1e 1.5s ease-in-out .1s both}
@keyframes k-hs1e{0%,72%,100%{transform:rotate(0)} 10%{transform:rotate(-6deg)} 22%{transform:rotate(6deg)} 34%{transform:rotate(-5deg)} 46%{transform:rotate(5deg)} 58%{transform:rotate(-3deg)}}
.k-hs[data-way="peek"] .k-hsa{animation:k-hs1a 4.2s ease-in-out both}
@keyframes k-hs1a{0%,38%{transform:translate(0,0) rotate(0)} 50%{transform:translate(0,-16%) rotate(-14deg)} 68%{transform:translate(0,-18%) rotate(-12deg)}
  86%{opacity:1; transform:translate(0,-16%) rotate(-14deg)} 100%{transform:translate(-70%,-55%) rotate(-80deg); opacity:0}}
.k-hs[data-way="peek"] .k-hsb{animation:k-hsfall .6s ease-in 3.65s both}
.k-hs[data-way="peek"] .k-hsdino{animation:k-hs1d 4.95s both}
@keyframes k-hs1d{0%,36%{opacity:0; transform:translateY(-5%) scale(.45) rotate(0)} 37%{opacity:1; transform:translateY(-5%) scale(.45) rotate(0); animation-timing-function:ease-out}
  73%{transform:translateY(-22%) scale(.55) rotate(0); animation-timing-function:ease-out} 82%{transform:translateY(-14%) scale(.86) rotate(0); animation-timing-function:ease-in}
  91%{transform:translateY(-1%) scale(.9,.76) rotate(0)} 100%{opacity:1; transform:translateY(-2%) scale(.84) rotate(0)}}
/* the end (and a tap, and Reduce Motion): the dino out of the shell waves at the child (it tilts side to side 3 times, a 👋 beside it: the picture
   has no arm of its own; owner, 21 Oct 2026: "are you ensuring that the dino waves at the child"), then its bubble and the voice button */
.k-hsshadow{inset:auto 20% 1% 20% !important; height:7%; border-radius:50%; background:rgba(30,10,80,.28); opacity:0; transition:opacity .4s}
.k-hshand{position:absolute; z-index:4; left:4%; top:8%; font-style:normal; font-size:calc(var(--s) * .16); line-height:1; opacity:0; transform-origin:70% 90%}
.k-hs.done[data-way] .k-hsegg, .k-hs.done[data-way] .k-hsbits{animation:none; opacity:0}
.k-hs.done[data-way] .k-hsdino{opacity:1; transform:translateY(-2%) scale(.84) rotate(0); z-index:3; animation:k-hswave 1.2s ease-in-out both}
.k-hs.done[data-way] .k-hsdino img{animation:kwdBob 1.8s ease-in-out 1.2s infinite}
.k-hs.done .k-hshand{animation:k-hshand 1.2s ease-in-out both}
@keyframes k-hswave{0%,100%{transform:translateY(-2%) scale(.84) rotate(0)} 17%,50%,83%{transform:translateY(-2%) scale(.84) rotate(-7deg)}
  33%,67%{transform:translateY(-2%) scale(.84) rotate(7deg)}}
@keyframes k-hshand{0%{opacity:0; transform:scale(.4) rotate(0)} 10%{opacity:1; transform:scale(1) rotate(0)} 25%,58%{transform:rotate(-25deg)} 42%,75%{transform:rotate(20deg)}
  88%{opacity:1; transform:rotate(0)} 100%{opacity:0; transform:rotate(0)}}
.k-hs.done .k-hsshadow{opacity:1}
.k-hsside{display:flex; flex-direction:column; align-items:center; gap:12px; width:min(560px, 92vw); opacity:0; transform:translateY(12px); pointer-events:none;
  transition:opacity .4s, transform .4s}
.k-hs.done .k-hsside{opacity:1; transform:none; pointer-events:auto; transition-delay:1.2s}     /* after the wave (kid.js HATCH_WAVE) */
.k-hs.done.k-hsnow .k-hsside{transition-delay:0s}
.k-hsbub{position:relative; margin:0; min-height:3em; box-sizing:border-box; width:100%; background:#fff; border-radius:24px; padding:16px 20px; font-size:22px; line-height:1.4;
  text-align:center; box-shadow:0 10px 30px rgba(30,10,80,.35)}
.k-hsbub b{display:block; font-size:26px; color:#7c3aed; margin-bottom:4px}
.k-hsbub::before{content:""; position:absolute; left:50%; top:-14px; margin-left:-14px; border:14px solid transparent; border-top:0; border-bottom-color:#fff}
.k-hsvoice{min-height:60px; padding:0 28px; border-radius:30px; border:3px solid #fff; background:#f97316; color:#fff; font:inherit; font-size:22px; font-weight:800; cursor:pointer;
  box-shadow:0 5px 0 #c2410c}
.k-hsvoice.on{background:#fff; color:#c2410c; border-color:#f97316}
.k-hsvoice.k-hsask{animation:k-hsask 1.2s ease-in-out infinite}
@keyframes k-hsask{50%{transform:scale(1.06)}}
.k-hsnext{min-height:56px; padding:0 30px; border-radius:28px; border:0; background:#16a34a; color:#fff; font:inherit; font-size:21px; font-weight:800; cursor:pointer; box-shadow:0 5px 0 #15803d}
/* hatch_replay (owner, 22 Oct 2026: "yes let them watch it hatch again"): Watch it hatch again (N left), in the show and on the finished-week screen */
.k-hsag{display:flex; flex-direction:column; align-items:center; gap:8px}
.k-hsag:empty{display:none}
.k-hsagain{min-height:56px; padding:0 26px; border-radius:28px; border:3px solid #7c3aed; background:#fff; color:#6d28d9; font:inherit; font-size:20px; font-weight:800; cursor:pointer;
  box-shadow:0 5px 0 #5b21b6; touch-action:manipulation; -webkit-tap-highlight-color:transparent}
.k-hsagain:disabled{opacity:.6; cursor:default}
.k-hsnone{margin:0; font-size:18px; font-weight:700; text-align:center; color:#fff; text-shadow:0 1px 0 rgba(30,10,80,.4)}
.k-wdag{margin:14px 0 0}
.k-wdag .k-hsnone{color:#5b21b6; text-shadow:none}
.k-dag{display:flex; flex-direction:column; align-items:center; margin:8px 0 0; max-width:100%}   /* past_replay: on a week dino on My dinos */
.k-dag .k-hsagain{min-height:48px; padding:6px 14px; font-size:16px; line-height:1.2; max-width:100%}
.k-dag .k-hsnone{font-size:14px; color:#5b21b6; text-shadow:none}
@media (orientation:landscape) and (min-width:700px){
  .k-hsrow{flex-direction:row; gap:28px}
  .k-hsstage{--s:min(460px, 44vw, 64vh)}
  .k-hsside{width:min(440px, 42vw)}
  .k-hsbub::before{left:-14px; top:50%; margin:-14px 0 0; border:14px solid transparent; border-left:0; border-right-color:#fff}
}
@media (prefers-reduced-motion:reduce){ .k-hs:not(.k-hsmove), .k-hs:not(.k-hsmove) *, .k-hs:not(.k-hsmove) *::before{animation:none !important; transition:none !important} .k-hs.done:not(.k-hsmove) .k-hshand{opacity:1} }
/* class_calendar (12 Oct 2026): the week and the next class, under the hello */
.k-classline{display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; background:#fff; border:2px solid #bfdbfe; border-radius:16px; padding:10px 16px; margin:0 0 14px;
  font-size:17px; color:#1e3a8a}
.k-cl-now{font-weight:800}
/* english_rows (12 Oct 2026): the English parts as rows, coloured like the maths rows */
body.kid.k-mission .k-job[data-kind="eng-read"]{background:#eef6ff}
body.kid.k-mission .k-job[data-kind="eng-check"]{background:#fff3e6}
body.kid.k-mission .k-job[data-kind="eng-write"]{background:#f3efff}
body.kid.k-mission .k-job[data-kind="eng-practice"]{background:#ecfdf3}
body.kid.k-mission .k-job[data-kind="eng-sounds"]{background:#ecfdf3}
/* owner, 12 Oct 2026: "give this dino a different colour as he is fading into the background": orange, with a white edge and a shadow */
body.kid.k-mission .k-pdino{filter:hue-rotate(-95deg) saturate(1.7) drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 2px 2px rgba(0,0,0,.35))}
/* kid_calendar (12 Oct 2026): the term's class days */
.k-cl-open{margin-left:auto; font:inherit; font-weight:800; font-size:15px; color:#1e3a8a; background:#eff6ff; border:2px solid #bfdbfe; border-radius:12px; padding:6px 12px; cursor:pointer}
.k-calbox{background:#fff; border:2px solid #bfdbfe; border-radius:16px; padding:12px 16px; margin:-6px 0 14px}
.k-calhead{margin:0 0 8px; color:#1e3a8a; font-size:16px}
.k-calms{display:flex; flex-wrap:wrap; gap:18px}
.k-calm > b{display:block; color:#0a2650; margin:0 0 4px; font-size:16px}
.k-calg{display:grid; grid-template-columns:repeat(7, 34px); grid-auto-rows:30px; align-content:start; gap:3px; text-align:center; font-size:14px}
.k-calm{align-self:flex-start}
.k-calg span{font-size:11px; font-weight:800; color:#64748b}
.k-calg i, .k-calkey i{font-style:normal; display:grid; place-items:center; height:30px; border-radius:50%; color:#334155}
.k-calg i.les, .k-calkey i.les{background:#3b82f6; color:#fff; font-weight:800}
.k-calg i.gone, .k-calkey i.gone{background:#16a34a; color:#fff}
.k-calg i.today, .k-calkey i.today{box-shadow:0 0 0 3px #f59e0b inset}
.k-calkey{display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; margin:10px 0 0; font-size:14px; color:#475569}
.k-calkey i{display:inline-grid; width:28px; height:28px; margin-right:4px}
/* reward_both (12 Oct 2026): the week's two subjects */
.k-bothleft{margin:10px 0 6px; font-size:16px; color:#fff}
.k-bothcard{display:flex; flex-wrap:wrap; gap:6px 18px; align-items:center; background:#fff; border:2px solid #fde68a; border-radius:16px; padding:10px 16px; margin:0 0 14px; font-size:17px; color:#0a2650}
.k-bothcard span{font-weight:700} .k-bothcard span.ok{color:#15803d} .k-bothcard small{color:#64748b; font-size:14px}
/* the class line, its calendar and This week in the right column (12 Oct 2026) */
body.kid .k-mside .k-classline.k-mside-card{display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin:0 0 14px; border-radius:22px; padding:14px 18px}
.k-mside .k-classline .k-cl-open{margin-left:0}
.k-mside .k-calbox{margin:-8px 0 14px; padding:10px} .k-mside .k-calms{flex-direction:column; gap:10px}
body.kid .k-mside .k-bothcard.k-mside-card{display:flex; flex-direction:column; align-items:flex-start; gap:4px; margin:0 0 14px; border-radius:22px; padding:14px 18px}
.k-bothcard > summary{cursor:pointer; list-style:none; font-size:17px} .k-bothcard > summary::-webkit-details-marker{display:none}
.k-bothcard > summary::after{content:" ▸"; color:#64748b} .k-bothcard[open] > summary::after{content:" ▾"}
.k-bothcard[open] > summary{margin-bottom:4px}

/* novel_reader: a chapter read too fast */
body.kid .k-jtx em.k-skim, body.kid.k-mission .k-jtx em.k-skim{display:block; color:#c2410c; font-weight:700; font-style:normal}

/* ---- the sign-in page (owner, 15 Oct 2026: "the same theme as the actual home page"): app.js signinCard puts class "signin" on the body.
   The beach picture under a light sky wash, the white top bar of the home page, the helper dino and three eggs. The colour (owner, 15 Oct 2026,
   "let's do D1"): a box from jungle green to sea blue, the dino on sunny yellow, the form in its own white box. */
body.signin{min-height:100vh; background:linear-gradient(rgba(220,243,253,.80), rgba(220,243,253,.92)), var(--si-bg, none) center bottom / cover, #dcf3fd}
body.signin .wrap{max-width:1000px; padding:14px 18px 40px}
body.signin .top{background:#fff; border:1px solid #dbe7f5; border-radius:22px; padding:8px 14px; margin:0 0 18px; box-shadow:0 6px 20px rgba(10,38,80,.06)}
body.signin .top a.brand .mark{width:46px; height:46px}
body.signin #title{font-size:38px; color:#0a2650; margin:6px 4px 16px; letter-spacing:-.01em}
body.signin .cards{display:block}
body.signin .si-card{display:grid; grid-template-columns:minmax(220px, 1fr) minmax(300px, 1.25fr); gap:18px; align-items:center;
  background:linear-gradient(135deg, #6fd27a 0%, #3fb2a0 45%, #2f8ff0 100%); border-radius:30px; padding:22px; box-shadow:0 12px 34px rgba(10,38,80,.14)}
body.signin .si-art{position:relative; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; min-height:330px;
  background:linear-gradient(#fff8d6, #ffe9a8); border-radius:24px; padding:16px 10px 12px; overflow:hidden}
body.signin .si-bubble{position:relative; background:#fff; color:#0a2650; font-weight:800; font-size:21px; line-height:1.25; text-align:center;
  padding:12px 16px; border-radius:20px; box-shadow:0 4px 14px rgba(10,38,80,.10); margin:0 6px 8px}
body.signin .si-bubble::after{content:""; position:absolute; left:50%; bottom:-10px; margin-left:-10px; border:10px solid transparent; border-bottom:0; border-top-color:#fff}
body.signin .si-dino{width:200px; max-width:70%; height:auto; display:block; animation:si-bob 3.2s ease-in-out infinite}
body.signin .si-card > *{min-width:0}
body.signin .si-eggs{display:flex; gap:6px; justify-content:center; margin-top:-6px}
body.signin .si-eggs img{width:64px; height:64px}
body.signin .si-card .panel.csign{margin:0; background:#fff; padding:18px 22px; border-radius:22px; box-shadow:0 6px 18px rgba(10,38,80,.12)}
body.signin .csign h2{font-size:30px; color:#0a2650}
body.signin .csign input{background:#fff}
body.signin .csign input:focus{outline:none; border-color:#2563eb !important; box-shadow:0 0 0 4px #dbeafe}
body.signin .csign .btn.go{font-size:20px; min-height:56px; padding:0 34px; border-radius:18px}
body.signin .si-first{margin:12px 0 0; padding:10px 14px; background:#f0f9ff; border-radius:14px; font-size:16px; color:#0a2650}
body.signin .wrap > p.lead{background:rgba(255,255,255,.9); display:inline-block; padding:8px 16px; border-radius:16px; margin:14px 8px 0 0}
@keyframes si-bob{0%, 100%{transform:translateY(0)} 50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){ body.signin .si-dino{animation:none} }
@media (max-width:700px){
  body.signin #title{font-size:28px}
  body.signin .si-card{grid-template-columns:1fr; padding:14px; gap:8px}
  body.signin .si-art{min-height:0; flex-direction:row; align-items:flex-end; padding:10px}
  body.signin .si-bubble{font-size:17px; order:2; margin:0 0 30px 12px}
  body.signin .si-bubble::after{left:-10px; bottom:auto; top:50%; margin:-10px 0 0; border:10px solid transparent; border-left:0; border-right-color:#fff}
  body.signin .si-dino{width:110px; max-width:40%}
  body.signin .si-eggs{display:none}
  body.signin .si-card .panel.csign{padding:14px 16px}
}
/* eng_days: the week's three English rows in one closed box under the days (not the amber Catch up colour) */
body.kid.k-mission .k-catchbox.k-engweek{background:#f8fafc; border-color:#e2e8f0} body.kid.k-mission .k-catchbox.k-engweek > summary{color:#0a2650}
body.kid.k-mission .k-catchbox.k-engweek > summary span{color:#64748b; font-size:14px}

/* locked_looks (owner, 17 Oct 2026: "make the two locked pages look different (the island picture and a row of eggs), so that the children can tell
   them apart"): the waiting page shows the island picture for My island and a row of eggs for My dinos */
body.kid #k-gatev[data-for="island"] .k-gp-dinos, body.kid #k-gatev[data-for="dinos"] .k-gp-island{display:none}
body.kid .k-gatepics{margin:0 0 12px}
body.kid .k-gp{position:relative; display:flex; align-items:center; gap:8px; flex-wrap:wrap}
body.kid .k-gisle{display:block; width:min(100%, 360px); height:150px; border-radius:18px; border:3px solid #e2c27a; background:url(img/dino/map-island.svg) center/cover no-repeat; filter:grayscale(.35); opacity:.9}
body.kid .k-gegg{width:62px; height:auto; filter:grayscale(.3) drop-shadow(0 3px 3px rgba(0,0,0,.15))}
body.kid .k-glock{position:absolute; left:8px; top:8px; font-style:normal; font-size:22px; background:#fff; border-radius:50%; width:38px; height:38px; display:grid; place-items:center; box-shadow:0 2px 6px rgba(0,0,0,.2)}
body.kid .k-gwhat{font-weight:700; color:#475569; margin:4px 0 8px}

/* soft_counts: the This week card's small bars */
body.kid .k-bbar{display:inline-block; vertical-align:middle; width:70px; height:8px; border-radius:4px; background:#e2e8f0; overflow:hidden; margin-left:6px}
body.kid .k-bbar > i{display:block; height:100%; background:#16a34a; border-radius:4px}
body.kid .k-gp-dinos .k-glock{position:static}                 /* locked_looks: after the eggs, not over the first one */
/* phone_fit: My work's two boxes one under the other on a phone, and no Start wider than its box */
@media (max-width:560px){
  body.kid.k-phonefit.k-mission #k-work .k-wrow{grid-template-columns:minmax(0, 1fr)}
  body.kid.k-phonefit .k-start{min-width:0; max-width:100%; box-sizing:border-box}
  body.kid.k-phonefit.k-mission #k-work .k-worktoday{flex-wrap:nowrap}     /* a column that wraps put Start in a second column, past the screen */
}
/* more_nudge (owner, 22 Oct 2026): all done and the egg not hatched yet: hatch now, or more practice first; after the hatch a line about My work */
.k-mn{position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:16px; background:rgba(30,10,80,.55)}
.k-mnbox{width:min(520px, 100%); background:#fff; border-radius:28px; padding:22px 22px 24px; text-align:center; box-shadow:0 24px 60px rgba(30,10,80,.45)}
.k-mnhero .k-heroimg{width:120px; height:120px; object-fit:contain}
.k-mnbox h2{margin:6px 0 2px; font-size:28px; color:#0a2650}
.k-mnbox p{margin:0 0 16px; font-size:20px; color:#334155}
.k-mnbtns{display:grid; gap:12px}
.k-mnb{min-height:64px; border-radius:20px; border:0; font:inherit; font-size:22px; font-weight:800; color:#fff; cursor:pointer; touch-action:manipulation}
.k-mnhatch{background:linear-gradient(180deg,#22c55e,#15803d); box-shadow:0 5px 0 #14532d}
.k-mnmore{background:linear-gradient(180deg,#a78bfa,#6d28d9); box-shadow:0 5px 0 #4c1d95}
.k-mnb:active{transform:translateY(3px); box-shadow:none}
.k-mnline{margin:16px 0 0; font-size:17px; font-weight:700}
.k-mnline a{color:inherit; text-decoration:underline; text-underline-offset:3px}
/* work_history (owner, 22 Oct 2026): My work = Catch up from previous weeks (a folder a week), More practice, then the finished work */
body.kid .k-hterm{margin:14px 0 8px; font-size:18px; color:var(--k-navy)}
body.kid .k-hgrid{display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:8px; padding:0 0 6px}
body.kid .k-htile{display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-height:72px; padding:8px 10px; border-radius:14px; box-sizing:border-box;
  background:#fff7ed; border:2px solid #fed7aa; color:var(--k-navy); text-decoration:none; text-align:left}
body.kid .k-htile.done{background:#f0fdf4; border-color:#bbf7d0}
body.kid .k-htile span{font-size:18px; line-height:1}
body.kid .k-htile b{font-size:14px; line-height:1.25; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
body.kid .k-htile:active{opacity:.75}
@media (max-width:420px){ body.kid .k-hgrid{grid-template-columns:repeat(2, minmax(0, 1fr))} }
/* mywork_look (owner, 25 Oct 2026: "Make the more practice card more noticeable with a darker colour but not too dark"; "Finished work cards needs to
   stand out more too cos now it is white and just blends into the background"): a stronger amber More practice card; each finished week a green
   folder; opened, one big button for each subject (English, Maths) that opens the week's Workbook */
body.kid #k-work .k-more.k-more2, body.kid.k-mission #k-work .k-more.k-more2{background:#fde68a !important; border:2px solid #f59e0b !important; box-shadow:0 3px 0 #f59e0b !important}
body.kid #k-work .k-more.k-more2 .k-emo{background:#fff}
body.kid #k-work .k-more.k-more2 p{color:#713f12; font-weight:700; font-size:16px}
body.kid #k-history details.k-hdone, body.kid.k-mission #k-work #k-history details.k-hdone{background:#dcfce7 !important; border:2px solid #86efac !important; box-shadow:0 3px 0 #86efac !important}
body.kid #k-history details.k-hdone > summary small{color:#166534; white-space:nowrap}
body.kid #k-history details.k-hdone > summary .k-go, body.kid.k-mission #k-work #k-history details.k-hdone > summary .k-go{background:#fff; color:#15803d}
body.kid .k-hsubj{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; padding:4px 0 10px}
body.kid a.k-hsub{display:flex; align-items:center; gap:14px; min-height:84px; padding:12px 18px; border-radius:20px; box-sizing:border-box; text-decoration:none; color:#fff;
  background:#7c3aed; box-shadow:0 4px 0 #5b21b6; -webkit-tap-highlight-color:transparent}
body.kid a.k-hsub[data-subj="english"]{background:#2563eb; box-shadow:0 4px 0 #1e40af}
body.kid a.k-hsub .k-hsic{width:52px; height:52px; flex:none; border-radius:14px; background:#fff; display:grid; place-items:center; font-size:30px; line-height:1}
body.kid a.k-hsub b{flex:1; min-width:0; font-size:26px; color:#fff}
body.kid a.k-hsub .k-hsgo{font-size:20px}
body.kid a.k-hsub:active{transform:translateY(3px); box-shadow:none}
/* home_test_yellow (owner, 26 Oct 2026: "This fast facts card needs to be in yellow so we can see it"): the Fast Facts test card in the
   yellow of the "Working out" button, dark text */
body.kid.k-mission .k-job.k-ffyel{background:#facc15; box-shadow:inset 0 0 0 3px #ca8a04; color:#0a2650; margin-bottom:12px}
body.kid.k-mission .k-job.k-ffyel .k-jtx small{color:#713f12} body.kid.k-mission .k-job.k-ffyel .k-jtx em{color:#422006}
body.kid.k-mission .k-job.k-ffyel .k-jic{background:#fef9c3} body.kid.k-mission .k-job.k-ffyel .k-jgo{background:#a16207}
body.kid .k-tile.k-ffyel{background:#facc15 !important; border:3px solid #ca8a04; color:#0a2650}
/* parents_card_bright (owner, 26 Oct 2026: "make the parent and carer card a brighter colour too") */
body.kid.k-mission .k-mparents.k-pbright{background:#ede9fe; border:3px solid #7c3aed; color:#3b0764; font-weight:900; box-shadow:none}
body.kid.k-mission .k-mparents.k-pbright span{color:#6d28d9}
/* dino_greet (owner, 30 Oct 2026): a hatched dino tapped on My dinos walks out of its cave, waves and says its line */
body.kid .k-gr{position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(15,23,42,.55); animation:k-hsin .3s ease-out both}
.k-grbox{position:relative; width:min(560px, 100%); max-height:calc(100vh - 32px); overflow:hidden; border-radius:24px; border:3px solid #efe2bd;
  background:linear-gradient(rgba(255,251,240,.15),rgba(255,251,240,.15)), var(--dino-bg, none) center bottom/cover no-repeat, #f1f8e6;
  display:flex; flex-direction:column; align-items:center; padding:18px 16px 18px; box-sizing:border-box}
.k-grx{position:absolute; top:10px; right:10px; z-index:5; width:48px; height:48px; border-radius:50%; border:0; background:#fff; color:#0f172a; font-size:22px; font-weight:800; box-shadow:0 2px 8px rgba(0,0,0,.2)}
.k-grstage{position:relative; width:100%; height:min(46vh, 300px); flex:none}
.k-grcave{position:absolute; left:0; bottom:0; width:46%; height:78%}
.k-grrock{fill:#8b7355; stroke:#5b4632; stroke-width:4}
body.kid.k-sky .k-grrock{fill:#cbd5e1; stroke:#94a3b8}
.k-grhole{fill:#2b1d12}
body.kid.k-sky .k-grhole{fill:#475569}
.k-grwalk{position:absolute; bottom:2%; left:8%; width:42%; height:80%; display:flex; align-items:flex-end; justify-content:center; transform-origin:50% 100%;
  animation:k-grwalk 3s cubic-bezier(.4,.1,.4,1) both}
.k-grdino{width:100%; height:100%; object-fit:contain; transform-origin:50% 100%; animation:k-grbob .5s ease-in-out 6 both}
@keyframes k-grwalk{0%{left:8%; transform:scale(.45); opacity:.25} 15%{opacity:1} 100%{left:48%; transform:scale(1); opacity:1}}
@keyframes k-grbob{0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-6%) rotate(-3deg)}}
.k-grhand{position:absolute; z-index:4; left:52%; top:6%; font-style:normal; font-size:clamp(34px, 8vw, 54px); line-height:1; opacity:0; transform-origin:70% 90%}
.k-gr.k-grout .k-grdino{animation:k-grwave 1.2s ease-in-out both}
.k-gr.k-grout .k-grhand{animation:k-hshand 1.2s ease-in-out both, k-grhandon .1s 1.2s both}
@keyframes k-grwave{0%,100%{transform:rotate(0)} 17%,50%,83%{transform:rotate(-7deg)} 33%,67%{transform:rotate(5deg)}}
@keyframes k-grhandon{to{opacity:1}}
.k-grbub{margin:12px 0 0; max-width:100%; padding:12px 16px; border-radius:18px; background:#fff; border:2px solid #efe2bd; color:#0f172a; font-size:clamp(20px, 4.4vw, 26px);
  font-weight:800; line-height:1.3; text-align:center; overflow-wrap:anywhere; opacity:0; transform:translateY(8px); transition:opacity .4s, transform .4s}
.k-gr.k-grout .k-grbub{opacity:1; transform:none}
.k-grvoice{margin-top:10px; min-height:48px; padding:0 18px; border-radius:999px; border:0; background:#0e7490; color:#fff; font-size:18px; font-weight:800}
#k-dinosv .k-dcard.hatched{cursor:pointer}
body.kid .k-gr.k-grstill .k-grwalk{animation:none; left:48%; transform:none}
body.kid .k-gr.k-grstill .k-grdino{animation:none}
body.kid .k-gr.k-grstill .k-grbub{transition:none}
body.kid .k-gr.k-grstill .k-grhand{animation:none; opacity:1; transform:rotate(-20deg)}
@media (prefers-reduced-motion:reduce){ body.kid .k-gr .k-grwalk, body.kid .k-gr .k-grdino{animation:none} body.kid .k-gr .k-grwalk{left:48%; transform:none} }

/* mywork_colours (owner, 31 Oct 2026: "The words Catch up from previous weeks should be a brighter like faded red and then the catch up cards where it
   names the term and week underneath it should be orange so it stands out more. Change the more practise to a different colour again since that term
   card now is orange. Underneath where we were Finished work that would be a darker green so it can be seen too.") */
body.kid.k-mwc #k-catchup > .k-head h2{color:#e04f4f}
body.kid.k-mwc #k-catchup details.k-hweek, body.kid.k-mwc.k-mission #k-work #k-catchup details.k-hweek{background:#fed7aa !important; border:2px solid #fb923c !important; box-shadow:0 3px 0 #fb923c !important}
body.kid.k-mwc #k-catchup details.k-hweek > summary small{color:#7c2d12}
body.kid.k-mwc #k-catchup details.k-hweek > summary .k-go{background:#fff; color:#c2410c}
body.kid.k-mwc #k-work .k-more.k-more2, body.kid.k-mwc.k-mission #k-work .k-more.k-more2{background:#bae6fd !important; border:2px solid #0ea5e9 !important; box-shadow:0 3px 0 #0ea5e9 !important}
body.kid.k-mwc #k-work .k-more.k-more2 p{color:#0c4a6e}
body.kid.k-mwc #k-history details.k-hdone, body.kid.k-mwc.k-mission #k-work #k-history details.k-hdone{background:#86efac !important; border:2px solid #16a34a !important; box-shadow:0 3px 0 #16a34a !important}
body.kid.k-mwc #k-history details.k-hdone > summary small{color:#14532d}
/* past_replay: the locked My dinos lists the week dinos that can hatch again; never on the locked My island */
body.kid .k-gatereplay{margin-top:14px} body.kid .k-gatereplay h2{margin:0 0 10px; font-size:20px}
body.kid .k-gaterow{display:flex; flex-wrap:wrap; gap:12px} body.kid .k-gaterow .k-dcard{width:170px}
body.kid #k-gatev:not([data-for="dinos"]) .k-gatereplay{display:none}

/* mywork_v2 (owner, 7 Nov 2026): the child's name and year; the catch-up and finished headings in coloured boxes, their weeks lighter */
body.kid .k-mwwho{margin:-4px 0 14px; font-size:20px; font-weight:800; color:#475569}
body.kid.k-mw2 #k-catchup > .k-head{background:#fdba74; border:2px solid #ea580c; border-radius:16px; padding:12px 16px; box-shadow:0 3px 0 #ea580c}
body.kid.k-mw2 #k-catchup > .k-head h2{color:#7c2d12 !important}
body.kid.k-mw2 #k-catchup > .k-head p{color:#7c2d12}
body.kid.k-mw2 #k-catchup details.k-hweek, body.kid.k-mw2.k-mission #k-work #k-catchup details.k-hweek{background:#fff7ed !important; border:2px solid #fdba74 !important; box-shadow:0 3px 0 #fdba74 !important}
body.kid.k-mw2 #k-history > .k-head{background:#4ade80; border:2px solid #16a34a; border-radius:16px; padding:12px 16px; box-shadow:0 3px 0 #16a34a}
body.kid.k-mw2 #k-history > .k-head h2{color:#14532d !important}
body.kid.k-mw2 #k-history > .k-head p{color:#14532d}
body.kid.k-mw2 #k-history details.k-hdone, body.kid.k-mw2.k-mission #k-work #k-history details.k-hdone{background:#f0fdf4 !important; border:2px solid #86efac !important; box-shadow:0 3px 0 #86efac !important}
body.kid.k-mw2 #k-history > .k-note{margin-top:8px}
body.kid.k-mw2 #k-moreslot{margin-bottom:18px}

/* mywork_panels (owner, 8 Nov 2026: "make it look like it flows better and it is intuitive that the top is just a heading"; she approved the
   mockup): each group one light panel, the heading plain words on it (no box, no button look), only the week rows white cards with a stripe */
body.kid.k-mwp #k-work #k-catchup.k-mpanel{--mp-bg:#fff3e6; --mp-line:#f5c79a; --mp-head:#8a3b00; --mp-stripe:#f28a24}
body.kid.k-mwp #k-work #k-history.k-mpanel{--mp-bg:#e8f7ee; --mp-line:#a9dfbd; --mp-head:#0f6a34; --mp-stripe:#25a85a}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel{display:block; padding:18px 18px 20px !important; border:1px solid var(--mp-line) !important; border-image:none !important;
  border-radius:24px !important; background:var(--mp-bg) !important; box-shadow:none !important; --frame:none}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel::before, body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel::after{display:none !important}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel > .k-head{display:flex; flex-wrap:nowrap; align-items:flex-start; gap:10px; margin:0 !important; padding:0 !important;
  background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; cursor:default}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel > .k-head + *{margin-top:12px !important}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel > .k-head .k-ic{width:auto !important; height:auto !important; border-radius:0 !important; background:none !important;
  border:0 !important; box-shadow:none !important; font-size:22px; line-height:1.2; color:inherit}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel > .k-head h2{font-size:22px !important; color:var(--mp-head) !important; text-wrap:balance}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel > .k-head p{font-size:15px !important; color:#5b6b82 !important; font-weight:600}
body.kid.k-mwp .k-mpcount{margin-left:auto; padding-top:4px; white-space:nowrap; font-size:15px; font-weight:700; color:var(--mp-head)}
body.kid.k-mwp .k-mpfold{margin:-10px -6px 0 auto; min-height:44px; padding:0 6px; border:0; background:none; font:inherit; font-size:15px; font-weight:700; color:var(--mp-head);
  white-space:nowrap; cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent}
body.kid.k-mwp .k-mpar{display:inline-block; transition:transform .15s}
body.kid.k-mwp .k-mpfold[aria-expanded="true"] .k-mpar{transform:rotate(90deg)}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel details.k-term{margin:0 0 10px; padding:4px 16px !important; background:#fff !important; border:0 !important;
  border-left:7px solid var(--mp-stripe) !important; border-radius:16px !important; box-shadow:0 3px 10px rgba(13,42,85,.10) !important}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel details.k-term:last-child{margin-bottom:0}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel details.k-term > summary b{font-size:19px}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel details.k-term > summary small{color:var(--mp-head)}
body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel details.k-term > summary .k-go{background:var(--mp-bg) !important; color:var(--mp-head) !important}
body.kid.k-mwp #k-work #k-catchup.k-mpanel .k-hpct > i{background:var(--mp-stripe)}
body.kid.k-mwp #k-work #k-catchup.k-mpanel .k-hpcn{color:var(--mp-head)}
body.kid.k-mwp #k-work #k-history.k-mpanel .k-hterm{margin:10px 0 8px; font-size:16px; color:var(--mp-head)}
body.kid.k-mwp #k-work #k-history.k-mpanel .k-mpbody > .k-hterm:first-child{margin-top:0}
body.kid.k-mwp #k-work #k-history.k-mpanel > .k-note{margin:12px 0 0 !important; padding-left:37px; font-size:15px; color:#5b6b82 !important}
@media (max-width:700px){
  body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel{padding:14px 12px 16px !important; border-radius:20px !important}
  body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel > .k-head h2{font-size:19px !important}
  body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel details.k-term{padding:4px 12px !important}
  body.kid.k-mwp #k-work :is(#k-catchup, #k-history).k-mpanel details.k-term > summary b{font-size:17px}
}

/* book_level_colours (owner, 7 Nov 2026): the Workbook row in the colour of its level (pale, as before); two levels in two halves; Fast Facts pale purple */
body.kid.k-mission.k-bklv .k-job[data-kind="book"][data-lv="support"]{background:#fff4e8}
body.kid.k-mission.k-bklv .k-job[data-kind="book"][data-lv="core"]{background:#ecfdf3}
body.kid.k-mission.k-bklv .k-job[data-kind="book"][data-lv="deep"]{background:#eef4ff}
body.kid.k-mission.k-bklv .k-job[data-kind="book"][data-lv="support core"]{background:linear-gradient(100deg, #fff4e8 0 49%, #ecfdf3 51% 100%)}
body.kid.k-mission.k-bklv .k-job[data-kind="book"][data-lv="core deep"]{background:linear-gradient(100deg, #ecfdf3 0 49%, #eef4ff 51% 100%)}
body.kid.k-mission.k-bklv .k-job[data-kind="book"][data-lv="support deep"]{background:linear-gradient(100deg, #fff4e8 0 49%, #eef4ff 51% 100%)}
body.kid.k-mission.k-bklv .k-job[data-kind="book"][data-lv="support core deep"]{background:linear-gradient(100deg, #fff4e8 0 32%, #ecfdf3 34% 66%, #eef4ff 68% 100%)}
body.kid.k-mission.k-bklv .k-job:is([data-kind="round"], [data-kind="own"]){background:#f5f0ff}
/* first_class_glow (14 Nov 2026): a soft light purple ring round the Start of lesson bell, growing and fading every 2 s; still with reduced motion */
body.kid.k-mission .k-jic.k-bellglow{position:relative}
body.kid.k-mission .k-jic.k-bellglow::after{content:""; position:absolute; top:-4px; right:-4px; bottom:-4px; left:-4px; border-radius:20px; border:3px solid rgba(167,139,250,.75); pointer-events:none; -webkit-animation:k-bellring 2s ease-out infinite; animation:k-bellring 2s ease-out infinite}
@-webkit-keyframes k-bellring{0%{-webkit-transform:scale(1); opacity:.9} 100%{-webkit-transform:scale(1.3); opacity:0}}
@keyframes k-bellring{0%{transform:scale(1); opacity:.9} 100%{transform:scale(1.3); opacity:0}}
@media (prefers-reduced-motion:reduce){ body.kid.k-mission .k-jic.k-bellglow::after{-webkit-animation:none; animation:none; opacity:.9} }
/* dino_shiny and dino_mystery_egg (owner, 15 Nov 2026: "is there anything we can do randonly to surprise them?"): a special week's egg is gold with
   stars (.k-special), its dino shiny (.k-shiny: a gold glow and frame, three twinkling sparkles); the same pictures, a filter on them; opacity only */
.k-special .k-dimg, .k-special .k-eggbox .k-dimg, .k-hsspecial .k-hsegg .k-hsimg{filter:sepia(.85) saturate(2.4) hue-rotate(-8deg) brightness(1.08) drop-shadow(0 0 5px #facc15)}
.k-shiny .k-dimg, .k-hsshiny .k-hsdino .k-hsimg{filter:drop-shadow(0 0 4px #fde047) drop-shadow(0 0 10px #f59e0b) saturate(1.2)}
.k-special .k-meggpic, body.kid .k-dcard.k-shiny{position:relative}
.k-special .k-meggpic::before, .k-special .k-meggpic::after{content:"⭐"; position:absolute; font-size:16px; line-height:1; pointer-events:none; animation:k-twinkle 1.8s ease-in-out infinite}
.k-special .k-meggpic::before{top:-4px; right:-6px} .k-special .k-meggpic::after{bottom:6px; left:-8px; font-size:12px; animation-delay:.9s}
body.kid .k-megg.k-special, body.kid.k-mission .k-megg.k-special, body.kid .k-megg.k-shiny, body.kid.k-mission .k-megg.k-shiny{background:linear-gradient(135deg, #fffbeb, #fef3c7); box-shadow:inset 0 0 0 2px #f5c542}
.k-wetag{display:block; font-style:normal; font-size:14px; font-weight:800; color:#b45309}
.k-wenew{display:block; font-style:normal; font-size:14px; font-weight:800; color:#15803d; margin-top:2px}   /* egg_ten: under the week egg's words */
body.kid .k-dcard.k-shiny, body.kid.dino.k-thinframe #k-dinosv .k-dcard.k-shiny{background:linear-gradient(160deg, #fffbeb, #fef3c7 60%, #fde68a); border-color:#f5c542; box-shadow:0 0 0 3px #fde68a}
body.kid.dino.k-stone .k-dcard.k-shiny{--frame:url(img/dino/box-gold.svg)}
.k-sparks{position:absolute; left:0; right:0; top:0; height:120px; pointer-events:none}
.k-hsdino .k-sparks{height:auto; bottom:0}
.k-sparks i{position:absolute; width:18px; height:18px; background:#fde047; opacity:0; animation:k-twinkle 1.6s ease-in-out infinite;
  -webkit-clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%); clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.k-sparks i:nth-child(1){top:8%; left:14%} .k-sparks i:nth-child(2){top:22%; right:12%; width:24px; height:24px; animation-delay:.55s} .k-sparks i:nth-child(3){top:62%; left:22%; width:14px; height:14px; animation-delay:1.1s}
.k-hsdino .k-sparks i{width:34px; height:34px} .k-hsdino .k-sparks i:nth-child(2){width:44px; height:44px}
.k-hs.k-hsspecial{background:radial-gradient(circle at 50% 38%, #fffbeb, #f59e0b 58%, #92400e)}
.k-hs:not(.done) .k-sparks{display:none}
@keyframes k-twinkle{0%,100%{opacity:.15; transform:scale(.6)} 50%{opacity:1; transform:scale(1)}}
@media (prefers-reduced-motion:reduce){ .k-sparks i, .k-special .k-meggpic::before, .k-special .k-meggpic::after{animation:none; opacity:.9; transform:none} }
.k-shinybud{filter:drop-shadow(0 0 4px #fde047) drop-shadow(0 0 10px #f59e0b) saturate(1.2)}   /* dino_shiny: a buddy that hatched shiny */
body.kid .k-megg.k-hasbud{position:relative}   /* shiny_buddy_home: the small gold buddy in the card's corner, over nothing that moves */
.k-cornerbud{position:absolute; top:-14px; right:-8px; width:46px; height:46px; object-fit:contain; pointer-events:none}
/* dino_egg_match and dino_costume (owner, 16 Nov 2026): kid.js figHTML: the dino picture in a box of its own size, its look and costume over it.
   A rainbow egg's dino: rainbow colours run over the picture (masked to it, blended as colour: its own shading stays), a rainbow glow, rainbow
   sparkles; the other eggs: a glow of the egg's colour. The costume: one inline SVG over the picture (kid.js COSTUME_AT). Transform and opacity only */
.k-fig{display:inline-block; vertical-align:top; line-height:0; isolation:isolate}
.k-fig:not(.k-hsimg):not(.k-cornerbud):not(.k-sdino){position:relative}
.k-figin{position:absolute; left:0; top:0; width:100%; height:100%; transform-origin:50% 100%}
.k-figin > img, .k-figin > .k-lk, .k-figin > .k-costume{position:absolute; left:0; top:0; width:100%; height:100%}
.k-figin > img{object-fit:contain; animation:none !important}
.k-costume{overflow:visible; pointer-events:none}
.k-lk{overflow:hidden; pointer-events:none; opacity:.85; mix-blend-mode:color; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center}
.k-lk > i{position:absolute; top:0; left:-100%; width:300%; height:100%; animation:k-lkrun 3s linear infinite;
  background:repeating-linear-gradient(100deg, #ff3b3b 0, #ff9f1a 2.8%, #ffe11a 5.5%, #3ddc5a 8.3%, #2fa8ff 11.1%, #a259ff 13.9%, #ff3b3b 16.66%)}
@keyframes k-lkrun{from{transform:translateX(0)} to{transform:translateX(33.333%)}}
.k-fig[data-look="rainbow"] .k-figimg{filter:saturate(1.35) brightness(1.06) drop-shadow(0 0 3px #fff) drop-shadow(0 0 7px #f0abfc) drop-shadow(0 0 12px #67e8f9)}
.k-lkgreen, .k-fig[data-look="green"] .k-figimg{filter:drop-shadow(0 0 6px #8bc34a)} .k-lkblue, .k-fig[data-look="blue"] .k-figimg{filter:drop-shadow(0 0 6px #29b6f6)}
.k-lkpurple, .k-fig[data-look="purple"] .k-figimg{filter:drop-shadow(0 0 6px #b06ae0)} .k-lkorange, .k-fig[data-look="orange"] .k-figimg{filter:drop-shadow(0 0 6px #fb8c00)}
.k-rbcard .k-sparks i:nth-child(1), .k-hs[data-look="rainbow"] .k-sparks i:nth-child(1){background:#f472b6}
.k-rbcard .k-sparks i:nth-child(2), .k-hs[data-look="rainbow"] .k-sparks i:nth-child(2){background:#38bdf8}
.k-rbcard .k-sparks i:nth-child(3), .k-hs[data-look="rainbow"] .k-sparks i:nth-child(3){background:#4ade80}
body.kid .k-dcard.k-rbcard, body.kid.dino.k-thinframe #k-dinosv .k-dcard.k-rbcard{position:relative; background:linear-gradient(160deg, #fdf2f8, #ede9fe 50%, #e0f2fe); border-color:#c4b5fd}
.k-rbtag{color:#7c3aed}
.k-hs[data-look="rainbow"]:not(.k-hsspecial){background:radial-gradient(circle at 50% 38%, #fdf4ff, #c084fc 46%, #6366f1 70%, #312e81)}
body.kid.k-mission .k-meggpic .k-fig{width:100%; height:100%}
body.kid.k-mission .k-weekegg .k-meggpic .k-fig{animation:k-wewob 2.4s ease-in-out infinite}
.k-wdpic .k-fig{width:74px; height:74px}
body.kid .k-sbase .k-fig.k-sdino{height:0; padding-bottom:92%}   /* the stone's dino (stone_dinos): square, as the picture alone */
.k-hs.done[data-way] .k-hsdino .k-fig{animation:kwdBob 1.8s ease-in-out 1.2s infinite}
/* dino_hatch_moves (owner, 16 Nov 2026): once the dino is out, one move in place of its tilt (kid.js MOVES, a new pick each hatch), 1.2 s like the
   tilt, so the bubble comes as before; the 👋 waves as before. Each ends where the tilt ends: translateY(-2%) scale(.84) */
.k-hs.done[data-move] .k-hsdino{animation-duration:1.2s; animation-timing-function:ease-in-out; animation-fill-mode:both; animation-iteration-count:1}
.k-hs.done[data-move="hop"] .k-hsdino{animation-name:k-mvhop}
@keyframes k-mvhop{0%,100%{transform:translateY(-2%) scale(.84)} 12%{transform:translateY(0) scale(.92,.74)} 30%{transform:translateY(-24%) scale(.8,.9)}
  48%{transform:translateY(0) scale(.92,.74)} 66%{transform:translateY(-16%) scale(.8,.9)} 84%{transform:translateY(-1%) scale(.9,.78)}}
.k-hs.done[data-move="spin"] .k-hsdino{animation-name:k-mvspin}
@keyframes k-mvspin{0%{transform:perspective(900px) translateY(-2%) scale(.84) rotateY(0)} 15%{transform:perspective(900px) translateY(-8%) scale(.84) rotateY(0)}
  85%{transform:perspective(900px) translateY(-8%) scale(.84) rotateY(360deg)} 100%{transform:perspective(900px) translateY(-2%) scale(.84) rotateY(360deg)}}
.k-hs.done[data-move="wiggle"] .k-hsdino{animation-name:k-mvwig}
@keyframes k-mvwig{0%,100%{transform:translateY(-2%) scale(.84) translateX(0) rotate(0)} 12.5%,62.5%{transform:translateY(-4%) scale(.84) translateX(-7%) rotate(-10deg)}
  25%,75%{transform:translateY(-2%) scale(.84) translateX(0) rotate(0)} 37.5%,87.5%{transform:translateY(-4%) scale(.84) translateX(7%) rotate(10deg)}}
.k-hs.done[data-move="flip"] .k-hsdino{animation-name:k-mvflip; transform-origin:50% 55%}
.k-hs.done[data-move="flip"][data-face="-1"] .k-hsdino{animation-name:k-mvflipl}
/* turned round its middle (not its feet): translateY(5.2%) there is the same place as translateY(-2%) round its feet */
@keyframes k-mvflip{0%{transform:translateY(5.2%) scale(.84) rotate(0)} 14%{transform:translateY(8%) scale(.92,.74) rotate(0)}
  50%{transform:translateY(-34%) scale(.84) rotate(-200deg)} 80%{transform:translateY(3%) scale(.84) rotate(-360deg)} 90%{transform:translateY(7%) scale(.9,.76) rotate(-360deg)}
  100%{transform:translateY(5.2%) scale(.84) rotate(-360deg)}}
@keyframes k-mvflipl{0%{transform:translateY(5.2%) scale(.84) rotate(0)} 14%{transform:translateY(8%) scale(.92,.74) rotate(0)}
  50%{transform:translateY(-34%) scale(.84) rotate(200deg)} 80%{transform:translateY(3%) scale(.84) rotate(360deg)} 90%{transform:translateY(7%) scale(.9,.76) rotate(360deg)}
  100%{transform:translateY(5.2%) scale(.84) rotate(360deg)}}
.k-hs.done[data-move="stomp"] .k-hsdino{animation-name:k-mvstomp}
@keyframes k-mvstomp{0%,50%,100%{transform:translateY(-2%) scale(.84) rotate(0)} 18%{transform:translateY(-12%) scale(.84) rotate(-6deg)} 32%{transform:translateY(0) scale(.94,.72) rotate(0)}
  68%{transform:translateY(-12%) scale(.84) rotate(6deg)} 82%{transform:translateY(0) scale(.94,.72) rotate(0)}}
@media (prefers-reduced-motion:reduce){ .k-lk > i, body.kid.k-mission .k-weekegg .k-meggpic .k-fig{animation:none} }
/* dino_more_moves (owner, 18 Nov 2026: "Can U add them all"): 5 more moves, the same rules (1.2 s, each ends where the tilt ends; a move that goes
   one way first goes the way the dino faces: data-face -1, the mirror keyframes *l) */
.k-hs.done[data-move="cartwheel"] .k-hsdino{animation-name:k-mvcart; transform-origin:50% 55%}
.k-hs.done[data-move="cartwheel"][data-face="-1"] .k-hsdino{animation-name:k-mvcartl}
@keyframes k-mvcart{0%,100%{transform:translateX(0) translateY(5.2%) scale(.84) rotate(0)} 8%{transform:translateX(0) translateY(8%) scale(.92,.74) rotate(0)}
  30%{transform:translateX(12%) translateY(-8%) scale(.84) rotate(180deg)} 50%{transform:translateX(24%) translateY(5.2%) scale(.84) rotate(360deg)}
  56%{transform:translateX(24%) translateY(8%) scale(.92,.74) rotate(360deg)} 78%{transform:translateX(12%) translateY(-8%) scale(.84) rotate(180deg)}}
@keyframes k-mvcartl{0%,100%{transform:translateX(0) translateY(5.2%) scale(.84) rotate(0)} 8%{transform:translateX(0) translateY(8%) scale(.92,.74) rotate(0)}
  30%{transform:translateX(-12%) translateY(-8%) scale(.84) rotate(-180deg)} 50%{transform:translateX(-24%) translateY(5.2%) scale(.84) rotate(-360deg)}
  56%{transform:translateX(-24%) translateY(8%) scale(.92,.74) rotate(-360deg)} 78%{transform:translateX(-12%) translateY(-8%) scale(.84) rotate(-180deg)}}
.k-hs.done[data-move="dance"] .k-hsdino{animation-name:k-mvdance}
.k-hs.done[data-move="dance"][data-face="-1"] .k-hsdino{animation-name:k-mvdancel}
@keyframes k-mvdance{0%,50%,100%{transform:translateX(0) translateY(-2%) scale(.84) rotate(0)} 12.5%{transform:translateX(7%) translateY(-7%) scale(.84) rotate(6deg)}
  25%{transform:translateX(12%) translateY(-1%) scale(.88,.8) rotate(0)} 37.5%{transform:translateX(5%) translateY(-7%) scale(.84) rotate(-6deg)}
  62.5%{transform:translateX(-7%) translateY(-7%) scale(.84) rotate(-6deg)} 75%{transform:translateX(-12%) translateY(-1%) scale(.88,.8) rotate(0)}
  87.5%{transform:translateX(-5%) translateY(-7%) scale(.84) rotate(6deg)}}
@keyframes k-mvdancel{0%,50%,100%{transform:translateX(0) translateY(-2%) scale(.84) rotate(0)} 12.5%{transform:translateX(-7%) translateY(-7%) scale(.84) rotate(-6deg)}
  25%{transform:translateX(-12%) translateY(-1%) scale(.88,.8) rotate(0)} 37.5%{transform:translateX(-5%) translateY(-7%) scale(.84) rotate(6deg)}
  62.5%{transform:translateX(7%) translateY(-7%) scale(.84) rotate(6deg)} 75%{transform:translateX(12%) translateY(-1%) scale(.88,.8) rotate(0)}
  87.5%{transform:translateX(5%) translateY(-7%) scale(.84) rotate(-6deg)}}
/* the twist flip: the backflip (round its middle, as flip) with a turn round its own up-and-down line */
.k-hs.done[data-move="twistflip"] .k-hsdino{animation-name:k-mvtwist; transform-origin:50% 55%}
.k-hs.done[data-move="twistflip"][data-face="-1"] .k-hsdino{animation-name:k-mvtwistl}
@keyframes k-mvtwist{0%{transform:perspective(900px) translateY(5.2%) scale(.84) rotate(0) rotateY(0)} 14%{transform:perspective(900px) translateY(8%) scale(.92,.74) rotate(0) rotateY(0)}
  50%{transform:perspective(900px) translateY(-30%) scale(.84) rotate(-200deg) rotateY(180deg)} 80%{transform:perspective(900px) translateY(3%) scale(.84) rotate(-360deg) rotateY(360deg)}
  90%{transform:perspective(900px) translateY(7%) scale(.9,.76) rotate(-360deg) rotateY(360deg)} 100%{transform:perspective(900px) translateY(5.2%) scale(.84) rotate(-360deg) rotateY(360deg)}}
@keyframes k-mvtwistl{0%{transform:perspective(900px) translateY(5.2%) scale(.84) rotate(0) rotateY(0)} 14%{transform:perspective(900px) translateY(8%) scale(.92,.74) rotate(0) rotateY(0)}
  50%{transform:perspective(900px) translateY(-30%) scale(.84) rotate(200deg) rotateY(-180deg)} 80%{transform:perspective(900px) translateY(3%) scale(.84) rotate(360deg) rotateY(-360deg)}
  90%{transform:perspective(900px) translateY(7%) scale(.9,.76) rotate(360deg) rotateY(-360deg)} 100%{transform:perspective(900px) translateY(5.2%) scale(.84) rotate(360deg) rotateY(-360deg)}}
/* the twirl jump: a crouch, a jump, a full twirl at the top, a landing (the twirl looks the same either way: one set of keyframes) */
.k-hs.done[data-move="twirljump"] .k-hsdino{animation-name:k-mvtwirl}
@keyframes k-mvtwirl{0%{transform:perspective(900px) translateY(-2%) scale(.84) rotateY(0)} 14%{transform:perspective(900px) translateY(0) scale(.92,.74) rotateY(0)}
  32%{transform:perspective(900px) translateY(-26%) scale(.8,.9) rotateY(0)} 40%{transform:perspective(900px) translateY(-28%) scale(.84) rotateY(0)}
  66%{transform:perspective(900px) translateY(-28%) scale(.84) rotateY(360deg)} 84%{transform:perspective(900px) translateY(0) scale(.92,.74) rotateY(360deg)}
  92%{transform:perspective(900px) translateY(-4%) scale(.84) rotateY(360deg)} 100%{transform:perspective(900px) translateY(-2%) scale(.84) rotateY(360deg)}}
/* the happy run: little steps the way it faces, it turns round (the picture squeezes through to its mirror), runs back past its spot, turns, home */
.k-hs.done[data-move="happyrun"] .k-hsdino{animation-name:k-mvrun}
.k-hs.done[data-move="happyrun"][data-face="-1"] .k-hsdino{animation-name:k-mvrunl}
@keyframes k-mvrun{0%,100%{transform:translateX(0) translateY(-2%) scale(.84,.84)} 8%{transform:translateX(5%) translateY(-7%) scale(.84,.84)} 16%{transform:translateX(10%) translateY(-2%) scale(.84,.84)}
  24%{transform:translateX(15%) translateY(-7%) scale(.84,.84)} 32%{transform:translateX(20%) translateY(-2%) scale(.84,.84)} 38%{transform:translateX(20%) translateY(-2%) scale(-.84,.84)}
  46%{transform:translateX(14%) translateY(-7%) scale(-.84,.84)} 54%{transform:translateX(8%) translateY(-2%) scale(-.84,.84)} 62%{transform:translateX(2%) translateY(-7%) scale(-.84,.84)}
  70%{transform:translateX(-4%) translateY(-2%) scale(-.84,.84)} 78%{transform:translateX(-4%) translateY(-2%) scale(.84,.84)} 89%{transform:translateX(-2%) translateY(-6%) scale(.84,.84)}}
@keyframes k-mvrunl{0%,100%{transform:translateX(0) translateY(-2%) scale(.84,.84)} 8%{transform:translateX(-5%) translateY(-7%) scale(.84,.84)} 16%{transform:translateX(-10%) translateY(-2%) scale(.84,.84)}
  24%{transform:translateX(-15%) translateY(-7%) scale(.84,.84)} 32%{transform:translateX(-20%) translateY(-2%) scale(.84,.84)} 38%{transform:translateX(-20%) translateY(-2%) scale(-.84,.84)}
  46%{transform:translateX(-14%) translateY(-7%) scale(-.84,.84)} 54%{transform:translateX(-8%) translateY(-2%) scale(-.84,.84)} 62%{transform:translateX(-2%) translateY(-7%) scale(-.84,.84)}
  70%{transform:translateX(4%) translateY(-2%) scale(-.84,.84)} 78%{transform:translateX(4%) translateY(-2%) scale(.84,.84)} 89%{transform:translateX(2%) translateY(-6%) scale(.84,.84)}}
/* egg_journey (owner, 18 Nov 2026): the scene's sky (a shiny show keeps its gold glow), its ground (.k-hsland: the stage's units, behind
   the stage and the bubble), the egg without its nest (.k-hsroll, clipped to the egg) on its way (k-hj*, transform only, ending where the egg stands);
   at the landing its nest fades in round it (.k-hsegg), then data-way starts the hatch and the travelling egg goes */
.k-hs[data-scene] .k-hsh, .k-hs[data-scene] .k-chdwk{z-index:2}
.k-hs[data-scene] .k-hsh{padding:4px 20px; border-radius:999px; background:rgba(30,10,80,.42)}
.k-hs[data-scene="hill"]:not(.k-hsspecial){background:linear-gradient(#7dd3fc, #e0f2fe 70%)}
.k-hs[data-scene="volcano"]:not(.k-hsspecial){background:linear-gradient(#fb923c, #fef3c7 70%)}
.k-hs[data-scene="snow"]:not(.k-hsspecial){background:linear-gradient(#93c5fd, #f1f5f9 70%)}
.k-hs[data-scene="beach"]:not(.k-hsspecial){background:linear-gradient(#38bdf8, #e0f2fe 70%)}
.k-hs[data-scene="jungle"]:not(.k-hsspecial){background:linear-gradient(#86efac, #dcfce7 70%)}
.k-hsland{position:absolute; left:-160%; top:-160%; width:420%; height:420%; z-index:-1; overflow:visible; pointer-events:none}
.k-hsroll{z-index:2; opacity:0; -webkit-clip-path:ellipse(30.5% 33% at 50% 39.5%); clip-path:ellipse(30.5% 33% at 50% 39.5%); transform-origin:50% 39.5%}
.k-hs[data-scene]:not([data-way]) .k-hsroll{opacity:1}
.k-hs.k-hsj .k-hsegg{opacity:0}
.k-hs[data-scene]:not([data-way]) .k-hsegg{transition:opacity .35s}     /* kid.js HATCH_NEST */
/* k-hj: made by tools/egg_journey_keyframes.py (do not edit by hand) */
.k-hs.k-hsj[data-scene="hill"] .k-hsroll{animation:k-hjhill 2s linear both}
@keyframes k-hjhill{0%{transform:translate(-112%,-111.15%) rotate(0deg)} 2%{transform:translate(-105.75%,-108.87%) rotate(20.1deg)}
  4%{transform:translate(-99.5%,-105.65%) rotate(40.2deg)} 6%{transform:translate(-93.25%,-101.44%) rotate(60.3deg)}
  8%{transform:translate(-87%,-96.34%) rotate(80.4deg)} 10%{transform:translate(-80.75%,-90.5%) rotate(100.4deg)}
  12%{transform:translate(-74.5%,-84.16%) rotate(120.5deg)} 14%{transform:translate(-68.25%,-77.54%) rotate(140.6deg)}
  16%{transform:translate(-62%,-70.84%) rotate(160.7deg)} 18%{transform:translate(-58.06%,-66.57%) rotate(173.4deg)}
  20%{transform:translate(-54.24%,-62.35%) rotate(185.6deg)} 22%{transform:translate(-50.55%,-58.06%) rotate(197.5deg)}
  24%{transform:translate(-46.97%,-53.64%) rotate(209deg)} 26%{transform:translate(-43.52%,-49.04%) rotate(220.1deg)}
  28%{transform:translate(-40.18%,-44.23%) rotate(230.8deg)} 30%{transform:translate(-36.97%,-39.18%) rotate(241.2deg)}
  32%{transform:translate(-33.88%,-33.98%) rotate(251.1deg)} 34%{transform:translate(-30.91%,-28.68%) rotate(260.6deg)}
  36%{transform:translate(-28.06%,-23.36%) rotate(269.8deg)} 38%{transform:translate(-25.33%,-18.16%) rotate(278.6deg)}
  40%{transform:translate(-22.73%,-13.18%) rotate(286.9deg)} 42%{transform:translate(-20.24%,-8.53%) rotate(294.9deg)}
  44%{transform:translate(-17.88%,-4.35%) rotate(302.5deg)} 46%{transform:translate(-15.64%,-0.71%) rotate(309.7deg)}
  48%{transform:translate(-13.52%,1.16%) rotate(316.6deg)} 50%{transform:translate(-11.52%,0.89%) rotate(323deg)}
  52%{transform:translate(-9.64%,0.65%) rotate(329deg)} 54%{transform:translate(-7.88%,0.44%) rotate(334.7deg)}
  56%{transform:translate(-6.24%,0.29%) rotate(339.9deg)} 58%{transform:translate(-4.73%,0.17%) rotate(344.8deg)}
  60%{transform:translate(-3.33%,0.08%) rotate(349.3deg)} 62%{transform:translate(-2.06%,0.03%) rotate(353.4deg)}
  64%{transform:translate(-0.91%,0.01%) rotate(357.1deg)} 66%{transform:translate(0.12%,0%) rotate(360.4deg)}
  68%{transform:translate(1.03%,0.01%) rotate(363.3deg)} 70%{transform:translate(1.82%,0.03%) rotate(365.8deg)}
  72%{transform:translate(2.48%,0.05%) rotate(368deg)} 74%{transform:translate(3.03%,0.07%) rotate(369.7deg)}
  76%{transform:translate(3.45%,0.09%) rotate(371.1deg)} 78%{transform:translate(3.76%,0.11%) rotate(372.1deg)}
  80%{transform:translate(3.94%,0.12%) rotate(372.7deg)} 82%{transform:translate(4%,0.12%) rotate(372.9deg)}
  84%{transform:translate(3.86%,0.11%) rotate(372.4deg)} 86%{transform:translate(3.5%,0.09%) rotate(371.2deg)}
  88%{transform:translate(2.96%,0.07%) rotate(369.5deg)} 90%{transform:translate(2.33%,0.05%) rotate(367.5deg)}
  92%{transform:translate(1.67%,0.03%) rotate(365.4deg)} 94%{transform:translate(1.04%,0.01%) rotate(363.3deg)}
  96%{transform:translate(0.5%,0%) rotate(361.6deg)} 98%{transform:translate(0.14%,0%) rotate(360.4deg)}
  100%{transform:translate(0%,0%) rotate(360deg)}}
.k-hs.k-hsj[data-scene="volcano"] .k-hsroll{animation:k-hjvolc 2s linear both}
@keyframes k-hjvolc{0%{transform:translate(-62%,-210%) rotate(0deg)} 2%{transform:translate(-61.11%,-208.01%) rotate(6.3deg)}
  4%{transform:translate(-60.22%,-202.04%) rotate(12.6deg)} 6%{transform:translate(-59.33%,-192.09%) rotate(18.9deg)}
  8%{transform:translate(-58.44%,-178.15%) rotate(25.3deg)} 10%{transform:translate(-57.56%,-160.24%) rotate(31.6deg)}
  12%{transform:translate(-56.67%,-138.34%) rotate(37.9deg)} 14%{transform:translate(-55.78%,-112.46%) rotate(44.2deg)}
  16%{transform:translate(-54.89%,-82.61%) rotate(50.5deg)} 18%{transform:translate(-54%,-48.77%) rotate(56.8deg)}
  20%{transform:translate(-52%,-48.57%) rotate(61.9deg)} 22%{transform:translate(-50%,-48.39%) rotate(67.1deg)}
  24%{transform:translate(-48%,-48.24%) rotate(72.2deg)} 26%{transform:translate(-46%,-48.12%) rotate(77.3deg)}
  28%{transform:translate(-43.33%,-54.34%) rotate(95.1deg)} 30%{transform:translate(-40.67%,-59.22%) rotate(112.8deg)}
  32%{transform:translate(-38%,-62.77%) rotate(130.6deg)} 34%{transform:translate(-35.33%,-64.99%) rotate(148.3deg)}
  36%{transform:translate(-32.67%,-65.87%) rotate(166.1deg)} 38%{transform:translate(-30%,-65.42%) rotate(183.8deg)}
  40%{transform:translate(-27.33%,-63.64%) rotate(201.6deg)} 42%{transform:translate(-24.67%,-60.52%) rotate(219.4deg)}
  44%{transform:translate(-22%,-56.07%) rotate(237.1deg)} 46%{transform:translate(-19.33%,-50.29%) rotate(254.9deg)}
  48%{transform:translate(-16.67%,-43.17%) rotate(272.6deg)} 50%{transform:translate(-14%,-34.72%) rotate(290.4deg)}
  52%{transform:translate(-12.5%,-33.36%) rotate(299.8deg)} 54%{transform:translate(-11%,-30.22%) rotate(309.3deg)}
  56%{transform:translate(-9.5%,-25.3%) rotate(318.8deg)} 58%{transform:translate(-8%,-18.61%) rotate(328.2deg)}
  60%{transform:translate(-6.5%,-10.13%) rotate(337.7deg)} 62%{transform:translate(-5%,0.12%) rotate(347.2deg)}
  64%{transform:translate(-3.82%,0.07%) rotate(350.2deg)} 66%{transform:translate(-2.73%,0.04%) rotate(353deg)}
  68%{transform:translate(-1.73%,0.01%) rotate(355.6deg)} 70%{transform:translate(-0.83%,0%) rotate(357.9deg)}
  72%{transform:translate(-0.03%,0%) rotate(359.9deg)} 74%{transform:translate(0.68%,0%) rotate(361.7deg)}
  76%{transform:translate(1.3%,0.01%) rotate(363.3deg)} 78%{transform:translate(1.82%,0.02%) rotate(364.7deg)}
  80%{transform:translate(2.24%,0.03%) rotate(365.7deg)} 82%{transform:translate(2.57%,0.03%) rotate(366.6deg)}
  84%{transform:translate(2.81%,0.04%) rotate(367.2deg)} 86%{transform:translate(2.95%,0.05%) rotate(367.6deg)}
  88%{transform:translate(3%,0.05%) rotate(367.7deg)} 90%{transform:translate(2.78%,0.04%) rotate(367.1deg)}
  92%{transform:translate(2.22%,0.03%) rotate(365.7deg)} 94%{transform:translate(1.5%,0.01%) rotate(363.8deg)}
  96%{transform:translate(0.78%,0%) rotate(362deg)} 98%{transform:translate(0.22%,0%) rotate(360.6deg)}
  100%{transform:translate(0%,0%) rotate(360deg)}}
.k-hs.k-hsj[data-scene="snow"] .k-hsroll{animation:k-hjsnow 1.8s linear both}
@keyframes k-hjsnow{0%{transform:translate(98%,-112.96%) rotate(-29deg)} 2%{transform:translate(93.43%,-109.77%) rotate(-30.7deg)}
  4%{transform:translate(88.86%,-106.2%) rotate(-32.2deg)} 6%{transform:translate(84.29%,-102.25%) rotate(-33.4deg)}
  8%{transform:translate(79.71%,-97.88%) rotate(-34.4deg)} 10%{transform:translate(75.14%,-93.07%) rotate(-35.2deg)}
  12%{transform:translate(70.57%,-87.83%) rotate(-35.8deg)} 14%{transform:translate(66%,-82.12%) rotate(-36.1deg)}
  16%{transform:translate(64%,-79.49%) rotate(-36.2deg)} 18%{transform:translate(62%,-76.76%) rotate(-36.2deg)}
  20%{transform:translate(60%,-73.96%) rotate(-36.1deg)} 22%{transform:translate(58%,-71.06%) rotate(-36deg)}
  24%{transform:translate(56%,-68.07%) rotate(-35.8deg)} 26%{transform:translate(54%,-65.01%) rotate(-35.5deg)}
  28%{transform:translate(52%,-61.85%) rotate(-35.2deg)} 30%{transform:translate(50%,-58.64%) rotate(-34.7deg)}
  32%{transform:translate(48%,-55.33%) rotate(-34.2deg)} 34%{transform:translate(46%,-51.97%) rotate(-33.5deg)}
  36%{transform:translate(44%,-48.53%) rotate(-32.7deg)} 38%{transform:translate(42%,-45.04%) rotate(-31.7deg)}
  40%{transform:translate(40%,-41.49%) rotate(-30.5deg)} 42%{transform:translate(38%,-37.89%) rotate(-29.1deg)}
  44%{transform:translate(36%,-34.25%) rotate(-27.4deg)} 46%{transform:translate(34%,-30.58%) rotate(-25.4deg)}
  48%{transform:translate(32%,-26.9%) rotate(-23deg)} 50%{transform:translate(30%,-23.21%) rotate(-20.3deg)}
  52%{transform:translate(28%,-19.54%) rotate(-17.1deg)} 54%{transform:translate(26%,-15.9%) rotate(-13.4deg)}
  56%{transform:translate(24%,-12.35%) rotate(-9.2deg)} 58%{transform:translate(22%,-8.91%) rotate(-4.7deg)}
  60%{transform:translate(20%,-5.69%) rotate(-0.6deg)} 62%{transform:translate(18%,-2.94%) rotate(0deg)}
  64%{transform:translate(14.6%,0%) rotate(1.7deg)} 66%{transform:translate(11.47%,0.01%) rotate(3.3deg)}
  68%{transform:translate(8.61%,0.02%) rotate(4.6deg)} 70%{transform:translate(6.02%,0.03%) rotate(5.8deg)}
  72%{transform:translate(3.71%,0.03%) rotate(6.5deg)} 74%{transform:translate(1.67%,0.04%) rotate(6.9deg)}
  76%{transform:translate(-0.1%,0.04%) rotate(6.9deg)} 78%{transform:translate(-1.6%,0.03%) rotate(6.5deg)}
  80%{transform:translate(-2.82%,0.03%) rotate(5.8deg)} 82%{transform:translate(-3.78%,0.02%) rotate(4.6deg)}
  84%{transform:translate(-4.46%,0.01%) rotate(3.3deg)} 86%{transform:translate(-4.86%,0%) rotate(1.7deg)}
  88%{transform:translate(-5%,0%) rotate(0deg)} 90%{transform:translate(-4.63%,0%) rotate(-1.5deg)}
  92%{transform:translate(-3.7%,0.01%) rotate(-2.6deg)} 94%{transform:translate(-2.5%,0.01%) rotate(-3deg)}
  96%{transform:translate(-1.3%,0.01%) rotate(-2.6deg)} 98%{transform:translate(-0.37%,0%) rotate(-1.5deg)}
  100%{transform:translate(0%,0%) rotate(-0deg)}}
.k-hs.k-hsj[data-scene="beach"] .k-hsroll{animation:k-hjbeach 1.8s linear both}
@keyframes k-hjbeach{0%{transform:translate(-112%,0%) rotate(0deg)} 2%{transform:translate(-104.86%,0.37%) rotate(23deg)}
  4%{transform:translate(-97.71%,1.27%) rotate(45.9deg)} 6%{transform:translate(-90.57%,2.17%) rotate(68.9deg)}
  8%{transform:translate(-83.43%,2.5%) rotate(91.8deg)} 10%{transform:translate(-76.29%,2.05%) rotate(114.8deg)}
  12%{transform:translate(-69.14%,1.11%) rotate(137.8deg)} 14%{transform:translate(-62%,0.26%) rotate(160.7deg)}
  16%{transform:translate(-58.28%,0.04%) rotate(172.7deg)} 18%{transform:translate(-54.67%,0.01%) rotate(184.3deg)}
  20%{transform:translate(-51.17%,0.17%) rotate(195.5deg)} 22%{transform:translate(-47.78%,0.48%) rotate(206.4deg)}
  24%{transform:translate(-44.49%,0.89%) rotate(217deg)} 26%{transform:translate(-41.31%,1.33%) rotate(227.2deg)}
  28%{transform:translate(-38.24%,1.75%) rotate(237.1deg)} 30%{transform:translate(-35.28%,2.1%) rotate(246.6deg)}
  32%{transform:translate(-32.42%,2.35%) rotate(255.8deg)} 34%{transform:translate(-29.67%,2.48%) rotate(264.6deg)}
  36%{transform:translate(-27.03%,2.49%) rotate(273.1deg)} 38%{transform:translate(-24.5%,2.4%) rotate(281.2deg)}
  40%{transform:translate(-22.08%,2.23%) rotate(289deg)} 42%{transform:translate(-19.76%,1.99%) rotate(296.5deg)}
  44%{transform:translate(-17.55%,1.71%) rotate(303.6deg)} 46%{transform:translate(-15.45%,1.43%) rotate(310.3deg)}
  48%{transform:translate(-13.46%,1.15%) rotate(316.7deg)} 50%{transform:translate(-11.57%,0.9%) rotate(322.8deg)}
  52%{transform:translate(-9.79%,0.66%) rotate(328.5deg)} 54%{transform:translate(-8.12%,0.47%) rotate(333.9deg)}
  56%{transform:translate(-6.56%,0.31%) rotate(338.9deg)} 58%{transform:translate(-5.11%,0.2%) rotate(343.6deg)}
  60%{transform:translate(-3.76%,0.11%) rotate(347.9deg)} 62%{transform:translate(-2.52%,0.05%) rotate(351.9deg)}
  64%{transform:translate(-1.39%,0.01%) rotate(355.5deg)} 66%{transform:translate(-0.36%,0.01%) rotate(358.8deg)}
  68%{transform:translate(0.55%,0%) rotate(361.8deg)} 70%{transform:translate(1.36%,0.01%) rotate(364.4deg)}
  72%{transform:translate(2.06%,0.03%) rotate(366.6deg)} 74%{transform:translate(2.65%,0.05%) rotate(368.5deg)}
  76%{transform:translate(3.14%,0.08%) rotate(370.1deg)} 78%{transform:translate(3.52%,0.09%) rotate(371.3deg)}
  80%{transform:translate(3.78%,0.11%) rotate(372.2deg)} 82%{transform:translate(3.95%,0.12%) rotate(372.7deg)}
  84%{transform:translate(4%,0.12%) rotate(372.9deg)} 86%{transform:translate(3.83%,0.11%) rotate(372.3deg)}
  88%{transform:translate(3.38%,0.09%) rotate(370.8deg)} 90%{transform:translate(2.73%,0.06%) rotate(368.8deg)}
  92%{transform:translate(2%,0.03%) rotate(366.4deg)} 94%{transform:translate(1.27%,0.01%) rotate(364.1deg)}
  96%{transform:translate(0.62%,0%) rotate(362deg)} 98%{transform:translate(0.17%,0%) rotate(360.6deg)}
  100%{transform:translate(0%,0%) rotate(360deg)}}
.k-hs.k-hsj[data-scene="jungle"] .k-hsroll{animation:k-hjjung 1.6s linear both}
@keyframes k-hjjung{0%{transform:translate(-6%,-270%) rotate(-20deg)} 2%{transform:translate(-5.74%,-269.49%) rotate(-19.6deg)}
  4%{transform:translate(-5.48%,-267.96%) rotate(-19.2deg)} 6%{transform:translate(-5.22%,-265.4%) rotate(-18.8deg)}
  8%{transform:translate(-4.96%,-261.83%) rotate(-18.4deg)} 10%{transform:translate(-4.7%,-257.24%) rotate(-18deg)}
  12%{transform:translate(-4.43%,-251.62%) rotate(-17.6deg)} 14%{transform:translate(-4.17%,-244.98%) rotate(-17.2deg)}
  16%{transform:translate(-3.91%,-237.32%) rotate(-16.8deg)} 18%{transform:translate(-3.65%,-228.64%) rotate(-16.4deg)}
  20%{transform:translate(-3.39%,-218.94%) rotate(-16deg)} 22%{transform:translate(-3.13%,-208.22%) rotate(-15.6deg)}
  24%{transform:translate(-2.87%,-196.48%) rotate(-15.2deg)} 26%{transform:translate(-2.61%,-183.72%) rotate(-14.8deg)}
  28%{transform:translate(-2.35%,-169.93%) rotate(-14.4deg)} 30%{transform:translate(-2.09%,-155.12%) rotate(-14deg)}
  32%{transform:translate(-1.83%,-139.3%) rotate(-13.6deg)} 34%{transform:translate(-1.57%,-122.45%) rotate(-13.2deg)}
  36%{transform:translate(-1.3%,-104.58%) rotate(-12.8deg)} 38%{transform:translate(-1.04%,-85.69%) rotate(-12.4deg)}
  40%{transform:translate(-0.78%,-65.78%) rotate(-12deg)} 42%{transform:translate(-0.52%,-44.84%) rotate(-11.6deg)}
  44%{transform:translate(-0.26%,-22.89%) rotate(-11.2deg)} 46%{transform:translate(0%,0.08%) rotate(-10.8deg)}
  48%{transform:translate(0%,-9.55%) rotate(-10.4deg)} 50%{transform:translate(0%,-16.42%) rotate(-10deg)}
  52%{transform:translate(0%,-20.55%) rotate(-9.6deg)} 54%{transform:translate(0%,-21.93%) rotate(-9.2deg)}
  56%{transform:translate(0%,-20.56%) rotate(-8.8deg)} 58%{transform:translate(0%,-16.44%) rotate(-8.4deg)}
  60%{transform:translate(0%,-9.57%) rotate(-8deg)} 62%{transform:translate(0%,0.05%) rotate(-7.6deg)}
  64%{transform:translate(0%,-3.29%) rotate(-7.2deg)} 66%{transform:translate(0%,-5.29%) rotate(-6.8deg)}
  68%{transform:translate(0%,-5.97%) rotate(-6.4deg)} 70%{transform:translate(0%,-5.3%) rotate(-6deg)}
  72%{transform:translate(0%,-3.31%) rotate(-5.6deg)} 74%{transform:translate(0%,0.02%) rotate(-5.2deg)}
  76%{transform:translate(0%,0.02%) rotate(-4.8deg)} 78%{transform:translate(0%,0.01%) rotate(-4.4deg)}
  80%{transform:translate(0%,0.01%) rotate(-4deg)} 82%{transform:translate(0%,0.01%) rotate(-3.6deg)}
  84%{transform:translate(0%,0.01%) rotate(-3.2deg)} 86%{transform:translate(0%,0.01%) rotate(-2.8deg)}
  88%{transform:translate(0%,0%) rotate(-2.4deg)} 90%{transform:translate(0%,0%) rotate(-2deg)} 92%{transform:translate(0%,0%) rotate(-1.6deg)}
  94%{transform:translate(0%,0.01%) rotate(-1.2deg)} 96%{transform:translate(0%,0%) rotate(-0.8deg)} 98%{transform:translate(0%,0%) rotate(-0.4deg)}
  100%{transform:translate(0%,0%) rotate(0deg)}}
/* k-hj end */
