
:root{--ease:cubic-bezier(.2,.8,.2,1);--glass-shadow:0 20px 40px -15px rgba(27,59,43,.12),inset 0 1px 0 rgba(255,255,255,.5)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:#1F2923;background:#587346}
a{text-decoration:none}
.page{position:relative;overflow-x:clip;min-height:100vh;background:linear-gradient(115deg,#D8C79B 0%,#CBC194 18%,#B5B889 38%,#9AA672 58%,#768D5F 78%,#587346 100%);padding:clamp(12px,1.8vw,20px) clamp(14px,6vw,96px) 0}

/* grain overlay */
.grain{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.025;mix-blend-mode:multiply;background-size:220px 220px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 -.3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")}

/* flower watermark: anchored to the first viewport's bottom-right corner */
.flower-wrap{position:fixed;top:0;left:0;right:0;height:100vh;height:100svh;overflow:hidden;pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 78%,rgba(0,0,0,.85) 100%);mask-image:linear-gradient(to bottom,#000 0,#000 78%,rgba(0,0,0,.85) 100%)}
.flower{position:absolute;right:-30px;bottom:-4px;width:clamp(180px,30vw,420px);height:auto;opacity:.3}

.wrap{position:relative;z-index:1;max-width:1180px;margin:0 auto}
.glass{background:rgba(251,247,233,.66);border:1px solid rgba(255,255,255,.65);border-top:1px solid rgba(255,255,255,.65);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--glass-shadow);border-radius:28px;max-width:900px;width:100%;margin-left:auto;margin-right:auto;padding:28px 32px}

/* navbar */
.nav-wrap{position:sticky;top:20px;z-index:100}
nav{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:nowrap;padding:8px 12px 8px 16px;border-radius:999px;background:rgba(255,255,255,.34);border:1px solid rgba(255,255,255,.5);border-top:1px solid rgba(255,255,255,.65);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--glass-shadow)}
.brand{display:flex;align-items:center;gap:9px;color:#1B3B2B;font-size:22px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}
.brand svg{flex:none}
.links{display:flex;align-items:center;gap:2px;justify-content:flex-end}
.nav-link{padding:9px 15px;border-radius:999px;font-size:15.5px;font-weight:600;color:#1B3B2B;white-space:nowrap;transition:background .25s var(--ease)}
.nav-link:hover{background:rgba(27,59,43,.08)}
.icon-btn{display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border:0;border-radius:999px;background:transparent;color:#1B3B2B;cursor:pointer;transition:background .25s var(--ease),transform .2s var(--ease)}
.icon-btn:hover,.icon-btn[aria-expanded="true"]{background:rgba(27,59,43,.1)}
.icon-btn:active{transform:scale(.96)}
a:focus-visible,button:focus-visible{outline:3px solid #1E5631;outline-offset:3px}

/* search dropdown */
.search{display:none;position:absolute;top:calc(100% + 10px);right:0;width:min(100%,560px);align-items:center;gap:10px;padding:6px 8px 6px 16px;border-radius:999px;background:rgba(251,247,233,.78);border:1px solid rgba(255,255,255,.65);border-top:1px solid rgba(255,255,255,.8);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--glass-shadow),0 14px 30px -12px rgba(27,59,43,.2)}
.search.open{display:flex;animation:slideDown .24s var(--ease)}
.search svg.mag{flex:none}
.search input{flex:1;min-width:0;min-height:40px;border:0;outline:0;background:transparent;font:500 16px 'Plus Jakarta Sans',system-ui,sans-serif;color:#1B3B2B}
.search input::placeholder{color:#4a6655;opacity:1}
.search input::-webkit-search-cancel-button{display:none}
.search-status{flex:none;font-size:14px;font-weight:600;color:#1E5631;white-space:nowrap}
.search-status.none{color:#6B3F1D}
.clear-btn{display:flex;align-items:center;gap:6px;flex:none;height:36px;padding:0 12px 0 10px;border:0;border-radius:999px;background:rgba(27,59,43,.09);color:#1B3B2B;font:700 14px 'Plus Jakarta Sans',system-ui,sans-serif;cursor:pointer;transition:background .2s var(--ease),transform .2s var(--ease)}
.clear-btn:hover{background:rgba(27,59,43,.16)}
.clear-btn:active{transform:scale(.97)}
.clear-btn[hidden]{display:none}

/* highlight */
mark.hl{background:rgba(126,200,150,.5);color:#0E3B20;box-shadow:inset 0 0 0 1px rgba(30,110,60,.45);padding:.04em .22em;margin:0 -.04em;border-radius:7px;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background .2s,box-shadow .2s}
mark.hl.current{background:rgba(52,168,100,.62);color:#06280F;box-shadow:inset 0 0 0 1px rgba(14,90,45,.7),0 0 0 2px rgba(30,110,60,.4)}

/* hero (strict full viewport) */
.hero{display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - 84px);padding:clamp(8px,2vh,24px) 0 clamp(24px,6vh,64px)}
h1{margin:0 auto clamp(16px,2.6vh,28px);max-width:900px;text-align:center;text-wrap:balance;font-size:clamp(1.6rem,2.8vw,2.35rem);line-height:1.15;font-weight:700;letter-spacing:-.022em;color:#1B3B2B}
.eyebrow{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#1E5631}
h2{margin:0;font-size:clamp(1.3rem,2vw,1.65rem);line-height:1.2;font-weight:700;letter-spacing:-.02em;color:#1B3B2B}
.body-text{margin:0;text-align:left;font-size:clamp(15px,1.25vw,17px);line-height:1.6;font-weight:500;color:#1F2923}
#talkia{display:flex;gap:32px;align-items:center;width:100%}
.left{display:flex;flex-direction:column;gap:10px;flex:0 0 168px;width:168px}
.left svg.icon{display:block;width:140px;height:140px;margin:0 auto 4px;filter:drop-shadow(0 12px 18px rgba(14,90,40,.33))}
.right{flex:1 1 0;min-width:0}
.title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 10px}
.badge{display:inline-flex;align-items:center;gap:7px;padding:5px 11px 5px 9px;border-radius:999px;background:rgba(30,86,49,.1);border:1px solid rgba(30,86,49,.12);color:#17472a;font-size:12px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.dot{width:7px;height:7px;border-radius:50%;background:#22A04B;box-shadow:0 0 0 0 rgba(34,160,75,.45);animation:live 2.4s ease-out infinite}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.chip{padding:6px 12px;border-radius:999px;background:rgba(30,86,49,.1);color:#17472a;font-size:13px;font-weight:600}

/* buttons */
.btn{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:13px;font-size:15.5px;font-weight:700;border:1.5px solid #1E5631;transition:transform .24s var(--ease),box-shadow .24s var(--ease),background .24s var(--ease),color .24s var(--ease)}
.btn-primary{background:#1E5631;color:#fff}
.btn-primary:hover{transform:translateY(-2px);background:#17472a;box-shadow:0 10px 22px rgba(30,86,49,.32)}
.btn-ghost{background:transparent;color:#1E5631;scroll-margin-top:120px}
.btn-ghost:hover{transform:translateY(-2px);background:rgba(30,86,49,.08)}
.btn:active{transform:translateY(0) scale(.98);transition-duration:.08s}
.btn-ghost.cue{animation:dlCue 1.2s cubic-bezier(.4,0,.2,1) 1}

/* about */
#about{scroll-margin-top:100px}
.about-wrap{padding:clamp(12px,3vh,32px) 0 0}
.rule{border:0;height:1px;margin:22px 0;background:linear-gradient(90deg,rgba(27,59,43,.24),rgba(27,59,43,.05))}
.mission-grid{display:grid;grid-template-columns:1fr 1fr}
.mission{padding:0 28px 0 0}
.mission+.mission{padding:0 0 0 28px;border-left:1px solid rgba(27,59,43,.16)}
.idx{display:block;margin-bottom:8px;font-size:12px;font-weight:700;letter-spacing:.08em;color:#1E5631}
.mission h3{margin:0 0 6px;font-size:17px;line-height:1.3;font-weight:700;color:#1B3B2B}
.mission p{margin:0;font-size:15.5px;line-height:1.6;font-weight:500}

/* footer */
footer{margin-top:clamp(28px,4vw,44px);padding:0 0 clamp(18px,3vw,28px);text-align:center}
footer p{display:inline-block;margin:0;padding:10px 24px;border-radius:999px;font-size:14px;font-weight:600;letter-spacing:.02em;color:#12301F;background:rgba(255,255,255,.3);border:1px solid rgba(255,255,255,.45);border-top-color:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 22px rgba(27,59,43,.1)}

/* reveal on scroll */
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.js .reveal.in{opacity:1;transform:none}

/* toast */
.toast{position:fixed;left:50%;bottom:28px;z-index:200;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:13px 22px;border-radius:999px;background:rgba(251,247,233,.86);border:1px solid rgba(255,255,255,.7);border-top-color:rgba(255,255,255,.85);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 14px 36px rgba(30,50,25,.28),inset 0 1px 0 rgba(255,255,255,.5);font-size:15px;font-weight:600;color:#1B3B2B;opacity:0;pointer-events:none;transform:translate(-50%,14px);transition:opacity .28s var(--ease),transform .28s var(--ease)}
.toast.show{opacity:1;transform:translate(-50%,0)}

@keyframes dlCue{
0%{transform:scale(1);background:rgba(30,86,49,0);box-shadow:0 0 0 0 rgba(30,86,49,.25)}
22%{transform:scale(1.06);background:rgba(30,86,49,.16);box-shadow:0 0 0 6px rgba(30,86,49,.25)}
45%{transform:scale(1.03);background:rgba(30,86,49,.1);box-shadow:0 0 0 0 rgba(30,86,49,0)}
70%{transform:scale(1.06);background:rgba(30,86,49,.16);box-shadow:0 0 0 6px rgba(30,86,49,.25)}
100%{transform:scale(1);background:rgba(30,86,49,0);box-shadow:0 0 0 0 rgba(30,86,49,0)}}
@keyframes dlCueStatic{0%,100%{background:rgba(30,86,49,.14);box-shadow:0 0 0 6px rgba(30,86,49,.25)}}
@keyframes live{0%{box-shadow:0 0 0 0 rgba(34,160,75,.45)}70%,100%{box-shadow:0 0 0 6px rgba(34,160,75,0)}}
@keyframes slideDown{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}


/* ---------- Language pill ---------- */
.lang{position:relative;flex:none;margin-left:4px}
.lang-btn{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 11px 0 11px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(255,255,255,.5);color:#1B3B2B;font:800 13px/1 'Plus Jakarta Sans','Nunito',system-ui,sans-serif;letter-spacing:.05em;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .25s var(--ease),transform .2s var(--ease),box-shadow .25s var(--ease)}
.lang-btn:hover,.lang-btn[aria-expanded="true"]{background:rgba(255,255,255,.82);box-shadow:0 4px 14px rgba(27,59,43,.12)}
.lang-btn:active{transform:scale(.97)}
.lang-btn svg{flex:none}
.lang-chev{opacity:.7;transition:transform .25s var(--ease)}
.lang-btn[aria-expanded="true"] .lang-chev{transform:rotate(180deg)}
.lang-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:130;min-width:184px;margin:0;padding:6px;list-style:none;border-radius:20px;background:rgba(251,247,233,.97);border:1px solid rgba(255,255,255,.85);box-shadow:var(--glass-shadow);opacity:0;visibility:hidden;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:opacity .22s var(--ease),transform .22s var(--ease),visibility 0s linear .22s}
.lang.open .lang-menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.lang-opt{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 14px 0 12px;border:0;border-radius:14px;background:transparent;color:#1B3B2B;font:600 15px/1.2 'Plus Jakarta Sans','Nunito',system-ui,sans-serif;text-align:left;white-space:nowrap;cursor:pointer;transition:background .2s var(--ease)}
.lang-opt b{flex:none;min-width:28px;font-size:12px;font-weight:800;letter-spacing:.07em;color:#1E5631}
.lang-opt:hover,.lang-opt:focus-visible{background:rgba(27,59,43,.08)}
.lang-opt[aria-checked="true"]{background:rgba(30,86,49,.13);font-weight:800}
.tk-right{display:flex;align-items:center;gap:6px;min-width:0}
.tk-right .lang{margin-left:0}
.tk-right .lang-btn{font-family:'Nunito','Plus Jakarta Sans',system-ui,sans-serif;font-weight:900;height:40px}
.dl-alert{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:14px;padding:16px 16px 14px;border-radius:20px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.75);text-align:center}
.dl-alert[hidden]{display:none}
.dl-alert b{font-size:15px;line-height:1.35;color:#1B3B2B}
.dl-alert>span{font-size:13.5px;line-height:1.45;font-weight:500;color:#3a5646}
.dl-pwa{margin-top:4px;gap:8px;width:100%;max-width:340px;white-space:normal;text-align:center}
.dl-pwa-help{font-size:13px;line-height:1.45;font-weight:600;color:#1E5631}
.dl-info b,.dl-info small,.dl-alert b,.dl-alert>span{overflow-wrap:anywhere}
@media (max-width:520px){
  .lang{margin-left:2px}
  .lang-btn{height:36px;padding:0 9px;gap:5px}
  .lang-globe{display:none}
  .lang-menu{min-width:176px}
  .tk-right{gap:2px}
  .tk-right .lang-btn{height:38px}
}


/* ---------- Bonus entry + new mini-games ---------- */
.bonus-wrap{width:100%;margin-bottom:clamp(12px,2vw,20px)}
.bonus-card{appearance:none;-webkit-appearance:none;font:inherit;color:inherit;position:relative;width:100%;display:flex;align-items:center;gap:clamp(12px,2vw,22px);padding:clamp(12px,2vw,18px) clamp(14px,2.4vw,26px);border-radius:28px;border:1.5px solid rgba(255,255,255,.85);background:linear-gradient(135deg,rgba(255,255,255,.8),rgba(221,235,201,.85));box-shadow:var(--glass-shadow);cursor:pointer;text-align:left;transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.bonus-card:hover{transform:translateY(-3px)}
.bonus-card:active{transform:scale(.99)}
.bonus-card:focus-visible{outline:4px solid #1E5631;outline-offset:3px}
.bonus-art{display:flex;flex:none;align-items:center;padding-left:12px}
.bonus-art img{width:clamp(48px,7.6vw,74px);height:clamp(48px,7.6vw,74px);object-fit:contain;margin-left:-12px;filter:drop-shadow(0 6px 8px rgba(27,59,43,.15))}
.bonus-text{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex:1}
.bonus-badge{padding:3px 10px;border-radius:999px;background:#1E5631;color:#fff;font:800 11px/1.5 'Nunito','Plus Jakarta Sans',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.bonus-title{font:900 clamp(1.15rem,2.4vw,1.5rem)/1.2 'Nunito','Plus Jakarta Sans',system-ui,sans-serif;color:#1B3B2B;overflow-wrap:anywhere}
.bonus-sub{font:600 clamp(.88rem,1.6vw,1rem)/1.35 'Nunito','Plus Jakarta Sans',system-ui,sans-serif;color:#3a5646;overflow-wrap:anywhere}
.bonus-go{display:flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#1E5631;color:#fff}
.bonus-card.done .bonus-go{background:#2E9E57}

.hd-card{gap:clamp(10px,1.8vh,18px)}
.hd-board{--gap:clamp(8px,1.6vw,18px);--cols:4;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--gap);width:100%}
.hd-board.n3{--cols:3}
.hd-cell{flex:0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;padding:clamp(6px,1vw,12px);border-radius:24px;background:radial-gradient(ellipse at 50% 45%,rgba(255,255,255,.78),rgba(255,255,255,.28) 72%)}
.hd-fig{position:relative;width:100%}
.hd-fig .hd-body{display:block;width:100%;height:auto;filter:drop-shadow(0 8px 10px rgba(27,59,43,.14))}
.hd-hole{position:absolute;box-sizing:border-box;padding:0;margin:0;border-radius:50%;border:3px dashed rgba(30,86,49,.5);background:rgba(255,255,255,.66);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .25s var(--ease),background .25s,border-color .25s}
.hd-hole.ready{border-color:#1E5631;animation:holePulse 1.8s ease-in-out infinite}
.hd-hole.over{background:rgba(190,230,200,.85);border-style:solid;border-color:#1E5631;transform:scale(1.07)}
.hd-hole.wobble{animation:nudge .55s var(--ease)}
.hd-hole.filled{border-color:transparent;background:transparent;cursor:default;animation:holePop .6s var(--ease)}
.hd-hole canvas{display:block;width:100%;height:100%;border-radius:50%}
.hd-hole:focus-visible{outline:4px solid #1E5631;outline-offset:3px}
.hd-name{min-height:1.3em;font:900 clamp(.95rem,1.8vw,1.2rem)/1.2 'Nunito','Plus Jakarta Sans',system-ui,sans-serif;color:#1B3B2B;text-align:center;overflow-wrap:anywhere}
.hd-name:empty{min-height:0}
.hd-tray{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(10px,2vw,20px);width:100%;padding:clamp(10px,1.6vh,16px) clamp(10px,2vw,22px);border-radius:26px;background:rgba(255,255,255,.42)}
.hd-sticker{appearance:none;-webkit-appearance:none;box-sizing:border-box;position:relative;width:clamp(64px,min(18vw,12vh),104px);height:clamp(64px,min(18vw,12vh),104px);padding:5px;border-radius:50%;border:3px solid #fff;background:#FBF7E9;box-shadow:0 10px 18px -8px rgba(27,59,43,.35);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;transition:box-shadow .2s,transform .25s var(--ease)}
.hd-sticker canvas{display:block;width:100%;height:100%;border-radius:50%;pointer-events:none}
.hd-sticker.selected{box-shadow:0 0 0 5px rgba(78,154,104,.6),0 14px 22px -10px rgba(27,59,43,.4);transform:translateY(-4px) scale(1.07)}
.hd-sticker.dragging{cursor:grabbing;z-index:60;transition:none;box-shadow:0 22px 30px -12px rgba(27,59,43,.45)}
.hd-sticker.returning{transition:transform .4s var(--ease);z-index:60}
.hd-sticker.snapping{transition:transform .34s var(--ease);z-index:60;pointer-events:none}
.hd-sticker.gone{visibility:hidden;pointer-events:none}
.hd-sticker:focus-visible{outline:4px solid #1E5631;outline-offset:3px}
.hd-card.complete .hd-cell{animation:holePop .7s var(--ease)}
.hd-card.complete .hd-tray{display:none}
.hd-card .fc-actions{width:100%}
.ed-card{gap:clamp(10px,1.8vh,18px)}
.ed-grid{--cols:4;max-width:820px;margin-inline:auto;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:clamp(8px,1.6vw,18px);width:100%}
.ed-tile{appearance:none;-webkit-appearance:none;font:inherit;color:inherit;position:relative;aspect-ratio:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 6px;border-radius:24px;border:2.5px solid rgba(255,255,255,.9);background:var(--tint,#fff);box-shadow:0 10px 18px -12px rgba(27,59,43,.3);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .25s var(--ease),background .3s,border-color .3s,box-shadow .3s}
.ed-tile:hover{transform:translateY(-3px)}
.ed-tile:active{transform:scale(.96);transition-duration:.08s}
.ed-tile:focus-visible{outline:4px solid #1E5631;outline-offset:3px}
.ed-tile img{display:block;width:88%;height:auto;max-height:78%;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(27,59,43,.14))}
.ed-name{font:800 clamp(.7rem,1.5vw,.95rem)/1.15 'Nunito','Plus Jakarta Sans',system-ui,sans-serif;color:#1B3B2B;text-align:center;overflow-wrap:anywhere;max-width:100%}
.ed-name:empty{display:none}
.ed-badge{position:absolute;top:6px;right:6px;display:none;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#1F9D55;color:#fff;box-shadow:0 4px 8px -2px rgba(31,157,85,.5)}
.ed-tile.found{background:#D4EED9;border-color:#2E9E57;box-shadow:0 0 0 4px rgba(46,158,87,.22)}
.ed-tile.found .ed-badge{display:flex;animation:holePop .5s var(--ease)}
.ed-tile.nudge{animation:nudge .55s var(--ease)}
.ed-card .gm-hint{max-width:34em}
/* ---- Single-screen fit for Heads + Edible (v11) ---- */
#tk-edible{max-width:960px}
#tk-heads,#tk-edible{--vh:100vh;--pad:clamp(8px,1.6vh,22px);--gp:clamp(6px,1.2vh,14px)}
@supports (height:100svh){#tk-heads,#tk-edible{--vh:100svh}}
#tk-heads .fc-top,#tk-edible .fc-top{margin-bottom:clamp(4px,1vh,10px)}
#tk-heads .fc-bar,#tk-edible .fc-bar{margin-bottom:clamp(6px,1.4vh,14px)}
#tk-heads .fc-card,#tk-edible .fc-card{padding:var(--pad) clamp(10px,2vw,24px);gap:var(--gp)}
#tk-heads .gm-hint,#tk-edible .gm-hint{font-size:clamp(.88rem,1.5vw,1rem);line-height:1.25}
#tk-heads{--rows:1;--hdx:410px;--stk:clamp(58px,min(17vw,calc(var(--vh)*.118)),110px);--hdh:clamp(76px,calc((var(--vh) - var(--hdx)) / var(--rows)),270px)}
#tk-heads .hd-fig{width:100%;max-width:calc(var(--hdh) * var(--ar,1))}
#tk-heads .hd-cell{padding:clamp(4px,.9vh,10px) clamp(4px,1vw,12px)}
#tk-heads .hd-name{min-height:1.2em;font-size:clamp(.88rem,1.6vw,1.1rem)}
#tk-heads .hd-name:empty{min-height:1.2em}
#tk-heads{max-width:1100px}
#tk-heads .hd-sticker{width:var(--stk);height:var(--stk);padding:3px}
#tk-heads .hd-tray{gap:clamp(8px,1.6vw,18px);padding:clamp(6px,1.2vh,12px) clamp(8px,2vw,20px)}
#tk-heads .hd-hole::after{content:"";position:absolute;inset:-7px;border-radius:50%}
#tk-heads .hd-card:not(.complete) .fc-actions{display:none}
#tk-edible{--edx:340px;--edg:clamp(6px,1.3vw,16px);--edt:clamp(58px,calc((var(--vh) - var(--edx) - 2 * var(--edg)) / 3),190px)}
#tk-edible .ed-grid{gap:var(--edg);width:min(100%,calc(var(--cols) * var(--edt) + (var(--cols) - 1) * var(--edg)))}
#tk-edible .ed-tile{padding:4px}
#tk-edible .ed-badge{width:clamp(22px,28%,28px);height:clamp(22px,28%,28px)}
@media (max-width:599px){#tk-heads{--rows:2;--hdx:510px}#tk-edible{--edx:300px}#tk-heads .hd-card .fc-next{min-height:52px}#tk-heads .gm-hint{font-size:.82rem}#tk-heads .hd-name,#tk-heads .hd-name:empty{min-height:1.1em;font-size:.85rem}.page[data-screen="heads"] .tk-main,.page[data-screen="edible"] .tk-main{padding-bottom:74px}}
@media (min-width:600px) and (max-width:999px){#tk-heads{--hdx:470px}#tk-edible{--edx:360px}}
#tk-heads .hd-cell{justify-content:center}
@media (min-width:600px) and (max-width:899px) and (min-height:760px){#tk-heads{--rows:2;--hdx:565px}#tk-heads .hd-board,#tk-heads .hd-board.n3{--cols:2}}
@media (min-width:1000px){.page[data-screen="heads"] .tk-main,.page[data-screen="edible"] .tk-main{padding-bottom:clamp(12px,3vh,36px)}#tk-heads{--hdx:400px}#tk-edible{--edx:314px}}
@media (min-width:600px) and (max-height:520px){#tk-edible .ed-grid{--cols:6}#tk-edible{--edt:clamp(48px,calc((var(--vh) - var(--edx) - var(--edg)) / 2),190px)}}
@keyframes holePulse{0%,100%{box-shadow:0 0 0 0 rgba(78,154,104,0)}50%{box-shadow:0 0 0 9px rgba(78,154,104,.26)}}
@keyframes holePop{0%{transform:scale(.9)}60%{transform:scale(1.07)}100%{transform:scale(1)}}
@media (min-width:700px){.road.three{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr)}.road.three .lvl-card{padding-left:14px;padding-right:14px}}
@media (max-width:599px){
  .ed-grid{--cols:3}
  .ed-tile{border-radius:20px;padding:6px 4px}
  .hd-board{--cols:2}
  .hd-board.n3{--cols:2}
  .hd-cell{border-radius:20px}
  .hd-card .fc-next{width:100%}
  .bonus-card{border-radius:24px;gap:12px}
  .bonus-go{width:38px;height:38px}
}
@media (prefers-reduced-motion:reduce){.hd-hole.ready,.hd-hole.wobble,.hd-hole.filled,.ed-tile.nudge,.ed-tile.found .ed-badge,.hd-card.complete .hd-cell{animation:none}.hd-sticker,.hd-sticker.returning,.hd-sticker.snapping{transition:none}}

/* ---------- Responsive ---------- */
@media (max-width:1023px){
  .glass{max-width:none}
}
@media (max-width:767px){
  .nav-wrap{top:10px}
  .glass{padding:22px 20px;border-radius:24px}
  #talkia{flex-direction:column;align-items:stretch;gap:20px}
  .left{flex:none;width:100%;max-width:420px;margin:0 auto;gap:12px}
  .left svg.icon{width:128px;height:128px;margin-bottom:6px}
  .btn{min-height:48px;font-size:16px}
  .right{flex:none;width:100%}
  .flower{opacity:.16;right:-56px;bottom:-30px;width:clamp(170px,48vw,260px)}
  .toast{bottom:16px;border-radius:20px}
  .mission-grid{grid-template-columns:1fr}
  .mission,.mission+.mission{padding:0;border-left:0}
  .mission+.mission{margin-top:18px;padding-top:18px;border-top:1px solid rgba(27,59,43,.16)}
}
@media (max-width:600px){
  .search{width:100%;flex-wrap:wrap;border-radius:22px;padding:6px 8px 6px 14px;row-gap:0}
  .search-status{order:3;flex:1 0 100%;padding:0 2px 8px 30px}
}
@media (max-width:520px){
  nav{padding:6px 8px 6px 12px;gap:6px}
  .brand{font-size:20px;gap:7px}
  .brand svg{width:28px;height:28px}
  .nav-link{padding:8px 10px;font-size:15px}
  .icon-btn{width:40px;height:40px}
}
@media (max-width:360px){
  .brand span{font-size:18px}
  .nav-link{padding:8px 7px;font-size:14px}
}
/* very narrow phones: keep the whole navbar (brand, links, search, language) on one line in every language */
@media (max-width:430px){
  nav{padding:5px 6px 5px 11px;gap:2px}
  .brand{gap:5px}
  .brand svg{width:24px;height:24px}
  .brand span{font-size:17px}
  .links{gap:0;min-width:0}
  .nav-link{padding:8px 6px;font-size:13.5px}
  .icon-btn{width:34px;height:34px}
  .icon-btn svg{width:20px;height:20px}
  .lang{margin-left:0}
  .lang-btn{height:34px;padding:0 8px;font-size:12.5px}
}
@media (max-width:370px){
  .nav-link{padding:8px 4px;font-size:13px}
  .brand span{font-size:16px}
}
/* ---------- Talkia ---------- */
.page[data-view="talkia"] #nervis-nav,.page[data-view="talkia"] #search-form{display:none!important}
.page[data-view="nervis"] #tk-nav{display:none}
#nervis-nav,.tk-nav,#content,#tk-app{transition:opacity .45s ease}
.page.swapping #content,.page.swapping #tk-app,.page.swapping #nervis-nav,.page.swapping #tk-nav{opacity:0}
h1:focus,h2:focus{outline:none}
#tk-app[hidden]{display:none}
.tk-nav,#tk-app{font-family:'Nunito','Plus Jakarta Sans',system-ui,sans-serif}
.tk-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px 8px 16px;border-radius:999px;background:rgba(255,255,255,.34);border:1px solid rgba(255,255,255,.5);border-top:1px solid rgba(255,255,255,.65);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--glass-shadow)}
.tk-brand{display:flex;align-items:center;gap:10px;color:#1B3B2B;white-space:nowrap}
.tk-word{font-size:23px;font-weight:900;letter-spacing:-.01em}
.tk-by{font-size:13px;font-weight:700;color:#4a6655;margin-left:2px}
.tk-back{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 12px;border:0;border-radius:999px;background:transparent;color:#2F5139;font:700 15px 'Nunito',system-ui,sans-serif;white-space:nowrap;cursor:pointer;transition:background .3s var(--ease),transform .2s var(--ease)}
.tk-back:hover{background:rgba(27,59,43,.08)}
.tk-back:active{transform:scale(.97)}
.tk-main{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:calc(100vh - 84px);padding:clamp(8px,2vh,24px) 0 clamp(24px,6vh,64px)}
.screen{width:100%;display:flex;flex-direction:column;align-items:center;transition:opacity .5s ease,transform .5s var(--ease)}
.screen[hidden]{display:none}
.screen.out{opacity:0;transform:translateY(-8px)}
.screen.pre-in{opacity:0;transform:translateY(12px)}
.tk-h1{margin:0 0 8px;font-size:clamp(2rem,4.2vw,3.1rem);line-height:1.12;font-weight:800;letter-spacing:-.01em;color:#1B3B2B}
.tk-h2{margin:0;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.15;font-weight:800;color:#1B3B2B}
.tk-sub{margin:0;font-size:clamp(1.05rem,1.6vw,1.3rem);font-weight:600;line-height:1.5;color:#2A4535}
.tk-small{margin:0;font-size:15px;font-weight:600;line-height:1.5;color:#3a5646}
.tk-listen{margin:18px 0 clamp(20px,3.5vh,34px);display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px 0 16px;border-radius:999px;border:1.5px solid rgba(30,86,49,.3);background:rgba(255,255,255,.45);color:#1E5631;font:800 16px 'Nunito',system-ui,sans-serif;cursor:pointer;transition:background .3s var(--ease),transform .2s var(--ease)}
.tk-listen:hover{background:rgba(255,255,255,.7)}
.tk-listen:active{transform:scale(.97)}
.tk-listen[hidden]{display:none}
.tk-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.4vw,28px);width:100%;max-width:880px}
.choice{appearance:none;-webkit-appearance:none;font:inherit;color:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:clamp(260px,38vh,340px);padding:clamp(20px,3vh,30px) 24px;text-align:center;border-radius:32px;border:1.5px solid rgba(255,255,255,.7);border-top-color:rgba(255,255,255,.9);background:rgba(251,247,233,.72);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--glass-shadow);cursor:pointer;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .5s ease,opacity .5s ease,background .5s ease}
.choice:hover{transform:translateY(-4px);border-color:rgba(30,86,49,.35);box-shadow:0 26px 46px -16px rgba(27,59,43,.22),inset 0 1px 0 rgba(255,255,255,.55)}
.choice:active{transform:scale(.99);transition-duration:.12s}
.choice:focus-visible{outline:4px solid #1E5631;outline-offset:4px}
.choice.chosen{border-color:#1E5631;background:rgba(251,247,233,.92);transform:scale(1.02);box-shadow:0 0 0 6px rgba(30,86,49,.18),var(--glass-shadow)}
.choice.dim{opacity:.4;transform:scale(.98)}
.tile{display:flex;align-items:center;justify-content:center;flex:none;width:132px;height:132px;border-radius:38px;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 10px 20px -10px rgba(27,59,43,.25)}
.tile svg{width:98px;height:98px}
.tile-a{background:linear-gradient(160deg,#E4EFDC,#C9DEC0)}
.tile-b{background:linear-gradient(160deg,#F5ECCF,#E8DAAE)}
.c-text{display:flex;flex-direction:column;align-items:center;gap:8px}
.c-title{font-size:clamp(1.5rem,2.3vw,1.95rem);font-weight:800;line-height:1.15;color:#1B3B2B}
.c-age{display:inline-flex;align-items:center;padding:5px 14px;border-radius:999px;background:rgba(30,86,49,.12);color:#17472a;font-size:15px;font-weight:800;letter-spacing:.02em}
.c-cue{font-size:1.05rem;font-weight:600;color:#3a5646}
.tk-note{margin:clamp(18px,3vh,28px) 0 0;padding:9px 18px;border-radius:999px;background:rgba(255,255,255,.34);border:1px solid rgba(255,255,255,.5);font-size:15px;font-weight:600;line-height:1.4;color:#2A4535}
.ready-card{max-width:560px;width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;padding:36px 32px;text-align:center;background:rgba(251,247,233,.72)}
.tile.big{position:relative;width:150px;height:150px;border-radius:44px;margin-bottom:10px}
.tile.big svg{width:112px;height:112px}
.tile.big::after{content:"";position:absolute;inset:-12px;border-radius:54px;border:2px solid rgba(30,86,49,.2);animation:breathe 6s ease-in-out infinite}
.tk-change{min-width:200px;margin-top:8px;padding:0 24px;cursor:pointer;font-family:'Nunito',system-ui,sans-serif;font-weight:800}
#tk-app .dot{animation:none}
#tk-app .badge{font-size:14px;font-weight:700;padding:6px 14px 6px 12px}
@keyframes breathe{0%,100%{transform:scale(1);opacity:.35}50%{transform:scale(1.05);opacity:.7}}
@media (max-width:699px){
  .tk-choices{grid-template-columns:1fr;max-width:460px}
  .choice{flex-direction:row;justify-content:flex-start;gap:18px;min-height:0;padding:16px 18px;text-align:left;border-radius:26px}
  .c-text{align-items:flex-start;gap:6px}
  .c-title{font-size:1.35rem}
  .tile{width:92px;height:92px;border-radius:28px}
  .tile svg{width:68px;height:68px}
  .tk-by{display:none}
  .tk-word{font-size:21px}
  .ready-card{padding:28px 20px}
  .tk-listen{margin:14px 0 20px}
}
@media (max-width:520px){
  .tk-nav{padding:6px 8px 6px 12px}
  .tk-back{padding:0 10px 0 8px;font-size:14px}
}
@media (max-height:700px) and (min-width:700px){
  .tile{width:104px;height:104px}
  .tile svg{width:76px;height:76px}
  .choice{min-height:0;gap:10px}
  .tk-listen{margin:12px 0 18px}
}
/* ---------- Talkia: sage-and-mint atmosphere, levels, flashcards ---------- */
:root{--surface:rgba(251,247,233,.72)}
.page[data-view="talkia"]{--surface:rgba(246,252,243,.76);background:linear-gradient(115deg,#E7F2DC 0%,#D6EACF 24%,#C4E3CA 48%,#B0D9C3 72%,#9BCBB3 100%)}
.page[data-view="talkia"] .glass,.page[data-view="talkia"] .choice{background:var(--surface)}
.page[data-view="talkia"] .flower{opacity:.22}
.tk-h1{font-size:clamp(1.75rem,min(4.2vw,6vh),3.1rem)}
.tk-listen{margin:clamp(10px,2vh,18px) 0 clamp(12px,3vh,34px)}
.tk-listen.speaking,.fc-audio.speaking{background:rgba(30,86,49,.16)}
.tk-listen .ic-stop{display:none}.tk-listen.speaking .ic-stop{display:block}.tk-listen.speaking .ic-play{display:none}.tk-listen.speaking{border-color:rgba(30,86,49,.55);background:rgba(30,86,49,.9);color:#F6FCF3}
.choice{min-height:clamp(190px,32vh,330px);gap:clamp(8px,1.6vh,16px);padding:clamp(14px,2.6vh,30px) 24px}
.tile{width:clamp(76px,14vh,132px);height:clamp(76px,14vh,132px);border-radius:clamp(22px,4vh,38px)}
.tile svg{width:74%;height:74%}
.tk-note{margin-top:clamp(10px,2vh,28px)}
@media (max-height:720px){#tk-onboarding .eyebrow{display:none}}
@media (max-width:699px){
  .choice{min-height:0;gap:16px;padding:14px 16px}
}
.tk-corner-back{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:150;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 20px 0 15px;border-radius:999px;border:1px solid rgba(255,255,255,.7);border-top-color:rgba(255,255,255,.9);background:rgba(250,254,247,.72);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--glass-shadow),0 10px 24px -12px rgba(27,59,43,.3);color:#2F5139;font:800 16px 'Nunito',system-ui,sans-serif;cursor:pointer;transition:background .3s var(--ease),transform .2s var(--ease)}
.tk-corner-back:hover{background:rgba(255,255,255,.9)}
.tk-corner-back:active{transform:scale(.97)}
.tk-corner-back[hidden]{display:none}
.page[data-view="talkia"]:not([data-screen="onboarding"]) .tk-main{padding-bottom:84px}
#tk-categories,#tk-cards,#tk-done,#tk-roadmap,#tk-game{max-width:960px}
.lvl-head{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:clamp(14px,3vh,28px)}
.lvl-pill{display:inline-flex;padding:5px 14px;border-radius:999px;background:rgba(30,86,49,.12);color:#17472a;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.lvl-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;margin-top:8px}
.mode-chip{display:inline-flex;align-items:center;gap:10px;padding:5px 14px 5px 6px;border-radius:999px;background:rgba(255,255,255,.45);border:1px solid rgba(255,255,255,.65);font-size:14px;font-weight:800;color:#1B3B2B}
.mini-tile{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:11px;background:linear-gradient(160deg,#E4EFDC,#C9DEC0)}
.mini-tile svg{width:78%;height:78%}
.mode-age{padding:2px 9px;border-radius:999px;background:rgba(30,86,49,.12);font-size:13px;color:#17472a}
.explored{font-size:14px;font-weight:700;color:#2A4535}
.cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,22px);width:100%}
.cat-card{position:relative;appearance:none;-webkit-appearance:none;font:inherit;color:inherit;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 14px 16px;border-radius:28px;border:1.5px solid rgba(255,255,255,.7);border-top-color:rgba(255,255,255,.9);background:var(--surface);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--glass-shadow);cursor:pointer;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .5s ease}
.cat-card:hover{transform:translateY(-4px);border-color:rgba(30,86,49,.35);box-shadow:0 26px 46px -16px rgba(27,59,43,.22),inset 0 1px 0 rgba(255,255,255,.55)}
.cat-card:active{transform:scale(.99);transition-duration:.12s}
.cat-card:focus-visible{outline:4px solid #1E5631;outline-offset:4px}
.cat-art{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(96px,17vh,150px);border-radius:20px;background:var(--tint,#E4EFDC);box-shadow:inset 0 1px 0 rgba(255,255,255,.55);overflow:hidden}
.cat-art img{height:74%;width:auto;max-width:35%;object-fit:contain;margin:0 -1%;filter:drop-shadow(0 6px 8px rgba(27,59,43,.12))}
.cat-art img:nth-child(2){height:92%;max-width:44%;position:relative;z-index:1}
.cat-title{font-size:clamp(1.15rem,1.7vw,1.4rem);font-weight:800;color:#1B3B2B;line-height:1.15}
.cat-count{font-size:14px;font-weight:700;color:#3a5646}
.cat-check{position:absolute;top:22px;right:22px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#3E8E5B;color:#fff;box-shadow:0 4px 10px -4px rgba(27,59,43,.4);z-index:2}
.fc-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-bottom:10px}
.fc-cat{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#1E5631}
.fc-progress{padding:6px 16px;border-radius:999px;background:rgba(30,86,49,.12);font-size:1.05rem;font-weight:800;color:#17472a;letter-spacing:.02em}
.fc-bar{width:100%;height:8px;border-radius:999px;background:rgba(27,59,43,.12);overflow:hidden;margin-bottom:clamp(10px,2vh,18px)}
.fc-bar i{display:block;height:100%;width:0;border-radius:inherit;background:#4E9A68;transition:width .9s var(--ease)}
.fc-card{width:100%;max-width:none;display:flex;flex-direction:column;align-items:center;gap:clamp(10px,2vh,20px);padding:clamp(14px,2.6vh,28px);border-radius:32px;transition:opacity .45s ease,transform .45s var(--ease)}
.fc-card.swap{opacity:0;transform:scale(.985)}
.fc-art{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(170px,40vh,420px);border-radius:26px;background:radial-gradient(ellipse at 50% 45%,rgba(255,255,255,.7) 0%,rgba(255,255,255,0) 62%),var(--tint,#E4EFDC);box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}
.fc-art img{max-width:92%;max-height:95%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 12px 16px rgba(27,59,43,.14))}
.fc-word{margin:0;font-size:clamp(2.2rem,5vw,3.6rem);line-height:1.1;font-weight:800;letter-spacing:-.01em;color:#1B3B2B;text-align:center}
.fc-word[hidden]{display:none}
.fc-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;width:100%}
.fc-audio{display:flex;align-items:center;justify-content:center;gap:10px;min-height:60px;padding:0 26px;border-radius:18px;border:1.5px solid #1E5631;background:rgba(255,255,255,.55);color:#1E5631;font:800 1.1rem 'Nunito',system-ui,sans-serif;cursor:pointer;transition:background .3s var(--ease),transform .2s var(--ease)}
.fc-audio:hover{background:rgba(255,255,255,.85)}
.fc-audio:disabled{opacity:.42;cursor:default;pointer-events:none}
.fc-audio:active{transform:scale(.98)}
.fc-next{min-height:60px;padding:0 34px;border-radius:18px;gap:10px;font:800 1.15rem 'Nunito',system-ui,sans-serif;cursor:pointer}
.done-card{max-width:560px;width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;padding:36px 32px;text-align:center;animation:gentleIn 1.2s var(--ease)}
.star-tile{display:flex;align-items:center;justify-content:center;width:150px;height:150px;border-radius:44px;background:linear-gradient(160deg,#FBF1C9,#F2E2A6);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 10px 20px -10px rgba(27,59,43,.25)}
.star-tile svg{width:78%;height:78%}
.done-btn{min-width:240px;min-height:56px;margin-top:10px;padding:0 28px;border-radius:18px;font:800 1.1rem 'Nunito',system-ui,sans-serif;cursor:pointer}
@keyframes gentleIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media (max-width:899px){
  .cat-art{height:clamp(90px,14vh,130px)}
}
@media (max-width:599px){
  .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .cat-card{padding:10px 10px 14px;border-radius:24px;gap:6px}
  .cat-art{height:clamp(78px,13vh,110px);border-radius:16px}
  .cat-check{top:16px;right:16px;width:26px;height:26px}
  .fc-actions{flex-direction:column;gap:10px}
  .fc-audio,.fc-next{width:100%;min-height:56px}
  .fc-art{height:clamp(150px,34vh,300px)}
  .done-card{padding:28px 20px}
  .star-tile{width:120px;height:120px;border-radius:36px}
}

/* ===================== v8: hero balance, download modal, roadmap, Level 2, joyful finish ===================== */
.hero{justify-content:space-evenly;padding:0 0 clamp(8px,2vh,20px)}
h1{margin:clamp(14px,2.6vh,28px) auto}
.tk-h1{margin:0 0 8px}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none!important;box-shadow:none!important}

/* download modal */
.modal{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s linear .35s}
.modal.open{opacity:1;visibility:visible;transition:opacity .35s ease}
.modal[hidden]{display:none}
.modal-backdrop{position:absolute;inset:0;background:rgba(18,48,31,.4);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.modal-card{position:relative;width:min(100%,540px);max-height:100%;overflow:auto;padding:clamp(22px,4vw,34px);border-radius:30px;text-align:center;transform:translateY(14px) scale(.98);transition:transform .45s var(--ease)}
.modal.open .modal-card{transform:none}
.modal-card:focus{outline:none}
.modal-x{position:absolute;top:14px;right:14px;width:42px;height:42px;border-radius:50%;border:0;background:rgba(27,59,43,.08);color:#1B3B2B;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}
.modal-x:hover{background:rgba(27,59,43,.16)}
.modal-icon{width:80px;height:80px;display:block;margin:0 auto 12px;filter:drop-shadow(0 10px 16px rgba(14,90,40,.3))}
.modal-card h2{margin:0 0 4px}
.modal-sub{margin:0 0 18px;font-size:15.5px;font-weight:500;line-height:1.5;color:#1F2923}
.dl-options{display:grid;gap:12px}
.dl-opt{display:flex;align-items:center;gap:14px;padding:14px 14px 14px 16px;border-radius:22px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.7);text-align:left}
.dl-glyph{flex:none;width:46px;height:46px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:rgba(30,86,49,.1);color:#1E5631}
.dl-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.dl-info b{font-size:15.5px;line-height:1.3;color:#1B3B2B}
.dl-file{font:700 13px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#1E5631}
.dl-info small{font-size:13px;line-height:1.35;color:#3a5646;font-weight:500}
.dl-btn{position:relative;overflow:hidden;flex:none;min-width:136px;padding:0 16px;cursor:pointer;font-family:inherit}
.dl-fill{position:absolute;inset:0;transform:scaleX(0);transform-origin:left;background:rgba(255,255,255,.3);transition:transform .35s linear}
.dl-label{position:relative;display:inline-flex;align-items:center;gap:8px}
.dl-btn[data-state="done"]{background:#3E8E5B;border-color:#3E8E5B}
.dl-btn[data-state="error"]{background:#8a5a3c;border-color:#8a5a3c}
.dl-btn[data-state="busy"]{pointer-events:none}
.dl-btn[data-state="done"] .dl-fill,.dl-btn[data-state="error"] .dl-fill{opacity:0}
.dl-note{min-height:2.7em;margin:14px 0 0;font-size:13px;line-height:1.45;font-weight:600;color:#3a5646}
@media (max-width:520px){.dl-opt{flex-wrap:wrap}.dl-btn{width:100%}}

/* roadmap */
#tk-roadmap,#tk-game{max-width:880px}
.road-cover{display:flex;align-items:flex-end;justify-content:center;gap:4px;height:clamp(54px,9vh,84px);margin-bottom:2px}
.road-cover img{height:100%;width:auto;max-width:90px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(27,59,43,.14))}
.road{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;width:100%}
.road.single{display:flex;justify-content:center}
.road.single .lvl-card{width:min(100%,440px)}
.road-link{align-self:center;width:clamp(26px,5vw,64px);border-top:4px dotted rgba(30,86,49,.35)}
.lvl-card{appearance:none;-webkit-appearance:none;font:inherit;color:inherit;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:clamp(18px,3vh,28px) 22px;border-radius:30px;border:1.5px solid rgba(255,255,255,.7);border-top-color:rgba(255,255,255,.9);background:var(--surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--glass-shadow);cursor:pointer;text-align:center;transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease)}
.lvl-card:hover{transform:translateY(-4px);border-color:rgba(30,86,49,.35);box-shadow:0 26px 46px -16px rgba(27,59,43,.22),inset 0 1px 0 rgba(255,255,255,.55)}
.lvl-card:active{transform:scale(.99);transition-duration:.12s}
.lvl-card:focus-visible{outline:4px solid #1E5631;outline-offset:4px}
.lvl-num{padding:4px 13px;border-radius:999px;background:rgba(30,86,49,.12);color:#17472a;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.lvl-glyph{display:flex;align-items:center;justify-content:center;width:clamp(72px,13vh,104px);height:clamp(72px,13vh,104px);border-radius:30px;background:linear-gradient(160deg,#E4EFDC,#C9DEC0);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 10px 20px -10px rgba(27,59,43,.25)}
.lvl-glyph.warm{background:linear-gradient(160deg,#F5ECCF,#E8DAAE)}
.lvl-glyph svg{width:86%;height:86%}
.lvl-title{font-size:clamp(1.35rem,2.2vw,1.8rem);font-weight:800;line-height:1.15;color:#1B3B2B}
.lvl-desc{font-size:1rem;font-weight:600;line-height:1.4;color:#3a5646;max-width:30ch}
.lvl-status{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:999px;background:rgba(255,255,255,.55);font-size:14px;font-weight:800;color:#2A4535}
.lvl-status.done{background:#3E8E5B;color:#fff}
@media (max-width:699px){
  .road{grid-template-columns:1fr;max-width:460px}
  .road-link{width:0;height:24px;border-top:0;border-left:4px dotted rgba(30,86,49,.35);justify-self:center}
  .lvl-card{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;text-align:left;gap:6px 16px;padding:16px 18px;border-radius:26px}
  .lvl-glyph{width:72px;height:72px;border-radius:22px}
  .lvl-card .lvl-num,.lvl-card .lvl-title,.lvl-card .lvl-desc,.lvl-card .lvl-status{flex:0 0 auto}
  .lvl-text{display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:1;min-width:0}
}
.lvl-text{display:flex;flex-direction:column;align-items:center;gap:8px}

/* v8 layout fixes */
.fc-progress{white-space:nowrap;flex:none}
.fc-cat{min-width:0;text-align:left}
@media (max-width:699px){.lvl-card .lvl-text{align-items:flex-start;text-align:left}}
@media (max-height:760px){.done-items{display:none}.stars svg{width:48px;height:48px}.stars svg:nth-child(2){width:64px;height:64px}.done-card{gap:10px;padding-top:22px;padding-bottom:22px}}

@media (max-height:700px){.road-cover{height:44px}.lvl-glyph{width:64px;height:64px}.lvl-card{padding-top:12px;padding-bottom:12px}}
/* attention to slow-repeat */
.fc-audio[data-tag]::after{content:attr(data-tag);margin-left:2px;padding:2px 10px;border-radius:999px;background:rgba(30,86,49,.14);font-size:.8rem;letter-spacing:.02em}

/* Level 2: Complete the Word */
.gm-card .fc-art{height:clamp(110px,22vh,260px)}
.gm-word{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:8px clamp(14px,3vw,28px);margin:0;min-height:1em}
.gm-group{display:inline-flex;gap:clamp(4px,1vw,10px)}
.gm-ch{display:flex;align-items:center;justify-content:center;width:clamp(34px,min(8.4vw,7vh),66px);height:clamp(46px,min(11vw,9.5vh),84px);border-radius:16px;font:900 clamp(1.6rem,min(5.8vw,5.6vh),3.2rem)/1 'Nunito',system-ui,sans-serif;color:#1B3B2B;background:rgba(255,255,255,.6);border:2px solid rgba(30,86,49,.12);transition:background .5s var(--ease),border-color .5s var(--ease),transform .4s var(--ease)}
.gm-sep{align-self:center;font:900 clamp(1.4rem,4vw,2.4rem)/1 'Nunito',system-ui,sans-serif;color:#3a5646}
.gm-ch.blank{background:rgba(255,255,255,.28);border:3px dashed rgba(30,86,49,.42)}
.gm-ch.blank.active{border-color:#1E5631;animation:slotBreathe 3.2s ease-in-out infinite}
.gm-ch.filled{background:#DDEFD7;border:2px solid #7DBB8A;animation:tilePop .5s var(--ease)}
.gm-word.complete .gm-ch{background:#CFE9CB;border-color:#4E9A68;color:#124A27}
.gm-word.complete{animation:gentlePulse 1.1s var(--ease)}
.gm-hint{margin:0;font-size:1rem;font-weight:700;color:#3a5646;text-align:center}
.gm-tiles{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(8px,1.6vw,16px)}
.gm-tile{appearance:none;-webkit-appearance:none;width:clamp(56px,min(15vw,10.5vh),86px);height:clamp(56px,min(15vw,10.5vh),86px);border-radius:24px;border:2px solid rgba(255,255,255,.85);font:900 clamp(1.7rem,min(6vw,5.8vh),3rem)/1 'Nunito',system-ui,sans-serif;color:#1B3B2B;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 10px 18px -10px rgba(27,59,43,.3);transition:transform .25s var(--ease),opacity .4s ease,box-shadow .3s ease}
.gm-tile:nth-child(5n+1){background:#F8E1D5}.gm-tile:nth-child(5n+2){background:#DCEBFA}.gm-tile:nth-child(5n+3){background:#E6DFF3}.gm-tile:nth-child(5n+4){background:#F6EBC4}.gm-tile:nth-child(5n+5){background:#D5EBDD}
.gm-tile:hover{transform:translateY(-3px)}
.gm-tile:active{transform:scale(.95);transition-duration:.08s}
.gm-tile:focus-visible{outline:4px solid #1E5631;outline-offset:3px}
.gm-tile.nudge{animation:nudge .55s var(--ease)}
.gm-tile.hint{box-shadow:0 0 0 6px rgba(78,154,104,.38),0 10px 18px -10px rgba(27,59,43,.3)}
.gm-tile.used{opacity:.25;pointer-events:none;transform:scale(.9)}
.gm-card{gap:clamp(8px,1.6vh,16px)}
.gm-card .fc-actions{flex-direction:row;gap:12px}
.gm-card .fc-audio,.gm-card .fc-next{min-height:56px}
@keyframes nudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}60%{transform:translateX(5px)}85%{transform:translateX(-2px)}}
@keyframes tilePop{0%{transform:scale(.86)}60%{transform:scale(1.06)}100%{transform:scale(1)}}
@keyframes slotBreathe{0%,100%{box-shadow:0 0 0 0 rgba(30,86,49,0)}50%{box-shadow:0 0 0 6px rgba(30,86,49,.14)}}
@keyframes gentlePulse{0%{transform:scale(1)}40%{transform:scale(1.04)}100%{transform:scale(1)}}
@media (max-width:599px){
  .gm-card .fc-actions{flex-direction:row}
  .gm-card .fc-audio,.gm-card .fc-next{width:auto;flex:1 1 0;padding:0 14px;font-size:1rem}
  .gm-card .fc-audio span{white-space:nowrap}
}

/* joyful finish */
.done-card{position:relative;overflow:hidden;max-width:640px;gap:14px;padding:clamp(28px,5vh,44px) clamp(22px,4vw,40px)}
.done-card>*{position:relative;z-index:1}
.done-card>.confetti{position:absolute;z-index:0}
.confetti{inset:0;pointer-events:none;overflow:hidden}
.confetti i{position:absolute;top:-16px;width:12px;height:12px;border-radius:5px;opacity:0;animation:drift 11s ease-in infinite}
.confetti i:nth-child(1){left:6%;background:#F8E1D5;animation-delay:.2s}.confetti i:nth-child(2){left:16%;background:#DCEBFA;animation-delay:3.1s;width:9px;height:9px}
.confetti i:nth-child(3){left:27%;background:#F6EBC4;animation-delay:1.4s}.confetti i:nth-child(4){left:38%;background:#D5EBDD;animation-delay:5.2s;border-radius:50%}
.confetti i:nth-child(5){left:49%;background:#E6DFF3;animation-delay:.9s}.confetti i:nth-child(6){left:58%;background:#F8E1D5;animation-delay:4.4s;border-radius:50%}
.confetti i:nth-child(7){left:68%;background:#DCEBFA;animation-delay:2.2s}.confetti i:nth-child(8){left:78%;background:#F6EBC4;animation-delay:6.3s;width:9px;height:9px}
.confetti i:nth-child(9){left:87%;background:#D5EBDD;animation-delay:1.9s}.confetti i:nth-child(10){left:94%;background:#E6DFF3;animation-delay:3.8s;border-radius:50%}
@keyframes drift{0%{transform:translateY(-10px) rotate(0);opacity:0}12%{opacity:.85}100%{transform:translateY(560px) rotate(220deg);opacity:0}}
.stars{display:flex;gap:8px;justify-content:center;align-items:flex-end;margin-bottom:2px}
.stars svg{width:62px;height:62px;animation:starPop .9s var(--ease) both}
.stars svg:nth-child(2){width:86px;height:86px;animation-delay:.2s}
.stars svg:nth-child(3){animation-delay:.4s}
@keyframes starPop{0%{transform:scale(.3) rotate(-14deg);opacity:0}65%{transform:scale(1.1) rotate(4deg);opacity:1}100%{transform:scale(1) rotate(0);opacity:1}}
.done-items{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%;margin:2px 0 4px}
.done-items img{width:46px;height:46px;object-fit:contain;padding:4px;border-radius:14px;background:var(--tint,#E4EFDC)}
.done-actions{display:flex;flex-direction:column;gap:10px;width:100%;max-width:360px;margin-top:4px}
.done-actions .btn{width:100%;min-height:56px;padding:0 24px;border-radius:18px;font:800 1.1rem 'Nunito',system-ui,sans-serif;cursor:pointer}
.done-actions .btn[hidden]{display:none}
@media (max-width:599px){.done-items img{width:38px;height:38px}.stars svg{width:50px;height:50px}.stars svg:nth-child(2){width:68px;height:68px}}
@media (prefers-reduced-motion:reduce){.confetti{display:none}.stars svg,.gm-tile.nudge,.gm-ch.filled,.gm-word.complete,.gm-ch.blank.active{animation:none}.modal-card{transition:none}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
  .dot{animation:none}
  .btn-ghost.cue{animation:dlCueStatic 1.2s steps(1,end) 1}
  .search.open{animation:none}
  .js .reveal{opacity:1;transform:none}
  .tile.big::after{animation:none}
  .done-card{animation:none}
}


/* Former inline style="" attributes, moved here because the strict CSP (style-src 'self') blocks them. */
.tk-brand > svg:first-child{flex:none !important}
.toast > svg:first-child{flex:none !important}
#about-title{margin-bottom:10px !important}
#about-title + .body-text{max-width:720px !important}

/* touch targets: keep the look, enlarge the hit area to 44px */
.nav-link,.lang-btn,.icon-btn{position:relative}
.nav-link::after,.lang-btn::after,.icon-btn::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
/* audio blocked by browser autoplay policy: gentle pulse asks for a tap */
.needs-tap{animation:needsTap 1.1s ease-in-out 3}
@keyframes needsTap{0%,100%{box-shadow:0 0 0 0 rgba(30,86,49,.0)}50%{box-shadow:0 0 0 8px rgba(30,86,49,.25)}}
@media (prefers-reduced-motion:reduce){.needs-tap{animation:none;outline:3px solid rgba(30,86,49,.4)}}

/* ---- What sound does it make? ---- */
.sn-card{gap:clamp(8px,1.6vh,16px)}
.sn-learn,.sn-quiz{display:flex;flex-direction:column;align-items:center;gap:clamp(8px,1.6vh,16px);width:100%}
.sn-learn[hidden],.sn-quiz[hidden]{display:none}
.sn-art{appearance:none;-webkit-appearance:none;border:0;cursor:pointer;height:clamp(120px,27vh,300px);font:inherit}
.sn-art:focus-visible,.sn-choice:focus-visible,.sn-qsound:focus-visible{outline:4px solid #1E5631;outline-offset:4px}
.sn-act{margin:0;font-weight:800;font-size:clamp(1.05rem,2.6vw,1.5rem);color:#1B3B2B;text-align:center}
.sn-q{margin:0;font-weight:800;font-size:clamp(1rem,2.4vw,1.35rem);color:#3a5646;text-align:center}
.sn-sound{appearance:none;-webkit-appearance:none;background:none;border:0;margin:0;padding:4px 8px;font:900 clamp(1.9rem,min(8vw,7vh),3.8rem)/1.1 'Nunito',system-ui,sans-serif;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px clamp(8px,2vw,18px);color:#1B3B2B;text-align:center}
.sn-qsound{cursor:pointer;min-height:56px;border-radius:22px;background:rgba(255,255,255,.55);padding:6px 20px}
.sn-syl{display:inline-block;padding:2px 14px;border-radius:18px;background:rgba(255,255,255,.55);transition:transform .35s var(--ease),background .35s ease,color .35s ease}
.sn-syl.on{transform:scale(1.14);background:#CFE9CB;color:#124A27}
.sn-syl+.sn-syl::before{content:"";}
.sn-choices{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:clamp(12px,2.2vw,22px);width:100%;max-width:640px}
.sn-choice{appearance:none;-webkit-appearance:none;font:inherit;color:#1B3B2B;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;height:clamp(92px,17vh,170px);padding:8px;border-radius:26px;border:2px solid rgba(255,255,255,.85);box-shadow:0 10px 20px -14px rgba(27,59,43,.35);transition:transform .25s var(--ease),box-shadow .25s ease,opacity .25s ease}
.sn-choice:nth-child(4n+1){background:#F8E1D5}.sn-choice:nth-child(4n+2){background:#DCEBFA}.sn-choice:nth-child(4n+3){background:#E6DFF3}.sn-choice:nth-child(4n+4){background:#F6EBC4}
.sn-choice img{flex:1 1 0;min-height:0;max-width:92%;max-height:100%;width:auto;height:auto;object-fit:contain}
.sn-label{font-weight:800;font-size:.95rem;line-height:1}
.sn-choice:hover{transform:translateY(-3px)}
.sn-choice:active{transform:scale(.97);transition-duration:.08s}
.sn-choice.nudge{animation:nudge .55s var(--ease)}
.sn-choice.hint{box-shadow:0 0 0 6px rgba(78,154,104,.38),0 10px 18px -10px rgba(27,59,43,.3)}
.sn-choice.right{background:#CFE9CB;border-color:#4E9A68;animation:tilePop .5s var(--ease)}
.sn-choice.dim{opacity:.45}
.road.four{display:grid;grid-template-columns:1fr;gap:10px}
.road.four .road-link{display:none}
@media (min-width:700px){.road.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:760px;margin-inline:auto}}
@media (max-height:700px){.sn-art{height:clamp(96px,22vh,200px)}.sn-choice{height:clamp(80px,15vh,130px)}}
@media (prefers-reduced-motion:reduce){.sn-syl,.sn-choice{transition:none}.sn-choice.nudge,.sn-choice.right{animation:none}}
.sn-dash{opacity:.5;font-weight:700}
@media (max-height:760px){.sn-choice{height:clamp(78px,13.5vh,130px)}.sn-art{height:clamp(96px,20vh,200px)}.sn-card{gap:8px}.sn-sound{font-size:clamp(1.7rem,min(7vw,6vh),3rem)}}
@media (max-width:560px){.sn-card .fc-actions{flex-wrap:nowrap;gap:10px}.sn-card .fc-audio,.sn-card .fc-next{flex:1 1 0;min-width:0;padding:0 10px;font-size:1rem;min-height:56px}.sn-card .fc-audio span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
/* kid-friendly touch targets: >=56px (visible size in the app, enlarged hit area in the marketing nav) */
.tk-listen,.lang-opt{min-height:56px}
.nav-link::after,.lang-btn::after,.icon-btn::after,.brand::after{height:56px;min-width:56px;left:50%;right:auto;width:max(100%,56px);transform:translate(-50%,-50%)}
.brand{position:relative}

/* ---- Mini-games ---- */
.bonus-wrap{display:grid;gap:clamp(10px,1.6vw,16px)}
.mgm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,20px);width:100%;max-width:820px}
.mgm-card{appearance:none;-webkit-appearance:none;font:inherit;color:inherit;cursor:pointer;display:flex;align-items:center;gap:14px;min-height:96px;padding:14px 16px;border-radius:26px;border:1.5px solid rgba(255,255,255,.8);box-shadow:0 14px 28px -18px rgba(27,59,43,.35);text-align:left;transition:transform .25s var(--ease),box-shadow .25s ease}
.mgm-card:nth-child(6n+1){background:#F8E1D5}.mgm-card:nth-child(6n+2){background:#DCEBFA}.mgm-card:nth-child(6n+3){background:#F6EBC4}.mgm-card:nth-child(6n+4){background:#D5EBDD}.mgm-card:nth-child(6n+5){background:#E6DFF3}.mgm-card:nth-child(6n+6){background:#F9D9E3}
.mgm-card:hover{transform:translateY(-3px)}.mgm-card:active{transform:scale(.98);transition-duration:.08s}
.mgm-card:focus-visible{outline:4px solid #1E5631;outline-offset:3px}
.mgm-ic{flex:none;width:clamp(56px,9vw,72px);height:clamp(56px,9vw,72px);display:flex;align-items:center;justify-content:center}
.mgm-ic svg{width:100%;height:100%}
.mgm-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.mgm-title{font:900 clamp(1.02rem,2.1vw,1.25rem)/1.2 'Nunito',system-ui,sans-serif;color:#1B3B2B;overflow-wrap:anywhere}
.mgm-desc{font-weight:700;font-size:.9rem;color:#3a5646}
@media (max-width:520px){.mgm-grid{grid-template-columns:1fr}}
.mg-card{gap:clamp(8px,1.5vh,16px)}
.mg-q{margin:0;font-weight:900;font-size:clamp(1.15rem,2.8vw,1.7rem);color:#1B3B2B;text-align:center}
.mg-stage{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:100%;height:clamp(96px,20vh,230px);border-radius:24px;background:radial-gradient(ellipse at 50% 45%,rgba(255,255,255,.7) 0%,rgba(255,255,255,0) 62%),#E4EFDC}
.mg-stage[hidden]{display:none}
.mg-stage>img{max-height:86%;max-width:80%;width:auto;height:auto;object-fit:contain;min-height:0;filter:drop-shadow(0 10px 12px rgba(27,59,43,.14))}
.mg-stage>svg{height:72%;width:auto;max-width:60%}
.mg-stage-name{font-weight:800;color:#1B3B2B;font-size:1.05rem}
.mg-objs{flex-direction:row;flex-wrap:wrap;gap:clamp(6px,1.2vw,12px);padding:8px;height:auto;min-height:clamp(96px,20vh,230px);align-content:center}
.mg-obj{appearance:none;-webkit-appearance:none;position:relative;border:0;background:rgba(255,255,255,.55);border-radius:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:4px;width:clamp(56px,13vh,108px);height:clamp(56px,13vh,108px);transition:transform .25s var(--ease),background .25s ease}
.mg-objs[data-n="m"] .mg-obj{width:clamp(56px,10vh,84px);height:clamp(56px,10vh,84px)}
.mg-obj img{max-width:100%;max-height:100%;object-fit:contain}
.mg-obj.counted{background:#CFE9CB;transform:scale(.95)}
.mg-obj:focus-visible,.mg-opt:focus-visible{outline:4px solid #1E5631;outline-offset:3px}
.mg-badge{position:absolute;top:-4px;right:-4px;min-width:26px;height:26px;border-radius:999px;background:#1E5631;color:#fff;font:800 .85rem/26px 'Nunito',system-ui,sans-serif;text-align:center;padding:0 5px}
.mg-opts{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:clamp(12px,2.2vw,22px);width:100%;max-width:640px}
.mg-opt{appearance:none;-webkit-appearance:none;font:inherit;color:#1B3B2B;cursor:pointer;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;height:clamp(88px,15vh,160px);padding:8px;border-radius:26px;border:2px solid rgba(255,255,255,.85);box-shadow:0 10px 20px -14px rgba(27,59,43,.35);overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s ease,opacity .25s ease,background .25s ease}
.mg-opt:nth-child(4n+1){background:#F8E1D5}.mg-opt:nth-child(4n+2){background:#DCEBFA}.mg-opt:nth-child(4n+3){background:#E6DFF3}.mg-opt:nth-child(4n+4){background:#F6EBC4}
.mg-opt:hover{transform:translateY(-3px)}.mg-opt:active{transform:scale(.97);transition-duration:.08s}
.mg-opt svg{flex:1 1 0;min-height:0;width:auto;max-width:90%;max-height:100%}
.mg-opt img{flex:1 1 0;min-height:0;max-width:92%;object-fit:contain}
.mg-sized img{flex:none;height:calc(var(--s,1) * 100%);max-height:100%;width:auto}
.mg-label{font-weight:800;font-size:.95rem;line-height:1.1}
.mg-scene{padding:0}.mg-scene svg{width:100%;max-width:100%;height:100%;flex:1 1 auto}
.mg-over{position:absolute;left:8px;bottom:6px;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.88)}
.mg-num{font:900 clamp(2.2rem,8vw,3.6rem)/1 'Nunito',system-ui,sans-serif}
.mg-yes{background:#D5EBDD!important;color:#1E5631}.mg-no{background:#F9D9E3!important;color:#9A3F4A}
.mg-yes,.mg-no{flex-direction:row;gap:12px;font:900 1.4rem 'Nunito',system-ui,sans-serif}
.mg-yes svg,.mg-no svg{flex:none;width:44px;height:44px}
.mg-opt.nudge{animation:nudge .55s var(--ease)}
.mg-opt.hint{box-shadow:0 0 0 6px rgba(78,154,104,.38),0 10px 18px -10px rgba(27,59,43,.3)}
.mg-opt.right{background:#CFE9CB!important;border-color:#4E9A68;animation:tilePop .5s var(--ease)}
.mg-opt.wrong{border-color:#E08A82}
.mg-opt.dim{opacity:.45}
@media (max-height:760px){.mg-card{gap:8px}.mg-opt{height:clamp(76px,13.5vh,130px)}.mg-stage{height:clamp(80px,17vh,190px)}}
@media (max-width:560px){#tk-mg .fc-actions{flex-wrap:nowrap;gap:10px}#tk-mg .fc-audio,#tk-mg .fc-next{flex:1 1 0;min-width:0;padding:0 10px;font-size:1rem;min-height:56px}#tk-mg .fc-audio span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media (prefers-reduced-motion:reduce){.mg-opt,.mg-obj,.mgm-card{transition:none}.mg-opt.nudge,.mg-opt.right{animation:none}}
.mg-opt{height:clamp(80px,13vh,150px)}
.mg-stage{height:clamp(90px,17vh,220px)}
.mg-objs{min-height:clamp(90px,17vh,220px)}
.mg-objs[data-n="m"] .mg-obj{width:58px;height:58px}
.mg-objs[data-n="s"] .mg-obj{width:clamp(58px,10vh,84px);height:clamp(58px,10vh,84px)}
.mg-num{height:clamp(72px,12vh,120px)}

/* ======== Large-screen polish (tablet landscape, laptop, desktop) ======== */
@media (min-width:700px){
  .bonus-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mgm-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
  .mgm-card{min-height:116px;padding:18px 22px;border-radius:30px}
  .mgm-ic{width:76px;height:76px}
  .mgm-title{font-size:1.3rem}.mgm-desc{font-size:1rem}
}
@media (min-width:1100px){
  .mgm-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1120px}
  .mgm-card{flex-direction:column;justify-content:center;text-align:center;min-height:200px;gap:14px}
  .mgm-text{align-items:center}
  .mgm-ic{width:96px;height:96px}
  .mgm-title{font-size:1.45rem}
}
@media (min-width:900px) and (min-height:640px){
  .mg-card,.sn-card{max-width:1040px;margin-inline:auto;padding:clamp(20px,3.2vh,40px);gap:clamp(14px,2.4vh,28px)}
  .mg-q{font-size:clamp(1.6rem,3.4vh,2.3rem)}
  .sn-q{font-size:clamp(1.3rem,3vh,1.9rem)}
  .mg-stage{height:clamp(150px,26vh,330px)}
  .mg-objs{min-height:clamp(150px,26vh,330px);gap:14px}
  .mg-objs .mg-obj{width:clamp(84px,13vh,132px);height:clamp(84px,13vh,132px)}
  .mg-objs[data-n="m"] .mg-obj{width:clamp(72px,10.5vh,108px);height:clamp(72px,10.5vh,108px)}
  .mg-opts,.sn-choices{max-width:980px;gap:clamp(16px,2.4vw,28px)}
  .mg-opts[data-count="4"],.sn-choices[data-n="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
  .mg-opt{height:clamp(130px,23vh,260px);border-radius:32px}
  .sn-choice{height:clamp(130px,23vh,260px);border-radius:32px}
  .mg-label,.sn-label{font-size:1.15rem}
  .mg-num{font-size:clamp(3rem,8vh,5rem);height:clamp(110px,18vh,200px)}
  .mg-yes,.mg-no{font-size:1.8rem;height:clamp(96px,16vh,160px)}
  .sn-art{height:clamp(170px,31vh,360px)}
  .sn-sound{font-size:clamp(2.6rem,7vh,4.6rem)}
  .sn-act{font-size:clamp(1.3rem,3vh,1.9rem)}
  .fc-audio,.fc-next{min-height:64px}
  .mg-badge{min-width:30px;height:30px;line-height:30px;font-size:1rem}
}
@media (min-width:600px) and (max-width:899px) and (min-height:700px){
  .mg-opt,.sn-choice{height:clamp(120px,18vh,210px)}
  .mg-stage{height:clamp(130px,22vh,280px)}
}

/* ---- category grid: always balanced, orphan row centred ---- */
.cat-grid{--g:clamp(12px,2vw,22px);display:flex;flex-wrap:wrap;justify-content:center;gap:var(--g)}
.cat-card{flex:0 0 calc((100% - 2 * var(--g)) / 3);min-width:0}
@media (max-width:599px){.cat-grid{--g:12px}.cat-card{flex:0 0 calc((100% - var(--g)) / 2)}}
@media (min-width:1280px) and (min-height:760px){.cat-grid{max-width:1180px;margin-inline:auto}}
/* ---- bonus + mini-games entry cards ---- */
@media (min-width:700px){
  .bonus-card{padding-right:14px}
  .bonus-title{font-size:clamp(1.1rem,1.9vw,1.4rem)}
  .bonus-art img{width:clamp(44px,5.4vw,66px);height:clamp(44px,5.4vw,66px)}
  .bonus-go{flex:none}
}
/* ---- header of the game screens follows the card width ---- */
@media (min-width:900px) and (min-height:640px){
  #tk-mg .fc-top,#tk-mg .fc-bar,#tk-sounds .fc-top,#tk-sounds .fc-bar{max-width:1040px;margin-inline:auto}
}
.mg-yes .mg-label,.mg-no .mg-label{font-size:inherit}
@media (max-width:520px){.bonus-card{padding:12px 14px;gap:10px}.bonus-title{font-size:1.1rem}.bonus-sub{font-size:.85rem}.bonus-art img{width:44px;height:44px}}
@media (min-width:600px) and (max-width:899px){.mg-objs .mg-obj{width:clamp(84px,13vw,120px);height:clamp(84px,13vw,120px)}.mg-objs[data-n="m"] .mg-obj{width:clamp(72px,10vw,96px);height:clamp(72px,10vw,96px)}}
/* fit-to-viewport tuning for large screens (keeps everything inside one screen) */
@media (min-width:900px) and (min-height:640px){
  .mg-stage{height:clamp(120px,21vh,290px)}
  .mg-objs{min-height:clamp(120px,21vh,290px)}
  .mg-opt,.sn-choice{height:clamp(110px,19vh,230px)}
  .sn-art{height:clamp(140px,25vh,320px)}
  .mg-card,.sn-card{padding:clamp(16px,2.4vh,32px);gap:clamp(10px,1.8vh,22px)}
  .mg-yes,.mg-no{height:clamp(90px,15vh,150px)}
  .mg-num{height:clamp(96px,16vh,180px)}
}
#tk-mg .fc-audio,#tk-mg .fc-next,#tk-sounds .fc-audio,#tk-sounds .fc-next{min-height:58px}

/* ---- Emotions game ---- */
.mgm-grid{display:flex;flex-wrap:wrap;justify-content:center;--g:clamp(12px,2vw,20px);gap:var(--g)}
.mgm-card{flex:0 0 100%;min-width:0}
@media (min-width:521px){.mgm-card{flex:0 0 calc((100% - var(--g)) / 2)}}
@media (min-width:1100px){.mgm-card{flex:0 0 calc((100% - 2 * var(--g)) / 3)}}
#tk-mg-card[data-game="emotions"] .mg-stage{order:1;height:clamp(190px,34vh,440px);background:none;padding:0}
#tk-mg-card[data-game="emotions"] .mg-q{order:2}
#tk-mg-card[data-game="emotions"] .mg-opts{order:3}
#tk-mg-card[data-game="emotions"] .gm-hint{order:4;min-height:2.4em}
#tk-mg-card[data-game="emotions"] .fc-actions{order:5}
.emo-scene{position:relative;display:inline-block;height:100%;max-width:100%;filter:drop-shadow(0 14px 18px rgba(27,59,43,.18))}
.emo-scene>img:first-child{display:block;height:100%;width:auto;max-width:100%;border-radius:22px}
.mg-stage>.emo-scene{max-height:100%}
.emo-face{position:absolute;left:var(--cx);top:var(--cy);width:var(--fw);height:auto;transform:translate(-50%,-50%) scale(.55);opacity:0;transition:transform .6s var(--ease),opacity .45s ease;pointer-events:none}
.emo-face.on{transform:translate(-50%,-50%) scale(1);opacity:1}
.mg-emoopt img{flex:1 1 0;min-height:0;max-width:78%;object-fit:contain}
.mg-emoopt{min-height:72px;gap:6px}
.mg-emoopt .mg-label{font-size:1.02rem}
@media (max-width:520px){#tk-mg-card[data-game="emotions"] .mg-stage{height:clamp(170px,30vh,300px)}#tk-mg-card[data-game="emotions"] .mg-opts{gap:16px}.mg-emoopt{height:clamp(84px,12.5vh,120px)}}
@media (min-width:900px) and (min-height:640px){#tk-mg-card[data-game="emotions"] .mg-stage{height:clamp(190px,32vh,420px)}}
@media (prefers-reduced-motion:reduce){.emo-face{transition:none}}
@media (max-width:520px){
  #tk-mg-card[data-game="emotions"]{gap:6px;padding:12px}
  #tk-mg-card[data-game="emotions"] .mg-stage{height:clamp(150px,26vh,250px)}
  #tk-mg-card[data-game="emotions"] .mg-q{font-size:1.02rem}
  #tk-mg-card[data-game="emotions"] .mg-opts{gap:12px}
  .mg-emoopt{height:clamp(76px,10.5vh,104px);min-height:72px;padding:6px;border-radius:22px}
  .mg-emoopt .mg-label{font-size:.9rem}
  #tk-mg-card[data-game="emotions"] .gm-hint{min-height:2.2em;font-size:.9rem}
}

/* ---- Stages, stars, lock, parent panel ---- */
.mgm-msg{min-height:1.4em;margin:0 auto 4px;max-width:640px;text-align:center;font:800 1rem/1.35 'Nunito',system-ui,sans-serif;color:#3a5646}
.mgm-grid{--g:16px;gap:16px}
.mgm-card{position:relative;flex-wrap:nowrap;min-height:96px}
.mgm-card .mgm-text{flex:1 1 auto}
.mgm-stage{font:900 .72rem/1 'Nunito',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5B7A66}
.mgm-stars{display:flex;gap:4px;margin-top:6px}
.mgm-stars svg{width:24px;height:24px}
.mgm-lock{position:absolute;top:12px;right:14px;width:34px;height:34px}
.mgm-card.locked .mgm-text{padding-right:34px}
.mgm-lock svg{width:100%;height:100%}
.mgm-card.locked{filter:saturate(.45);opacity:.82}
.mgm-card.locked .mgm-ic{opacity:.6}
.mgm-card.nudge{animation:nudge .5s var(--ease)}
@media (min-width:1100px){.mgm-stars{justify-content:center}.mgm-stars svg{width:28px;height:28px}.mgm-card.locked .mgm-text{padding-right:0}.mgm-lock{top:14px;right:16px}}
.stars svg.star-off{opacity:.9;filter:grayscale(.2)}
.stars.run svg{animation-duration:.8s}
.stars.run svg:nth-child(1){animation-delay:.25s}
.stars.run svg:nth-child(2){animation-delay:.9s}
.stars.run svg:nth-child(3){animation-delay:1.55s}
.stars.run svg.star-off{animation:none}
.done-actions{gap:16px;max-width:380px}
.done-actions .btn{min-height:68px}
.par-wrap{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:84px;gap:12px;width:100%;max-width:1120px;margin-top:20px}
.par-toggle{min-height:68px;padding:0 24px;border-radius:20px;font:800 1rem 'Nunito',system-ui,sans-serif;cursor:pointer}
.par-panel{display:flex;flex-direction:column;gap:16px;width:100%;max-width:420px;padding:18px;border-radius:24px;background:rgba(255,255,255,.7);border:1.5px solid rgba(255,255,255,.85)}
.par-panel[hidden]{display:none}
.par-q{font:800 1.05rem 'Nunito',system-ui,sans-serif;color:#1B3B2B}
.par-row,.par-acts{display:flex;gap:16px;flex-wrap:wrap}
.par-acts[hidden]{display:none}
.par-in{flex:1 1 90px;min-width:0;min-height:68px;padding:0 16px;border-radius:18px;border:2px solid #B9CFC0;background:#fff;font:800 1.4rem 'Nunito',system-ui,sans-serif;color:#1B3B2B;text-align:center}
.par-in:focus-visible{outline:4px solid #1E5631;outline-offset:2px}
.par-panel .btn{min-height:68px;padding:0 22px;border-radius:18px;font:800 1.05rem 'Nunito',system-ui,sans-serif;cursor:pointer;flex:1 1 140px}
.par-msg{margin:0;min-height:1.3em;font:800 .95rem 'Nunito',system-ui,sans-serif;color:#3a5646}
@media (max-width:520px){.par-wrap{align-items:stretch}.par-toggle{width:100%}}
@media (prefers-reduced-motion:reduce){.stars.run svg,.mgm-card.nudge{animation:none}}
.stars.run svg:not(.star-off) path{fill:#F4D45E}
.stars.run svg.star-off path{fill:#E4E8E0;stroke:#9FB3A5}
.stars svg.star-off{opacity:1;filter:none}

/* ---- Logic Games: new stages ---- */
.bonus-wrap[hidden]{display:none}
.mg-picopt{min-height:72px;gap:6px}
.mg-picopt img{flex:1 1 0;min-height:0;max-width:80%;object-fit:contain}
.mg-picopt .mg-label{font-size:1.02rem}
.mg-opt.mg-hot:not(.right):not(.wrong):not(.dim){background:#FBE5B4}
.mg-opt.mg-cold:not(.right):not(.wrong):not(.dim){background:#D6EAF8}
#tk-mg-card[data-game="hotcold"] .mg-opt{height:clamp(120px,22vh,230px)}
#tk-mg-card[data-game="hotcold"] .mg-label{font-size:1.2rem}
#tk-mg-card[data-game="hotcold"] .mg-opts{gap:16px}
#tk-mg-card[data-game="hygiene"] .mg-opts{gap:16px}
.logic-card .cat-art img{object-fit:contain}
@media (max-width:520px){.mg-picopt{height:clamp(84px,12.5vh,120px);padding:6px;border-radius:22px}.mg-picopt .mg-label{font-size:.9rem}#tk-mg-card[data-game="hotcold"] .mg-opt{height:clamp(110px,17vh,170px)}}

/* ---- Paywall (calm pastel) ---- */
#tk-paywall{gap:14px;padding-bottom:36px}
.pw-note{display:flex;align-items:center;gap:14px;width:100%;max-width:760px;padding:14px 18px;border-radius:24px;background:#FBF1D4;border:2px solid #EBD9A6;box-shadow:0 10px 22px -16px rgba(27,59,43,.3)}
.pw-note p{margin:0;font:800 1.05rem/1.35 'Nunito',system-ui,sans-serif;color:#4a4020;text-align:left}
.pw-note-ic{flex:none;display:flex}
#tk-paywall .tk-h1{margin:6px 0 0;text-align:center}
#tk-paywall .tk-sub{max-width:620px;text-align:center;margin:0}
.pw-toggle{display:inline-flex;gap:8px;padding:6px;border-radius:26px;background:rgba(255,255,255,.75);border:1.5px solid rgba(255,255,255,.9)}
.pw-tb{appearance:none;-webkit-appearance:none;cursor:pointer;min-height:68px;min-width:130px;padding:0 26px;border-radius:20px;border:0;background:transparent;color:#1B3B2B;font:900 1.1rem 'Nunito',system-ui,sans-serif;transition:background .25s ease,color .25s ease}
.pw-tb[aria-pressed="true"]{background:#1E5631;color:#fff}
.pw-tb:focus-visible{outline:4px solid #1E5631;outline-offset:2px}
.pw-save{margin:0;min-height:1.6em;padding:0;font:900 .95rem 'Nunito',system-ui,sans-serif;color:#7a5a12;opacity:0;transform:translateY(-4px);transition:opacity .3s ease,transform .3s ease}
.pw-save.on{opacity:1;transform:none;padding:6px 16px;border-radius:999px;background:#F9E9B4}
.pw-grid{display:grid;grid-template-columns:1fr;gap:16px;width:100%;max-width:1120px;margin-top:6px}
.pw-plan{position:relative;display:flex;flex-direction:column;gap:8px;padding:26px 22px 22px;border-radius:30px;background:#FBF8EE;border:2px solid rgba(255,255,255,.9);box-shadow:0 18px 34px -24px rgba(27,59,43,.45);text-align:left}
.pw-plan[data-plan="family"]{background:#F8E6DB}
.pw-plan[data-plan="clinic"]{background:#E3EFE0;border-color:#9CC7A8}
.pw-plan[data-plan="school"]{background:#E3ECF8}
.pw-pop{position:absolute;top:-14px;left:50%;transform:translateX(-50%);padding:7px 18px;border-radius:999px;background:#F9E9B4;border:2px solid #E8D28A;color:#6b4f08;font:900 .9rem 'Nunito',system-ui,sans-serif;white-space:nowrap}
.pw-pt{margin:0;font:900 1.45rem/1.15 'Nunito',system-ui,sans-serif;color:#1B3B2B}
.pw-ps{margin:0;font:800 .95rem 'Nunito',system-ui,sans-serif;color:#4b6a58}
.pw-pd{margin:0;font:700 1rem/1.35 'Nunito',system-ui,sans-serif;color:#3a5646}
.pw-price{margin:8px 0 0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pw-amt{font:900 2.4rem/1 'Nunito',system-ui,sans-serif;color:#1B3B2B}
.pw-per{font:800 1rem 'Nunito',system-ui,sans-serif;color:#4b6a58}
.pw-eq{margin:0;min-height:1.3em;font:800 .95rem 'Nunito',system-ui,sans-serif;color:#2c6a43}
.pw-pick{width:100%;min-height:68px;padding:0 18px;border-radius:22px;font:900 1.1rem 'Nunito',system-ui,sans-serif;cursor:pointer;margin:6px 0 4px;text-align:center}
.pw-feats{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.pw-feats li{position:relative;padding-left:30px;font:700 1rem/1.35 'Nunito',system-ui,sans-serif;color:#2c4637}
.pw-feats li::before{content:"";position:absolute;left:2px;top:.2em;width:18px;height:18px;border-radius:50%;background:#BFE0C8 no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5631' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")}
.pw-foot{display:flex;justify-content:center;width:100%;margin-top:14px}
.pw-team{appearance:none;-webkit-appearance:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:68px;padding:0 26px;border-radius:22px;border:2px solid #B9CFC0;background:rgba(255,255,255,.7);color:#2c4637;font:800 1.05rem 'Nunito',system-ui,sans-serif;transition:background .25s ease,transform .25s var(--ease)}
.pw-team:hover{background:#fff;transform:translateY(-2px)}
.pw-team:focus-visible{outline:4px solid #1E5631;outline-offset:3px}
.pw-modal{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(27,59,43,.35)}
.pw-modal[hidden]{display:none}
.pw-card-modal{display:flex;flex-direction:column;gap:16px;width:100%;max-width:440px;max-height:100%;overflow:auto;padding:28px 24px;border-radius:30px;background:#FBF8EE;box-shadow:0 30px 60px -20px rgba(27,59,43,.5);text-align:center}
.pw-card-modal p{margin:0;font:700 1.05rem/1.4 'Nunito',system-ui,sans-serif;color:#2c4637}
.pw-mt{margin:0;font:900 1.5rem 'Nunito',system-ui,sans-serif;color:#1B3B2B}
.pw-card-modal .btn{min-height:68px;border-radius:22px;font:900 1.1rem 'Nunito',system-ui,sans-serif;cursor:pointer}
@media (min-width:900px){.pw-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:20px}.pw-plan{padding:32px 26px 26px}}
@media (max-width:520px){.pw-note{padding:12px 14px}.pw-note p{font-size:.95rem}.pw-tb{min-width:0;padding:0 20px;flex:1}.pw-toggle{width:100%;max-width:340px}.pw-amt{font-size:2.1rem}}
@media (prefers-reduced-motion:reduce){.pw-save,.pw-tb,.pw-team{transition:none}}
