/* Momo Kids Lab — shared site styles */
@font-face{font-family:"Fredoka";src:url("fonts/Fredoka.ttf") format("truetype");font-weight:300 700;font-display:swap}
:root{
  --sky:#EAF6FF;--sky-line:#CDE6F7;--sky-shadow:#B9DDF5;--white:#FFFFFF;
  --navy:#0F3B66;--navy-2:#164C80;--navy-3:#0B2E52;--ink:#34506E;--ink-strong:#2C4A69;
  --sun:#FFB020;--sun-dark:#D98500;--orange:#E0640F;--orange-text:#C15A0C;--orange-deep:#8A3F06;
  --peach:#FFF1DA;--peach-line:#F6D7A6;--cream:#FFF4E2;--green:#2E7D32;--gold:#FFC857;
  --display:"Fredoka","Arial Rounded MT Bold",system-ui,sans-serif;
  --body:"Nunito","Segoe UI",system-ui,-apple-system,Roboto,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--sky);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.6;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:#0F5C9E}a:hover{color:#0B3F6E}
h1,h2,h3{font-family:var(--display);color:var(--navy);margin:0;line-height:1.1}
p{margin:0}
.wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.sec{padding:96px 0}
.eyebrow{font-weight:800;letter-spacing:2px;font-size:14px;color:var(--orange-text);text-transform:uppercase}
.eyebrow.green{color:var(--green)}.eyebrow.gold{color:var(--gold)}
.h2{font-size:clamp(32px,4vw,48px);font-weight:700}
.center{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.lead{font-size:18px;max-width:640px}
.skip{position:absolute;left:-999px;top:8px;background:var(--white);padding:10px 16px;border-radius:12px;z-index:10}
.skip:focus{left:8px}
:focus-visible{outline:3px solid #1E88E5;outline-offset:3px}

/* Buttons */
.btn{font-family:var(--display);font-weight:600;text-decoration:none;color:var(--navy);display:inline-flex;align-items:center;gap:10px;border-radius:999px;min-height:48px;padding:12px 24px;font-size:18px;border:0;cursor:pointer;transition:transform .15s,filter .15s}
.btn:hover{transform:translateY(-2px);color:var(--navy)}
.btn-sun{background:var(--sun);box-shadow:0 5px 0 var(--sun-dark)}
.btn-sun:hover{filter:brightness(1.04)}
.btn-cloud{background:var(--white);box-shadow:0 5px 0 var(--sky-shadow)}
.btn-lg{font-size:21px;padding:16px 30px;min-height:60px;border:4px solid #FFF6D6}
.btn-cloud.btn-lg{border:0}

/* Nav */
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;max-width:1240px;margin:0 auto}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#FFE3B8;border:3px solid var(--white);box-shadow:0 4px 0 #F2B867}
.brand-name{font-family:var(--display);font-weight:700;font-size:26px;color:var(--navy);line-height:1}
.brand-name span{color:var(--orange)}
.brand-tag{display:block;font-size:11px;font-weight:800;letter-spacing:2px;color:#3F6488;margin-top:4px}
.nav-links{display:flex;gap:4px;background:rgba(255,255,255,.75);padding:6px;border-radius:999px}
.nav-links a{color:var(--navy);text-decoration:none;font-weight:800;padding:10px 14px;border-radius:999px}
.nav-links a:hover{background:var(--white)}
.nav-solid{background:var(--white);box-shadow:0 2px 0 var(--sky-line)}
.nav-solid .nav{padding:14px 24px}
.nav-solid .nav-links{background:transparent}
.nav-solid .nav-links a:hover{background:var(--sky)}

/* Hero */
.hero{position:relative;min-height:760px;display:flex;flex-direction:column}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center}
.hero-fade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(234,246,255,.93) 0%,rgba(234,246,255,.72) 34%,rgba(234,246,255,0) 58%)}
.hero>*:not(.hero-img):not(.hero-fade):not(.bubble){position:relative;z-index:1}
.hero-copy{flex-grow:1;display:flex;align-items:center;padding:56px 24px 120px;max-width:1240px;width:100%;margin:0 auto}
.hero-copy-inner{max-width:560px;display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.pill{display:inline-flex;align-items:center;gap:8px;background:var(--white);color:var(--green);font-weight:800;font-size:14px;padding:8px 16px;border-radius:999px;box-shadow:0 3px 0 #CBE7D0}
.hero h1{font-size:clamp(44px,6vw,76px);letter-spacing:-1px;line-height:1.02}
.hero h1 span{color:var(--orange)}
.hero-text{font-size:20px;color:var(--ink-strong);max-width:500px}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.bubble{position:absolute;z-index:2;left:auto;right:clamp(24px,5vw,100px);top:145px;translate:0 0;max-width:230px;text-align:center;background:var(--white);color:var(--navy);font-family:var(--display);font-weight:600;font-size:20px;line-height:1.3;padding:18px 22px;border:3px solid #b9ddf5;border-radius:28px;box-shadow:0 7px 0 var(--sky-shadow);animation:bob 3s ease-in-out infinite}
.bubble::after{content:"";position:absolute;right:-19px;bottom:12px;width:30px;height:25px;background:var(--white);border-right:3px solid #b9ddf5;border-bottom:3px solid #b9ddf5;transform:skewY(25deg) rotate(-18deg);border-radius:0 0 7px 0;clip-path:polygon(0 0,100% 100%,0 100%)}
@keyframes bob{50%{transform:translateY(-6px)}}
.promise{list-style:none;margin:0 auto -48px;max-width:1192px;padding:18px;background:var(--white);border-radius:28px;box-shadow:0 10px 30px rgba(15,59,102,.12);display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;width:calc(100% - 48px)}
.promise li{display:flex;align-items:center;gap:12px;padding:8px 10px}
.promise strong{display:block;color:var(--navy);font-size:16px}
.promise span.s{font-size:14px}
.ico{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ico.o{background:#FFF1DA;color:#C15A0C}.ico.g{background:#E3F4E6;color:#2E7D32}.ico.b{background:#E1F0FC;color:#0F5C9E}.ico.p{background:#F3E8FD;color:#7B3FB8}

/* Game cards */
.games{padding-top:128px}
.games-inner{display:flex;flex-direction:column;gap:40px}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:28px}
.game-grid{grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr))}
.card{background:var(--white);border-radius:32px;overflow:hidden;box-shadow:0 8px 0 var(--sky-line),0 18px 40px rgba(15,59,102,.10);display:flex;flex-direction:column;transition:transform .2s}
.card:hover{transform:translateY(-4px)}
.card-media{position:relative}
.card-media img{width:100%;aspect-ratio:3/2;object-fit:cover}
.badge{position:absolute;top:18px;left:18px;font-weight:800;font-size:14px;padding:8px 14px;border-radius:999px;border:3px solid var(--white);background:var(--sun);color:var(--navy)}
.badge.soft{background:var(--white);color:#0F5C9E;border-color:var(--sky-line)}
.card-body{padding:28px 32px 32px;display:flex;flex-direction:column;gap:14px;flex-grow:1}
.card-body h3{font-size:32px}
.tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tags li{font-weight:800;font-size:14px;padding:6px 14px;border-radius:999px;background:var(--peach);color:var(--orange-deep)}
.tags.blue li{background:#E1F0FC;color:#0B4A80}
.card-foot{margin-top:auto;padding-top:10px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:14px;font-weight:700}
.more{position:relative;isolation:isolate;overflow:hidden;background:#fffaf0;border:3px solid #ffba91;border-radius:32px;padding:24px 32px;display:flex;flex-wrap:wrap;align-items:center;gap:24px;box-shadow:inset 0 0 0 3px #fff2df,0 4px 0 #dc906b,0 12px 18px -8px rgba(198,112,66,.35)}
.more::before,.more::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:180px;height:90px;background:linear-gradient(135deg,#ffc29b,#ffdfc2);opacity:.8}
.more::before{top:0;left:0;border-bottom-right-radius:100%}
.more::after{bottom:0;right:0;border-top-left-radius:100%}
.more img{width:96px;height:120px;object-fit:contain}
.more div{flex:1 1 320px;display:flex;flex-direction:column;gap:6px}
.more h3{font-size:24px}

/* Learn */
.learn{background:var(--white);border-radius:56px 56px 0 0}
.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:24px}
.learn-item{display:flex;flex-direction:column;gap:12px}
.learn-item img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:24px}
.learn-item h3{font-size:22px;font-weight:600}
.stack{display:flex;flex-direction:column;gap:44px}

/* Meet Momo */
.meet{background:linear-gradient(180deg,#FFFFFF 0%,var(--cream) 100%)}
.split{display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.split>*{flex:1 1 440px;min-width:0}
.stage{display:flex;flex-direction:column;align-items:center;gap:20px}
.stage-frame{width:100%;max-width:560px;aspect-ratio:3/2;background:var(--white);border-radius:40px;box-shadow:0 10px 0 var(--peach-line),0 20px 40px rgba(193,90,12,.12);display:flex;align-items:center;justify-content:center;overflow:hidden}
.stage-frame img{width:92%;height:92%;object-fit:contain}
.outfits{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.outfit{font-family:var(--display);font-weight:600;font-size:16px;color:var(--navy);min-height:44px;padding:8px 18px;border-radius:999px;cursor:pointer;border:3px solid var(--peach-line);background:var(--white);box-shadow:0 4px 0 var(--peach-line)}
.outfit:hover{border-color:var(--sun)}
.outfit[aria-pressed="true"]{border-color:var(--sun);background:var(--peach);box-shadow:0 4px 0 var(--sun-dark)}
.copy{display:flex;flex-direction:column;gap:18px}
.copy p{font-size:18px;line-height:1.7}
.hint{font-size:15px!important;font-weight:700;color:var(--orange-deep)}

/* Parents (navy) */
.dark{background:var(--navy);color:#DCEBFA}
.dark h2,.dark h3{color:var(--white)}
.dark-head{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-end;justify-content:space-between}
.dark-head>div{flex:1 1 520px;display:flex;flex-direction:column;gap:12px}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:20px}
.tile{background:var(--navy-2);border-radius:24px;padding:26px;display:flex;flex-direction:column;gap:8px}
.tile h3{font-size:21px;font-weight:600}
.dark a:not(.btn){color:var(--gold);font-weight:800}

/* Contact */
.contact{max-width:1100px;margin:0 auto;background:var(--white);border-radius:40px;box-shadow:0 10px 0 var(--sky-line),0 20px 40px rgba(15,59,102,.10);display:flex;flex-wrap:wrap;overflow:hidden}
.contact-copy{flex:1 1 380px;padding:48px;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.contact-copy h2{font-size:clamp(30px,3.4vw,42px)}
.contact-art{flex:1 1 380px;min-height:320px;background:var(--sky);display:flex;align-items:center;justify-content:center;padding:24px}
.contact-art img{max-height:340px;object-fit:contain}

/* Footer */
.footer{background:var(--navy-3);color:#C9DCEF;padding:48px 0}
.footer .wrap{display:flex;flex-wrap:wrap;gap:24px 32px;justify-content:space-between;align-items:center}
.footer .brand img{width:44px;height:44px;box-shadow:none;border-width:2px}
.footer .brand-name{color:var(--white);font-size:22px}
.footer .brand-name span{color:var(--white)}
.footer nav{display:flex;flex-wrap:wrap;gap:8px 28px;font-weight:700}
.footer a{color:#C9DCEF}.footer a:hover{color:var(--white)}
.footer small{flex-basis:100%;border-top:1px solid #1E4A75;padding-top:20px;font-size:14px}

/* Game page */
.game-hero{padding:64px 0 80px}
.game-hero h1{font-size:clamp(44px,5.4vw,70px);line-height:1.02}
.game-hero h1 span{color:var(--orange)}
.game-hero .shot{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:40px;border:8px solid var(--white);box-shadow:0 10px 0 var(--sky-line),0 24px 48px rgba(15,59,102,.16)}
.badge-inline{background:var(--sun);color:var(--navy);font-weight:800;font-size:14px;padding:8px 16px;border-radius:999px;border:3px solid var(--white)}
.facts{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
.facts li{background:var(--white);border-radius:20px;padding:16px 18px;box-shadow:0 4px 0 var(--sky-line)}
.facts span{display:block;font-size:13px;font-weight:800;letter-spacing:1px;color:#4F6A85}
.facts strong{font-family:var(--display);font-size:22px;color:var(--navy)}
.mode{border-radius:28px;overflow:hidden;display:flex;flex-direction:column}
.mode img{width:100%;aspect-ratio:3/2;object-fit:cover}
.mode div{padding:20px 22px 24px;display:flex;flex-direction:column;gap:6px}
.mode h3{font-size:24px;font-weight:600}
.m-green{background:#E8F6E9}.m-green h3{color:#1B5E20}.m-green p{color:#2F4B33}
.m-pink{background:#FDE8F1}.m-pink h3{color:#8E1F55}.m-pink p{color:#5A2B41}
.m-blue{background:#E1F0FC}.m-blue h3{color:#0B4A80}.m-blue p{color:var(--ink-strong)}
.m-purple{background:#EFE7FB}.m-purple h3{color:#5B2C9A}.m-purple p{color:#45325F}
.rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rewards div{background:var(--white);border-radius:24px;padding:12px;box-shadow:0 5px 0 var(--peach-line)}
.rewards img{width:100%;aspect-ratio:3/2;object-fit:contain}
.faq{max-width:900px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.faq .tile h3{font-size:20px}
.back{font-weight:800;text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:44px}

@media (max-width:820px){
  .nav-links{display:none}
  .sec{padding:64px 0}
  .games{padding-top:112px}
  .hero{min-height:0;background:var(--sky)}
  .hero .nav{order:1}
  .hero-copy{order:2;padding-top:8px;padding-bottom:24px}
  .hero-fade{display:none}
  .hero .hero-img{order:3;position:relative;inset:auto;height:auto;aspect-ratio:1/1;object-position:62% 45%}
  .promise{order:4;margin-top:-56px}
  .bubble{display:none}
  .nav .btn{display:none}
  .contact-copy{padding:32px 24px}
  .card-body{padding:24px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Website language selector */
.language-picker{display:inline-flex;align-items:center;gap:6px;background:#fff;border:2px solid #b8def6;border-radius:20px;padding:6px 10px;color:#123e68;flex-shrink:0}
.language-picker select{font:inherit;font-size:15px;font-weight:700;color:inherit;background:transparent;border:0;min-height:32px;max-width:132px;cursor:pointer}
.language-picker select:focus-visible{outline:3px solid #ffa726;outline-offset:3px;border-radius:5px}
html:lang(th) body{line-height:1.8}
html:lang(zh-CN) body{line-height:1.7}
@media(max-width:1100px){.nav{flex-wrap:wrap}.language-picker{margin-left:auto}}
@media(max-width:480px){.language-picker{padding:4px 7px}.language-picker select{font-size:14px;max-width:105px}.nav{gap:10px}}

/* Hide the stray first pixel row in these original outfit cutouts. */
.stage-frame img[src*="ward-star.webp"],.stage-frame img[src*="ward-phones.webp"]{clip-path:inset(1px 0 0)}

/* Give the games introduction the full section width. */
#games .center > .lead{max-width:none;width:100%}

/* Closed beta invitation */
.beta-dialog{position:fixed;inset:0;margin:auto;border:3px solid #f6d7a6;border-radius:30px;background:#fffaf1;color:var(--navy);padding:30px;max-width:530px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow-y:auto;text-align:center;box-shadow:0 16px 55px #123e6833}
.beta-dialog::backdrop{background:#123e6880}
.beta-dialog h2{font-size:clamp(26px,5vw,34px);margin:16px 0}
.beta-dialog p{margin:14px 0;line-height:1.6}
.beta-momo{margin:0 auto 14px;border:3px solid white;border-radius:50%;box-shadow:0 4px 0 #f2b867}
.beta-badge{display:inline-block;background:#e4f4ff;border-radius:30px;padding:6px 14px;font-weight:700}
.beta-note{font-size:14px;color:#34506e}
.beta-close{position:absolute;right:10px;top:8px;width:44px;height:44px;border:0;background:transparent;font-size:32px;color:var(--navy);cursor:pointer}
.beta-dialog .btn{justify-content:center;max-width:100%;white-space:normal;text-align:center}
.beta-later{display:block;margin:16px auto 0;background:none;border:0;color:#34506e;text-decoration:underline;font:inherit;min-height:44px;cursor:pointer}
.beta-reopen{position:fixed;right:18px;bottom:18px;z-index:15;background:#ffb020;color:#0f3b66;border:2px solid white;border-radius:24px;padding:12px 18px;box-shadow:0 4px 0 #d98500;font-family:var(--display);font-size:16px;font-weight:600;cursor:pointer;max-width:calc(100% - 36px)}
body.beta-open{overflow:hidden}
@media(max-width:480px){.beta-dialog{padding:24px 18px}.beta-reopen{font-size:14px;padding:10px 14px}}


@font-face{font-family:MomoKidsChunky;src:url("momo-kids-chunky.ttf") format("truetype");font-display:swap}
.beta-dialog{border:0;border-radius:0;background:transparent;padding:46px 12px 22px;width:min(580px,calc(100% - 20px));max-width:580px;box-shadow:none;overflow-y:auto;overscroll-behavior:contain}
.beta-art{display:block;width:88%;height:auto;margin:0 auto -24px;position:relative;z-index:1}
.beta-cloud{position:relative;padding:38px 38px 24px;background:#fffdf6;border:3px solid #b8e1f6;border-radius:25% 23% 22% 24% / 8% 9% 8% 9%;box-shadow:0 7px 0 #b8d7e6}
.beta-dialog h2{font-family:MomoKidsChunky,var(--display);font-size:clamp(28px,5vw,38px);line-height:1.2;margin:14px 0;color:#d96a06}
.beta-dialog p{font-family:Arial,sans-serif;font-size:19px;line-height:1.5;margin:14px 0}
.beta-dialog .beta-note{font-size:14px;line-height:1.5}
.beta-badge{font-family:Arial,sans-serif;font-size:14px;background:#fff0ca;color:#85450b;padding:6px 12px}
.beta-dialog .btn{font-family:MomoKidsChunky,var(--display);font-size:23px;padding:12px 25px;min-height:48px;margin:4px auto}
.beta-close{top:46px;right:14px;z-index:3;background:#fff3dc;border:3px solid white;border-radius:50%;box-shadow:0 3px 0 #e7b273;line-height:1}
.beta-later{font-family:Arial,sans-serif;font-size:15px;margin:8px auto 0;line-height:1.4}
.beta-dialog button:focus-visible,.beta-dialog a:focus-visible{outline:3px solid #1572a3;outline-offset:4px}
@media(max-width:480px){.beta-dialog{padding:20px 6px 15px}.beta-cloud{padding:30px 22px 20px}.beta-art{width:95%;margin-bottom:-18px}.beta-close{top:20px;right:6px}.beta-dialog p{font-size:18px}.beta-dialog .beta-note{font-size:13px}.beta-later{font-size:14px}}

/* Approved invitation wording and compact cloud layout. */
.beta-dialog p{white-space:pre-line}
.beta-dialog #beta-description{line-height:1.45}
.beta-dialog .beta-games{font-size:17px;line-height:1.5;color:#264e6a}
.beta-dialog .beta-offer{font-size:18px;color:#11677e;margin:14px 0 8px}
.beta-dialog .beta-note{margin:12px 0 0}
.beta-dialog h2{color:#123e68}
.beta-cloud{border-radius:65px;background:#fffdf6;padding:38px 38px 28px}
@media(max-width:480px){.beta-cloud{border-radius:45px;padding:30px 20px 24px}.beta-dialog .beta-games{font-size:16px}.beta-dialog .beta-offer{font-size:17px}}

.beta-cloud{background: url("beta-cloud.svg") center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:none;padding:42px 48px 38px}.beta-art{margin-bottom:-38px}@media(max-width:480px){.beta-cloud{padding:36px 30px 32px}.beta-art{margin-bottom:-28px}}

/* Keep the invitation artwork compact and the close control reachable. */
.beta-art{width:auto;max-width:92%;height:auto;max-height:220px;object-fit:contain;margin:0 auto -30px}
.beta-dialog{width:min(540px,calc(100% - 20px));max-height:calc(100dvh - 20px);padding-top:12px}
.beta-close{top:14px;right:14px}
.beta-dialog h2{font-size:clamp(27px,5vw,34px)}
.beta-cloud{padding-top:38px}
@media(max-height:780px){.beta-art{max-height:150px}.beta-dialog p{font-size:16px;margin:10px 0}.beta-dialog .beta-note{font-size:13px}.beta-dialog h2{font-size:28px;margin:10px 0}.beta-cloud{padding-top:32px}}

/* Hide the popup scroll track without blocking access to its contents. */
.beta-dialog{scrollbar-width:none;-ms-overflow-style:none}
.beta-dialog::-webkit-scrollbar{display:none;width:0;height:0}

/* Two-color invitation headline matching the approved reference. */
#beta-title .beta-title-navy{display:block;color:#123e68}
#beta-title .beta-title-orange{display:block;color:#df7108}

/* Place Momo’s speech bubble on the right side of the hero. */
.hero .bubble{left:auto;right:clamp(24px,5vw,100px);top:145px;translate:0 0}
.hero .bubble::after{right:auto;left:-19px;transform:scaleX(-1) skewY(25deg) rotate(-18deg)}

/* Plain white invitation button lettering. */
.beta-dialog a[data-beta="cta"]{color:#fff;-webkit-text-stroke:0;text-shadow:none;background:linear-gradient(#ffd255,#ffad16);border:3px solid #fff;border-radius:999px;box-shadow:0 5px 0 #d78200}

/* Restore the original navy invitation button lettering. */
.beta-dialog a[data-beta="cta"]{color:#123e68;-webkit-text-stroke:0;text-shadow:none}

/* A cozy speech bubble beside Momo’s fox ear. */
.hero .bubble{left:68%;right:auto;top:150px;width:220px;max-width:25%;padding:18px 20px;border:3px solid #b9ddf5;border-radius:34px 38px 32px 36px;background:linear-gradient(145deg,#fff,#fffaf0);box-shadow:0 6px 0 #b9ddf5,0 9px 20px #123e6810;font-size:20px;line-height:1.35}
.hero .bubble::after{left:-17px;right:auto;bottom:20px;width:26px;height:22px;background:#fffdf7;transform:scaleX(-1) skewY(25deg) rotate(-18deg)}
@media(min-width:1500px){.hero .bubble{left:67%;top:155px}}

/* Position is anchored to the fox-ear artwork by the image geometry. */
.hero .bubble{width:clamp(150px,16vw,220px);max-width:none;top:var(--ear-bubble-top,140px);left:var(--ear-bubble-left,82%);right:auto;padding:14px 16px;font-size:clamp(16px,1.5vw,20px);box-sizing:border-box;animation:none}
@media(min-width:1500px){.hero .bubble{left:var(--ear-bubble-left,82%);top:var(--ear-bubble-top,140px)}}
.hero .bubble::after{bottom:16px}


/* Learning-mode illustrated previews */
.gameplay-showcase{background:#fff9f0}
.gameplay-wrap{display:flex;flex-direction:column;gap:34px}
.gameplay-feature{background:white;border:3px solid #e1edf9;border-radius:32px;padding:26px;box-shadow:0 7px 0 #d7e8f5}
.gameplay-feature.puzzle-feature{border-color:#eadff8;box-shadow:0 7px 0 #e9def5}
.gameplay-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}
.gameplay-heading>div{max-width:760px}
.gameplay-heading h3{font-size:clamp(26px,3vw,36px);margin:5px 0 10px}
.gameplay-heading p{font-size:17px}
.gameplay-heading .btn{flex-shrink:0}
.gameplay-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gameplay-preview{background:#f2f9ff;border-radius:21px;overflow:hidden;padding-bottom:16px}
.puzzle-feature .gameplay-preview{background:#fff3fb}
.gameplay-preview img{width:100%;aspect-ratio:3/2;object-fit:cover}
.gameplay-preview h4{font:700 21px var(--display);color:var(--navy);margin:14px 15px 7px}
.gameplay-preview p{font-size:15px;line-height:1.5;margin:0 15px;color:var(--ink)}
.gameplay-note{margin-top:18px;padding:13px 18px;border-radius:16px;background:#fff5da;color:#604418;font-weight:700;font-size:15px}
@media(max-width:900px){.gameplay-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.gameplay-feature{padding:16px}.gameplay-heading{flex-direction:column;align-items:flex-start}.gameplay-gallery{gap:10px}.gameplay-preview h4{font-size:18px;margin:10px 10px 5px}.gameplay-preview p{font-size:13px;margin:0 10px}}
