
@font-face{font-family:"Varela Round";src:url(fonts/VarelaRound.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Assistant";src:url(fonts/Assistant.ttf) format("truetype");font-weight:200 800;font-display:swap}
:root{--navy:#173a5e;--navy2:#0f2742;--ink:#2b2633;--soft:#6b6170;--cream:#fff8ee;--card:#fffdf9;--line:#efe2d0;--gold:#f2b81f;--c:#e0664f;--cs:#fde3dc;--r:24px;--fs:18px;--shadow:0 14px 40px rgba(23,40,70,.14)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Assistant",system-ui,sans-serif;font-size:var(--fs);line-height:1.6;color:var(--ink);background:var(--cream);min-height:100vh;overflow-x:hidden}
h1,h2,h3,.brand span,.btn,.chip,.pin b,.eyebrow,.tool-steps li,.gtitle,.opt,.big-num{font-family:"Varela Round","Assistant",sans-serif;font-weight:400}
h1{font-size:clamp(40px,7vw,86px);line-height:1.02;margin:.1em 0 .25em;letter-spacing:-.01em}
h2{font-size:clamp(24px,3.2vw,34px);line-height:1.2;margin:.2em 0 .4em}
h3{font-size:1.25em;margin:.2em 0 .4em}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
a{color:#2a6bc2}
:focus-visible{outline:4px solid #2f6fd6;outline-offset:3px;border-radius:12px}
[hidden]{display:none!important}
.skip{position:absolute;right:8px;top:8px;background:#fff;padding:8px 14px;border-radius:10px;z-index:99;transform:translateY(-300%)}.skip:focus{transform:none}
.small{font-size:.85em;color:var(--soft)}
.eyebrow{font-size:.9em;letter-spacing:.03em;margin:0;color:#ffd87a}

.topbar{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px clamp(12px,3vw,28px);background:rgba(15,39,66,.88);backdrop-filter:blur(10px);color:#fff}
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;background:none;border:0;padding:4px;color:#fff;font-size:1.25em}
.brand img{height:40px;width:auto;filter:drop-shadow(0 3px 6px rgba(0,0,0,.3))}
.topnav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.chip{display:inline-flex;align-items:center;min-height:42px;padding:6px 16px;border-radius:999px;border:1.5px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font-size:.92em;transition:.2s}
.chip:hover{background:rgba(255,255,255,.2)}
.chip.mode[aria-pressed="true"]{background:var(--gold);color:#2b2633;border-color:var(--gold)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:10px 26px;border-radius:999px;border:0;background:var(--gold);color:#2b2633;font-size:1.05em;text-decoration:none;box-shadow:0 8px 22px rgba(242,184,31,.35);transition:transform .15s,box-shadow .2s}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:scale(.97)}
.btn.big{font-size:1.2em;min-height:60px;padding:12px 34px}
.btn.ghost{background:transparent;color:inherit;border:2px solid currentColor;box-shadow:none}
.btn.c{background:var(--c);color:#fff;box-shadow:0 8px 22px color-mix(in srgb,var(--c) 40%,transparent)}
.btn.sm{min-height:44px;padding:6px 18px;font-size:.95em}

/* HERO */
.hero{position:relative;overflow:hidden;color:#fff;background:var(--navy2)}
.hero-bg{position:absolute;top:-4%;right:-4%;bottom:-4%;left:-4%;inset:-4%;background:url(img/world-w.webp) center/cover;filter:saturate(1.1);animation:drift 40s ease-in-out infinite alternate}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,26,48,.15) 0,rgba(10,26,48,.55) 45%,rgba(10,26,48,.88) 100%),linear-gradient(0deg,rgba(10,26,48,.7),transparent 40%)}
@keyframes drift{from{transform:scale(1.02) translateX(0)}to{transform:scale(1.1) translateX(-2%)}}
.hero-inner{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(20px,4vw,56px);align-items:center;max-width:1260px;margin:0 auto;padding:clamp(36px,7vw,96px) clamp(16px,4vw,40px)}
.hero-text h1 span{color:#ffd23f;text-shadow:0 0 40px rgba(255,210,63,.45)}
.lead{font-size:1.15em;max-width:36em;opacity:.95}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.hero .btn.ghost{color:#fff}
.frame{border-radius:var(--r);overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.45),0 0 0 6px rgba(255,255,255,.12);background:#000;aspect-ratio:16/9}
.frame video{width:100%;height:100%;display:block;object-fit:cover}

/* MAP */
.mapwrap{max-width:1260px;margin:0 auto;padding:clamp(28px,5vw,60px) clamp(14px,3vw,32px)}
.sec-head{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.sec-head p{margin:0;color:var(--soft)}
.map{position:relative;border-radius:calc(var(--r) + 6px);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:3/2;background:#cfe3c4}
.map-img{width:100%;height:100%;object-fit:cover}
.pins{position:absolute;inset:0}
.pin{position:absolute;transform:translate(50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;background:none;border:0;padding:0;width:clamp(64px,9vw,124px)}
.pin img{width:100%;height:auto;filter:drop-shadow(0 8px 10px rgba(0,0,0,.35));animation:bob 3.4s ease-in-out infinite;transition:transform .25s}
.pin:hover img,.pin:focus-visible img{transform:scale(1.12) translateY(-6px)}
.pin b{background:#fff;color:var(--ink);border-radius:999px;padding:2px 12px;font-size:clamp(11px,1.2vw,15px);white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.2);border-bottom:3px solid var(--pc)}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.roster{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-top:26px}
.rcard{display:flex;gap:12px;align-items:center;text-align:right;background:var(--card);border:2px solid var(--line);border-radius:20px;padding:12px 14px;transition:.2s;border-inline-start:8px solid var(--pc)}
.rcard:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.rcard img{width:62px;height:62px;object-fit:contain}
.rcard b{display:block;font-family:"Varela Round";font-weight:400;font-size:1.08em}
.rcard span{font-size:.9em;color:var(--soft)}
.about{max-width:1260px;margin:0 auto;padding:0 clamp(14px,3vw,32px) 50px}
.about-card{background:linear-gradient(135deg,#fff,#fff3dc);border:2px solid var(--line);border-radius:var(--r);padding:clamp(20px,4vw,40px);box-shadow:var(--shadow)}
.about-card p{max-width:60em}

/* CHARACTER */
.ch-hero{position:relative;color:#fff;overflow:hidden;background:#123}
.ch-hero .bg{position:absolute;top:-30px;right:-30px;bottom:-30px;left:-30px;inset:-30px;background-image:var(--bg);filter:blur(7px) saturate(1.1);background-size:cover;background-position:center;animation:drift 30s ease-in-out infinite alternate}
.ch-hero .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.05),rgba(0,0,0,.45) 55%,rgba(0,0,0,.72)),linear-gradient(0deg,rgba(0,0,0,.55),transparent 50%)}
.ch-hero-in{position:relative;max-width:1260px;margin:0 auto;display:grid;grid-template-columns:auto 1fr;gap:clamp(14px,3vw,40px);align-items:end;padding:clamp(40px,7vw,100px) clamp(16px,4vw,40px) clamp(24px,4vw,44px)}
.ch-hero img.me{width:clamp(130px,20vw,260px);filter:drop-shadow(0 18px 24px rgba(0,0,0,.45));animation:bob 3.6s ease-in-out infinite}
.ch-hero .fn{display:inline-block;background:var(--c);color:#fff;border-radius:999px;padding:4px 16px;font-family:"Varela Round";font-size:.95em}
.ch-hero h1{font-size:clamp(38px,6vw,74px);margin:.15em 0 .1em;text-shadow:0 4px 24px rgba(0,0,0,.4)}
.ch-hero p{margin:0;font-size:1.1em;max-width:34em;opacity:.95}
.back{position:absolute;top:14px;right:clamp(12px,3vw,32px);z-index:2}
.back .btn{background:rgba(255,255,255,.18);color:#fff;box-shadow:none;backdrop-filter:blur(6px);min-height:44px}
.ch-body{max-width:1260px;margin:0 auto;padding:clamp(20px,4vw,44px) clamp(14px,3vw,32px) 60px;display:grid;gap:clamp(18px,3vw,30px)}
.row2{display:grid;grid-template-columns:1.35fr 1fr;gap:clamp(18px,3vw,30px);align-items:start}
.card{background:var(--card);border:2px solid var(--line);border-radius:var(--r);padding:clamp(16px,3vw,28px);box-shadow:0 6px 20px rgba(40,30,20,.06)}
.card.tint{background:var(--cs);border-color:color-mix(in srgb,var(--c) 30%,#fff)}
.card h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tag{font-size:.6em;background:var(--c);color:#fff;border-radius:999px;padding:2px 12px;font-family:"Assistant";font-weight:600}
.tool-steps{list-style:none;margin:10px 0;padding:0;display:grid;gap:10px;counter-reset:s}
.tool-steps li{counter-increment:s;display:flex;align-items:center;gap:12px;background:#fff;border-radius:16px;padding:10px 14px;font-size:1.2em;border:2px solid color-mix(in srgb,var(--c) 25%,#fff)}
.tool-steps li::before{content:counter(s);display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:50%;background:var(--c);color:#fff;font-size:.9em}
.catch{font-family:"Varela Round";font-size:clamp(20px,2.4vw,28px);color:color-mix(in srgb,var(--c) 75%,#000);margin:8px 0 12px;line-height:1.35}
.say{display:inline-flex;align-items:center;gap:8px;background:#fff;border:2px solid var(--line);border-radius:999px;padding:6px 16px;min-height:44px;font-size:.95em}
.say svg{width:22px;height:22px}
.say.playing{background:var(--c);color:#fff;border-color:var(--c)}
.games{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.gcard{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:right;background:#fff;border:2px solid var(--line);border-radius:22px;padding:18px;min-height:190px;overflow:hidden;transition:.2s}
.gcard:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--c)}
.gcard .num{font-family:"Varela Round";color:#fff;background:var(--c);border-radius:12px;padding:2px 12px;font-size:.9em}
.gcard b{font-family:"Varela Round";font-weight:400;font-size:1.3em}
.gcard p{margin:0;color:var(--soft);font-size:.95em}
.gcard .go{margin-top:auto;color:var(--c);font-family:"Varela Round"}
.gcard .ghost-img{position:absolute;left:-14px;bottom:-14px;width:96px;opacity:.18;transform:rotate(-10deg)}
.song{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center}
.song audio{width:100%}
.lyrics{columns:2;column-gap:28px;font-size:1.02em;margin:12px 0 0;line-height:1.75}
.lyrics p{margin:0}
.vframe{border-radius:20px;overflow:hidden;background:#000;aspect-ratio:16/9;box-shadow:var(--shadow)}
.vframe video{width:100%;height:100%;display:block}
.story-text{font-size:1.05em}
.story-text p{margin:.3em 0}
details.edu summary{cursor:pointer;font-family:"Varela Round";font-size:1.15em;list-style:none;display:flex;align-items:center;gap:8px}
details.edu summary::before{content:"+";display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--c);color:#fff}
details.edu[open] summary::before{content:"−"}
.nextchars{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* GAME */
.gwrap{max-width:1100px;margin:0 auto;padding:clamp(16px,3vw,32px) clamp(12px,3vw,28px) 60px}
.ghead{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.ghead img{width:70px}
.gtitle{font-size:clamp(24px,3.4vw,38px);margin:0;flex:1}
.gintro{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:1.12em;margin:0 0 14px}
.stage{position:relative;background:linear-gradient(180deg,#fff,var(--cs));border:3px solid color-mix(in srgb,var(--c) 30%,#fff);border-radius:28px;min-height:420px;padding:clamp(14px,3vw,28px);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}
.score{position:absolute;z-index:6;top:12px;left:14px;background:#fff;border-radius:999px;padding:4px 14px;font-family:"Varela Round";border:2px solid var(--line);display:flex;gap:6px;align-items:center}
.score svg{width:22px;height:22px}
.prog{display:flex;gap:6px;justify-content:center}
.prog i{width:14px;height:14px;border-radius:50%;background:#e8dccb}
.prog i.on{background:var(--c)}
.q{font-family:"Varela Round";font-size:clamp(22px,3vw,32px);line-height:1.3;max-width:24em;margin:0}
.opts{display:grid;gap:12px;width:min(100%,640px)}
.opt{display:flex;align-items:center;justify-content:center;gap:10px;min-height:66px;border-radius:20px;border:3px solid var(--line);background:#fff;font-size:1.2em;padding:10px 18px;transition:.15s}
.opt:hover{border-color:var(--c)}
.opt.ok{background:#dff5e3;border-color:#3fae5a}
.opt.no{background:#fde7e2;border-color:#e88b77;animation:shake .4s}
.opt.sel{border-color:var(--c);background:var(--cs)}
.opt svg{width:44px;height:44px;flex:0 0 auto}
.tiles{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.tile{width:clamp(96px,14vw,132px);aspect-ratio:1;border-radius:22px;border:3px solid var(--line);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;font-size:.92em;line-height:1.2;transition:.15s}
.tile svg{width:58%;height:auto}
.tile.sel{border-color:var(--c);background:var(--cs);transform:translateY(-3px)}
.tile.ok{border-color:#3fae5a;background:#dff5e3}
.tile.no{border-color:#e88b77;background:#fde7e2;animation:shake .4s}
.tile.hide{visibility:hidden}
@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
@keyframes pop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.pop{animation:pop .45s ease-out}
.done-box{display:flex;flex-direction:column;align-items:center;gap:12px}
.done-box img{width:150px;animation:bob 2.6s ease-in-out infinite}
.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.confetti i{position:absolute;top:-20px;width:10px;height:14px;border-radius:3px;animation:fall 2.4s linear forwards}
@keyframes fall{to{transform:translateY(560px) rotate(540deg);opacity:.2}}
.light{display:flex;flex-direction:column;gap:12px;background:#2b2633;padding:14px;border-radius:26px;box-shadow:inset 0 0 0 4px #463e4d}
.light i{width:64px;height:64px;border-radius:50%;background:#4a4250;transition:.15s}
.light i.r.on{background:#ff4d4d;box-shadow:0 0 30px #ff4d4d}
.light i.g.on{background:#3ad46a;box-shadow:0 0 30px #3ad46a}
.gostage{display:flex;align-items:center;gap:clamp(20px,5vw,60px);flex-wrap:wrap;justify-content:center}
.hitme{width:clamp(170px,26vw,240px);aspect-ratio:1;border-radius:50%;border:0;background:radial-gradient(circle at 50% 40%,#fff,var(--cs));box-shadow:0 12px 30px rgba(0,0,0,.15),inset 0 0 0 6px color-mix(in srgb,var(--c) 40%,#fff);display:grid;place-items:center;transition:transform .1s}
.hitme img{width:72%}
.hitme:active{transform:scale(.94)}
.hitme.jump img{animation:jump .35s}
@keyframes jump{50%{transform:translateY(-22px)}}
.bigmsg{font-family:"Varela Round";font-size:clamp(34px,6vw,64px);margin:0}
.bigmsg.stop{color:#e0453a}.bigmsg.go{color:#2a9d4b}
.backpack{position:relative;width:180px;height:180px}
.backpack svg{width:100%;height:100%}
.flyin{position:absolute;inset:0;display:grid;place-items:center}
.flyin svg{width:110px;height:110px;animation:pop .5s}
.pads{display:grid;grid-template-columns:repeat(2,minmax(110px,170px));gap:14px}
.pad{aspect-ratio:1;border-radius:28px;border:0;opacity:.6;transition:.12s;box-shadow:0 8px 18px rgba(0,0,0,.12)}
.pad.lit{opacity:1;transform:scale(1.06);filter:brightness(1.15)}
.bins{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;width:min(100%,720px)}
.bin{display:flex;flex-direction:column;align-items:center;gap:6px;border-radius:22px;border:3px dashed color-mix(in srgb,var(--c) 45%,#fff);background:#fff;padding:12px;min-height:120px;font-size:1.05em}
.bin svg{width:56px;height:56px}
.bin.ok{border-style:solid;border-color:#3fae5a;background:#dff5e3}
.bin.no{border-color:#e88b77;animation:shake .4s}
.card-now{display:flex;flex-direction:column;align-items:center;gap:6px;background:#fff;border-radius:24px;padding:16px 26px;box-shadow:var(--shadow);font-size:1.15em}
.card-now svg{width:96px;height:96px}
.shape{width:96px;height:96px}
.rule{font-family:"Varela Round";background:var(--c);color:#fff;border-radius:999px;padding:6px 20px;font-size:1.1em}
.slots{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.slot{width:clamp(90px,13vw,120px);min-height:110px;border-radius:18px;border:3px dashed #d8c9b3;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.85em;padding:6px;position:relative;background:rgba(255,255,255,.6)}
.slot svg{width:54px;height:54px}
.slot .n{position:absolute;top:-12px;right:-8px;background:var(--c);color:#fff;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:.9em}
.slot.full{border-style:solid;border-color:#3fae5a;background:#fff}
.plant{width:150px;height:200px}
.balloon-wrap{position:relative;height:300px;width:100%;display:flex;align-items:flex-end;justify-content:center}
.balloonv{width:170px;transition:transform 4s cubic-bezier(.3,.1,.3,1);transform-origin:50% 100%}
.cloud{position:absolute;top:20px;left:50%;transform:translateX(-50%);transition:all 1.4s}
.holdbtn{min-width:240px;min-height:76px;font-size:1.3em;user-select:none;-webkit-user-select:none;touch-action:none}
.field{position:relative;width:100%;height:clamp(320px,50vh,460px);border-radius:22px;background:linear-gradient(180deg,#1b2a52,#2d4a6e 70%,#3e6a4f);overflow:hidden}
.flyer{position:absolute;border:0;background:none;padding:0;width:72px;height:72px;transition:left linear,top linear}
.flyer svg{width:100%;height:100%}
.flyer.gone{opacity:0;transform:scale(1.6);transition:.3s}
.ear{width:200px;height:200px;border-radius:50%;border:0;background:radial-gradient(circle,#fff7d1,#f2b81f);box-shadow:0 10px 30px rgba(242,184,31,.5);font-family:"Varela Round";font-size:1.3em}
.ear.flash{transform:scale(1.08);box-shadow:0 0 60px #ffd23f}
.scene{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:min(100%,520px);position:relative}
.scene.four{grid-template-columns:repeat(2,1fr);width:min(100%,360px)}
.scene .tile{width:100%}
.dark{position:absolute;inset:0;background:#0d1730;border-radius:28px;display:grid;place-items:center;color:#ffe9a0;font-family:"Varela Round";font-size:1.4em;z-index:5}
.patrow{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;background:#fff;border-radius:18px;padding:8px;border:2px solid var(--line)}
.patrow button{width:clamp(48px,8vw,70px);height:clamp(48px,8vw,70px);border-radius:14px;border:2px solid transparent;background:#fbf6ee;padding:6px}
.patrow button.ok{border-color:#3fae5a;background:#dff5e3}
.patrow button.no{border-color:#e88b77;animation:shake .4s}
.patrow svg{width:100%;height:100%}
.timerbig{font-family:"Varela Round";font-size:clamp(46px,8vw,90px);margin:0}
.chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.chips button{min-height:52px;border-radius:999px;border:2px solid var(--line);background:#fff;padding:6px 18px;font-size:1.05em}
.chips button.sel{background:var(--c);color:#fff;border-color:var(--c)}
.ctrl{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.note{font-size:.95em;color:var(--soft);max-width:40em}

.foot{text-align:center;padding:28px 16px 40px;background:var(--navy2);color:#d8e3f0}
.foot p{margin:.2em 0}.foot .small{color:#9fb2c8}

/* ACCESSIBLE MODE */
body.acc{--fs:22px}
body.acc .opt{min-height:88px;font-size:1.3em}
body.acc .btn{min-height:64px}
body.acc .tile{width:clamp(120px,18vw,160px)}
body.acc .gcard{min-height:220px}
body.acc .lyrics{columns:1}
body.acc .say{min-height:56px;font-size:1.05em}
body.acc .pin b{font-size:clamp(13px,1.5vw,18px)}

@media (max-width:900px){
  .hero-inner,.row2{grid-template-columns:1fr}
  .games{grid-template-columns:1fr}
  .lyrics{columns:1}
  .ch-hero-in{grid-template-columns:1fr;justify-items:start}
  .ch-hero img.me{width:150px}
}
@media (max-width:600px){
  .roster{grid-template-columns:1fr 1fr;gap:10px}.rcard{flex-direction:column;text-align:center;padding:10px}.rcard img{width:56px;height:56px}
  .topnav .chip{min-height:38px;padding:4px 12px;font-size:.82em}
  .topbar{flex-wrap:wrap;row-gap:6px}.topnav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;width:100%;justify-content:flex-start}.topnav::-webkit-scrollbar{display:none}.chip{white-space:nowrap}
  .brand span{font-size:.95em}
  .map{aspect-ratio:auto;height:auto}
  .pin{width:56px}
  .pin b{display:none}
  .stage{min-height:360px}
  .pads{grid-template-columns:repeat(2,120px)}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ===== v2: calm visuals, no voice ===== */
.hero-bg{animation:none;filter:blur(6px) saturate(.8);inset:-20px}
.hero-bg::after{background:linear-gradient(90deg,rgba(10,26,48,.35) 0,rgba(10,26,48,.7) 45%,rgba(10,26,48,.9) 100%)}
.map{background:#e9f0e4}
.map-img{filter:saturate(.5) brightness(1.1) blur(3px);transform:scale(1.03)}
.map::after{content:"";position:absolute;inset:0;background:rgba(255,253,246,.42);pointer-events:none}
.pins{z-index:2}
.pin{width:clamp(84px,11.5vw,150px)}
.pin img{animation:none;filter:drop-shadow(0 6px 8px rgba(0,0,0,.28))}
.pin::before{content:"";position:absolute;inset:8% 6% 22%;border-radius:50%;background:radial-gradient(circle,#fff 0,rgba(255,255,255,.85) 45%,rgba(255,255,255,0) 72%);z-index:-1}
.pin b{font-size:clamp(12px,1.25vw,16px);padding:3px 14px}
.ch-hero .bg{animation:none}
.ch-hero img.me{animation:none}
.gcard .ghost-img{display:none}
.done-box img{animation:none}
/* activity: one calm task per screen */
.stage{background:#fff;border:2px solid #ece4d8;box-shadow:0 6px 18px rgba(40,30,20,.06)}
.gintro{display:flex;align-items:flex-start;gap:12px;background:var(--cs);border-radius:18px;padding:10px 16px;font-size:1.1em;line-height:1.45}
.gintro::before{content:"";flex:0 0 30px;height:30px;margin-top:2px;border-radius:50%;background:var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='1.6' fill='white'/%3E%3Cpath d='M12 11v7' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat}
.ghead img{width:56px}
.done-box{position:relative}
.done-box .glow{position:absolute;top:-10px;left:50%;width:220px;height:220px;margin-left:-110px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--c) 30%,#fff) 0,rgba(255,255,255,0) 70%);animation:glow 1.6s ease-out 1;z-index:0}
.done-box>*{position:relative;z-index:1}
@keyframes glow{from{transform:scale(.4);opacity:0}50%{opacity:1}to{transform:scale(1);opacity:.85}}
/* on-screen words instead of voice */
.capbub{position:fixed;z-index:60;left:50%;bottom:clamp(80px,14vh,140px);transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#173a5e;color:#fff;font-family:"Varela Round","Assistant",sans-serif;font-size:clamp(22px,3.2vw,34px);padding:12px 30px;border-radius:999px;box-shadow:0 12px 30px rgba(15,39,66,.3);border:3px solid var(--gold);transition:opacity .3s,transform .3s;max-width:92vw;text-align:center}
.capbub.show{opacity:1;transform:translate(-50%,0)}
body.acc .capbub{font-size:clamp(28px,4vw,42px)}
/* music toggle on every screen (in the top bar) */
.musbtn{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:4px 14px;border-radius:999px;border:1.5px solid rgba(255,255,255,.45);background:rgba(255,255,255,.14);color:#fff;font-size:.9em;margin-inline-start:auto;white-space:nowrap}
.musbtn svg{width:20px;height:20px}
.musbtn[aria-pressed="false"]{opacity:.7}
body.acc .musbtn{min-height:52px;font-size:1em}
/* karaoke lyrics */
.kara{columns:1;background:#fff;border-radius:18px;padding:14px 18px;border:2px solid var(--line)}
.kara p{font-family:"Varela Round","Assistant",sans-serif;font-size:1.12em;line-height:1.5;padding:4px 12px;border-radius:12px;color:#6b6170;transition:background .3s,color .3s,transform .3s;cursor:pointer}
.kara p.gap{height:10px;padding:0}
.kara p.on{background:var(--c);color:#fff;transform:scale(1.03)}
.kara.playing p:not(.on){opacity:.75}
body.acc .kara p{font-size:1.35em}
@media (max-width:600px){
  .pin{width:64px}
  .roster{grid-template-columns:1fr 1fr;gap:12px}
  .rcard{padding:14px 10px}.rcard img{width:72px;height:72px}
  .musbtn span{display:none}.musbtn{padding:4px 10px;min-height:38px}
}

@media (max-width:600px){
  .topbar{flex-wrap:wrap;row-gap:6px}
  .topnav{width:100%;justify-content:center;gap:6px}
  .chip{min-height:38px;padding:4px 12px;font-size:.85em}
  .map{display:none}
  .sec-head p{display:none}
  .roster{margin-top:12px}
  .rcard{flex-direction:column;text-align:center;gap:6px}
  .rcard img{width:84px;height:84px}
}

@media (max-width:600px){ #mapBtn{display:none} .topnav{flex-wrap:nowrap} .chip{padding:4px 10px} }

/* ---- v3: character art on every activity ---- */
.gintro{flex-wrap:nowrap;background:#fff;border:2px solid color-mix(in srgb,var(--c) 25%,#fff);border-radius:22px;padding:10px 14px}
.gintro p{margin:0;flex:1}
.av{width:64px;height:64px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 3px 4px rgba(0,0,0,.12))}
.av.lg{width:78px;height:78px}
.stage .q:not(.noav){display:flex;align-items:center;gap:12px;text-align:start}
.stage .q:not(.noav)::before{content:"";flex:0 0 auto;width:clamp(52px,7vw,72px);height:clamp(52px,7vw,72px);background:var(--av) center/contain no-repeat;filter:drop-shadow(0 3px 4px rgba(0,0,0,.12))}
.opts.pics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:min(100%,620px)}
.opts.pics.n3{grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,760px)}
.opt.pic{flex-direction:column;min-height:0;padding:14px 10px 12px;font-size:1.1em;line-height:1.25;gap:8px;border-radius:24px}
.opt.pic .ico{width:clamp(72px,16vw,112px);height:clamp(72px,16vw,112px)}
.opt.pic span{display:block}
.capbub{display:flex;align-items:center;gap:12px}
.capbub img{width:clamp(54px,7vw,76px);height:clamp(54px,7vw,76px);object-fit:contain;animation:cbHop .6s ease}
.capbub.try img{animation:cbTilt .7s ease}
@keyframes cbHop{0%{transform:translateY(8px) scale(.8)}60%{transform:translateY(-6px) scale(1.05)}100%{transform:none}}
@keyframes cbTilt{0%,100%{transform:none}30%{transform:rotate(-8deg)}60%{transform:rotate(6deg)}}
.palmbtn{display:none;flex-direction:column;align-items:center;gap:6px;border:0;background:none;cursor:pointer;font:inherit;font-family:"Varela Round";font-size:1.4em;color:#b23b2a}
.palmbtn .ico{width:clamp(130px,30vw,190px);height:clamp(130px,30vw,190px)}
.palmbtn.show{display:flex;animation:cbHop .5s ease}
.palmbtn.ok .ico{filter:drop-shadow(0 0 18px #ffd34d)}
@media (max-width:520px){.opts.pics.n3{grid-template-columns:1fr}.opts.pics.n3 .opt.pic{flex-direction:row;justify-content:flex-start;text-align:start}.opts.pics.n3 .opt.pic .ico{width:64px;height:64px}}
body.acc .opt.pic .ico{width:120px;height:120px}
.gintro::before{display:none}
.gintro{background:var(--cs);border:0}

/* hourglass */
.hg{position:absolute;top:12px;inset-inline-start:12px;display:flex;align-items:flex-end;gap:2px;pointer-events:none;z-index:2}
.hg svg{width:38px;height:57px}
.hg img{width:30px;height:30px;object-fit:contain}
.hg rect{transition:all .5s linear}
/* helper tray */
.htray{position:fixed;bottom:0;left:0;right:0;z-index:55;display:none;align-items:center;gap:10px;padding:6px 12px calc(6px + env(safe-area-inset-bottom));background:rgba(255,253,248,.97);border-top:2px solid #eadfcd;box-shadow:0 -4px 18px rgba(30,20,10,.06)}
.htray.on{display:flex}
.hlbl{font-family:"Varela Round";font-size:15px;color:#6b5a62;white-space:nowrap}
.hrow{display:flex;gap:6px;overflow-x:auto;flex:1;justify-content:center;scrollbar-width:none}
.hchar{flex:0 0 auto;width:52px;height:52px;border-radius:50%;border:3px solid color-mix(in srgb,var(--hc) 55%,#fff);background:#fff;padding:3px;cursor:grab;touch-action:none;transition:transform .15s}
.hchar:hover,.hchar:focus-visible{transform:translateY(-4px)}
.hchar img{width:100%;height:100%;object-fit:contain;pointer-events:none}
body.has-tray{padding-bottom:78px}
body.has-tray .capbub{bottom:clamp(110px,16vh,170px)}
.hghost{position:fixed;width:84px;height:84px;object-fit:contain;transform:translate(-50%,-60%);pointer-events:none;z-index:70;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
.stage.hdrop{outline:4px dashed var(--c);outline-offset:4px}
.hpop{position:absolute;top:10px;inset-inline-end:10px;z-index:5;display:flex;align-items:flex-start;gap:8px;max-width:min(92%,420px);border:0;background:none;padding:0;cursor:pointer;text-align:start;opacity:0;transform:translateY(-8px) scale(.9);transition:.25s}
.hpop.show{opacity:1;transform:none}
.hpop img{width:72px;height:72px;object-fit:contain;flex:0 0 auto;animation:cbHop .5s ease}
.hpop .hb{position:relative;background:#fff;border:3px solid var(--hc);border-radius:20px;padding:10px 14px;font-family:"Varela Round";font-size:clamp(18px,2.4vw,24px);line-height:1.35;color:#2b2633;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.hpop .hb b{display:block;font-weight:400;color:var(--hc);font-size:.8em}
/* movement break */
.movecard{position:fixed;inset:0;z-index:80;background:rgba(23,58,94,.55);display:grid;place-items:center;padding:20px;animation:fadeIn .3s}
.mc-in{background:var(--hs);border:5px solid var(--hc);border-radius:32px;padding:22px 26px;text-align:center;max-width:520px;width:100%}
.mc-k{font-family:"Varela Round";color:var(--hc);font-size:20px;margin:0}
.mc-in img{width:clamp(150px,40vw,220px);height:clamp(150px,40vw,220px);object-fit:contain;margin:6px auto;display:block;animation:mcBounce 1.4s ease-in-out infinite}
.mc-t{font-family:"Varela Round";font-size:clamp(24px,4vw,32px);line-height:1.3;margin:6px 0 16px}
@keyframes mcBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
/* picker */
.picker{max-width:1100px;margin:26px auto 10px;padding:0 18px;text-align:center}
.picker h2{margin:.1em 0}
.picker>p{margin:0 0 14px;opacity:.8}
.pgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:16px}
.pcard{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 8px 12px;border-radius:26px;border:3px solid color-mix(in srgb,var(--pc) 40%,#fff);background:var(--ps);cursor:pointer;font:inherit;transition:transform .15s}
.pcard:hover,.pcard:focus-visible{transform:translateY(-4px)}
.pcard img{width:110px;height:110px;object-fit:contain}
.pcard b{font-family:"Varela Round";font-weight:400;font-size:1.35em;line-height:1.15;text-align:center}
.pcard small{font-size:.95em;opacity:.8}
@media (max-width:520px){.pgrid{grid-template-columns:repeat(3,1fr);gap:8px}.pcard{padding:10px 4px;border-radius:20px}.pcard img{width:76px;height:76px}.pcard b{font-size:1em}.pcard small{display:none}.hlbl{display:none}.hchar{width:40px;height:40px;border-width:2px;padding:2px}.hrow{justify-content:space-between;gap:2px}body.has-tray{padding-bottom:62px}}
.castrow{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.castrow img{width:54px;height:54px;object-fit:contain}
body.acc .hpop .hb{font-size:26px}
.hpop{position:fixed;top:auto;bottom:calc(84px + env(safe-area-inset-bottom));inset-inline-end:auto;left:50%;transform:translate(-50%,10px) scale(.92);max-width:min(94vw,460px);width:max-content;z-index:58;align-items:flex-end}
.hpop.show{transform:translate(-50%,0)}
@media (max-width:520px){.hpop{bottom:calc(66px + env(safe-area-inset-bottom))}.hpop img{width:60px;height:60px}}

/* audit 2026-11-10: nothing jumps. Picture boxes are reserved before the pictures load */
.ch-hero img.me{aspect-ratio:1/1;height:auto;object-fit:contain}
.ghead img{aspect-ratio:1/1;height:auto;object-fit:contain}
.stage > img[style*="width"],.done-box > img{aspect-ratio:1/1;height:auto;object-fit:contain}
/* the movement-break card arrives softly and stays still (no endless bouncing) */
.movecard{animation:fadeIn .5s ease}
.mc-in img{animation:none}
/* "חבר משלי": build your own friend */
.hchar.hmake{border-style:dashed;background:#fffaf2}
.mkcard{position:fixed;inset:0;z-index:85;background:rgba(23,58,94,.5);display:grid;place-items:center;padding:14px;animation:fadeIn .3s}
.mk-in{background:#fffdf9;border:4px solid #eadfcd;border-radius:30px;padding:14px 18px 22px;max-width:480px;width:100%;max-height:calc(100vh - 28px);overflow:auto;text-align:center}
.mk-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
.mk-top b{font-family:"Varela Round";font-weight:400;color:#6b5a62;font-size:17px}
.mk-x{width:48px;height:48px;border-radius:50%;border:2px solid #e3d6c3;background:#fff;font-size:28px;line-height:1;color:#6b5a62}
.mk-in h2{font-size:clamp(24px,6vw,30px);margin:.25em 0 .4em}
.mk-dots{display:flex;gap:8px;justify-content:center;margin-top:2px}.mk-dots i{width:12px;height:12px;border-radius:50%;background:#e8dccb}.mk-dots i.on{background:#173a5e}
.mk-prev{width:120px;height:140px;object-fit:contain;margin:0 auto 6px;display:block}
.mk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.mk-opt,.mk-name{min-height:72px;border-radius:22px;border:3px solid #eadfcd;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 4px;font-family:"Varela Round";font-size:20px;color:#2b2633}
.mk-opt img{width:64px;height:75px;object-fit:contain}
.mk-name{font-size:24px;min-height:76px}
.mk-sw{aspect-ratio:1/1;min-height:76px;border-radius:50%;border:5px solid #fff;background:var(--sw);box-shadow:0 0 0 3px #eadfcd}
.mk-opt.sel,.mk-name.sel{border-color:#173a5e;background:#eef4fb}.mk-sw.sel{box-shadow:0 0 0 4px #173a5e}
.mk-done{color:#173a5e}.mk-tip{font-size:1.1em;margin:0 0 16px}
.hpop.mine .hb{padding-bottom:12px}
.mk-re{display:block;margin-top:8px;min-height:40px;padding:4px 14px;border-radius:999px;border:2px solid var(--hc);background:#fff;font-family:"Varela Round";font-size:16px;color:#2b2633}
@media (max-width:520px){.htray{padding-left:6px;padding-right:6px}.hchar{width:36px;height:36px}.hrow{gap:2px}}
@media (prefers-reduced-motion:reduce){.movecard,.mkcard{animation:none}}

/* ===== v14: small and low-memory phones (320-360 px, old Android) ===== */
html{overflow-x:hidden}
body{overflow-x:visible;max-width:100%}
main,.foot{overflow-x:clip}
img,video{max-width:100%}
.hero-text,.hero-media,.row2>*,.games>*,.pgrid>*,.ch-hero-in>*{min-width:0}
h1,h2,.lead,.eyebrow,.ch-hero p{overflow-wrap:break-word}
@supports not (aspect-ratio:1/1){
  .frame,.vframe{position:relative;height:0;padding-top:56.25%}
  .frame video,.vframe video{position:absolute;top:0;left:0;width:100%;height:100%}
}
@media (max-width:900px){
  .hero-inner,.row2,.games{grid-template-columns:minmax(0,1fr)}
  .ch-hero-in{grid-template-columns:minmax(0,1fr)}
}
/* phones: no live blur, no backdrop blur; a small pre-blurred picture gives the same look */
@media (max-width:600px){
  .topbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#13304f}
  .back .btn{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(15,39,66,.55)}
  .hero-bg{filter:none;animation:none;transform:none;top:0;right:0;bottom:0;left:0;inset:0;background-image:url(img/m/world-w-blur14.webp)}
  .ch-hero .bg{filter:none;animation:none;transform:none;top:0;right:0;bottom:0;left:0;inset:0;background-image:var(--bgm,var(--bg))}
  .map-img{filter:none}
}
html.lite .topbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#13304f}
html.lite .back .btn{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(15,39,66,.55)}
html.lite .hero-bg{filter:none;animation:none;transform:none;top:0;right:0;bottom:0;left:0;inset:0;background-image:url(img/m/world-w-blur14.webp)}
html.lite .ch-hero .bg{filter:none;animation:none;transform:none;top:0;right:0;bottom:0;left:0;inset:0;background-image:var(--bgm,var(--bg))}
html.lite .map-img{filter:none;transform:none}
html.lite .pin img,html.lite .ch-hero img.me{animation:none}
/* very small screens (320 px wide, or under 560 px tall): the top bar scrolls away and its pills always fit */
@media (max-width:374px),(max-height:560px) and (max-width:900px){
  .topbar{position:relative;padding:6px 10px;row-gap:4px}
  .brand{font-size:1.1em}.brand img{height:32px}
  .topnav{flex-wrap:wrap;overflow:visible;justify-content:center;gap:5px;width:100%}
  .topnav .chip,.chip{min-height:36px;padding:3px 9px;font-size:.78em;white-space:nowrap}
  .musbtn{min-height:36px;padding:3px 8px}
  .hero-inner{padding:22px 14px 26px;gap:18px}
  .eyebrow{font-size:.82em}
  .lead{font-size:1.05em}
  .btn.big{font-size:1.1em;min-height:54px;padding:10px 22px}
  .cta{gap:10px;margin-top:14px}
}
