/* Autism United · Autismo Unido – calm, low-stimulation styles */
:root{
  /* Calm palette: soft blue, sage green, lavender, peach, warm off-white. Low saturation, high text contrast.
     --accent is the ONE accent colour and is used only for the primary action on a screen.
     --sel is a quiet slate used for "selected / you are here". */
  --bg:#FAF7F2; --surface:#FFFFFF; --surface-2:#F3F0EA; --ink:#333D47; --ink-soft:#5A6571;
  --line:#DCDCD6; --accent:#3D7391; --accent-ink-on:#FFFFFF; --accent-soft:#E3ECF4; --accent-ink:#2E5A73;
  --sel:#6A7D90;
  --ok:#6C9C76; --ok-soft:#E4EFE3; --warn-soft:#F8EEDC;
  --blue:#E0EAF3; --teal:#E1EBE0; --green:#E5ECDC; --purple:#EAE6F3; --pink:#F8E6DA; --yellow:#F6EEDB; --grey:#ECECEA;
  --radius:22px; --radius-sm:14px; --shadow:0 2px 6px rgba(54,64,74,.08);
  --focus:#3D7EA6; --tap:64px;
  --font: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:100%;
}
html.big-text{font-size:125%}
html.theme-bright{
  --bg:#FFFDF7; --surface:#FFFFFF; --surface-2:#FFF4E0; --ink:#1F2933; --ink-soft:#3E4C59; --line:#B9C4D0;
  --accent:#1D64B8; --accent-soft:#CFE3FB; --accent-ink:#164D8F; --sel:#2B5C94;
  --ok:#2E8B47; --ok-soft:#CFEFD6; --warn-soft:#FFE9B8;
  --blue:#B5D8F7; --teal:#A9E5D3; --green:#C3E8A8; --purple:#D6C4F7; --pink:#FFCDB0; --yellow:#FFE594; --grey:#DFE5EC;
  --shadow:0 3px 10px rgba(31,41,51,.14);
}
html.theme-bright .ico svg, html.theme-bright .tile-ico svg, html.theme-bright .h-ico svg, html.theme-bright .opt svg,
html.theme-bright .story-illus svg, html.theme-bright .quiz-pic svg, html.theme-bright .step-pic svg, html.theme-bright .sticker svg{filter:saturate(1.6) contrast(1.05)}
html.high-contrast{
  --bg:#FFFFFF; --surface:#FFFFFF; --surface-2:#FFFFFF; --ink:#000000; --ink-soft:#1A1A1A; --line:#000000;
  --accent:#003E73; --accent-soft:#FFFFFF; --accent-ink:#002A4F; --ok:#00591F; --ok-soft:#FFFFFF;
  --blue:#FFFFFF; --teal:#FFFFFF; --green:#FFFFFF; --purple:#FFFFFF; --pink:#FFFFFF; --yellow:#FFFFFF; --grey:#FFFFFF; --sel:#000000;
  --shadow:none; --focus:#B00020;
}
html.high-contrast .card, html.high-contrast .tile, html.high-contrast .pill-btn, html.high-contrast .soft-btn,
html.high-contrast .panel, html.high-contrast .box, html.high-contrast .main-nav a, html.high-contrast .setting,
html.high-contrast .slot, html.high-contrast .timeline, html.high-contrast .strip, html.high-contrast .icon-btn{border:3px solid #000 !important}
html.high-contrast svg [stroke="#4A5563"]{stroke:#000}

*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);line-height:1.5;font-size:1.05rem;-webkit-tap-highlight-color:transparent}
img,svg{display:block;max-width:100%}
h1,h2,h3{line-height:1.2;margin:0 0 .5rem;font-weight:700}
h1{font-size:1.9rem} h2{font-size:1.45rem} h3{font-size:1.2rem}
p{margin:0 0 .8rem}
a{color:var(--accent-ink)}
button{font:inherit;color:inherit}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:8px;top:-200px;background:var(--surface);padding:.6rem 1rem;border-radius:12px;z-index:100}
.skip-link:focus{top:8px}
[dir="rtl"] .skip-link{left:auto;right:8px}
:focus-visible{outline:4px solid var(--focus);outline-offset:3px;border-radius:10px}
[hidden]{display:none!important}

/* motion: everything gentle; disabled entirely in no-motion */
.card,.tile,.pill-btn,.soft-btn,.main-nav a,.opt,.icon-btn{transition:background-color .25s ease, transform .25s ease, box-shadow .25s ease, opacity .25s ease}
html.no-motion *,html.no-motion *::before,html.no-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media (prefers-reduced-motion: reduce){ html:not(.motion-forced) *{scroll-behavior:auto} }

/* header */
.site-header{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem 1.25rem;max-width:1280px;margin:0 auto}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--ink)}
.brand-icon{width:44px;height:44px}
.brand-name{display:block;font-weight:800;font-size:1.3rem}
.brand-tag{display:block;font-size:.85rem;color:var(--ink-soft)}
.brand-name{line-height:1.1;letter-spacing:.01em}
.brand-sub{display:block;font-size:.9rem;font-weight:600;color:var(--ink-soft);line-height:1.2}
.top-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}
.pill-btn{display:inline-flex;align-items:center;gap:.45rem;min-height:52px;padding:.35rem 1rem .35rem .5rem;border-radius:999px;border:2px solid var(--line);background:var(--surface);cursor:pointer;font-weight:600}
.pill-btn .ico{width:34px;height:34px}
.pill-btn:hover{background:var(--surface-2)}
.main-nav{border-top:1px solid var(--line)}
.main-nav ul{list-style:none;margin:0 auto;padding:.5rem 1rem;display:flex;gap:.5rem;max-width:1280px;overflow-x:auto;scrollbar-width:thin}
.main-nav li{flex:1 1 0;min-width:108px}
.main-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-height:var(--tap);padding:.4rem .5rem;border-radius:var(--radius-sm);text-decoration:none;color:var(--ink);font-weight:600;font-size:.95rem;text-align:center;border:2px solid transparent}
.main-nav a .ico{width:36px;height:36px}
.main-nav a:hover{background:var(--surface-2)}
.main-nav a[aria-current="page"]{background:var(--accent-soft);border-color:var(--sel)}

main{max-width:1280px;margin:0 auto;padding:1.25rem 1.25rem 2rem;outline:none}
.view-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1.2rem;margin-bottom:1rem}
.view-head h1{display:flex;align-items:center;gap:.6rem;margin:0}
.h-ico{width:44px;height:44px;display:inline-block}
.hint{color:var(--ink-soft);margin:0}
.note{color:var(--ink-soft);font-size:.95rem}
.ico{display:inline-block;flex:none}
.ico svg,.h-ico svg,.tile-ico svg,.brand-icon svg{width:100%;height:100%}

/* home */
.hero{text-align:center;padding:1.2rem 1rem 1.6rem}
.hero .lead{font-size:1.15rem;color:var(--ink-soft)}
.tile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;max-width:1000px;margin:0 auto 1.5rem}
.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;min-height:170px;border-radius:28px;text-decoration:none;color:var(--ink);font-weight:700;font-size:1.3rem;box-shadow:var(--shadow);border:2px solid transparent}
.tile:hover{transform:translateY(-2px)}
.tile-ico{width:88px;height:88px}
.t-blue{background:var(--blue)} .t-teal{background:var(--teal)} .t-green{background:var(--green)}
.t-purple{background:var(--purple)} .t-pink{background:var(--pink)} .t-yellow{background:var(--yellow)}
.view#view-home .note{text-align:center}

/* generic buttons */
.soft-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--tap);padding:.4rem 1.2rem .4rem .7rem;border-radius:999px;border:2px solid var(--line);background:var(--surface);cursor:pointer;font-weight:700;font-size:1.05rem}
.soft-btn .ico{width:40px;height:40px}
.soft-btn:hover{background:var(--surface-2)}
.soft-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink-on)}
.soft-btn.primary:hover{background:var(--accent-ink)}
.soft-btn.primary .ico svg{background:#fff;border-radius:50%}
.soft-btn[aria-pressed="true"]{background:var(--accent-soft);border-color:var(--sel)}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;border:2px solid var(--line);background:var(--surface);cursor:pointer;padding:8px}
.icon-btn .ico{width:100%;height:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}
.box{background:var(--surface);border-radius:var(--radius);padding:1.2rem;box-shadow:var(--shadow);border:1px solid var(--line)}
.box h2{display:flex;align-items:center;gap:.5rem}
.box h2 .h-ico{width:38px;height:38px}

/* cards */
.card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.3rem;padding:.6rem .4rem .5rem;min-height:120px;border-radius:var(--radius-sm);border:2px solid var(--line);background:var(--surface);cursor:pointer;font-weight:700;font-size:.98rem;text-align:center;touch-action:none;user-select:none;-webkit-user-select:none}
.card .ico{width:64px;height:64px}
.card:hover{background:var(--surface-2)}
.card.selected{border-color:var(--sel);background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-soft)}
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:.7rem}

/* schedule */
.sched-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:1.25rem;align-items:start}
.sched-main{display:flex;flex-direction:column;gap:1.25rem}
.ft-board{display:grid;grid-template-columns:1fr auto 1fr;gap:.8rem;align-items:stretch}
.ft-arrow{align-self:center;width:44px;height:44px;color:var(--ink-soft)}
.slot{display:flex;flex-direction:column;align-items:center;gap:.4rem;border:3px dashed var(--line);border-radius:var(--radius);padding:.7rem;min-height:210px;background:var(--surface-2);cursor:pointer}
.slot .slot-title{font-weight:800;font-size:1.25rem;display:flex;align-items:center;gap:.4rem}
.slot.filled{border-style:solid;background:var(--surface)}
.slot .empty{color:var(--ink-soft);margin:auto;text-align:center}
.slot .big-card{display:flex;flex-direction:column;align-items:center;gap:.3rem;font-weight:700;font-size:1.1rem}
.slot .big-card .ico{width:96px;height:96px}
.drop-hot{border-color:var(--sel)!important;background:var(--accent-soft)!important}
.mini-actions{display:flex;gap:.4rem;justify-content:center;flex-wrap:wrap}
.mini-btn{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-width:48px;min-height:48px;padding:4px 10px;border-radius:999px;border:2px solid var(--line);background:var(--surface);cursor:pointer;font-weight:600;font-size:.9rem}
.mini-btn .ico{width:30px;height:30px}
.timeline{border:3px dashed var(--line);border-radius:var(--radius);padding:.8rem;min-height:170px;background:var(--surface-2)}
.timeline ol{list-style:none;margin:0;padding:0;display:flex;gap:.7rem;overflow-x:auto;padding-bottom:.4rem}
.timeline li{flex:0 0 130px}
.tl-item{display:flex;flex-direction:column;align-items:center;gap:.3rem;background:var(--surface);border:2px solid var(--line);border-radius:var(--radius-sm);padding:.5rem .3rem;min-height:190px;position:relative}
.tl-item .ico{width:60px;height:60px}
.tl-item .tl-num{position:absolute;top:6px;left:8px;font-size:.8rem;color:var(--ink-soft);font-weight:700}
.tl-item .tl-name{font-weight:700;text-align:center;font-size:.95rem;min-height:2.4em}
.tl-item.now{border-color:var(--sel);box-shadow:0 0 0 3px var(--accent-soft)}
.tl-item .now-tag{position:absolute;top:-12px;background:var(--sel);color:#fff;border-radius:999px;padding:0 .6rem;font-size:.8rem;font-weight:700}
.is-done .big-card .ico,.is-done .tl-face .ico{opacity:.35}
.is-done .tl-name,.is-done .big-card span{text-decoration:line-through;color:var(--ink-soft)}
.done-badge{position:absolute;top:30px;width:44px;height:44px;pointer-events:none}
.tl-empty{color:var(--ink-soft);padding:2rem 1rem;text-align:center}
.selected-bar{display:flex;align-items:center;gap:.6rem;min-height:56px;padding:.4rem .8rem;border-radius:var(--radius-sm);background:var(--warn-soft);margin-bottom:.8rem}
.selected-bar .ico{width:40px;height:40px}
.drag-ghost{position:fixed;z-index:200;pointer-events:none;width:110px;opacity:.92;transform:translate(-50%,-50%);box-shadow:0 8px 20px rgba(0,0,0,.18)}

/* talk */
.strip{display:flex;align-items:center;gap:.6rem;background:var(--surface);border:2px solid var(--line);border-radius:var(--radius);padding:.6rem;min-height:110px;margin-bottom:1rem;position:sticky;top:0}
.strip-items{flex:1;display:flex;gap:.5rem;overflow-x:auto;align-items:center;min-height:88px}
.strip-empty{color:var(--ink-soft);padding-left:.5rem}
.chip{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;max-width:140px;padding:.3rem .5rem;border-radius:var(--radius-sm);background:var(--surface-2);font-size:.85rem;font-weight:600;text-align:center}
.chip .ico{width:48px;height:48px}
.strip .soft-btn{flex:none}
.tabs{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1rem}
.tab{display:inline-flex;align-items:center;gap:.5rem;min-height:var(--tap);padding:.4rem 1.2rem .4rem .6rem;border-radius:999px;border:2px solid var(--line);background:var(--surface);cursor:pointer;font-weight:800;font-size:1.15rem}
.tab .ico{width:40px;height:40px}
.tab[aria-selected="true"]{background:var(--accent-soft);border-color:var(--sel)}
.talk-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:1.2rem;align-items:start}
.quick{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.quick .card{min-height:104px}
.cat-want .card{background:#F4F9FC} .cat-feel .card{background:#FDF9EE} .cat-need .card{background:#F4FAF6}
html.high-contrast .cat-want .card,html.high-contrast .cat-feel .card,html.high-contrast .cat-need .card{background:#fff}

/* calm */
.calm-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.breath-stage{display:flex;align-items:center;justify-content:center;height:280px;position:relative}
.breath-ring{position:absolute;width:250px;height:250px;border-radius:50%;border:3px dashed #C8D8E0}
.breath-circle{width:110px;height:110px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#CDE6E4,#9CC9C2);display:flex;align-items:center;justify-content:center;transform:scale(1);transition:transform 4s ease-in-out}
.breath-circle.grow{transform:scale(2.2);transition-duration:4s}
.breath-circle.shrink{transform:scale(1);transition-duration:6s}
.breath-word{position:absolute;bottom:4px;left:0;right:0;text-align:center;font-size:1.5rem;font-weight:800}
.breath-dots{display:flex;gap:8px;justify-content:center;min-height:20px;margin-top:.3rem}
.breath-dots span{width:14px;height:14px;border-radius:50%;background:var(--line)}
.breath-dots span.on{background:var(--sel)}
html.no-motion .breath-circle{transform:none!important;width:180px;height:180px}
.timer-wrap{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
.timer-svg{width:200px;height:200px}
.timer-left{font-size:2rem;font-weight:800;font-variant-numeric:tabular-nums}
.thermo{display:flex;gap:1rem;align-items:stretch}
.thermo-levels{display:flex;flex-direction:column-reverse;gap:.4rem;flex:1}
.th-level{display:flex;align-items:center;gap:.7rem;min-height:58px;border-radius:var(--radius-sm);border:2px solid var(--line);padding:.3rem .7rem;cursor:pointer;text-align:left;font-weight:700}
.th-level .ico{width:44px;height:44px}
.th-level .swatch{width:22px;align-self:stretch;border-radius:8px}
.th-level[aria-pressed="true"]{border-color:var(--ink);box-shadow:0 0 0 3px var(--accent-soft)}
.th-tip{min-height:3em;font-weight:700;background:var(--surface-2);border-radius:var(--radius-sm);padding:.6rem .8rem;margin-top:.6rem}
.sound-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem}
.sound-grid .card[aria-pressed="true"]{border-color:var(--sel);background:var(--accent-soft)}
.range{width:100%;height:44px;accent-color:var(--sel)}
.muted-msg{background:var(--warn-soft);padding:.5rem .8rem;border-radius:12px}

/* games */
.game-menu{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.game-menu .card{min-height:180px;font-size:1.1rem}
.game-menu .card .ico{width:96px;height:96px}
.level-row{display:flex;gap:.6rem;flex-wrap:wrap;margin:.6rem 0 1rem}
.level-row .soft-btn[aria-pressed="true"]{background:var(--ok-soft);border-color:var(--ok)}
.game-area{background:var(--surface);border-radius:var(--radius);border:1px solid var(--line);padding:1.2rem;min-height:420px}
.game-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.8rem}
.prompt{display:flex;align-items:center;gap:1rem;font-size:1.3rem;font-weight:800}
.target{width:120px;height:120px;border-radius:var(--radius);background:var(--surface-2);padding:10px;border:3px solid var(--line)}
.options{display:flex;gap:1.2rem;flex-wrap:wrap;justify-content:center;margin-top:1.2rem}
.opt{width:150px;height:150px;border-radius:var(--radius);border:3px solid var(--line);background:var(--surface);cursor:pointer;padding:14px}
.opt:hover{background:var(--surface-2)}
.opt.correct{border-color:var(--ok);background:var(--ok-soft)}
.opt.faded{opacity:.35}
.feedback{min-height:2.2em;text-align:center;font-size:1.3rem;font-weight:800;color:var(--ok);margin-top:1rem}
.feedback.gentle{color:var(--ink-soft)}
.progress{display:flex;gap:6px}
.progress span{width:16px;height:16px;border-radius:50%;background:var(--line)}
.progress span.on{background:var(--ok)}
.sort-stage{display:flex;flex-direction:column;align-items:center;gap:1.2rem}
.sort-vehicle{width:170px;height:150px;touch-action:none;cursor:grab;border-radius:var(--radius);border:3px dashed var(--line);padding:8px;background:var(--surface-2)}
.garages{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.garage{width:150px;display:flex;flex-direction:column;align-items:center;gap:.2rem;border:3px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:.5rem;cursor:pointer;font-weight:700}
.garage .ico{width:110px;height:100px}
.garage .parked{display:flex;gap:2px;min-height:28px}
.garage .parked span{width:28px;height:28px}
.draw-tools{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin-bottom:.8rem}
.swatch-btn{width:52px;height:52px;border-radius:50%;border:3px solid var(--line);cursor:pointer}
.swatch-btn[aria-pressed="true"]{border-color:var(--ink);box-shadow:0 0 0 3px var(--accent-soft)}
.canvas-wrap{position:relative;border-radius:var(--radius);overflow:hidden;border:2px solid var(--line);background:#fff;touch-action:none}
.canvas-wrap canvas{display:block;width:100%;height:440px;touch-action:none;cursor:crosshair}

/* stories */
.story-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.story-menu .card{min-height:auto;padding:.8rem;gap:.6rem;font-size:1.15rem}
.story-menu .card .thumb{width:100%;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-2)}
.story-view{display:grid;grid-template-columns:auto 1fr auto;gap:1rem;align-items:center}
.story-page{background:var(--surface);border-radius:var(--radius);border:1px solid var(--line);padding:1rem;text-align:center}
.story-illus{max-width:640px;margin:0 auto;border-radius:18px;overflow:hidden}
.story-illus svg{width:100%;height:auto}
.story-text{font-size:1.6rem;font-weight:700;margin:1rem auto .4rem;max-width:760px;line-height:1.4}
html.big-text .story-text{font-size:1.5rem}
.page-dots{display:flex;justify-content:center;gap:8px;margin:.5rem 0}
.page-dots span{width:14px;height:14px;border-radius:50%;background:var(--line)}
.page-dots span.on{background:var(--sel)}
.nav-big{width:84px;height:84px;border-radius:50%;border:2px solid var(--line);background:var(--surface);cursor:pointer;padding:8px}
.nav-big:disabled{opacity:.3;cursor:default}
.nav-big .ico{width:100%;height:100%}

/* parents */
.parents{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem}
.parents .full{grid-column:1/-1}
.parents ul{padding-left:1.2rem;margin:.3rem 0}
.parents li{margin:.3rem 0}
.disclaimer{background:var(--warn-soft);border:2px solid #E8D3A6}
details{border:2px solid var(--line);border-radius:var(--radius-sm);padding:.2rem .9rem;margin:.6rem 0;background:var(--surface)}
summary{cursor:pointer;font-weight:700;min-height:52px;display:flex;align-items:center;gap:.5rem;list-style:none}
summary::-webkit-details-marker{display:none}
summary::before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--accent-soft);font-weight:800}
details[open] summary::before{content:"–"}
.mt-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.97rem}
.mt-table th,.mt-table td{padding:.6rem;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.mt-table thead th{background:var(--surface-2)}
.mt-table tbody th{width:18%;color:var(--ink-soft)}
.res-list{list-style:none;padding:0!important}
.res-list li{padding:.6rem .2rem;border-bottom:1px solid var(--line)}
.res-list a{font-weight:700;word-break:break-word}
.res-list .url{display:block;font-size:.82rem;color:var(--ink-soft);word-break:break-all}

/* settings panel */
.overlay{position:fixed;inset:0;background:rgba(40,48,56,.35);z-index:50}
.panel{position:fixed;z-index:60;top:50%;left:50%;transform:translate(-50%,-50%);width:min(520px,92vw);max-height:90vh;overflow:auto;background:var(--surface);border-radius:var(--radius);padding:1.2rem;box-shadow:0 10px 40px rgba(0,0,0,.2)}
.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.panel-head h2{display:flex;gap:.5rem;align-items:center;margin:0}
.settings-list{display:flex;flex-direction:column;gap:.6rem;margin-bottom:.8rem}
.setting{display:flex;align-items:center;gap:.8rem;min-height:68px;padding:.4rem 1rem .4rem .6rem;border-radius:var(--radius-sm);border:2px solid var(--line);background:var(--surface);cursor:pointer;font-weight:700;font-size:1.1rem;text-align:left}
.setting .ico{width:44px;height:44px}
.setting .s-name{flex:1}
.setting .s-state{min-width:64px;text-align:center;padding:.2rem .6rem;border-radius:999px;background:var(--surface-2);font-size:.95rem}
.setting[aria-checked="true"] .s-state{background:var(--ok-soft);color:#2F6B3A;border:2px solid var(--ok)}

.site-footer{text-align:center;color:var(--ink-soft);font-size:.9rem;padding:1rem 1rem 2rem}

/* tablet & small */
@media (max-width:1100px){
  .talk-layout{grid-template-columns:1fr}
  .quick{grid-template-columns:repeat(6,1fr)}
  .game-menu{grid-template-columns:repeat(2,1fr)}
  .brand-tag{display:none}
}
@media (max-width:860px){
  .sched-layout{grid-template-columns:minmax(0,1fr)}
  .calm-grid,.parents{grid-template-columns:1fr}
  .tile-grid{grid-template-columns:repeat(2,1fr)}
  .story-menu{grid-template-columns:1fr}
  .story-view{grid-template-columns:1fr;}
  .story-view .nav-big{justify-self:center}
  .quick{grid-template-columns:repeat(3,1fr)}
  .pill-btn .lbl{display:none}
  .pill-btn{padding:.35rem .5rem}
}

.lib{position:sticky;top:150px;max-height:calc(100vh - 170px);overflow:auto}
@media (max-width:860px){.lib{position:static;max-height:none}}
.timeline li{flex:0 0 150px}
.tl-item .mini-actions{display:grid;grid-template-columns:repeat(3,42px);gap:5px;justify-content:center}
.tl-item .mini-actions .mini-btn{min-width:42px;min-height:44px;padding:2px}
.tl-item .mini-actions .mini-btn:first-child{grid-column:1/-1;width:100%}
.tl-item .mini-actions .mini-btn .ico{width:28px;height:28px}
.tl-item .mini-actions .mini-btn:disabled{opacity:.3}
.tl-item{min-height:0}

.story-illus{max-width:max(320px,min(600px,calc((100vh - 480px) * 1.6)))}
.story-text{margin:.6rem auto .3rem}
.breath-stage{height:260px}
.breath-word{position:static;margin-top:.2rem}
.game-head{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-bottom:.8rem}
.game-head h2{margin:0;flex:1}
.game-head .level-row{margin:0}
.sort-vehicle{width:150px;height:120px}
.garage .ico{width:96px;height:84px}
.game-area{padding:1rem}
.options{margin-top:.6rem}

.lib,.timeline,.ft-board{user-select:none;-webkit-user-select:none}

/* ===== v2 additions ===== */
.brand-logo{width:48px;height:48px;flex:none}
.main-nav li{min-width:92px}
.main-nav a{font-size:.9rem}
.free-banner{display:flex;align-items:flex-start;gap:1rem;max-width:1000px;margin:0 auto 1.4rem;background:var(--surface);border:2px solid #CFE3DC;border-radius:var(--radius);padding:1rem 1.2rem}
.free-banner img{flex:none}
.free-banner h2{margin:0 0 .2rem;font-size:1.3rem}
.free-banner p{margin:0 0 .5rem;color:var(--ink-soft)}
.free-banner > div{flex:1}
.badges{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin:0;padding:0}
.badges li{display:inline-flex;align-items:center;gap:.35rem;background:var(--ok-soft);border-radius:999px;padding:.2rem .8rem .2rem .3rem;font-weight:700;font-size:.92rem}
.badges .ico{width:24px;height:24px}
.tile-grid{grid-template-columns:repeat(4,1fr);max-width:1100px}
.tile{min-height:150px}
.tile-ico{width:76px;height:76px}
.mini-links{display:flex;justify-content:center;flex-wrap:wrap;gap:.6rem;margin-top:.6rem}
.mini-links a{display:inline-flex;align-items:center;gap:.4rem;min-height:52px;padding:.3rem 1rem .3rem .5rem;border-radius:999px;border:2px solid var(--line);background:var(--surface);text-decoration:none;color:var(--ink);font-weight:700}
.mini-links .ico{width:32px;height:32px}
.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:.4rem 1.2rem;margin-bottom:.5rem}
.footer-links a{font-weight:700;padding:.4rem;min-height:44px;display:inline-flex;align-items:center}
/* learn */
.profile-bar{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:.5rem .8rem;margin-bottom:.8rem}
.profile-bar .avatar{width:56px;height:56px}
.profile-bar .p-name{font-weight:800;font-size:1.2rem;flex:1}
.p-stars{display:inline-flex;align-items:center;gap:.3rem;font-weight:800;font-size:1.2rem;background:var(--yellow);border-radius:999px;padding:.2rem .8rem .2rem .3rem}
.star-ico{width:32px;height:32px;display:inline-block}
.picker{margin-bottom:1rem}
.picker .card small{color:var(--ink-soft)}
.text-input{width:100%;max-width:420px;min-height:52px;font:inherit;padding:.5rem .8rem;border:2px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink)}
textarea.text-input{max-width:none}
.avatar-row{display:flex;gap:.6rem;flex-wrap:wrap}
.avatar-btn{width:72px;height:72px;border-radius:50%;border:3px solid var(--line);background:var(--surface);padding:6px;cursor:pointer}
.avatar-btn[aria-checked="true"]{border-color:var(--sel);background:var(--accent-soft)}
.learn-hub{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.act-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.7rem}
.act-card{min-height:150px}
.lvl-stars{display:flex;gap:4px;font-size:.78rem;font-weight:700;color:var(--ink-soft)}
.lvl-stars .ls{background:var(--surface-2);border-radius:999px;padding:0 .4rem}
.lvl-stars .ls.on{background:var(--yellow);color:var(--ink)}
.lvl-btn .lvl-count{background:var(--yellow);border-radius:999px;padding:0 .5rem;font-size:.9rem;margin-left:.2rem}
.target-text{display:flex;align-items:center;justify-content:center;font-size:4rem;font-weight:800;line-height:1}
.opt-text{font-size:3rem;font-weight:800;color:var(--ink);line-height:1}
.opt-word{width:auto;min-width:150px;font-size:2.2rem;padding:10px 22px}
.opt-dots{width:170px;height:150px}
.obj-grid{display:grid;grid-template-columns:repeat(5,56px);gap:8px;justify-content:center;margin:.4rem auto}
.obj-grid.small{grid-template-columns:repeat(5,40px)}
.obj{width:56px;height:56px;position:relative}
.obj-grid.small .obj{width:40px;height:40px}
.obj.crossed{opacity:.35}
.obj.crossed::after{content:"";position:absolute;left:4px;right:4px;top:50%;border-top:4px solid #4A5563;transform:rotate(-35deg)}
.equation{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;margin:.3rem 0}
.eq-op{font-size:2.6rem;font-weight:800}
.eq-txt{font-size:2rem;font-weight:800;background:var(--surface-2);border-radius:14px;padding:.2rem .8rem;width:100%;text-align:center}
.finish{text-align:center;padding:1.5rem}
.big-star{width:120px;height:120px;margin:0 auto}
/* sensory */
.sensory-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.sensory-grid .full{grid-column:1/-1}
.break-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.break-col h3{display:flex;align-items:center;gap:.4rem}
.h-ico.sm{width:32px;height:32px}
.card-grid.three{grid-template-columns:repeat(3,1fr)}
.vis-stage{position:relative;height:300px;border-radius:var(--radius);overflow:hidden;margin-top:.8rem;background:linear-gradient(#EAF3F7,#DCEBF2)}
.vis-stage.lava{background:linear-gradient(#3F4A63,#5B5F85)}
.bubble{position:absolute;bottom:-90px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.95),rgba(190,220,235,.55) 45%,rgba(160,200,225,.25));border:2px solid rgba(255,255,255,.8);animation:rise 20s linear infinite;animation-play-state:paused}
.running .bubble{animation-play-state:running}
@keyframes rise{0%{transform:translate(0,0)}50%{transform:translate(14px,-200px)}100%{transform:translate(0,-420px)}}
.lamp{position:absolute;left:50%;top:6%;bottom:6%;width:46%;transform:translateX(-50%);border-radius:44% 44% 30% 30%;background:linear-gradient(#6E6AA0,#8E7AB0);overflow:hidden;filter:saturate(.9)}
.blob{position:absolute;border-radius:50%;filter:blur(2px);opacity:.9;animation:lava 26s ease-in-out infinite alternate;animation-play-state:paused}
.running .blob{animation-play-state:running}
@keyframes lava{0%{transform:translateY(0) scale(1,1)}50%{transform:translateY(-110px) scale(1.15,.9)}100%{transform:translateY(-200px) scale(.9,1.12)}}
.meter{height:34px;border-radius:999px;background:var(--surface-2);border:2px solid var(--line);overflow:hidden;margin-top:1rem}
.meter-fill{display:block;height:100%;width:0;background:#A9CB9A;border-radius:999px}
.meter-face{display:flex;align-items:center;gap:.6rem;margin-top:.6rem;font-size:1.2rem}
.mf-ico{width:52px;height:52px}
.chk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
fieldset{border:2px solid var(--line);border-radius:var(--radius-sm);padding:.4rem .9rem .7rem;margin:0}
legend{font-weight:800;padding:0 .4rem}
.chk-item{display:flex;align-items:flex-start;gap:.6rem;padding:.35rem 0}
.chk-item input{width:26px;height:26px;flex:none;accent-color:var(--sel);margin-top:2px}
/* about etc. */
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:1.4rem;align-items:start}
.about-fig{margin:0;background:var(--surface);border-radius:var(--radius);padding:.6rem;border:1px solid var(--line)}
.about-fig img{width:100%;height:auto;border-radius:18px}
.lead-strong{font-size:1.25rem;font-weight:800}
.free-line{font-weight:800;color:#2F6B3A;background:var(--ok-soft);border-radius:12px;padding:.5rem .8rem}
.priv-list li{margin:.6rem 0}
.world-art{max-width:320px;margin:0 auto}
.gc-slot{min-height:80px}
@media (max-width:1100px){ .tile-grid{grid-template-columns:repeat(4,1fr)} .break-cols{grid-template-columns:1fr} .card-grid.three{grid-template-columns:repeat(3,1fr)} }
@media (max-width:860px){ .learn-hub,.sensory-grid,.about-grid{grid-template-columns:1fr} .tile-grid{grid-template-columns:repeat(2,1fr)} }
@media print{
  .site-header,.site-footer,.no-print,.skip-link{display:none!important}
  body{background:#fff} .box{box-shadow:none;border:1px solid #999}
  #view-sensory .sensory-grid > :not(.checklist){display:none}
}
.hero{padding:.2rem 1rem .8rem}
.hero h1{margin-bottom:.2rem}
.hero .lead{margin-bottom:.5rem}
.free-banner{padding:.7rem 1rem;margin-bottom:1rem}
.tile{min-height:128px;gap:.4rem}
.tile-ico{width:64px;height:64px}
.tile-grid{gap:1rem}

/* ===================== v3: levels, simple mode, life skills, safety, social, rewards ===================== */
.t-grey{background:var(--grey)}
.center{text-align:center}
.sub-h{display:flex;align-items:center;gap:.5rem;margin:1.4rem 0 .6rem}
.q-text{font-size:1.45rem;font-weight:700;margin:0;line-height:1.35}
.soft-btn.huge{min-height:88px;font-size:1.35rem;padding:.6rem 2rem .6rem 1rem}
.soft-btn.huge .ico{width:56px;height:56px}
.soft-btn:disabled{opacity:.55;cursor:default}

/* settings groups */
.set-group{margin-top:1rem;border-top:1px solid var(--line);padding-top:.8rem}
.set-group h3{display:flex;align-items:center;gap:.5rem;font-size:1.1rem}
.set-group h3 .ico{width:32px;height:32px}
.seg{display:flex;gap:.5rem;flex-wrap:wrap}
.seg-btn{flex:1 1 0;display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:60px;border-radius:var(--radius-sm);border:2px solid var(--line);background:var(--surface);cursor:pointer;font-weight:700;padding:.3rem .6rem}
.seg-btn .ico{width:36px;height:36px}
.seg-btn[aria-checked="true"]{border-color:var(--sel);background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--sel)}
.swatch{width:30px;height:30px;border-radius:50%;border:2px solid var(--ink-soft);flex:none}
.sw-calm{background:conic-gradient(#E0EAF3 0 25%,#E5ECDC 0 50%,#EAE6F3 0 75%,#F8E6DA 0)}
.sw-bright{background:conic-gradient(#7FBDF2 0 25%,#9CDB79 0 50%,#BFA2F5 0 75%,#FFB07D 0)}
.sw-contrast{background:linear-gradient(90deg,#000 50%,#fff 50%)}

/* pop-ups (level picker, rewards, info card) */
.pop-overlay{position:fixed;inset:0;z-index:80;background:rgba(40,48,56,.35);display:flex;align-items:center;justify-content:center;padding:1rem}
.pop-card{position:relative;overflow:hidden;background:var(--surface);border-radius:28px;padding:1.4rem 1.6rem;max-width:440px;width:100%;text-align:center;box-shadow:0 12px 40px rgba(0,0,0,.18);max-height:92vh;overflow-y:auto}
.pop-card.wide{max-width:900px}
.pop-card h2{display:flex;align-items:center;justify-content:center;gap:.6rem}
.lp-card img{margin:0 auto .4rem}
.lp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1rem 0 .6rem}
.lvl-pick{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.1rem .9rem;border-radius:24px;border:3px solid var(--line);background:var(--surface-2);cursor:pointer;font:inherit;color:var(--ink);text-align:center;min-height:230px}
.lvl-pick:nth-child(1){background:var(--blue)} .lvl-pick:nth-child(2){background:var(--green)} .lvl-pick:nth-child(3){background:var(--purple)}
.lvl-pick .ico{width:78px;height:78px}
.lvl-pick strong{font-size:1.2rem}
.lvl-pick span:last-child{color:var(--ink-soft);font-size:.98rem}
.lvl-pick:hover{border-color:var(--sel)}
.sticker{display:inline-flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;padding:12px;border:3px solid #fff;box-shadow:0 0 0 2px var(--line)}
.sticker svg{width:100%;height:100%}
.sticker.big{width:140px;height:140px;padding:20px;margin:.4rem auto .8rem}
.sticker.empty{background:var(--surface-2);border:3px dashed var(--line);box-shadow:none}
.pop-level{font-size:1.4rem;font-weight:800}
.pop-badge{display:flex;align-items:center;justify-content:center;gap:.4rem}
.badge-ico{display:inline-block;width:44px;height:44px}
.badge-ico svg{width:100%;height:100%}
.lu-stars{position:absolute;inset:0;pointer-events:none}
.lu-star{position:absolute;bottom:-40px;width:34px;height:34px;opacity:0;animation:luFloat 4s ease-in-out forwards}
@keyframes luFloat{0%{transform:translateY(0);opacity:0}20%{opacity:.9}100%{transform:translateY(-420px);opacity:0}}
.level-up{background:linear-gradient(180deg,var(--yellow),var(--surface) 60%)}
.rw-head{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;font-size:1.2rem}
.rw-head .p-avatar{width:60px;height:60px}
.rw-level{background:var(--yellow);border-radius:999px;padding:.2rem .9rem;font-weight:800}
.rw-count{color:var(--ink-soft)}
.sticker-book{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:.8rem;justify-items:center}
.badge-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.7rem}
.badge-list li{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.6rem;align-items:center;padding:.6rem .8rem;border-radius:var(--radius-sm);background:var(--surface-2)}
.badge-list li .badge-ico{grid-row:span 2}
.badge-list li .note{margin:0;font-size:.88rem}
.badge-list li.locked{opacity:.6}
.badge-list li.have{background:var(--yellow)}

/* home + nav by level */
.huge-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;max-width:980px;margin:0 auto 1.4rem}
.huge-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;min-height:250px;border-radius:36px;border:3px solid transparent;text-decoration:none;color:var(--ink);font:inherit;font-weight:800;font-size:1.7rem;cursor:pointer;box-shadow:var(--shadow);background:var(--surface)}
.huge-tile .tile-ico{width:150px;height:150px}
.huge-tile:hover{border-color:var(--sel)}
.huge-tile.pulse{animation:pulse .6s ease}
@keyframes pulse{50%{transform:scale(1.04)}}
.talk-tile:nth-child(1){background:var(--yellow)} .talk-tile:nth-child(2){background:var(--blue)} .talk-tile:nth-child(3){background:var(--green)} .talk-tile:nth-child(4){background:var(--pink)}
.simple-talk{display:grid;grid-template-columns:auto 1fr auto;gap:1rem;align-items:center}
.simple-talk .huge-grid{margin:0;width:100%}
.simple-talk .huge-tile{min-height:220px}
html.simple-mode .main-nav li{min-width:150px}
html.simple-mode .main-nav a{min-height:84px;font-size:1.1rem}
html.simple-mode .main-nav a .ico{width:50px;height:50px}
html.simple-mode .hint, html.simple-mode .view-head .hint{display:none}
html.simple-mode #view-home{display:flex;flex-direction:column}
html.simple-mode #calm-root .calm-thermo, html.simple-mode #calm-root .calm-timer, html.simple-mode #calm-root .cc-senses, html.simple-mode #calm-root .cc-squeeze{display:none}
html.simple-mode #schedule-root:not(.edit) .lib, html.simple-mode #schedule-root:not(.edit) .tl-box{display:none}
html.simple-mode #schedule-root:not(.edit) .sched-layout{grid-template-columns:1fr}
html.simple-mode .ft-board .slot{min-height:300px}
html.simple-mode .ft-board .big-card .ico{width:170px;height:170px}
.grownup-btn{margin-top:1rem;font-size:.95rem;min-height:52px}
.more-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));max-width:none}
.more-grid .tile{min-height:140px;font-size:1.1rem}
.more-grid .tile-ico{width:64px;height:64px}

/* cause and effect */
.ce-stage{position:relative;display:block;width:100%;height:min(62vh,560px);border-radius:36px;border:3px solid var(--line);background:linear-gradient(180deg,var(--blue),var(--surface));cursor:pointer;overflow:hidden;padding:0;touch-action:manipulation}
.ce-flower-wrap{display:none}
.ce-hint{position:absolute;left:50%;top:50%;width:140px;height:140px;transform:translate(-50%,-50%);opacity:.75;animation:hintBob 2.4s ease-in-out infinite}
@keyframes hintBob{50%{transform:translate(-50%,-56%)}}
.ce-bubble{position:absolute;border-radius:50%;background:radial-gradient(circle at 30% 30%,#fff,rgba(160,200,235,.55) 60%,rgba(140,180,220,.35));border:2px solid rgba(90,120,150,.4);animation:bubUp 4.2s ease-out forwards;pointer-events:none}
@keyframes bubUp{0%{transform:scale(.3);opacity:0}15%{transform:scale(1);opacity:1}100%{transform:translateY(-300px) scale(1.05);opacity:0}}
html.no-motion .ce-bubble{opacity:1}
.ce-road{position:absolute;left:0;right:0;bottom:22%;height:90px;background:#9AA3AE;border-top:4px solid #7E8894;border-bottom:4px solid #7E8894}
.ce-road::after{content:"";position:absolute;left:0;right:0;top:41px;border-top:6px dashed #fff}
.ce-car{position:absolute;left:4%;bottom:30px;width:180px;height:180px}
.ce-car.go{animation:carGo 2.6s ease-in-out forwards}
@keyframes carGo{0%{left:4%}100%{left:78%}}
html.no-motion .ce-car.go{left:78%}
.ce-flower{position:absolute;left:50%;bottom:0;width:240px;height:400px;transform:translateX(-50%)}
.ce-flower svg{width:100%;height:100%}
.ce-flower .f-stem{stroke-dasharray:120;stroke-dashoffset:120;transition:stroke-dashoffset 1s ease}
.ce-flower .f-leaf,.ce-flower .f-head{opacity:0;transform-origin:60px 90px;transform:scale(.3);transition:opacity .8s ease,transform 1s ease}
.ce-flower.st1 .f-stem,.ce-flower.st2 .f-stem,.ce-flower.st3 .f-stem,.ce-flower.st4 .f-stem{stroke-dashoffset:60}
.ce-flower.st2 .f-stem,.ce-flower.st3 .f-stem,.ce-flower.st4 .f-stem{stroke-dashoffset:0}
.ce-flower.st2 .f-leaf,.ce-flower.st3 .f-leaf,.ce-flower.st4 .f-leaf{opacity:1;transform:none}
.ce-flower.st3 .f-head{opacity:1;transform:scale(.6)}
.ce-flower.st4 .f-head{opacity:1;transform:scale(1)}
.ce-star{position:absolute;width:60px;height:60px;animation:twinkle 2.4s ease-in-out infinite;pointer-events:none}
@keyframes twinkle{0%{transform:scale(.4);opacity:0}25%{transform:scale(1.1);opacity:1}60%{opacity:.75}100%{opacity:1}}
.stage-stars{background:linear-gradient(180deg,#3F4B66,#5D6B8C)}
html.theme-bright .stage-stars{background:linear-gradient(180deg,#2B3E78,#4A62A8)}
.big-back{min-height:72px}

/* life skills */
.act-grid.six{grid-template-columns:repeat(3,1fr)}
.act-card .act-name{font-size:1.1rem}
.act-steps{display:flex;gap:4px;opacity:.85}
.act-steps .ico.mini,.ico.mini{width:30px;height:30px}
.order-cta{margin-top:1.2rem}
.step-strip{list-style:none;display:flex;gap:.5rem;padding:0;margin:0 0 1rem;overflow-x:auto}
.step-strip li{flex:1 1 0;min-width:84px}
.step-strip button{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;padding:.4rem;border-radius:var(--radius-sm);border:2px solid var(--line);background:var(--surface);cursor:pointer}
.step-strip .ico{width:52px;height:52px}
.step-strip .sn{font-weight:800;font-size:.9rem}
.step-strip li.now button{border-color:var(--sel);background:var(--accent-soft);box-shadow:0 0 0 2px var(--sel)}
.step-strip li.done button{background:var(--ok-soft)}
.step-strip .ok{position:absolute;top:2px;right:2px;width:26px;height:26px}
.step-page .step-num{font-weight:700;color:var(--ink-soft)}
.step-pic{width:min(280px,60vw);height:min(280px,40vh);margin:0 auto .4rem}
.step-pic svg{width:100%;height:100%}
.step-page.is-done{background:var(--ok-soft)}
.order-slots{list-style:none;display:flex;gap:.7rem;padding:0;margin:.6rem 0;justify-content:center;flex-wrap:wrap}
.o-slot{position:relative;width:130px;height:130px;border-radius:var(--radius);border:3px dashed var(--line);display:flex;align-items:center;justify-content:center;background:var(--surface)}
.o-slot .ico{width:96px;height:96px}
.o-slot .sn{position:absolute;top:4px;left:10px;font-weight:800;color:var(--ink-soft)}
.o-slot.filled{border-style:solid;border-color:var(--ok);background:var(--ok-soft)}
.o-slot.next{border-color:var(--sel)}
.order-pool .opt .ico{width:100%;height:100%}
.opt.nope,.quiz-opt.nope{animation:nudge .5s ease;opacity:.6}
@keyframes nudge{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}

/* quiz */
.quiz{display:grid;grid-template-columns:minmax(220px,380px) 1fr;grid-template-areas:"pic q" "pic opts" "pic ex";gap:.8rem 1.4rem;align-items:start;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem}
.quiz-pic{grid-area:pic;background:var(--surface-2);border-radius:var(--radius);padding:1rem}
.quiz-pic svg{width:100%;height:auto;max-height:300px}
.quiz-q{grid-area:q;display:flex;align-items:center;gap:.8rem}
.quiz-opts{grid-area:opts;display:grid;gap:.7rem}
.quiz-opts.n2{grid-template-columns:1fr 1fr}
.quiz-opt{display:flex;align-items:center;gap:.7rem;min-height:76px;padding:.6rem 1rem;border-radius:var(--radius-sm);border:3px solid var(--line);background:var(--surface);cursor:pointer;font:inherit;font-weight:700;font-size:1.15rem;text-align:left;color:var(--ink)}
.quiz-opt .ico{width:52px;height:52px}
.quiz-opt:hover{background:var(--surface-2)}
.quiz-opt.right{border-color:var(--ok);background:var(--ok-soft)}
.quiz-explain{grid-area:ex;display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;background:var(--ok-soft);border-radius:var(--radius-sm);padding:.7rem 1rem}
.quiz-explain .ico{width:40px;height:40px}
.quiz-explain p{margin:0;flex:1;font-weight:600;min-width:200px}
.quiz-scene{grid-template-columns:minmax(260px,460px) 1fr}

/* safety info card */
.info-form{display:grid;gap:.3rem;max-width:620px}
.info-form label{font-weight:700;margin-top:.5rem}
.info-form textarea{font:inherit;resize:vertical}
.info-card{max-width:560px;background:var(--surface);border:3px solid var(--sel);border-radius:24px;padding:1rem 1.3rem;margin-bottom:1rem;text-align:left}
.ic-head{display:flex;align-items:center;gap:.6rem;font-size:1.3rem;margin-bottom:.4rem}
.ic-head .ico{width:48px;height:48px}
.info-card dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.3rem 1rem}
.info-card dt{color:var(--ink-soft);font-weight:600}
.info-card dd{margin:0;font-weight:700}
.info-card.big{max-width:none;font-size:1.35rem}

/* social */
.turns-stage{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:1rem}
.turn-who{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:.8rem;border-radius:var(--radius);border:3px solid transparent;opacity:.6}
.turn-who.active{opacity:1;border-color:var(--sel);background:var(--accent-soft)}
.turn-who .p-avatar{width:90px;height:90px}
.tower{width:220px}
.tower svg{width:100%;height:auto}
.space-stage{max-width:760px;margin:0 auto;border-radius:var(--radius);overflow:hidden;border:3px solid var(--line)}
.space-stage.zone-right{border-color:var(--ok)}
.space-stage svg{width:100%;height:auto}
.zone-lbl{text-align:center;margin:.7rem 0}
.light-layout{display:grid;grid-template-columns:150px 1fr;gap:1.2rem;align-items:start}
.tlight svg{width:100%;height:auto}
.tlight.small{width:90px}
.phase{font-size:1.6rem;font-weight:800;padding:.4rem 1rem;border-radius:var(--radius-sm);display:inline-block}
.phase-red{background:#F6DEDD} .phase-yellow{background:#F8EDCB} .phase-green{background:var(--ok-soft)}
.mini-breathe{width:90px;height:90px;border-radius:50%;background:var(--blue);border:3px solid var(--sel);margin:.4rem 0 .8rem;animation:mb 6s ease-in-out infinite}
@keyframes mb{50%{transform:scale(1.35)}}
.light-main .quiz-opts{margin-top:.6rem}
.drive-layout{display:grid;grid-template-columns:100px 1fr;gap:1rem;align-items:center}
.drive-road{position:relative;height:170px;border-radius:var(--radius);background:#9AA3AE;border:3px solid #7E8894;overflow:hidden}
.drive-road::after{content:"";position:absolute;left:0;right:0;top:50%;border-top:6px dashed #fff}
.drive-car{position:absolute;left:0;top:20px;width:130px;height:130px;transition:left .5s ease;z-index:1}
.drive-flag{position:absolute;right:10px;top:40px;width:80px;height:80px}
.drive-btn.is-green{background:var(--ok);border-color:var(--ok)}

/* printables */
.print-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.print-card{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:1.2rem;border-radius:var(--radius);border:2px solid var(--line);background:var(--surface);text-decoration:none;color:var(--ink);text-align:center}
.print-card .tile-ico{width:80px;height:80px}
.print-card .pill{display:inline-flex;align-items:center;gap:.4rem;margin-top:.4rem;padding:.3rem .9rem;border-radius:999px;background:var(--accent);color:#fff;font-weight:700}
.print-card .pill .ico{width:26px;height:26px;background:#fff;border-radius:50%}
.print-card:hover{border-color:var(--sel)}

@media (max-width: 900px){
  .lp-grid{grid-template-columns:1fr}
  .lvl-pick{min-height:0}
  .quiz,.quiz-scene{grid-template-columns:1fr;grid-template-areas:"pic" "q" "opts" "ex"}
  .act-grid.six{grid-template-columns:repeat(2,1fr)}
  .huge-tile{min-height:200px}
  .huge-tile .tile-ico{width:110px;height:110px}
}
@media print{
  body.print-card main > :not(#view-safety), body.print-card .btn-row, body.print-card .game-top, body.print-card .note, body.print-card .site-footer{display:none!important}
  body.print-card .info-card{border:2px solid #000}
}

.footer-name{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:1.1rem;margin-bottom:.3rem}
.footer-name span{color:var(--ink-soft)}

/* home (cover) */
.home-hero{text-align:center;max-width:860px;margin:0 auto 1.2rem}
.hero-logo{margin:0 auto .3rem;width:96px;height:96px}
.hero-name{font-size:2.3rem;margin:0}
.hero-sub{display:block;font-size:1.15rem;font-weight:600;color:var(--ink-soft);margin-top:.15rem}
.hero-intro{font-size:1.12rem;color:var(--ink);margin:.7rem auto .3rem;max-width:760px}
.icon-btn.sm{width:40px;height:40px;padding:6px;vertical-align:middle}
.hero-welcome{font-size:1.25rem;font-weight:700;color:var(--accent-ink);margin:.2rem 0 .8rem}
.quick-btns{display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap}
.quick-btns .soft-btn{text-decoration:none;color:var(--ink)}
.quick-btns .soft-btn.primary{color:var(--accent-ink-on)}
.kids-title{text-align:center;display:flex;align-items:center;justify-content:center;gap:.5rem;margin:1.2rem 0 .8rem}
.home-start{max-width:1000px;margin:1.2rem auto;text-align:center}
.start-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.step-b{width:100%;display:flex;align-items:center;gap:.7rem;padding:.7rem 1rem;border-radius:var(--radius);border:2px solid var(--line);background:var(--surface);cursor:pointer;font:inherit;font-weight:700;color:var(--ink);text-align:left;min-height:76px}
.step-b .ico{width:48px;height:48px}
.step-b .n{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--surface-2);font-weight:800;flex:none}
.home-foot{text-align:center;max-width:860px;margin:1.4rem auto 0}
.privacy-line{display:flex;align-items:center;justify-content:center;gap:.5rem;color:var(--ink-soft);font-weight:600}
.privacy-line .ico{width:30px;height:30px}
.share-status{min-height:1.5em;margin:.4rem 0}
.share-url{max-width:420px;display:inline-block}
.idea-line{font-size:.95rem}
html.simple-mode .home-kids{order:0} html.simple-mode .home-hero{order:1;margin-top:1.4rem} html.simple-mode .home-start{order:2} html.simple-mode .home-foot{order:3}
html.simple-mode .home-hero .hero-logo{width:64px;height:64px}
@media (max-width: 900px){ .start-steps{grid-template-columns:1fr} }
.lp-close{position:absolute;top:14px;right:14px}
.disclaimer{display:flex;align-items:flex-start;gap:.6rem;margin:1.4rem 0 0;padding:.7rem 1rem;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink-soft);font-size:.95rem}
.disclaimer .ico{width:28px;height:28px}
.footer-disc{font-size:.88rem;color:var(--ink-soft);max-width:760px;margin:.3rem auto}
.copyright{font-size:.88rem;color:var(--ink-soft)}

/* cover hero with Lina's watercolour (assets/img/hero.jpg / .webp) */
.home-hero.cover{position:relative;max-width:none;margin:-1.25rem -1.25rem 1.2rem;min-height:470px;display:flex;align-items:center;text-align:left;overflow:hidden;border-radius:0 0 28px 28px;background:#9DBBD0}
.cover-img,.cover-img img{position:absolute;inset:0;width:100%;height:100%}
.cover-img img{object-fit:cover;object-position:right center}
.cover-panel{position:relative;z-index:1;width:min(560px,48%);margin:1.2rem 0 1.2rem 2rem;padding:1.2rem 1.4rem;border-radius:24px;background:rgba(255,253,249,.84);box-shadow:0 4px 18px rgba(40,60,80,.12)}
.cover-brand{display:flex;align-items:center;gap:.8rem}
.cover .hero-logo{margin:0;width:76px;height:76px;flex:none}
.cover .hero-name{font-size:2.3rem;line-height:1.05}
.hero-tag{font-size:1.15rem;font-weight:700;margin:.6rem 0 .3rem}
.cover .hero-intro{margin:.3rem 0;font-size:1.02rem;color:var(--ink-soft)}
.cover .hero-welcome{margin:.4rem 0 .7rem;font-size:1.12rem}
.cover .quick-btns{justify-content:flex-start}
.cover .quick-btns .soft-btn{min-height:54px}
.hero-small{margin:.7rem 0 0;font-size:.9rem;color:var(--ink-soft);font-weight:600}
html.high-contrast .cover-panel{background:#fff;border:3px solid #000}
html.theme-bright .cover-panel{background:rgba(255,255,255,.9)}
@media (max-width: 820px){
  .home-hero.cover{display:block;min-height:0;border-radius:0}
  .cover-img{position:relative;display:block;height:240px}
  .cover-img img{position:absolute}
  .cover-panel{width:auto;margin:0;border-radius:0;background:var(--surface);box-shadow:none}
}

/* ---------- languages ---------- */
:root{--font-intl:"Noto Sans Arabic","Noto Naskh Arabic","Vazirmatn","Segoe UI","Tahoma","Noto Sans Devanagari","Nirmala UI","Mangal","Noto Sans Ethiopic","Noto Serif Ethiopic","Nyala","Abyssinica SIL"}
html[lang="ar"] body,html[lang="fa"] body,html[lang="hi"] body,html[lang="am"] body{font-family:"Atkinson Hyperlegible",var(--font-intl),system-ui,sans-serif}
html[lang="ar"] body,html[lang="fa"] body{line-height:1.7}
.lang-wrap{position:relative}
.lang-menu{position:absolute;top:calc(100% + .35rem);inset-inline-end:0;z-index:60;list-style:none;margin:0;padding:.35rem;background:var(--card,#fff);border:2px solid var(--line,#d9dee5);border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.15);min-width:12rem;max-height:70vh;overflow:auto}
.lang-menu button{display:flex;align-items:center;gap:.5rem;width:100%;min-height:44px;padding:.45rem .8rem;border:0;border-radius:10px;background:transparent;color:var(--ink);font:inherit;font-family:"Atkinson Hyperlegible",var(--font-intl),system-ui,sans-serif;font-size:1.05rem;text-align:start;cursor:pointer}
.lang-menu button:hover,.lang-menu button:focus-visible{background:var(--sel-bg,rgba(0,0,0,.06))}
.lang-menu button[aria-checked="true"]{font-weight:700;box-shadow:inset 0 0 0 2px var(--sel,#5b7fa6)}
.lang-menu button[aria-checked="true"]::after{content:"✓";margin-inline-start:auto}
.mt-note{margin:0;padding:.35rem 1rem;text-align:center;font-size:.92rem;background:var(--sel-bg,#eef3f8);color:var(--ink)}
.mt-note a{margin-inline-start:.4rem;text-decoration:none;font-size:1.05rem}
.has-say{display:flex;align-items:flex-start;gap:.5rem}
.has-say>.say-hint{flex:0 0 auto;margin-top:-.2rem;margin-inline-start:auto;width:44px;height:44px;min-width:44px;padding:0}
p.prompt.has-say{justify-content:center}
p.prompt.has-say>.say-hint{margin-inline-start:.25rem}
[dir="rtl"] .ico svg.flip-rtl{transform:scaleX(-1)}

/* car games for Level 1: Race Track Maze + Traffic Pattern Puzzle (js/cargames.js) */
.card-new{background:var(--yellow)}
.card-tag{position:absolute;top:8px;right:8px;background:var(--surface);border:2px solid var(--line);border-radius:999px;padding:0 .6rem;font-size:.85rem}
[dir="rtl"] .card-tag{right:auto;left:8px}
.game-tools{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:0 0 .6rem}
.timer-toggle[aria-pressed="true"]{background:var(--ok-soft);border-color:var(--ok)}
.calm-timer{font-weight:800;background:var(--surface-2);border-radius:999px;padding:.25rem .9rem;font-variant-numeric:tabular-nums}
.car-game .prompt{font-size:1.2rem}
.car-game .prompt .icon-btn{flex:none}
.maze-layout{display:flex;gap:1.4rem;align-items:center;justify-content:center;flex-wrap:wrap}
.maze-box{flex:1 1 320px;max-width:min(600px,max(340px,calc(100vh - 420px)));min-width:300px}
.maze-svg{width:100%;height:auto;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer}
.mz-car{transition:transform .18s ease}
.mz-bump.on{animation:nudge .35s ease}
.mz-gate{transition:opacity .4s ease}
.mz-gate.open{opacity:.18}
.maze-side{display:flex;flex-direction:column;align-items:center;gap:1rem}
.dpad{display:grid;grid-template-columns:repeat(3,78px);grid-template-rows:repeat(3,78px);gap:6px;touch-action:manipulation}
.dpad-btn{width:78px;height:78px;border-radius:20px;border:3px solid var(--line);background:var(--surface);cursor:pointer;padding:10px}
.dpad-btn:hover{background:var(--surface-2)}
.dpad-btn:active{background:var(--accent-soft)}
.dpad-btn:disabled{opacity:.4;cursor:default}
.dpad-up{grid-column:2;grid-row:1}.dpad-left{grid-column:1;grid-row:2}.dpad-right{grid-column:3;grid-row:2}.dpad-down{grid-column:2;grid-row:3}
.pat-row{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:.6rem 0 1rem}
.pat-slot{width:88px;height:88px;border-radius:16px;border:3px solid var(--line);background:var(--surface-2);padding:6px;display:flex;align-items:center;justify-content:center}
.pat-slot svg{width:100%;height:100%}
.pat-slot.ask{border-style:dashed;border-color:var(--accent);background:var(--accent-soft);font-size:2.6rem;font-weight:800;color:var(--accent-ink)}
.pat-slot.filled{border-color:var(--ok);background:var(--ok-soft)}
.pat-slot.small{width:70px;height:70px;border-style:dashed}
.pat-slot.small.filled{border-style:solid}
.pat-slot.oops{border-color:var(--ink-soft);opacity:.55}
.road{position:relative;height:140px;border-radius:var(--radius-sm);background:#8E97A3;overflow:hidden;margin:.4rem 0 .8rem}
.road::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:5px dashed rgba(255,255,255,.8)}
.road::after{content:"";position:absolute;left:0;right:0;bottom:0;height:12px;background:#A9CB9A}
.road-car{position:absolute;top:8px;left:50%;width:150px;height:120px;margin-left:-75px;z-index:1}
.road-car.pass{animation:carPass var(--dur,1000ms) ease-in-out both}
@keyframes carPass{0%{transform:translateX(-420px)}28%,72%{transform:translateX(0)}100%{transform:translateX(420px)}}
.mem-opts .opt{width:124px;height:110px;padding:8px}
.mem-opts.locked .opt{opacity:.55;cursor:default}
@media (max-width:600px){
  .maze-layout{gap:.7rem}
  .maze-side{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:.6rem}
  .dpad{grid-template-columns:repeat(4,66px);grid-template-rows:66px;gap:8px}
  .dpad-btn{width:66px;height:66px;padding:8px}
  .dpad-left{grid-column:1;grid-row:1}.dpad-up{grid-column:2;grid-row:1}.dpad-down{grid-column:3;grid-row:1}.dpad-right{grid-column:4;grid-row:1}
  .car-game .prompt{font-size:1.02rem;gap:.6rem}
  .car-game{padding:.7rem}
  .stage-row .soft-btn{min-height:52px;padding:.3rem .8rem .3rem .8rem}
  .maze-box{max-width:none;min-width:0;flex-basis:100%}
  .pat-slot{width:58px;height:58px;border-radius:12px;padding:4px}
  .pat-slot.ask{font-size:1.8rem}
  .pat-slot.small{width:50px;height:50px}
  .car-game .options .opt{width:104px;height:104px;padding:8px}
  .mem-opts .opt{width:96px;height:86px}
  .road{height:110px}.road-car{width:120px;height:96px;margin-left:-60px}
  .card-tag{font-size:.75rem;top:4px;right:4px}
}

/* more Level 1 games: Dress the Bear, Cookie Bakery, Focus Garden (js/l1games.js) */
.game-menu.menu-wide{grid-template-columns:repeat(5,1fr)}
.game-menu.menu-wide .card{min-height:170px}
.l1-game{position:relative}
.tool-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.tool-lbl{font-weight:800;color:var(--ink-soft);margin:.2rem 0;font-size:.95rem}
.swatch-row{display:flex;flex-wrap:wrap;gap:.45rem}
.big-swatch{width:46px;height:46px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.08)}
.big-swatch[aria-pressed="true"]{transform:scale(1.12);border-width:4px}
.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:.55rem}
.item-grid.wide{grid-template-columns:repeat(4,1fr)}
.item-grid.mem{grid-template-columns:repeat(auto-fill,minmax(88px,1fr))}
.l1-game .opt.item-tile,.l1-game .opt.cutter{width:auto;height:auto;min-height:104px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;gap:2px;border-radius:var(--radius-sm)}
.it-pic{display:block;width:100%;height:66px}
.it-pic svg{width:100%;height:100%}
.it-name{font-size:.86rem;font-weight:700;line-height:1.15;text-align:center;color:var(--ink)}
.item-tile[aria-pressed="true"]{border-color:var(--ok);background:var(--ok-soft)}
.tab-row{display:flex;flex-wrap:wrap;gap:.35rem}
.tab-btn{min-height:46px;padding:2px 10px 2px 4px;font-size:.85rem}
.tab-btn .ico{width:34px;height:34px}
.tab-btn[aria-selected="true"]{background:var(--accent-soft);border-color:var(--sel);font-weight:800}
.bear-layout{display:grid;grid-template-columns:minmax(260px,400px) 1fr;gap:1.2rem;align-items:start}
.bear-box{background:var(--surface-2);border-radius:var(--radius);border:2px solid var(--line);overflow:hidden;aspect-ratio:226/252}
.bear-svg{width:100%;height:100%;display:block}
.bear-tools{display:flex;flex-direction:column;gap:.7rem;min-width:0}
.count-pill{align-self:flex-start;margin:0;background:var(--ok-soft);border-radius:999px;padding:.2rem 1rem;font-weight:800;font-size:1.2rem}
.worn.pop-in{animation:popIn .35s ease}
@keyframes popIn{0%{opacity:.2}100%{opacity:1}}
.photo-wrap{position:absolute;inset:0;z-index:5;background:rgba(250,247,242,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;border-radius:var(--radius);padding:1rem}
.polaroid{position:relative;margin:0;background:#fff;padding:14px 14px 10px;border-radius:6px;box-shadow:0 8px 24px rgba(54,64,74,.18);transform:rotate(-2deg);width:min(300px,78vw)}
.polaroid .pol-pic{border-radius:3px;overflow:hidden;aspect-ratio:226/252}
.polaroid .pol-pic svg{width:100%;height:100%;display:block}
.polaroid figcaption{text-align:center;font-weight:800;margin-top:.4rem;font-size:1.05rem}
.pol-sticker{position:absolute;top:-16px;right:-16px;width:74px;height:74px;background:#F6EEDB;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.15);padding:8px;transform:rotate(12deg)}
.pol-sticker svg{width:100%;height:100%}
.cam-flash{position:absolute;inset:0;background:#fff;border-radius:var(--radius);pointer-events:none;animation:camFlash .6s ease forwards}
@keyframes camFlash{0%{opacity:.85}100%{opacity:0}}
.memo-card,.order-card{background:#FFFDF7;border:3px dashed #E2C88A;border-radius:var(--radius);padding:1rem 1.1rem}
.memo-card h3,.order-card h3{margin:0 0 .5rem;font-size:1.25rem}
.memo-list{list-style:none;margin:0 0 .8rem;padding:0;display:grid;gap:.5rem}
.memo-list li{display:flex;align-items:center;gap:.8rem;font-size:1.35rem;font-weight:800}
.memo-pic{width:76px;height:60px;flex:none;background:#fff;border:2px solid var(--line);border-radius:12px;padding:3px}
.memo-pic svg{width:100%;height:100%}
.opt.correct .it-name{color:var(--ok)}
/* bakery */
.bake-layout{display:grid;grid-template-columns:auto minmax(240px,420px) 1fr;gap:1.1rem;align-items:start}
.bake-side{max-width:280px}
.bake-work{display:flex;flex-direction:column;gap:.6rem;align-items:stretch;min-width:0}
.bake-main{position:relative;background:linear-gradient(#F7EFE2,#F2E6D3);border:2px solid var(--line);border-radius:var(--radius);padding:.8rem;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.bake-main .order-card{width:100%}
.cookie-svg{width:100%;height:auto;display:block}
.cookie-svg.live{max-width:380px;cursor:pointer;touch-action:manipulation;filter:drop-shadow(0 4px 6px rgba(120,80,30,.18))}
.top-count{display:flex;gap:1rem;font-weight:800;font-size:1.1rem;margin-top:.3rem}
.bake-tools{display:flex;flex-direction:column;gap:.55rem;min-width:0}
.cutters{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}
.sheet{width:100%;min-height:260px;background:#C9CED6;border:3px solid #9AA3AE;border-radius:14px;display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:14px;position:relative;align-items:center}
.sheet.empty{display:flex;align-items:center;justify-content:center}
.sheet .note{color:#3E4C59;font-weight:700}
.sheet-ck svg{width:100%;height:auto}
.sheet-ck.pop-in{animation:cutIn .35s ease}
@keyframes cutIn{0%{transform:scale(.6);opacity:.3}100%{transform:scale(1);opacity:1}}
.sheet-count{position:absolute;right:10px;bottom:6px;font-weight:800;font-size:1.4rem;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.bake-tray{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap}
.tray-ck{width:76px;height:76px;padding:4px;border-radius:14px;border:3px solid var(--line);background:var(--surface);cursor:pointer}
.tray-ck[aria-pressed="true"]{border-color:var(--sel);background:var(--accent-soft)}
.tray-ck svg{width:100%;height:100%}
.top-btn{width:50px;height:50px;border-radius:50%;border:3px solid var(--line);background:var(--surface);cursor:pointer;padding:5px}
.top-btn svg{width:100%;height:100%}
.top-btn[aria-pressed="true"]{border-color:var(--ink);box-shadow:0 0 0 3px var(--accent-soft);transform:scale(1.1)}
.oven{width:100%;max-width:380px}
.oven svg{width:100%;height:auto}
.oven.baking .oven-glow{animation:glow 1s ease-in-out infinite alternate}
@keyframes glow{0%{opacity:.35}100%{opacity:.75}}
.bake-bar{width:100%;max-width:380px;height:16px;border-radius:999px;background:#fff;border:2px solid var(--line);overflow:hidden;margin-top:.6rem}
.bake-bar span{display:block;height:100%;width:0;background:#F2A65A;transition:width 1.8s linear}
.bake-bar.go span{width:100%}
html.no-motion .bake-bar.go span{width:100%}
.shop-window{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;align-items:center;position:relative;background:#fff;border:3px solid #E2C88A;border-radius:var(--radius);padding:1.2rem;width:100%}
.shop-ck{width:min(170px,40%)}
.shop-ck svg{width:100%;height:auto}
.shop-window.shine{animation:popIn .5s ease}
.shop-window .pol-sticker{top:-12px;right:-8px;width:62px;height:62px}
.oc-cust{display:inline-block;width:46px;height:46px}
.oc-cust.big{width:90px;height:90px}
.oc-cust svg{width:100%;height:100%}
.oc-head{display:flex;align-items:center;gap:.6rem}
.oc-head h3{margin:0;flex:1}
.oc-row{display:flex;flex-direction:column;gap:.3rem;margin:.4rem 0 .2rem;padding-top:.4rem;border-top:2px dotted #E8D6AC}
.oc-pics{display:flex;gap:.3rem;flex-wrap:wrap}
.oc-pic{width:84px}
.oc-pic svg{width:100%;height:auto}
.oc-text{margin:0;font-weight:700;font-size:1rem;line-height:1.3}
.order-card.peek{margin:0 auto .8rem;max-width:520px}
.total-q{background:var(--surface-2);border-radius:var(--radius-sm);padding:.8rem;text-align:center}
.total-q .prompt{justify-content:center;font-size:1.15rem}
.total-expr{font-size:1.8rem;font-weight:800;margin:.3rem 0;letter-spacing:.04em}
.l1-game .opt-num{width:96px;height:96px;font-size:2.4rem;font-weight:800;color:var(--ink)}
/* focus garden */
.fg-grid{display:grid;gap:8px;max-width:min(520px,100%);margin:0 auto}
.fg-grid.n3{max-width:340px}.fg-grid.n4{max-width:420px}
.fg-cell{aspect-ratio:1;border-radius:14px;border:3px solid var(--line);background:#F3F8EE;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center}
.fg-cell svg{width:100%;height:100%}
.fg-cell.correct{border-color:var(--ok);background:var(--ok-soft);box-shadow:0 0 0 4px var(--ok-soft)}
.fg-cell.looked{background:#F4F2EE}
.fg-cell.hint{box-shadow:0 0 0 4px #F0CF5E}
.fg-cell.bed{background:#E9DCC8}
.fg-cell.bed .bloom{opacity:0}
.fg-cell.bed.lit,.fg-cell.bed.on{background:#FFF6D9;border-color:#E9C35A}
.fg-cell.bed.lit .bloom,.fg-cell.bed.on .bloom{opacity:1}
.fg-cell.bed.lit .bud,.fg-cell.bed.on .bud{opacity:0}
.fg-cell.bed.oops{opacity:.6}
.mem-grid.locked .fg-cell{cursor:default}
.mem-grid.all-ok .fg-cell.on{background:var(--ok-soft);border-color:var(--ok)}
.gng-demo{display:flex;gap:1.4rem;justify-content:center;flex-wrap:wrap;margin:.6rem 0 1rem}
.gng-demo figure{margin:0;text-align:center;font-weight:800;font-size:1.15rem;background:var(--ok-soft);border-radius:var(--radius-sm);padding:.6rem 1rem;border:3px solid var(--ok)}
.gng-demo figure.nogo{background:var(--warn-soft);border-color:#E2C88A}
.gng-pic{display:block;width:110px;height:110px;margin:0 auto}
.gng-pic svg{width:100%;height:100%}
.gng-scene{position:relative;max-width:640px;margin:0 auto;border-radius:var(--radius);overflow:hidden;border:2px solid var(--line);touch-action:manipulation;cursor:pointer;user-select:none;-webkit-user-select:none}
.gng-scene>svg{width:100%;height:auto;display:block}
.gng-bug{position:absolute;width:28%;top:12%;left:36%;pointer-events:none}
.gng-bug.p1{left:14%;top:18%}.gng-bug.p2{left:58%;top:16%}
.gng-bug svg{width:100%;height:auto}
.gng-bug.in{animation:bugIn .35s ease}
.gng-bug.out{animation:bugOut .26s ease forwards}
@keyframes bugIn{0%{transform:translateY(30px) scale(.7);opacity:0}100%{transform:none;opacity:1}}
@keyframes bugOut{100%{transform:translateY(-50px) scale(.8);opacity:0}}
.tap-btn{margin-top:.8rem;min-width:220px}
.gng-score{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;margin-top:.6rem}
.gng-score .sc{width:14px;height:14px;border-radius:50%;background:var(--line)}
.gng-score .sc.hit{background:#7FAEDB}.gng-score .sc.wait{background:#F0CF5E}.gng-score .sc.oops,.gng-score .sc.miss{background:#DCDCD6}
.gng-sum{display:flex;gap:1.4rem;justify-content:center;flex-wrap:wrap;font-size:1.2rem}
.gng-sum p{display:flex;align-items:center;gap:.5rem;margin:.4rem 0}
.gng-mini{width:48px;height:48px;display:inline-block}
.gng-mini svg{width:100%;height:100%}
@media (max-width:1100px){
  .game-menu.menu-wide{grid-template-columns:repeat(3,1fr)}
  .bake-layout{grid-template-columns:minmax(220px,380px) 1fr}
  .bake-side{grid-column:1 / -1;max-width:none}
}
@media (max-width:760px){
  .bear-layout,.bake-layout{grid-template-columns:1fr}
  .bear-box{max-width:300px;width:100%;margin:0 auto}
  .bake-main{min-height:220px}
  .cookie-svg.live{max-width:260px}
}
@media (max-width:600px){
  .game-menu.menu-wide{grid-template-columns:repeat(2,1fr)}
  .bear-box{max-width:230px}
  .item-grid{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:.4rem}
  .item-grid.wide{grid-template-columns:repeat(4,1fr)}
  .l1-game .opt.item-tile,.l1-game .opt.cutter{min-height:86px}
  .it-pic{height:50px}
  .it-name{font-size:.76rem}
  .big-swatch{width:42px;height:42px}
  .top-btn{width:44px;height:44px}
  .memo-list li{font-size:1.1rem}
  .fg-grid{gap:5px}
  .fg-cell{border-radius:10px;padding:2px;border-width:2px}
  .gng-pic{width:84px;height:84px}
  .oc-pic{width:70px}
  .l1-game .opt-num{width:80px;height:80px;font-size:2rem}
}
.order-card.show .oc-pic,.order-card.peek .oc-pic{width:120px}
.order-card.show .oc-text,.order-card.peek .oc-text{font-size:1.2rem}
@media (max-width:600px){.order-card.show .oc-pic,.order-card.peek .oc-pic{width:96px}}

/* ===== Learn: reading & writing paths + parent guide ===== */
.lit-path{border:3px solid var(--accent-soft)}
.lit-path .guide-h,.guide-sec .guide-h{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.lit-tabs .lvl-count{font-size:.75rem}
.path-steps{list-style:none;padding:0;margin:.4rem 0 1rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.7rem;counter-reset:none}
.path-card{position:relative;width:100%;min-height:160px}
.path-card .step-n{position:absolute;top:8px;left:8px;width:30px;height:30px;border-radius:50%;background:var(--accent);color:var(--accent-ink-on);font-weight:800;display:flex;align-items:center;justify-content:center}
.path-card .path-lvl{font-size:.8rem;background:var(--surface-2);border-radius:999px;padding:0 .5rem}
.guide-card{display:flex;align-items:center;gap:.8rem;width:100%;text-align:left;padding:.8rem 1rem;min-height:90px}
.guide-card .ico{width:64px;height:64px;flex:none}
.lit-area .prompt{flex-wrap:wrap}
.opt.hint-strong{border-color:var(--ok);box-shadow:0 0 0 6px var(--ok-soft);animation:litPulse 1.6s ease-in-out infinite}
.opt.hint-soft,.cvc-tile.hint-soft{border-color:var(--ok)}
.cvc-tile.hint-strong,.build-tile.hint-strong{border-color:var(--ok);box-shadow:0 0 0 6px var(--ok-soft)}
.opt.quiet{opacity:.35;filter:grayscale(.6)}
@keyframes litPulse{0%,100%{box-shadow:0 0 0 4px var(--ok-soft)}50%{box-shadow:0 0 0 10px var(--ok-soft)}}
.wiggle{animation:litWig .45s ease}
@keyframes litWig{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.lit-word{font-size:2.4rem;font-weight:800;text-align:center;min-height:3rem;margin:.4rem 0}
.abc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:.6rem;margin:.6rem 0}
.abc-card{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.5rem;border:3px solid var(--line);border-radius:var(--radius);background:var(--surface);cursor:pointer;min-height:140px;font:inherit;color:var(--ink)}
.abc-card.heard{border-color:var(--ok);background:var(--ok-soft)}
.abc-l{font-size:2rem;font-weight:800;line-height:1}
.abc-pic{width:60px;height:60px}.abc-pic svg{width:100%;height:100%}
.abc-w{font-size:.95rem}
.lit-count{text-align:center;font-weight:700}
.sign-card{display:flex;gap:1.2rem;align-items:center;flex-wrap:wrap;justify-content:center;margin:1rem 0}
.sign-pic{width:min(260px,70vw);aspect-ratio:1}.sign-pic svg{width:100%;height:100%}
.sign-text{max-width:340px}.sign-text h3{font-size:2rem;margin:.2rem 0}
.sign-desc{display:block;font-size:1.15rem;margin-bottom:.4rem}
.sign-note{border-left:4px solid var(--accent);padding-left:.7rem;max-width:720px;margin:1rem auto 0}
.name-model{font-size:3.2rem;font-weight:800;letter-spacing:.06em;text-align:center;margin:.4rem 0 .8rem}
.name-model .name-first{color:var(--accent-ink);text-decoration:underline;text-decoration-thickness:4px}
.name-opt{text-transform:none}
.name-form{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0}
.cvc-slots{display:flex;justify-content:center;gap:.6rem;margin:1rem 0}
.cvc-slot{width:84px;height:96px;border:3px dashed var(--sel);border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:3rem;font-weight:800;background:var(--surface)}
.cvc-slot.next{border-style:solid;border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.cvc-slot.done{border-style:solid;border-color:var(--ok);background:var(--ok-soft)}
.cvc-slot.drop-hot{background:var(--accent-soft)}
.cvc-slots.whole .cvc-slot{border-color:var(--ok)}
.cvc-tiles,.build-tiles{display:flex;justify-content:center;flex-wrap:wrap;gap:.7rem;margin:.6rem 0 1rem}
.cvc-tile,.build-tile{min-width:76px;min-height:76px;border:3px solid var(--line);border-radius:14px;background:#FFF8E6;font:inherit;font-size:2.4rem;font-weight:800;color:var(--ink);cursor:grab;touch-action:none;padding:0 .6rem}
.build-tile{font-size:1.6rem;min-height:64px;background:#EEF5FB}
.cvc-tile.used,.build-tile.used{opacity:.25}
.drag-ghost.cvc-tile,.drag-ghost.build-tile{position:fixed;transform:translate(-50%,-50%);pointer-events:none;z-index:1000}
.read-row{display:flex;align-items:center;justify-content:center;gap:.6rem;flex-wrap:wrap;margin:.6rem 0}
.read-line{font-size:2rem;font-weight:700;margin:0;text-align:center}
.read-line .rw{font:inherit;background:none;border:0;border-bottom:3px dotted var(--line);padding:0 .1rem;cursor:pointer;color:var(--ink)}
.read-line .rw:hover,.read-line .rw:focus-visible{background:var(--accent-soft)}
.scene-opts .opt-scene{width:190px;height:170px;padding:6px}
.scene{position:relative;width:100%;height:100%;min-height:150px}
.scene>span{position:absolute;display:block}.scene svg{width:100%;height:100%}
.scene .sc-thing{left:25%;top:30%;width:50%;height:55%}
.scene .sc-who{width:30%;height:34%;z-index:2}
.sc-on .sc-who{left:35%;top:2%}
.sc-under .sc-thing{top:6%}.sc-under .sc-who{left:35%;top:64%}
.sc-next .sc-who{left:69%;top:50%}
.sc-in .sc-who{left:38%;top:44%;width:24%;height:28%}
.sc-in.sc-t-tree .sc-who{top:30%}
.q-tag{display:inline-block;background:var(--yellow);border-radius:999px;padding:.1rem .7rem;font-weight:800;margin-right:.4rem}
.story-grid{margin-top:.6rem}
.story-page{display:flex;flex-direction:column;align-items:center;gap:.4rem}
.story-pic{display:flex;gap:1rem;justify-content:center;background:#F3F8EE;border-radius:var(--radius);padding:1rem 1.6rem;border:3px solid var(--line)}
.story-pic span{width:min(150px,36vw);height:min(150px,36vw)}.story-pic svg{width:100%;height:100%}
.copy-model{font-size:3.4rem;font-weight:800;text-align:center;letter-spacing:.08em;font-family:"Andika","Comic Sans MS",system-ui,sans-serif}
.word-wrap{max-width:720px;margin:0 auto}
.word-canvas{display:block;width:100%;height:240px;border:3px solid var(--line);border-radius:var(--radius);background:#fff;touch-action:none}
.build-line{display:flex;justify-content:center;align-items:flex-end;flex-wrap:wrap;gap:.5rem;margin:1rem 0;min-height:70px}
.build-slot{min-width:90px;min-height:58px;border-bottom:4px solid var(--sel);font-size:1.8rem;font-weight:700;text-align:center;padding:0 .3rem}
.build-slot.next{border-color:var(--accent)}
.build-slot.done{border-color:var(--ok)}
.build-line.drop-hot{background:var(--accent-soft);border-radius:12px}
.build-punct{font-size:1.8rem;font-weight:700}
.parent-guide{max-width:880px}
.parent-guide .lead{font-size:1.15rem}
.guide-toc ol{columns:2;gap:2rem;padding-left:1.4rem}.guide-toc li{margin:.2rem 0}
.guide-sec h3{display:flex;align-items:center;gap:.5rem;margin:.2rem 0}
.guide-sec h3 .h-ico{width:44px;height:44px;display:inline-block}
.guide-list li{margin:.35rem 0;line-height:1.5}
.guide-art{margin:.6rem 0}.guide-art figcaption{font-size:.95rem;margin-top:.3rem}
.grip-art svg{width:min(360px,100%);height:auto}
.strokes-art svg{width:100%;height:auto;max-width:640px}
.guide-pics{display:flex;flex-wrap:wrap;gap:.8rem}
.guide-pics figure{margin:0;text-align:center;width:110px}.guide-pics svg{width:90px;height:90px}
.guide-pics figcaption{font-size:.9rem}
@media (max-width:640px){
  .path-steps{grid-template-columns:repeat(2,1fr)}
  .cvc-slot{width:64px;height:78px;font-size:2.4rem}
  .cvc-tile{min-width:64px;min-height:64px;font-size:2rem}
  .read-line{font-size:1.5rem}
  .scene-opts .opt-scene{width:150px;height:140px}
  .guide-toc ol{columns:1}
  .word-canvas{height:190px}
  .copy-model{font-size:2.6rem}
}
html.no-motion .opt.hint-strong{animation:none}

/* ===== Calm corner · Rincón de calma: storm -> calm breathing guide and calm tools (js/calmcorner.js) ===== */
.cc-guide,.cc-parent{grid-column:1/-1}
.cc-theme{font-size:1.15rem;font-weight:700;color:var(--accent-ink);margin-bottom:.4rem}
.cc-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1.4rem;align-items:center}
.cc-stage{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:2px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#DDEBF5;cursor:pointer}
.cc-skywrap,.cc-skywrap svg{position:absolute;inset:0;width:100%;height:100%}
.cc-sky .fade{transition:opacity 2.5s ease,transform 3s ease}
.cc-sky .sky-calm{opacity:0}
.cc-sky .cc-sun,.cc-sky .cc-rainbow,.cc-sky .cc-white{opacity:0}
.cc-stage[data-sky="1"] .sky-calm{opacity:.25} .cc-stage[data-sky="2"] .sky-calm{opacity:.5} .cc-stage[data-sky="3"] .sky-calm{opacity:.75} .cc-stage[data-sky="4"] .sky-calm,.cc-stage[data-sky="5"] .sky-calm{opacity:1}
.cc-stage:not([data-sky="0"]) .d1{opacity:0;transform:translateX(-60px)}
.cc-stage[data-sky="2"] .d2,.cc-stage[data-sky="3"] .d2,.cc-stage[data-sky="4"] .d2,.cc-stage[data-sky="5"] .d2{opacity:0;transform:translateX(60px)}
.cc-stage[data-sky="3"] .d3,.cc-stage[data-sky="4"] .d3,.cc-stage[data-sky="5"] .d3{opacity:0;transform:translateY(-40px)}
.cc-stage[data-sky="2"] .cc-sun{opacity:.45} .cc-stage[data-sky="3"] .cc-sun{opacity:.8} .cc-stage[data-sky="4"] .cc-sun,.cc-stage[data-sky="5"] .cc-sun{opacity:1}
.cc-stage[data-sky="3"] .cc-white,.cc-stage[data-sky="4"] .cc-white,.cc-stage[data-sky="5"] .cc-white{opacity:1}
.cc-stage[data-sky="4"] .cc-rainbow{opacity:.35} .cc-stage[data-sky="5"] .cc-rainbow{opacity:1}
.cc-shape{position:absolute;left:50%;top:54%;width:46%;aspect-ratio:200/220;transform:translate(-50%,-50%) scale(.72);transition:transform var(--dur,1s) ease-in-out}
.cc-shape svg{width:100%;height:100%}
.cc-stage.ph-in .cc-shape{transform:translate(-50%,-50%) scale(1.05)}
.cc-stage.ph-out .cc-shape{transform:translate(-50%,-50%) scale(.6)}
.cc-needle{transform-origin:100px 110px;transform:rotate(-60deg);transition:transform var(--dur,1s) ease-in-out}
.cc-stage.ph-in .cc-needle{transform:rotate(60deg)}
.cc-shape .fade2{transition:opacity .9s ease}
.cc-cdl{opacity:0} .cc-stage.ph-out .cc-cdl{opacity:1} .cc-stage.ph-out .cc-flw{opacity:0}
.cc-flame{transform-origin:100px 100px;transition:transform var(--dur,1s) ease-in-out}
.cc-stage.ph-out .cc-flame{transform:skewX(-12deg) scale(.75)}
html.no-motion .cc-shape{transform:translate(-50%,-50%) scale(.85)!important}
html.no-motion .cc-needle,html.no-motion .cc-flame{transform:none!important}
.cc-side{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.35rem}
.cc-word{font-size:2.1rem;font-weight:800;line-height:1.15}
.cc-sub{font-size:1.15rem;color:var(--ink-soft);min-height:1.5em}
.cc-count{font-size:3.4rem;font-weight:800;line-height:1;min-height:3.4rem;font-variant-numeric:tabular-nums;color:var(--accent-ink)}
.cc-count.sm{font-size:2.6rem;min-height:2.6rem}
.cc-prog{display:flex;gap:.35rem;justify-content:center;margin-top:.4rem}
.cc-prog .ico{width:40px;height:40px;opacity:.75} .cc-prog .ico.done{opacity:1}
.cc-prog-txt{margin:0;font-weight:700;color:var(--ink-soft)}
.cc-btns{justify-content:center;margin-top:.4rem}
.soft-btn.cc-big{min-height:80px;font-size:1.4rem;padding:.5rem 1.8rem .5rem 1rem}
.soft-btn.cc-big .ico{width:52px;height:52px}
.cc-pick-h{margin-top:1.1rem}
.cc-pick,.cc-weather,.cc-parts{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}
.cc-pick .card,.cc-weather .card,.cc-parts .card{touch-action:manipulation}
.cc-pick .card .ico,.cc-parts .card .ico{width:72px;height:72px}
.cc-weather .card{min-height:150px;font-size:1.15rem} .cc-weather .card .ico{width:92px;height:92px}
.cc-pick .card[aria-pressed="true"],.cc-weather .card[aria-pressed="true"],.cc-parts .card[aria-pressed="true"]{border-color:var(--sel);background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-soft)}
.cc-tip{margin-top:.7rem;min-height:2.5em}
.cc-tip p{font-weight:700;background:var(--surface-2);border-radius:var(--radius-sm);padding:.6rem .8rem;margin-bottom:.6rem}
.cc-sen-steps{display:flex;gap:.4rem;justify-content:center;margin-bottom:.6rem}
.cc-sen-steps span{display:flex;flex-direction:column;align-items:center;padding:.25rem;border-radius:12px;border:2px solid transparent;opacity:.55}
.cc-sen-steps span.now{border-color:var(--sel);background:var(--accent-soft);opacity:1} .cc-sen-steps span.done{opacity:1}
.cc-sen-steps .ico{width:36px;height:36px}
.cc-sen-big{display:flex;align-items:center;gap:1rem}
.cc-sen-big .ico{width:96px;height:96px;flex:none}
.cc-sen-q{font-size:1.25rem;font-weight:700;margin:0}
.cc-sen-dots{display:flex;flex-wrap:wrap;gap:.6rem;margin:.8rem 0}
.cc-dot{width:60px;height:60px;border-radius:50%;border:3px solid var(--line);background:var(--surface);font-weight:800;font-size:1.3rem;cursor:pointer;transition:background-color .4s ease}
.cc-dot[aria-pressed="true"]{background:#AFD09F;border-color:var(--ok)}
.cc-sq-stage{display:flex;align-items:center;gap:1.2rem;margin-top:1rem;min-height:130px}
.cc-sq-stage .cc-sq-word{font-size:1.2rem;font-weight:700;margin:0}
.cc-ball{flex:none;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#F6E3C4,#EDB283);border:3px solid #C99A6A;transition:transform 1.5s ease-in-out}
.cc-ball.tight{transform:scale(.7,.62)} .cc-ball.soft{transform:scale(1.08,1.02);transition-duration:3s}
html.no-motion .cc-ball{transform:none!important}
.cc-pg details{border:1px solid var(--line);border-radius:var(--radius-sm);padding:.5rem .8rem;margin:.5rem 0;background:var(--surface)}
.cc-pg summary,.cc-pg-sum{display:flex;align-items:center;gap:.5rem;font-weight:700;cursor:pointer;min-height:48px}
.cc-pg summary .ico,.cc-pg-sum .ico{width:34px;height:34px}
.cc-pg li{margin:.3rem 0}
.cc-gentle{font-weight:700;background:var(--ok-soft);border-radius:var(--radius-sm);padding:.6rem .8rem}
.cc-pg .soft-btn{text-decoration:none}
.cc-pg .soft-btn.primary{color:var(--accent-ink-on)}
html.high-contrast .cc-stage{border:3px solid #000}
html.simple-mode .cc-guide .note,html.simple-mode .cc-feel .note{display:none}
html.simple-mode .soft-btn.cc-big{min-height:110px;font-size:1.8rem;min-width:260px}
html.simple-mode .cc-word{font-size:2.5rem}
@media (max-width:860px){
  .cc-layout{grid-template-columns:1fr}
  .cc-word{font-size:1.8rem}
}
@media (max-width:480px){
  .cc-pick .card .ico,.cc-parts .card .ico{width:56px;height:56px}
  .cc-weather .card .ico{width:64px;height:64px}
  .cc-sen-big .ico{width:72px;height:72px}
  .cc-dot{width:54px;height:54px}
}
@media print{ .cc-guide,.cc-feel,.cc-squeeze,.cc-senses{display:none} }
.calm-grid > *{min-width:0} /* keeps the Calm corner inside narrow phone screens */
@media (max-width:480px){ .sound-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
/* Latest research card (#parents) */
.research-card .rs-h{font-size:1.05rem;margin:.1rem 0 .3rem}
.research-card .res-list p{margin:0 0 .35rem}

/* social buttons: Instagram follow + WhatsApp share (home hero + footer) */
.hero-made{margin:.2rem 0 .4rem;font-size:1rem;font-weight:600;color:var(--ink-soft);font-style:italic}
.soc-row{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin:1rem auto}
.cover .soc-top{justify-content:flex-start;margin:.9rem 0 .2rem}
.soc-foot{max-width:640px;margin:1rem auto 1.2rem}
.soc-btn{display:inline-flex;align-items:center;gap:.7rem;min-height:68px;padding:.55rem 1.3rem .55rem .9rem;border-radius:999px;color:#fff!important;text-decoration:none;font-weight:800;font-size:1.12rem;line-height:1.15;text-align:left;box-shadow:0 4px 14px rgba(40,40,60,.22);border:2px solid transparent;flex:1 1 260px;max-width:100%;justify-content:center}
.soc-btn:hover{filter:brightness(1.06)}
.soc-btn:active{transform:translateY(1px)}
.soc-glyph{width:34px;height:34px;flex:none}
.soc-txt{display:flex;flex-direction:column;min-width:0}
.soc-handle{font-weight:600;font-size:.92rem;opacity:.95}
.soc-ig{background:#C13584;background-image:linear-gradient(100deg,#F58529 0%,#DD2A7B 38%,#8134AF 72%,#515BD4 100%);background-origin:border-box;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.soc-wa{background:#25D366;color:#063d1d!important;text-shadow:none}
.soc-wa .soc-main{color:#063d1d}
html.high-contrast .soc-btn{border-color:#000}
@media (max-width:480px){.soc-btn{flex-basis:100%;min-height:72px;font-size:1.15rem}}

/* ASL fingerspelling alphabet A–Z (Learn > Level 3) */
.asl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.7rem;margin:.6rem 0}
.asl-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.55rem .4rem .6rem;border:3px solid rgba(74,85,99,.18);border-radius:24px;cursor:pointer;font:inherit;color:var(--ink);min-height:200px;box-shadow:var(--shadow)}
.asl-card:hover{filter:brightness(1.02)}
.asl-card.heard{border-color:var(--ink-l,var(--ok));box-shadow:0 0 0 3px #fff inset,var(--shadow)}
.asl-card.pulse{animation:pulse .6s ease}
.asl-l{font-size:2rem;font-weight:800;line-height:1;color:var(--ink-l,var(--ink));letter-spacing:.04em}
.asl-hand{width:104px;height:104px;display:block}.asl-hand svg{width:100%;height:100%}
.asl-word{display:flex;align-items:center;gap:.35rem;font-weight:700;font-size:1.05rem}
.asl-pic{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center}.asl-pic svg{width:40px;height:40px}
.abc-emoji{font-size:2rem;line-height:1;font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",sans-serif}
.asl-move{position:absolute;top:8px;right:10px;font-size:1.3rem;color:#2F6DB5;font-weight:800}
.asl-motion{margin:.2rem 0 .4rem}
html.high-contrast .asl-card{background:#fff!important;border-color:#000}
@media (max-width:420px){.asl-grid{grid-template-columns:1fr 1fr;gap:.55rem}.asl-hand{width:96px;height:96px}}

/* Talk board (AAC) – #board and Learn > Level 3 */
.bd-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;background:var(--surface);border:3px solid var(--sel);border-radius:var(--radius);padding:.6rem;margin-bottom:1rem;box-shadow:var(--shadow)}
.bd-items{flex:1 1 220px;display:flex;align-items:center;gap:.4rem;overflow-x:auto;min-height:84px;padding:.2rem}
.bd-chip{display:flex;flex-direction:column;align-items:center;flex:none;min-width:78px;padding:.3rem .45rem;border-radius:16px;font-weight:800;font-size:.95rem;text-align:center}
.bd-chip .ico{width:44px;height:44px}
.bd-plus{font-size:1.6rem;font-weight:800;color:var(--ink-soft);flex:none}
.bd-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.bd-actions .soft-btn[disabled]{opacity:.45;cursor:default}
.bd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem}
.bd-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;min-height:150px;padding:.6rem .4rem;border-radius:26px;border:3px solid rgba(74,85,99,.22);cursor:pointer;font:inherit;font-weight:800;font-size:1.25rem;color:var(--ink);box-shadow:var(--shadow);text-transform:none}
.bd-tile .bd-ico{width:84px;height:84px;display:block;background:#fff;border-radius:22px;padding:6px}.bd-tile .bd-ico svg{width:100%;height:100%}
.bd-tile.pulse{animation:pulse .6s ease}
.bd-me{background:#FFE58F}.bd-act{background:#BFE8B5}.bd-thing{background:#FFD3A8}.bd-feel{background:#F9C9DC}.bd-social{background:#BFDCF7}.bd-stop{background:#F7B1AE}
.bd-note{text-align:center;margin-top:1rem}
html.high-contrast .bd-tile,html.high-contrast .bd-chip{background:#fff;border-color:#000}
@media (max-width:420px){.bd-grid{grid-template-columns:1fr 1fr;gap:.6rem}.bd-tile{min-height:140px;font-size:1.2rem}.bd-actions{width:100%}.bd-actions .soft-btn{flex:1}}

/* parent guide: non-verbal / Level 3 letters */
.guide-lead{font-weight:700;font-size:1.08rem;background:var(--warn-soft);border-radius:var(--radius-sm);padding:.7rem .9rem;margin:.6rem 0}
.guide-acts .guide-list li{margin-bottom:.45rem}

/* Home: Level 3 quick buttons (talk board + ASL alphabet), first screen, every level */
.l3-quick{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;max-width:980px;margin:0 auto 1rem}
.l3-btn{flex:1 1 280px;display:flex;align-items:center;gap:.8rem;min-height:84px;padding:.6rem 1.1rem .6rem .7rem;border-radius:26px;text-decoration:none;color:#1F2933;font-weight:800;font-size:1.2rem;line-height:1.2;border:3px solid rgba(31,41,51,.18);box-shadow:0 4px 14px rgba(40,40,60,.16)}
.l3-btn:hover{filter:brightness(1.04)}
.l3-ico{flex:none;width:62px;height:62px;background:#fff;border-radius:18px;padding:5px;display:block}.l3-ico svg{width:100%;height:100%}
.l3-board{background:linear-gradient(110deg,#FFE58F 0%,#BFE8B5 55%,#BFDCF7 100%)}
.l3-abc{background:linear-gradient(110deg,#F9C9DC 0%,#EADFF7 55%,#FFD3A8 100%)}
.l3-quick + .home-hero.cover{margin-top:0}
html.simple-mode .l3-quick{order:-1}
html.high-contrast .l3-btn{background:#fff;border-color:#000}
@media (max-width:600px){
  .l3-quick{margin:-.4rem -.2rem .9rem;gap:.55rem}
  .l3-btn{flex-basis:100%;min-height:76px;font-size:1.12rem;padding:.5rem .9rem .5rem .55rem}
  .l3-ico{width:56px;height:56px}
}

/* Mobile nav: wrap into a grid so every menu item (incl. Learn) is visible – no hidden sideways scrolling.
   The header scrolls away on phones so the bigger menu does not cover the page. */
@media (max-width:600px){
  .site-header{position:static}
  .main-nav ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;padding:.45rem .5rem;overflow:visible}
  .main-nav li,html.simple-mode .main-nav li{min-width:0}
  .main-nav a{min-height:64px;padding:.3rem .15rem;font-size:.78rem;line-height:1.15;gap:.15rem;overflow-wrap:anywhere;hyphens:auto}
  .main-nav a .ico{width:30px;height:30px}
  html.simple-mode .main-nav a{min-height:76px;font-size:.84rem}
  html.simple-mode .main-nav a .ico{width:38px;height:38px}
}

/* ===== Level 3 communication games (js/l3games.js) + Level 2 games (js/l2games.js) ===== */
.l3-prompt{flex-wrap:wrap}
.l3-prompt .prompt-text{font-size:1.35rem;font-weight:800}
.l3-desc{font-size:1.2rem;font-weight:700;color:var(--accent-ink);width:100%}
.kid-box,.pet-box{width:min(300px,78vw);margin:.4rem auto .8rem;position:relative}
.kid-box svg,.pet-box svg{width:100%;height:auto;display:block}
.kid-yay{animation:kidYay .9s ease}
@keyframes kidYay{0%{transform:translateY(0)}30%{transform:translateY(-16px) scale(1.04)}60%{transform:translateY(0)}80%{transform:translateY(-6px)}100%{transform:none}}
.kid-heart{animation:heartUp 1.6s ease infinite}.kid-heart.h2{animation-delay:.5s}
@keyframes heartUp{0%{transform:translateY(6px);opacity:.3}50%{opacity:1}100%{transform:translateY(-10px);opacity:.3}}
.l3-choices{display:grid;gap:.7rem;grid-template-columns:repeat(2,minmax(0,1fr));max-width:640px;margin:0 auto}
.l3-choices.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.l3-choices.n4{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:700px){.l3-choices.n4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.l3-tile{min-height:150px}
.l3-choices.n3 .l3-tile{min-height:130px;font-size:1.05rem}.l3-choices.n3 .l3-tile .bd-ico{width:70px;height:70px}
.l3-tile.correct{border-color:var(--ok);box-shadow:0 0 0 5px var(--ok-soft),var(--shadow)}
.hint-glow{animation:glow 1.4s ease-in-out infinite;border-color:#F0CF5E!important}
@keyframes glow{0%,100%{box-shadow:0 0 0 0 rgba(240,207,94,.0),var(--shadow)}50%{box-shadow:0 0 0 8px rgba(240,207,94,.75),var(--shadow)}}
html.no-motion .hint-glow{box-shadow:0 0 0 6px rgba(240,207,94,.85)}
.wiggle{animation:wiggle .5s ease}
@keyframes wiggle{20%{transform:translateX(-6px) rotate(-2deg)}40%{transform:translateX(6px) rotate(2deg)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}
/* ask and play */
.ask-strip{justify-content:center}
.ask-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:96px;min-height:96px;border:3px dashed #B9C4D0;border-radius:18px;padding:.3rem;font-weight:800;text-align:center;background:#fff}
.ask-slot.filled{border-style:solid;border-color:rgba(74,85,99,.25)}
.ask-pic{width:56px;height:56px;display:block}.ask-pic svg{width:100%;height:100%}
.ask-slot.pop{animation:pulse .5s ease}
.ask-want{width:100%;max-width:640px;margin:0 auto .8rem;display:flex;flex-direction:row;min-height:96px;font-size:1.4rem}
.ask-want .bd-ico{width:72px;height:72px}
.toy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;max-width:640px;margin:0 auto}
.toy-tile{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.5rem .3rem;min-height:124px;border-radius:22px;border:3px solid rgba(74,85,99,.2);background:#FFF1E2;cursor:pointer;font:inherit;font-weight:800;font-size:.98rem;color:var(--ink);box-shadow:var(--shadow)}
.toy-tile:nth-child(3n+2){background:#EAF3FD}.toy-tile:nth-child(3n){background:#FBEAF3}
.toy-pic{width:78px;height:70px;display:block}.toy-pic svg{width:100%;height:100%}
.hint-glow-all .toy-tile{animation:glow 1.6s ease-in-out infinite}
.toy-stage{text-align:center}
.toy-big{width:min(320px,80vw);height:220px;margin:.2rem auto 1rem;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#FFF7D6 0,#FFFDF7 70%);border-radius:30px}
.toy-big svg{width:80%;height:80%}
.toy-big.go.anim-drive svg{animation:drive 1.6s ease}
.toy-big.go.anim-zoom svg{animation:drive 1s ease-in-out 2}
.toy-big.go.anim-bounce svg{animation:bounce .38s ease-in 4 alternate}
.toy-big.go.anim-float svg{animation:floaty 1.4s ease-in-out 2}
.toy-big.go.anim-wiggle svg{animation:wiggle .6s ease 2}
.toy-big.go.anim-beat svg{animation:pulse .3s ease 3}
.toy-big.go.anim-shine svg{animation:shine 1.6s ease}
@keyframes drive{0%{transform:translateX(0)}40%{transform:translateX(30%)}50%{transform:translateX(30%) }100%{transform:translateX(0)}}
@keyframes bounce{from{transform:translateY(-34px)}to{transform:translateY(10px)}}
@keyframes floaty{50%{transform:translateY(-18px) rotate(-3deg)}}
@keyframes shine{0%{transform:scale(.6);opacity:.2}60%{transform:scale(1.08);opacity:1}100%{transform:none}}
.ask-next{max-width:520px}
/* pet care */
.pet-layout{display:flex;flex-direction:column;align-items:center}
.pet-box.comb-on{touch-action:none;cursor:grab}
.comb-hint{position:absolute;right:4%;top:40%;width:70px;animation:combHint 1.6s ease-in-out infinite;pointer-events:none}
@keyframes combHint{50%{transform:translate(-60px,10px) rotate(-8deg)}}
.pet-tip{text-align:center}
.pet-bite{position:absolute;left:50%;top:70%;width:64px;transform:translate(-50%,0);animation:bite .9s ease forwards;pointer-events:none}
@keyframes bite{to{top:46%;transform:translate(-50%,0) scale(.4);opacity:0}}
.pet-opts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;width:100%;max-width:560px}
.pet-opt{display:flex;flex-direction:column;align-items:center;gap:.25rem;min-height:130px;padding:.5rem .3rem;border-radius:24px;border:3px solid rgba(74,85,99,.2);cursor:pointer;font:inherit;font-weight:800;color:var(--ink);background:#FDEBF3;box-shadow:var(--shadow)}
.pet-opt:nth-child(2){background:#EEE7FA}.pet-opt:nth-child(3){background:#E5F4E7}
.pet-opt-pic{width:84px;height:76px;display:block}.pet-opt-pic svg{width:100%;height:100%}
.pet-opt.correct{border-color:var(--ok)}
/* make it pretty */
.pretty-tabs{margin:.2rem 0 .6rem}
.bead-guide-row{display:flex;align-items:center;gap:.6rem;justify-content:center;flex-wrap:wrap;background:#FFF7FB;border-radius:18px;padding:.4rem .7rem;margin-bottom:.4rem}
.bead-guide{height:44px}.bead-guide svg{height:100%;width:auto}
.necklace{max-width:560px;margin:0 auto}.necklace svg{width:100%;height:auto}
.necklace.sparkle{animation:shine 1s ease}
.bead-next{animation:glowStroke 1.2s ease-in-out infinite}
@keyframes glowStroke{50%{stroke-width:5}}
.bead-palette{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-top:.6rem}
.bead-btn{width:76px;height:76px;border-radius:50%;border:3px solid rgba(74,85,99,.3);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow)}
.bead-dot{width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff 0,#fff 12%,var(--bead) 14%);border:2px solid #4A5563}
.deco-pics{justify-content:center}
.deco-canvas{max-width:420px;margin:.4rem auto;border-radius:24px;overflow:hidden;border:3px solid var(--line);background:#FFFDF7;touch-action:manipulation}
.deco-canvas svg{width:100%;height:auto;display:block;cursor:pointer}
.deco-tools{max-width:560px;margin:0 auto;text-align:center}
.deco-tools .note{margin:.4rem 0 .2rem;font-weight:700}
.deco-swatches,.deco-stamps{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:center}
.deco-sw{width:48px;height:48px;border-radius:50%;border:3px solid rgba(74,85,99,.35);cursor:pointer}
.deco-sw[aria-pressed="true"],.deco-stamp[aria-pressed="true"]{box-shadow:0 0 0 4px var(--sel);transform:scale(1.08)}
.deco-stamp{width:56px;height:56px;border-radius:16px;border:3px solid rgba(74,85,99,.25);background:#fff;cursor:pointer;padding:4px}.deco-stamp svg{width:100%;height:100%}
.l3g-tile .huge-lbl{font-size:1.3rem}

/* ===== Say it with me (js/saygame.js) ===== */
.say-parent-row{display:flex;justify-content:flex-end;margin:.2rem 0 .4rem}
.say-panel{background:#FFFDF7;border:2px solid var(--line);border-radius:20px;padding:.6rem .8rem;margin-bottom:.8rem}
.say-panel-h{font-weight:800;margin:.3rem 0}
.say-toggles{display:flex;flex-wrap:wrap;gap:.45rem}
.say-toggle{display:flex;align-items:center;gap:.35rem;min-height:52px;padding:.3rem .7rem .3rem .4rem;border-radius:999px;border:3px solid rgba(74,85,99,.25);background:#F2F4F7;font:inherit;font-weight:800;color:var(--ink);cursor:pointer;opacity:.6}
.say-toggle[aria-pressed="true"]{background:#E5F4E7;border-color:var(--ok);opacity:1}
.say-tg-ico{width:36px;height:36px;display:block}.say-tg-ico svg{width:100%;height:100%}
.say-card{display:flex;align-items:center;justify-content:center;gap:.8rem;background:#FFF7FB;border-radius:24px;padding:.5rem .8rem;max-width:520px;margin:0 auto .4rem}
.say-pic{width:96px;height:96px;flex:none;background:#fff;border-radius:20px;padding:6px;box-shadow:var(--shadow)}.say-pic svg{width:100%;height:100%}
.say-word{font-size:clamp(2.3rem,11vw,3.4rem);font-weight:900;margin:0;line-height:1.05;color:var(--ink);word-break:break-word}
.say-word.say-pulse{animation:pulse .4s ease}
.say-face{position:relative;width:min(200px,52vw);margin:.2rem auto}.say-face svg{width:100%;height:auto;display:block}
.say-burst{position:absolute;inset:0;pointer-events:none}.say-burst svg{width:100%;height:100%}
.say-burst.go .say-star{animation:shine 1s ease both}
.say-status{text-align:center;font-weight:800;font-size:1.15rem;color:var(--accent-ink);min-height:1.6em;margin:.2rem 0 .5rem}
.say-actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;max-width:560px;margin:0 auto}
.say-again{grid-column:1 / -1;justify-self:center}
.say-mic,.say-tried{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;min-height:150px;border-radius:28px;border:3px solid rgba(74,85,99,.25);font:inherit;font-weight:900;font-size:1.25rem;color:var(--ink);cursor:pointer;box-shadow:var(--shadow);padding:.5rem}
.say-mic{background:#DDEBF5}.say-tried{background:#FFF1C9}
.say-mic-ico,.say-tried-ico{width:64px;height:64px;display:block}.say-mic-ico svg,.say-tried-ico svg{width:100%;height:100%}
.say-mic.on{background:#CDEBD2;border-color:var(--ok);animation:glow 1.4s ease-in-out infinite}
.say-meter{display:block;width:80%;height:10px;border-radius:6px;background:rgba(74,85,99,.12);overflow:hidden}
.say-meter-fill{display:block;height:100%;width:0;background:var(--ok);transition:width .1s}
.say-mic:disabled,.say-tried:disabled{opacity:.6}
.say-privacy{text-align:center;font-size:.9rem;margin-top:.6rem}
.say-next{text-align:center;margin-top:.6rem}
/* ===== Car wash + Unicorn rainbow (js/l2games2.js) ===== */
.cw-box,.uni-box{position:relative;width:min(520px,100%);margin:.3rem auto .5rem}
.cw-box svg,.uni-box svg{width:100%;height:auto;display:block}
.cw-box.comb-on,.uni-box.comb-on{touch-action:none}
.cw-tool{position:absolute;right:4%;top:30%;width:76px;pointer-events:none}
.cw-tool:not(.comb-hint){display:none}
.cw-shine{animation:twinkle 1.2s ease-in-out infinite}
@keyframes twinkle{50%{opacity:.35}}
.cw-wait{width:min(260px,70vw);margin:.2rem auto .6rem}.cw-wait svg{width:100%;height:auto;display:block}
.cw-wait.cw-gone{opacity:.15;transition:opacity .4s}
.cw-lot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;max-width:560px;margin:0 auto}
.cw-spot{min-height:120px;border-radius:20px;border:5px dashed var(--spot);background:#EEF1F4;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.3rem;box-shadow:var(--shadow)}
.cw-spot.full{border-style:solid;background:#fff}
.cw-spot svg{width:100%;height:auto}
.cw-p{font-size:2.6rem;font-weight:900;color:var(--spot);text-shadow:0 0 1px #4A5563}
.cw-spot.cw-in svg{animation:driveIn .7s ease-out}
@keyframes driveIn{from{transform:translateX(-40%);opacity:.3}to{transform:none;opacity:1}}
.uni-box.sparkle{animation:shine 1s ease}
.rb-next{animation:glowStroke 1.2s ease-in-out infinite}
.uni-pal .bead-btn.used{opacity:.45}
.uni-deco{cursor:copy;touch-action:manipulation;border-radius:20px;overflow:hidden}
.uni-done{margin-top:.6rem}
html.no-motion .say-mic.on{animation:none}
