/* Cozy Colours play worlds (hub cards + /play/<world>/ pages). Rounded pastel cards, centred text, Chewy titles. */
:root{--pw-bg1:#fff1df;--pw-bg2:#ffe1e1;--pw-acc:#e2734e}
html:root body:not(.pw-x) :is(.pw h1,.pw h2,.pw-cards h2,.pw-card-t,.pw-up-h,.rw-gift-h,.pw-reward h2,.pw-win-h,.pw-cert-h,.pw-cert-who,.pw-cert-tag,.pw-book-t){font-family:"Chewy","Nunito",sans-serif!important;font-weight:400!important;letter-spacing:.01em}
html:root body:not(.pw-x) :is(.pw h2,.pw-cards h2){color:#d6336c!important}
html:root body:not(.pw-x) .pw-hero h1{color:var(--pw-acc)!important}
.pw .section{text-align:center}
.pw-hero{max-width:980px!important;margin:1rem auto!important;border-radius:28px;overflow:hidden;background:linear-gradient(135deg,var(--pw-bg1),var(--pw-bg2));box-shadow:0 10px 30px rgba(120,80,60,.12);padding:0!important}
.pw-hero-art{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.pw-hero-txt{padding:1rem 1.2rem 1.4rem}
.pw-hero h1{font-size:clamp(2rem,6vw,3rem);color:var(--pw-acc)!important;margin:.2rem 0 .3rem}
.pw-hero .lead{max-width:36em;margin:0 auto .8rem}
.pw-badge{display:inline-block;background:#fff;color:var(--pw-acc);border-radius:999px;padding:.15rem .7rem;font-size:.85rem;font-weight:600}
.pw-up{max-width:760px;margin:1.2rem auto;display:flex;gap:1rem;align-items:center;justify-content:center;flex-wrap:wrap;background:linear-gradient(135deg,var(--pw-bg2),var(--pw-bg1));border-radius:24px;padding:1rem;box-shadow:0 6px 18px rgba(120,80,60,.08);text-align:center}
.pw-up-cover{width:120px;height:auto;max-height:160px;object-fit:contain;border-radius:12px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.pw-up-txt{flex:1 1 260px}.pw-up-txt p{margin:.25rem 0}
.pw-up-h{font-size:1.35rem;color:var(--pw-acc)}
.pw-price{display:inline-block;background:#fff;border-radius:999px;padding:.1rem .7rem;font-size:.9rem;color:var(--ink-soft,#6b5a52);margin:.2rem 0 .4rem}
.pw-up-also{font-size:.9rem}
.pw-games{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem}
@media(min-width:600px){.pw-games{grid-template-columns:repeat(3,1fr)}}
.pw-g{position:relative;display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.9rem .4rem;border-radius:20px;text-decoration:none;color:var(--ink,#4a3b34)!important;font-weight:600;font-family:Fredoka,sans-serif}
.pw-g:nth-child(6n+1){background:#ffe3ea}.pw-g:nth-child(6n+2){background:#ffe9d6}.pw-g:nth-child(6n+3){background:#fff6c9}.pw-g:nth-child(6n+4){background:#dff5e6}.pw-g:nth-child(6n+5){background:#ddefff}.pw-g:nth-child(6n){background:#ece4ff}
.pw-g-i{font-size:1.9rem}.pw-g-n{position:absolute;top:.4rem;left:.55rem;width:1.5rem;height:1.5rem;border-radius:50%;background:#fff;color:var(--pw-acc);font-size:.8rem;line-height:1.5rem}
.pw-reward-note{margin:.8rem 0 0;color:var(--ink-soft,#6b5a52)}
.pw-gal{font-size:.92rem;color:var(--ink-soft,#6b5a52);margin:.6rem 0 0}
.pw-win{margin:1rem auto 0;max-width:520px;background:linear-gradient(135deg,#fff6c9,#ffe3ea);border-radius:20px;padding:.9rem;text-align:center;animation:pwpop .45s ease}
.pw-win-h{font-size:1.5rem;color:var(--pw-acc);margin:0}
@keyframes pwpop{0%{transform:scale(.85);opacity:0}70%{transform:scale(1.03)}100%{transform:none;opacity:1}}
.d-stage{max-width:420px;margin:0 auto;background:#fffdf7;border-radius:20px;box-shadow:inset 0 0 0 2px #f3e6da}
#d-svg{display:block;width:100%;height:auto;touch-action:manipulation}
.d-fill{fill:transparent;transition:fill .6s}.d-fill.on{fill:var(--pw-bg2)}
.d-line{stroke:var(--pw-acc);stroke-width:1.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.d-dot circle{fill:#c9bdb5}.d-dot.next circle{fill:var(--pw-acc)}.d-dot.done circle{fill:#5cbf6a}.d-dot circle.d-hit{fill:transparent}
.d-dot text{font-size:3.8px;fill:#6b5a52;font-family:Fredoka,sans-serif;pointer-events:none}.d-dot.next text{fill:var(--pw-acc);font-weight:600}
.d-dot:focus{outline:none}.d-dot:focus circle:not(.d-hit){stroke:#2f9fd8;stroke-width:.6}
.d-hit{fill:transparent;cursor:pointer}
.pw-cert-name{display:flex;gap:.5rem;justify-content:center;align-items:center;flex-wrap:wrap;margin:.4rem 0 .8rem}
.pw-cert-name input{font:inherit;padding:.4rem .6rem;border-radius:12px;border:2px solid var(--pw-bg2)}
.pw-cert{max-width:520px;margin:0 auto 1rem;padding:1.2rem;border-radius:24px;background:#fff;border:6px solid var(--pw-bg2);box-shadow:0 0 0 6px var(--pw-bg1);text-align:center}
.pw-cert p{margin:.2rem 0}.pw-cert-top{color:var(--pw-acc);font-weight:600}
.pw-cert-h{font-size:1.7rem;color:var(--pw-acc)}.pw-cert-who{font-size:2rem;color:#d6336c}
.pw-cert-list{list-style:none;padding:0;margin:.6rem 0;display:flex;flex-wrap:wrap;gap:.35rem;justify-content:center}
.pw-cert-list li{padding:.15rem .6rem;border-radius:999px;background:#f4efe9;color:#9a8a80;font-size:.85rem}
.pw-cert-list li.got{background:#dff5e6;color:#2f7a45}.pw-cert-list li.got::before{content:"⭐ "}
.pw-cert-count,.pw-cert-date{font-size:.85rem;color:#8a7a70}.pw-cert-tag{font-family:Chewy,sans-serif;color:var(--pw-acc)}
.pw-more{font-weight:600;color:var(--pw-acc)!important}
/* world cards (hub + more worlds) */
.pw-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem;margin:1rem 0}
.pw-card{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 6px 18px rgba(120,80,60,.1);text-decoration:none;color:var(--ink,#4a3b34)!important;padding-bottom:1rem;transition:transform .2s}
.pw-card:hover{transform:translateY(-3px)}
.pw-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.pw-card-t{font-size:1.4rem;margin:.6rem .8rem .1rem;color:var(--c,#d6336c)}
.pw-card-l{margin:0 .9rem .6rem;color:var(--ink-soft,#6b5a52);font-size:.95rem}
.pw-card .btn{margin-top:auto}
.pw-card-b{position:absolute;top:.6rem;left:.6rem;background:#fff;border-radius:999px;padding:.1rem .6rem;font-size:.8rem;color:var(--c,#d6336c)}
.pw-card{position:relative}
.pw-card--sm .pw-card-t{font-size:1.15rem}.pw-card--sm .pw-card-l{font-size:.85rem}
.pw-book{display:flex;flex-direction:column;align-items:center;gap:.3rem;text-decoration:none;color:var(--ink,#4a3b34)!important;background:#fff;border-radius:20px;padding:.7rem;box-shadow:0 4px 14px rgba(120,80,60,.08);text-align:center}
.pw-book img{width:100%;height:180px;object-fit:contain}
.pw-hint{display:none;font-size:.85rem;color:var(--ink-soft,#6b5a52)}
@media(max-width:700px){
 .pw-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:.8rem;padding:.2rem .2rem 1rem;margin:.6rem -.4rem;-webkit-overflow-scrolling:touch}
 .pw-row>*{flex:0 0 82%;scroll-snap-align:start}
 .pw-row--books>*{flex-basis:58%}
 .pw-hint{display:block}
}
@media(min-width:900px){.pw-cards .pw-row{grid-template-columns:repeat(3,1fr)}.pw-cards .pw-card--feat{grid-column:span 2;grid-row:span 2}.pw-cards .pw-card--feat .pw-card-t{font-size:2rem}.pw-cards .pw-card--feat{justify-content:center;background:linear-gradient(180deg,#fff7ec,#fff)}}
.pw-cards{max-width:1040px!important;text-align:center}
.pw-cards h2{font-size:2rem;color:#d6336c}
/* reward dialog */
.pw-reward{border:0;border-radius:28px;padding:1.2rem 1.1rem 1rem;max-width:min(520px,94vw);max-height:92vh;overflow:auto;text-align:center;background:linear-gradient(160deg,#fff7e8,#ffe9f0 60%,#e8f6ff);box-shadow:0 20px 60px rgba(80,40,30,.25);color:var(--ink,#4a3b34)}
.pw-reward::backdrop{background:rgba(70,40,40,.45)}
.pw-reward h2{font-size:2.2rem;color:#d6336c;margin:.1rem 0}
.rw-star{font-size:2.6rem;margin:0;animation:pwpop .6s ease}
.rw-sub{margin:.2rem 0 .8rem}
.rw-x{position:absolute;top:.5rem;right:.7rem;border:0;background:#fff;border-radius:50%;width:2.2rem;height:2.2rem;font-size:1.4rem;line-height:1;cursor:pointer;color:#8a6a60}
.rw-gift{display:flex;gap:.8rem;align-items:center;background:#fff;border-radius:20px;padding:.7rem;margin:.4rem 0 .8rem;text-align:center}
.rw-gift img{width:96px;height:auto;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.1);transform:rotate(-3deg)}
.rw-gift>div{flex:1}.rw-gift p{margin:.2rem 0}.rw-gift-h{font-size:1.3rem;color:#d6336c}
.rw-form{display:grid;gap:.35rem;text-align:left}
.rw-form .rw-ask,.rw-form .privacy-line,.rw-form .form-msg,.rw-form button{text-align:center;justify-self:center}
.rw-form input[type=text],.rw-form input[type=email]{font:inherit;padding:.55rem .7rem;border-radius:12px;border:2px solid #f7c6d3;background:#fff}
.rw-form .consent{display:flex;gap:.5rem;align-items:flex-start;font-size:.85rem}
.rw-form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.rw-thanks{text-align:center}
.rw-up{margin-top:.8rem;background:#fff;border-radius:18px;padding:.6rem}
.rw-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:28px}
.rw-confetti i{position:absolute;top:-12px;width:8px;height:12px;border-radius:2px;animation:rwfall 1.8s ease-in forwards;opacity:.9}
@keyframes rwfall{to{top:105%;opacity:.2}}
@media print{body *{visibility:hidden!important}#cert-sheet,#cert-sheet *{visibility:visible!important}#cert-sheet{position:fixed;inset:0;margin:auto;max-width:none;box-shadow:none}}
.pw-reward [hidden],.pw [hidden]{display:none!important}
/* ===== v2: brighter pastel rainbow, colourful buttons, sparkles (play-worlds 2026-11) ===== */
main.act{position:relative;background:
 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='%23ffb3c7' opacity='.55'%3E%3Cpath d='M30 20l3 8 8 3-8 3-3 8-3-8-8-3 8-3z'/%3E%3C/g%3E%3Cg fill='%2399e2c4' opacity='.6'%3E%3Cpath d='M170 90l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3C/g%3E%3Cg fill='%23ffd27a' opacity='.6'%3E%3Cpath d='M95 170l2.5 7 7 2.5-7 2.5-2.5 7-2.5-7-7-2.5 7-2.5z'/%3E%3C/g%3E%3Ccircle cx='200' cy='30' r='3' fill='%23b9a5f5' opacity='.5'/%3E%3Ccircle cx='60' cy='120' r='2.5' fill='%238fd0ff' opacity='.5'/%3E%3C/svg%3E"),
 linear-gradient(180deg,#ffeef3 0,#fff3e4 22%,#fffbe0 40%,#eafaf1 60%,#e8f3ff 80%,#f3ecff 100%)!important;padding-bottom:2rem}
main.act>.section,main.act>section{position:relative}
.act .act-box{background:#fff!important;border-radius:28px!important;box-shadow:0 8px 24px rgba(214,51,108,.09),0 0 0 3px rgba(255,255,255,.7)!important;padding:1.3rem 1rem 1.2rem!important;overflow:hidden;position:relative}
.act .act-box::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:linear-gradient(90deg,#ff8fa3,#ffb26b,#ffe27a,#8fe3b0,#8fd0ff,#b9a5f5)}
html:root body:not(.pw-x) .act .act-box h2{font-family:"Chewy","Nunito",sans-serif!important;font-weight:400!important;color:#ff6f61!important;font-size:clamp(1.7rem,4vw,2.2rem)}
html:root body:not(.pw-x) .act .act-box:nth-of-type(3n+1) h2{color:#ff6f61!important}
html:root body:not(.pw-x) .act .act-box:nth-of-type(3n+2) h2{color:#2bb58a!important}
html:root body:not(.pw-x) .act .act-box:nth-of-type(3n) h2{color:#8a63e8!important}
/* colourful buttons */
html:root body:not(.pw-x) .act .btn{border-radius:999px!important;border:0!important;color:#fff!important;font-weight:700!important;background-image:linear-gradient(135deg,#ff8a7a,#f76d8f)!important;background-color:#f76d8f!important;box-shadow:0 5px 14px rgba(247,109,143,.28)!important;transition:transform .15s,box-shadow .15s}
html:root body:not(.pw-x) .act .btn:hover{transform:translateY(-2px)}
html:root body:not(.pw-x) .act .btn.btn-ghost{background-image:linear-gradient(135deg,#7fdcb4,#4fc3a1)!important;background-color:#4fc3a1!important;box-shadow:0 5px 14px rgba(79,195,161,.28)!important}
html:root body:not(.pw-x) .act .c-tools .btn,html:root body:not(.pw-x) .act .c-actions .btn:nth-child(3n+2){background-image:linear-gradient(135deg,#9fc8ff,#7aa8f7)!important}
html:root body:not(.pw-x) .act .c-actions .btn:nth-child(3n){background-image:linear-gradient(135deg,#c3a8ff,#9c7cf0)!important}
html:root body:not(.pw-x) .act .c-tools [aria-pressed=true]{background-image:linear-gradient(135deg,#ff8a7a,#f76d8f)!important;outline:3px solid #ffd6df}
.act .act-ctrl select{border:2px solid #ffc2d1;border-radius:999px;padding:.45rem .9rem;background:#fff7fa}
/* hero */
.pw-hero{background:linear-gradient(135deg,#ffe3ec,#fff1d6 45%,#dcf7ea)!important;box-shadow:0 14px 34px rgba(214,51,108,.14)!important;position:relative}
.pw-hero::after{content:"✨";position:absolute;right:14px;bottom:12px;font-size:1.4rem;opacity:.8;animation:pwtw 3s ease-in-out infinite}
.pw-hero-txt::before{content:"✨";position:absolute;left:14px;margin-top:-.2rem;font-size:1.1rem;opacity:.7;animation:pwtw 3.6s ease-in-out infinite .8s}
@keyframes pwtw{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:.9;transform:scale(1.1)}}
@media (prefers-reduced-motion:reduce){.pw-hero::after,.pw-hero-txt::before{animation:none}}
.pw-hero-art{object-fit:contain!important;background:#fff}
.pw-g{box-shadow:0 4px 12px rgba(120,80,60,.08);transition:transform .15s}.pw-g:hover{transform:translateY(-3px) rotate(-1deg)}
.pw-g:nth-child(6n+1){background:#ffd6e0}.pw-g:nth-child(6n+2){background:#ffe2c4}.pw-g:nth-child(6n+3){background:#fff1a8}.pw-g:nth-child(6n+4){background:#c9f2dc}.pw-g:nth-child(6n+5){background:#cfe6ff}.pw-g:nth-child(6n){background:#e3d8ff}
.pw-up{background:linear-gradient(135deg,#ffe3ec,#fff6d6 50%,#dff6ec)!important}
/* cards */
.pw-card{border-radius:26px!important;box-shadow:0 8px 22px rgba(214,51,108,.1)!important;border:3px solid #fff;transition:transform .2s,box-shadow .2s}
.pw-card:nth-child(6n+1){background:#fff0f3}.pw-card:nth-child(6n+2){background:#fff4e6}.pw-card:nth-child(6n+3){background:#fffbe3}.pw-card:nth-child(6n+4){background:#ebfaf2}.pw-card:nth-child(6n+5){background:#eaf4ff}.pw-card:nth-child(6n){background:#f3eeff}
.pw-card:hover{transform:translateY(-4px) rotate(-.5deg);box-shadow:0 12px 26px rgba(214,51,108,.16)!important}
.pw-cards .pw-card--feat{background:linear-gradient(180deg,#ffe8d6,#fff0f3)!important}
.pw-card img{object-fit:contain!important;background:#fff}
/* strip band on hub */
.pw-strip{max-width:1100px;margin:1rem auto .4rem;padding:0 3vw}
.pw-strip img{display:block;width:100%;height:auto;border-radius:24px;box-shadow:0 8px 22px rgba(214,51,108,.12)}
/* word search */
.w-grid{touch-action:none;user-select:none;-webkit-user-select:none;max-width:480px}
.w-grid button{transition:background .15s}
.w-grid button.found{background:#c9f2dc!important;color:#1f6f4f}
.w-grid button.sel{background:#ffe27a!important}
@media(max-width:520px){.w-grid{gap:2px}.w-grid button{font-size:clamp(.7rem,calc(60vw / var(--wn,10)),1.05rem);border-radius:4px}}
.w-list li{padding:.15rem .6rem;border-radius:999px;background:#fff4e6}
.w-list li.found{background:#c9f2dc}
/* holiday hunt */
.h-stage{position:relative;max-width:640px;margin:0 auto;border-radius:22px;overflow:hidden;box-shadow:inset 0 0 0 3px #ffd6e0;touch-action:manipulation}
.h-stage img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.h-item{position:absolute;width:max(46px,9%);aspect-ratio:1;margin:0;padding:0;border:0;background:transparent;font-size:clamp(1.2rem,4.6vw,2rem);line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25));-webkit-tap-highlight-color:transparent}
.h-item.found{background:rgba(255,255,255,.75);border-radius:50%;box-shadow:0 0 0 3px #4fc3a1;animation:pwpop .4s ease}
.h-item:focus-visible{outline:3px solid #8a63e8;border-radius:50%}
.h-list .found{text-decoration:line-through}
/* v2 button colours (beat redesign.css terra) */
html:root body:not(.pw-x) main.act .btn:not(.btn-ghost):not(.btn-amz),html:root body:not(.pw-x) main.act .btn-buy{background:linear-gradient(135deg,#ff8a7a,#f76d8f)!important;color:#fff!important;border-radius:999px!important;box-shadow:0 5px 14px rgba(247,109,143,.28)!important}
html:root body:not(.pw-x) main.act .btn.btn-ghost{background:linear-gradient(135deg,#7fdcb4,#4fc3a1)!important;color:#fff!important;border-radius:999px!important;border:0!important}
html:root body:not(.pw-x) main.act .pw-card:nth-child(3n+2) .btn{background:linear-gradient(135deg,#7fdcb4,#3fb893)!important;box-shadow:0 5px 14px rgba(63,184,147,.28)!important}
html:root body:not(.pw-x) main.act .pw-card:nth-child(3n) .btn{background:linear-gradient(135deg,#b59cff,#8a63e8)!important;box-shadow:0 5px 14px rgba(138,99,232,.28)!important}
html:root body:not(.pw-x) main.act .c-tools .btn:not([aria-pressed=true]){background:linear-gradient(135deg,#9fc8ff,#6f9ef2)!important}
html:root body:not(.pw-x) main.act .btn:hover{filter:brightness(1.05);transform:translateY(-2px)}
/* ===== paper texture layer (physical colouring-book feel) ===== */
body::after{content:"";position:fixed;inset:0;z-index:90;pointer-events:none;opacity:.05;mix-blend-mode:multiply;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .2 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");background-size:160px 160px}
@media print{body::after{display:none}}
/* warm paper cards */
html:root body :is(.card,.pw-card,.pw-book,.cc-w,.act-box,.pw-up,.cc-play,.rd-panel,.pw-cert){border:1.5px solid #efdcc4!important;box-shadow:0 1px 0 #fff inset,0 6px 18px rgba(120,80,40,.10)!important}
html:root body :is(.card,.pw-card,.cc-w):hover{box-shadow:0 1px 0 #fff inset,0 10px 24px rgba(120,80,40,.14)!important}
html:root body .btn{box-shadow:0 3px 10px rgba(120,80,40,.14)!important}
html:root body .pw-hero{border:1.5px solid #efdcc4;box-shadow:0 10px 28px rgba(120,80,40,.12)!important}
/* tape corners on feature cards only */
.pw-card--feat::after,.cc-hero::after{content:"";position:absolute;top:-6px;left:50%;width:96px;height:24px;margin-left:-48px;transform:rotate(-2.5deg);background:rgba(255,236,190,.78);border-left:1px dashed rgba(200,160,110,.35);border-right:1px dashed rgba(200,160,110,.35);box-shadow:0 1px 3px rgba(120,80,40,.12);z-index:3;pointer-events:none}
.pw-card--feat{overflow:visible!important}.pw-card--feat img{border-radius:24px 24px 0 0}
/* gentle botanical sprigs behind key sections */
.act-box::after,.cc-play::after,.pw-cards::after,.cc-hero::before{content:"";position:absolute;pointer-events:none;z-index:0;width:150px;height:150px;opacity:.13;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M15 92C40 70 55 45 62 8' stroke='%2378a65a' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3Cg fill='%2378a65a'%3E%3Cpath d='M30 76c-12-2-18-10-18-18 10 0 17 7 18 18z'/%3E%3Cpath d='M33 72c10-7 20-6 26-1-7 7-17 8-26 1z'/%3E%3Cpath d='M45 54c-11-4-15-13-13-21 9 2 15 10 13 21z'/%3E%3Cpath d='M49 50c9-8 19-9 25-5-6 8-16 10-25 5z'/%3E%3Cpath d='M57 30c-9-6-11-14-8-21 8 3 12 12 8 21z'/%3E%3C/g%3E%3Ccircle cx='70' cy='60' r='5' fill='%23f7a8a0'/%3E%3Ccircle cx='22' cy='45' r='3.5' fill='%23ffd27a'/%3E%3C/svg%3E")}
.act-box::after{right:-22px;bottom:-24px}
.act-box:nth-of-type(2n)::after{right:auto;left:-22px;transform:scaleX(-1)}
.cc-play,.pw-cards{position:relative}
.cc-play::after{left:-18px;bottom:-20px;width:170px;height:170px}
.pw-cards::after{right:-10px;top:-30px;transform:rotate(18deg)}
.cc-hero::before{right:4%;bottom:-18px;width:160px;height:160px;opacity:.16;transform:scaleX(-1)}
.act-box>*,.cc-play>*,.pw-cards>*{position:relative;z-index:1}
.act-box>.pw-reward{position:fixed}
/* soft blob instead of flat block behind play area */
.cc-play{background:radial-gradient(ellipse at 8% 10%,rgba(255,214,224,.55),transparent 40%),radial-gradient(ellipse at 95% 90%,rgba(201,242,220,.6),transparent 45%),#fffaf2!important}
@media (max-width:700px){.act-box::after,.cc-play::after,.pw-cards::after,.cc-hero::before{width:100px;height:100px;opacity:.1}}
/* ===== steering 5: presence, paper-on-paper, soft buttons, characters ===== */
/* paper-on-paper tiles: lifted sheet + faint offset second sheet, same everywhere */
html:root body :is(.card,.pw-card,.pw-book,.cc-w,.rd-door){border:1.5px solid #ecd6ba!important;box-shadow:0 1px 0 #fff inset,6px 7px 0 -1px #fbf3e6,6px 7px 0 .5px #e8d1b2,0 10px 22px rgba(120,80,40,.10),0 2px 4px rgba(120,80,40,.06)!important;transition:transform .18s ease,box-shadow .18s ease}
html:root body :is(.card,.pw-card,.pw-book,.cc-w,.rd-door):hover{transform:translateY(-3px);box-shadow:0 1px 0 #fff inset,7px 9px 0 -1px #fbf3e6,7px 9px 0 .5px #e8d1b2,0 14px 28px rgba(120,80,40,.13),0 3px 6px rgba(120,80,40,.07)!important}
@media (prefers-reduced-motion:reduce){html:root body :is(.card,.pw-card,.pw-book,.cc-w,.rd-door):hover{transform:none}}
.cc-worlds{padding-bottom:12px!important;padding-right:10px!important}
/* soft terracotta pills: gentle gradient + inner top highlight */
html:root body:not(.pw-x) main:not(.act) .btn-buy,html:root body:not(.pw-x) main:not(.act) .btn:not(.btn-ghost):not(.btn-amz):not(.cc-cta1):not(.cc-cta2):not(.cc-big),html:root body:not(.pw-x) .rd-door .rd-btn{background-color:#ab6243!important;background-image:linear-gradient(180deg,#dc9370 0%,#cc7752 52%,#b9643f 100%)!important;color:#fff!important;font-weight:700!important;border-radius:999px!important;border:1px solid #b25f3c!important;text-shadow:0 1px 0 rgba(120,60,30,.25);box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -2px 0 rgba(120,60,30,.12),0 4px 10px rgba(120,80,40,.16)!important}
html:root body:not(.pw-x) main:not(.act) .btn-buy:hover,html:root body:not(.pw-x) main:not(.act) .btn:not(.btn-ghost):not(.btn-amz):not(.cc-cta1):not(.cc-cta2):hover{filter:brightness(1.05)}
html:root body:not(.pw-x) main.act .btn:not(.btn-ghost):not(.btn-amz),html:root body:not(.pw-x) main.act .btn-buy,html:root body:not(.pw-x) main#top a.btn.cc-cta1{box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 5px 14px rgba(120,80,40,.16)!important}
/* age-group doors: presence + character over the card */
.rd-doors{gap:2rem!important}
html:root body .rd-door{overflow:visible!important;border-radius:26px!important;background:#fffdf8!important}
.rd-door .rd-covers{border-radius:24px 24px 0 0;overflow:hidden}
.rd-door .rd-door-body{position:relative;padding:1.6rem 1.8rem 1.8rem!important;gap:.55rem!important}
.rd-door .rd-door-body p{max-width:34em}
.cc-door-char{position:absolute;right:10px;top:-112px;width:118px;height:auto;z-index:2;pointer-events:none;filter:drop-shadow(0 6px 8px rgba(120,80,40,.22));transform:rotate(4deg);transition:transform .25s ease}
.rd-door--calm .cc-door-char{width:136px;top:-92px;transform:rotate(-3deg)}
.rd-door:hover .cc-door-char{transform:rotate(0) translateY(-4px)}
/* Mimi peeking beside section headings, Ziggy by Christmas */
:is(#products>h2,#children-h,#best>h2,#young-h,#bundles-h,.rd-zone--little .rd-zone-title)::after{content:"";display:inline-block;width:44px;height:47px;margin:0 0 -4px .45em;vertical-align:baseline;background:url(/assets/img/chars/mimi.webp) center/contain no-repeat;transform:rotate(8deg)}
#seasonal-h::after{content:"";display:inline-block;width:40px;height:52px;margin:0 0 -6px .45em;vertical-align:baseline;background:url(/assets/img/chars/ziggy.webp) center/contain no-repeat;transform:rotate(-6deg)}
/* Hazel by the Play block */
html:root body .cc-play{overflow:visible!important}
html:root body .cc-play .cc-hazel{position:absolute;right:2%;top:-26px;width:118px;height:auto;z-index:2;pointer-events:none;filter:drop-shadow(0 6px 8px rgba(120,80,40,.2));transform:rotate(5deg)}
/* Ziggy in Christmas world upsell */
html:root body .pw-up{position:relative;overflow:visible!important}
html:root body .pw-up .cc-up-ziggy{position:absolute;right:-8px;top:-34px;width:66px;height:auto;z-index:2;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(120,80,40,.2));transform:rotate(8deg)}
/* empty state + footer cut-outs */
.g-empty .cc-empty-char{display:block;width:96px;height:auto;margin:0 auto .4rem}
.cc-foot-chars{display:flex;justify-content:center;align-items:flex-end;gap:14px;margin:0 auto .6rem}
.cc-foot-chars img{height:58px;width:auto;filter:drop-shadow(0 3px 4px rgba(120,80,40,.18))}
.cc-foot-chars img:nth-child(2n){transform:rotate(-5deg)}.cc-foot-chars img:nth-child(2n+1){transform:rotate(4deg)}
@media (max-width:700px){
 .cc-door-char{width:92px;top:-88px;right:6px}.rd-door--calm .cc-door-char{width:104px;top:-72px}
 .rd-door .rd-door-body{padding:1.3rem 1.2rem 1.5rem!important}
 html:root body .cc-play .cc-hazel{width:78px;top:-20px;right:1%}
 :is(#products>h2,#children-h,#best>h2,#young-h,#bundles-h,.rd-zone--little .rd-zone-title)::after{width:34px;height:36px}
 #seasonal-h::after{width:30px;height:40px}
 .cc-foot-chars img{height:46px}
}
/* s5 fix: door characters sit on the card's lower outer corner */
.cc-door-char{top:auto!important;bottom:10px;right:-22px;width:112px!important;transform:rotate(5deg)}
.rd-door--little .cc-door-char{right:auto;left:-22px;transform:rotate(-5deg)}
.rd-door--calm .cc-door-char{width:132px!important;right:-26px;bottom:6px;transform:rotate(4deg)}
.rd-door .rd-door-body{padding-left:5.4rem!important;padding-right:5.4rem!important}
@media (max-width:700px){.cc-door-char{width:74px!important;bottom:8px;right:-10px}.rd-door--little .cc-door-char{left:-10px}.rd-door--calm .cc-door-char{width:86px!important;right:-12px}
 .rd-door .rd-door-body{padding-left:3.6rem!important;padding-right:3.6rem!important}}
html:root body .cc-play-btns .btn{margin:0!important}
@media (max-width:700px){html:root body .rd-door .rd-door-body{padding:1.3rem 1.2rem 4.6rem!important}
 .cc-door-char{width:70px!important;bottom:8px!important;right:10px!important}.rd-door--little .cc-door-char{left:10px!important;right:auto!important}.rd-door--calm .cc-door-char{width:84px!important}}
html:root body .pw-up .cc-up-ziggy{top:-50px;right:-16px;width:58px}
@media (max-width:900px){html:root body .pw-up .cc-up-ziggy{right:6px;top:-40px;width:50px}}
html:root body .g-empty strong{color:#d9577f!important;font-weight:700}

/* ===== steering 6: book-page hero, motif system, section composition ===== */
.cc-div,.cc-cluster,.cc-hero2-leaves{color:#c49a70}
.cc-div{max-width:300px;margin:16px auto;opacity:.75;line-height:0}
@media (min-width:768px){.cc-div{margin:24px auto}}
.cc-div svg{width:100%;height:auto;display:block}
/* hero */
.cc-hero2{position:relative;max-width:1180px;margin:18px auto 10px;min-height:460px;border-radius:30px;overflow:hidden;background:#fdf6ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%23c9a27a' stroke-width='1.3' stroke-linecap='round' opacity='.28'%3E%3Cpath d='M12 30c1-8 6-13 14-14-1 8-6 13-14 14zM12 30l8-8'/%3E%3Cpath d='M58 76c1-8 6-13 14-14-1 8-6 13-14 14zM58 76l8-8'/%3E%3C/g%3E%3Cg fill='%23c9a27a' opacity='.25'%3E%3Ccircle cx='64' cy='22' r='1.6'/%3E%3Ccircle cx='24' cy='66' r='1.6'/%3E%3C/g%3E%3C/svg%3E");border:1.5px solid #ecd6bb;box-shadow:0 1px 0 #fff inset,0 14px 34px rgba(120,80,40,.10);display:flex;align-items:center}
.cc-hero2-art{position:absolute;inset:0 0 0 auto;width:68%;}
.cc-hero2-art img{width:100%;height:100%;object-fit:cover;object-position:18% 60%;display:block;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%);mask-image:linear-gradient(90deg,transparent 0,#000 16%)}
.cc-hero2-leaves{position:absolute;left:-26px;bottom:-30px;width:230px;height:230px;opacity:.38;pointer-events:none}
.cc-hero2::before{content:"";position:absolute;left:24px;top:18px;width:120px;height:120px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23c9a27a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 210C70 170 100 120 112 40'/%3E%3Cpath d='M52 186c-22-4-34-18-34-34 18 0 32 13 34 34zM62 172c18-14 38-12 50-2-14 14-34 16-50 2zM80 140c-20-8-28-24-24-40 17 4 28 20 24 40zM90 128c16-16 36-18 48-10-12 16-32 20-48 10zM102 90c-16-10-20-26-14-40 15 6 22 22 14 40zM108 84c12-14 28-16 38-10-10 13-26 16-38 10z'/%3E%3Ccircle cx='150' cy='150' r='5'/%3E%3Ccircle cx='40' cy='110' r='4'/%3E%3Cpath d='M160 60c-8 0-12 6-12 6s6 6 14 4 10-10 10-10-4-0-12 0z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;opacity:.22;transform:rotate(160deg);pointer-events:none}
html:root body .cc-hero2-panel{position:relative;z-index:2;width:430px;max-width:44%;margin:0 0 0 44px;padding:34px 34px 30px;background:rgba(255,251,243,.93);border-radius:26px;border:1.5px solid #f0dcc3;box-shadow:0 10px 26px rgba(120,80,40,.10);text-align:center}
html:root body .cc-hero2-panel h1{font-size:clamp(1.9rem,3.1vw,2.7rem);line-height:1.12;margin:0 0 .7rem;color:#8a4a33;font-weight:600}
html:root body .cc-hero2-panel .cc-hero-lead{margin:0 auto 1.2rem;color:#6e5646;font-size:1.06rem;max-width:34ch}
html:root body .cc-hero2-panel .cc-ctas{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0}
html:root body .cc-hero2-panel .cc-ctas .btn{margin:0!important}
@media (max-width:760px){
 .cc-hero2{display:block;min-height:0;margin:10px 10px 6px;border-radius:24px}
 .cc-hero2-art{position:relative;inset:auto;width:100%;aspect-ratio:16/10}
 .cc-hero2-art img{object-position:26% 60%;-webkit-mask-image:linear-gradient(180deg,#000 78%,transparent);mask-image:linear-gradient(180deg,#000 78%,transparent)}
 html:root body .cc-hero2-panel{width:auto;max-width:none;margin:-34px 12px 14px;padding:22px 18px 20px}
 html:root body .cc-hero2-panel h1{font-size:1.75rem}
 .cc-hero2-leaves{width:150px;height:150px;left:-30px;bottom:-30px}
 .cc-hero2::before{display:none}
}
/* heading leaf/dot strips */
html:root body :is(#products>h2,#children-h,#seasonal-h,#best>h2,#how>h2,#nd-h,#faq>h2,#about h2,#play-h,#edu-h,.rd-zone-title,.rd-mission h2,.shop-sec>h2){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='14' viewBox='0 0 132 14'%3E%3Cg fill='none' stroke='%23c9a27a' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M58 11c1-5 4-8 9-9-1 5-4 8-9 9zM58 11l5-5'/%3E%3Cpath d='M74 11c-1-5-4-8-9-9'/%3E%3C/g%3E%3Cg fill='%23c9a27a'%3E%3Ccircle cx='6' cy='8' r='1.3'/%3E%3Ccircle cx='18' cy='8' r='1.3'/%3E%3Ccircle cx='30' cy='8' r='1.3'/%3E%3Ccircle cx='42' cy='8' r='1.3'/%3E%3Ccircle cx='90' cy='8' r='1.3'/%3E%3Ccircle cx='102' cy='8' r='1.3'/%3E%3Ccircle cx='114' cy='8' r='1.3'/%3E%3Ccircle cx='126' cy='8' r='1.3'/%3E%3C/g%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center bottom!important;background-size:132px 14px!important;padding-bottom:20px!important}
/* card cameos */
html:root body .card:has(.cc-cameo){overflow:visible;position:relative}
html:root body .card:has(.cc-cameo) .card-img{border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;overflow:hidden}
html:root body .card img.cc-cameo{position:absolute;z-index:3;top:-22px;right:-12px;width:62px;height:auto;filter:drop-shadow(0 3px 4px rgba(90,60,30,.22));pointer-events:none;transform:rotate(6deg)}
html:root body .card img.cc-cameo--toucan{width:70px;top:-20px}
html:root body .card img.cc-cameo--ziggy{width:50px;top:-30px}
/* alternating textured blocks */
html:root body :is(#best,#every-mind,#about){background:url(/assets/img/rd/linen-cream.webp) center/480px repeat,#fbf4e8;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%23c9a27a' stroke-width='1.3' stroke-linecap='round' opacity='.28'%3E%3Cpath d='M12 30c1-8 6-13 14-14-1 8-6 13-14 14zM12 30l8-8'/%3E%3Cpath d='M58 76c1-8 6-13 14-14-1 8-6 13-14 14zM58 76l8-8'/%3E%3C/g%3E%3Cg fill='%23c9a27a' opacity='.25'%3E%3Ccircle cx='64' cy='22' r='1.6'/%3E%3Ccircle cx='24' cy='66' r='1.6'/%3E%3C/g%3E%3C/svg%3E"),url(/assets/img/rd/linen-cream.webp)!important;background-size:90px,480px!important;background-color:#fbf4e8!important;border:1.5px solid #eedcc3!important;border-radius:28px!important;padding:34px 26px 34px!important;box-shadow:0 1px 0 #fff inset}
html:root body :is(#how,#faq,#seasonal){background:transparent}
/* anchors */
.cc-play{position:relative}
html:root body .cc-play>img.cc-hazel{width:170px;top:-8px;right:18px}
html:root body .cc-play>svg.cc-cluster--play{position:absolute;z-index:0;left:22px;top:18px;width:120px;height:80px;opacity:.6}
html:root body .rd-mission{position:relative;overflow:visible}
html:root body .rd-mission>svg.cc-cluster--nd2{position:absolute;left:-150px;bottom:-4px;width:150px;height:100px;opacity:.7;transform:scaleX(-1)}
html:root body .rd-mission>svg.cc-cluster--nd{position:absolute;right:-150px;top:0;width:150px;height:100px;opacity:.7}
#best>h2::after{display:none!important}
.cc-stickers{display:flex;justify-content:center;align-items:flex-end;gap:4px;margin:-10px auto 4px;height:96px}
.cc-stickers img{height:auto;filter:drop-shadow(0 3px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 6px 8px rgba(90,60,30,.18))}
.cc-st--mimi{width:80px;transform:rotate(-8deg)}.cc-st--hazel{width:86px}.cc-st--ziggy{width:68px;transform:rotate(8deg)}
/* product grids: art leads */
@media (min-width:761px){
 html:root body main ul.grid.grid:has(>:nth-child(2)){--c:3!important;--g:18px!important}
}
@media (min-width:1500px){ html:root body main ul.grid.grid:has(>:nth-child(2)){--c:4!important} }

html:root body main ul.grid .card-body{padding:12px 12px 16px!important}
@media (max-width:760px){
 html:root body .rd-mission>svg.cc-cluster--nd2{display:none}
 html:root body .rd-mission>svg.cc-cluster--nd{right:6px;top:6px;width:70px;height:48px;opacity:.5}
 html:root body .cc-play>img.cc-hazel{width:96px;top:-14px;right:4px}
 html:root body .cc-play>svg.cc-cluster--play{width:72px;height:48px;left:8px;top:10px}
 html:root body .card img.cc-cameo{width:46px;top:-16px;right:-6px}
 html:root body .card img.cc-cameo--ziggy{width:38px;top:-22px}
 html:root body :is(#best,#every-mind,#about){padding:26px 14px!important;border-radius:22px}
}
html:root body .rd-mission-wrap{position:relative}
html:root body .rd-mission{max-width:720px!important}
html:root body .rd-mission>img.cc-mission-mimi{position:absolute;left:-150px;bottom:-14px;width:140px;height:auto;filter:drop-shadow(0 4px 6px rgba(90,60,30,.18));transform:rotate(-4deg)}
html:root body .rd-door img.cc-door-char--toucan{width:96px!important}
@media (max-width:760px){html:root body .rd-mission>img.cc-mission-mimi{position:relative;left:auto;bottom:auto;display:block;margin:-54px auto 2px;width:92px;transform:none}html:root body .rd-door img.cc-door-char--toucan{width:66px!important}}
@media (min-width:761px){html:root body :is(#best,#every-mind,#about){max-width:1180px!important;margin:26px auto!important;box-sizing:border-box}}
html:root body .bcard :is(.bname,.blink){text-align:center!important;display:block}

/* ===== steering 7: peeking cameos ===== */
html:root body :is(li.card,li.bcard,a.cc-w,a.pw-card):has(>.cc-peek){position:relative;z-index:1;overflow:visible!important;isolation:auto}
html:root body li.card:has(>.cc-peek) .card-img,html:root body li.bcard:has(>.cc-peek) .bmedia{border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}
html:root body a.cc-w:has(>.cc-peek)>img:not(.cc-peek),html:root body a.pw-card:has(>.cc-peek)>img:not(.cc-peek){position:relative;z-index:0}
html:root body img.cc-peek{position:absolute!important;z-index:-1!important;height:auto!important;max-width:none!important;pointer-events:none;filter:drop-shadow(0 2px 3px rgba(90,60,30,.18));margin:0!important;border-radius:0!important;box-shadow:none!important;opacity:1!important;aspect-ratio:auto!important;object-fit:contain!important;background:none!important;padding:0!important;border:0!important}
/* top: head pops up from behind the top edge */
html:root body img.cc-peek--top{width:64px!important;top:-40px;right:20px}
html:root body img.cc-peek--squirrel.cc-peek--top{width:54px!important;top:-50px;right:14px}
html:root body img.cc-peek--unicorn.cc-peek--top{width:54px!important;top:-64px;right:auto;left:26px}
html:root body img.cc-peek--teddy.cc-peek--top{width:66px!important;top:-42px;right:auto;left:30px}
html:root body img.cc-peek--robin.cc-peek--top{width:60px!important;top:-48px}
html:root body img.cc-peek--santa.cc-peek--top{width:70px!important;top:-38px}
html:root body img.cc-peek--penguin.cc-peek--top{width:52px!important;top:-48px}
html:root body img.cc-peek--deer.cc-peek--top{width:66px!important;top:-38px}
/* right: peeking round the right-hand edge */
html:root body img.cc-peek--right{width:66px!important;top:26px;right:-34px;transform:rotate(8deg)}
html:root body img.cc-peek--robin.cc-peek--right{width:64px!important;right:-36px}
html:root body img.cc-peek--monkey.cc-peek--right{width:70px!important;right:-36px}
html:root body a.cc-w img.cc-peek--right{width:52px!important;top:10px;right:-28px}

html:root body a.pw-card img.cc-peek--right{top:18px;right:-34px}
/* room above rows that carry a top peek */
html:root body main ul.grid.grid:has(.cc-peek--top){row-gap:46px!important}
html:root body main section:has(ul.grid .cc-peek--top) .section-lead{margin-bottom:34px}
/* rainbow sticker */
html:root body img.cc-sticker--rainbow{display:block;width:66px;height:auto;margin:0 auto 4px;filter:drop-shadow(0 2px 3px rgba(90,60,30,.15))}
@media (max-width:1100px){html:root body a.cc-w img.cc-peek--right{display:none}}
@media (max-width:760px){
 html:root body img.cc-peek--right{display:none}
 html:root body img.cc-peek--top{width:46px!important;top:-30px;right:16px}
 html:root body img.cc-peek--unicorn.cc-peek--top{width:42px!important;top:-50px}
 html:root body img.cc-peek--penguin.cc-peek--top{width:40px!important;top:-40px}
 html:root body img.cc-peek--deer.cc-peek--top{width:50px!important;top:-30px}
 html:root body img.cc-peek--squirrel.cc-peek--top{width:44px!important;top:-40px}
 html:root body img.cc-peek--robin.cc-peek--top{width:46px!important;top:-36px}
 html:root body img.cc-peek--teddy.cc-peek--top{width:52px!important;top:-32px}
 html:root body img.cc-peek--santa.cc-peek--top{width:52px!important;top:-28px}
 html:root body main ul.grid.grid:has(.cc-peek--top){row-gap:18px!important}
 html:root body main ul.grid li.card:has(>.cc-peek--top){margin-top:26px}
 html:root body a.cc-w img.cc-peek--top{display:none}
 html:root body img.cc-sticker--rainbow{width:52px}
}
@media (max-width:760px){html:root body section.pw-cards{overflow-x:clip}}
