:root{--pink:#ef3d86;--pink2:#ff6ca6;--blue:#5db6f2;--yellow:#ffc928;--green:#9bd451;--ink:#17315b;--muted:#68778b;--line:#eadfe4;--paper:#fffdfb}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"Trebuchet MS",Arial,sans-serif;background:linear-gradient(180deg,#fff9fb,#fff2f7);color:var(--ink)}button{font:inherit;cursor:pointer}button:active{transform:scale(.985)}
#app{min-height:100vh}main{max-width:520px;margin:auto;padding:14px 16px 28px}.screen{display:none;animation:pop .2s ease}.screen.active{display:block}@keyframes pop{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:none}}
.topbar{height:78px;display:flex;align-items:center;padding:10px 16px;background:#fffdfbf2;backdrop-filter:blur(16px);position:sticky;top:0;z-index:30;border-bottom:1px solid #f2e7eb}
.bibo-brand{display:flex;align-items:center;gap:10px}.bibo-dot{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#f64d99,#72b6ef);color:#fff;font-weight:900;font-size:23px;box-shadow:0 7px 18px #ef3d8630}.bibo-brand strong{font-size:22px;line-height:1}.bibo-brand small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.parentbtn{margin-left:auto;width:44px;height:44px;border:0;border-radius:50%;background:#fff0f6;color:#16335e;font-size:19px}
.eyebrow{font-size:10px;color:#d52b70;font-weight:900;letter-spacing:.12em}
.welcome{min-height:260px;border-radius:30px;background:linear-gradient(135deg,#fff0f6 0%,#fff9e7 68%,#eef9ff 100%);padding:24px 18px 18px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(145px,.95fr);align-items:center;overflow:hidden;position:relative;box-shadow:0 14px 36px #a84f7412}
.welcome:after{content:"";position:absolute;right:-35px;top:15px;width:210px;height:210px;border-radius:46% 54% 54% 46%;background:#dff4ff88;z-index:0}
.welcome-copy{position:relative;z-index:2}.welcome h1{font-size:37px;line-height:.98;margin:8px 0 13px;color:#17315b}.welcome h1 em{display:block;font-style:normal;color:var(--pink);font-size:42px}.welcome p{margin:0;color:#53647a;font-size:13px;line-height:1.45;max-width:260px}
.bibo-stage{height:220px;display:grid;place-items:center;position:relative;z-index:2;border:0;background:transparent;padding:0;color:inherit}.bibo-stage:before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle at 50% 45%,#ffffffd9 0 48%,#dff4ff80 70%,transparent 72%);filter:blur(.2px)}.bibo-approved{display:block;width:205px;max-width:112%;max-height:224px;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 16px 22px #c84d7f28);animation:bfloat 2.4s ease-in-out infinite}@keyframes bfloat{50%{transform:translateY(-6px) scale(1.015)}}.bibo-stage.speaking .bibo-approved{animation:bvoice .55s ease-in-out infinite alternate}@keyframes bvoice{to{transform:translateY(-4px) scale(1.055)}}.tap-bibo{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);z-index:5;white-space:nowrap;border:1px solid #ffffffcc;border-radius:999px;background:#ffffffe0;backdrop-filter:blur(8px);color:#c92f70;padding:9px 14px;font-size:11px;font-weight:900;box-shadow:0 6px 0 #e9c9d6,0 11px 22px #a64b7022;animation:tapglow 1.25s ease-in-out infinite alternate}@keyframes tapglow{to{box-shadow:0 8px 22px #ef3d8655;transform:translateX(-50%) scale(1.035)}}.hero-star,.hero-heart{position:absolute;font-size:24px;z-index:3;filter:drop-shadow(0 4px 5px #0001)}.hero-star{left:4px;top:27px;color:#ffc928;transform:rotate(-12deg)}.hero-heart{right:5px;top:50px;color:#ef3d86}
.worldgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px;margin-top:14px}.world{border:2px solid #ffffffcc;min-height:148px;border-radius:26px;padding:17px;text-align:left;color:var(--ink);box-shadow:0 7px 0 #dacfd4,0 13px 26px #63485b18;position:relative;overflow:hidden;transition:transform .08s ease,box-shadow .08s ease}.world:active{transform:translateY(6px) scale(.99);box-shadow:0 1px 0 #dacfd4,0 5px 12px #63485b16}.world:before{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-25px;top:-30px;background:#ffffff45}.world.pink{background:linear-gradient(145deg,#fff0f6,#ffd6e7)}.world.blue{background:linear-gradient(145deg,#eef9ff,#ccecff)}.world.yellow{background:linear-gradient(145deg,#fff8d8,#ffe99a)}.world.green{background:linear-gradient(145deg,#f5ffd9,#e5f6ad)}.world.purple{background:linear-gradient(145deg,#f4eeff,#e1d3ff)}.world.peach{background:linear-gradient(145deg,#fff4ea,#ffddc5)}.world.coral{background:linear-gradient(145deg,#fff0ea,#ffd3c4)}.world.aqua{background:linear-gradient(145deg,#ecfff9,#c9f2e6)}.world.mint{background:linear-gradient(145deg,#f0fff4,#cfefda)}.world.lavender{background:linear-gradient(145deg,#f7f0ff,#dfd0f7)}.world.wide{grid-column:1/-1;min-height:118px}
.worldicon{display:block;font-size:38px;margin-bottom:9px;position:relative}.world b{display:block;font-size:21px;position:relative}.world small{display:block;font-size:10px;line-height:1.35;color:#5f6d7a;margin-top:4px;max-width:130px;position:relative}.world i{position:absolute;right:13px;bottom:13px;font-style:normal;font-size:25px;font-weight:900;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#ffffff78;color:#37547c}
.gamehead{display:flex;align-items:center;gap:10px}.back{width:42px;height:42px;border:0;border-radius:14px;background:#fff;border:1px solid var(--line);font-size:28px;color:#c9286b}.gamehead>div:nth-child(2){flex:1}.gamehead small{font-size:9px;color:#c9286b;font-weight:900;letter-spacing:.12em}.gamehead h2{margin:2px 0;font-size:23px}.score{background:#fff5c8;border-radius:99px;padding:8px 10px;font-size:12px;font-weight:900}
.sessionbar{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.sessionbar span{font-size:10px;font-weight:900;color:#c9286b;letter-spacing:.08em}.sessionbar button{border:0;border-radius:999px;background:#eaf7ff;color:#2f6f92;padding:8px 10px;font-size:10px;font-weight:800}
.promptcard{position:relative;text-align:center;background:#fff;border:1px solid var(--line);border-radius:28px;padding:22px 16px 20px;box-shadow:0 12px 35px #a43d6910}.promptvisual{font-size:66px;min-height:88px;display:grid;place-items:center}.promptcard h3{font-size:23px;margin:8px 0 4px}.promptcard p{font-size:11px;color:var(--muted);margin:0}
.answers{display:grid;grid-template-columns:1fr 1fr;gap:16px 11px;margin-top:13px}.answer{min-height:112px;border:2px solid #ffffff;border-radius:24px;background:linear-gradient(145deg,#ffffff,#f7f8fb);box-shadow:0 8px 0 #dedfe4,0 13px 24px #70475b18;font-weight:900;font-size:22px;color:var(--ink);display:grid;place-items:center;padding:12px;transition:transform .08s ease,box-shadow .08s ease}.answer:active{transform:translateY(6px);box-shadow:0 2px 0 #dedfe4,0 6px 12px #70475b14}.answer.correct{border-color:#61bd71;box-shadow:0 0 0 4px #dff6e3}.answer.wrong{animation:shake .25s;border-color:#e5686c}@keyframes shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.answer.hint{animation:pulsehint .75s ease-in-out infinite alternate;border-color:#ffc928;box-shadow:0 0 0 5px #ffc92835}@keyframes pulsehint{to{transform:scale(1.045)}}
.colorball{display:block;width:62px;height:62px;border-radius:50%;border:5px solid #fff;box-shadow:inset -8px -10px 14px #0002,inset 7px 7px 12px #fff8,0 7px 12px #0002}.shapesymbol{font-size:68px;line-height:1;filter:drop-shadow(0 6px 3px #0002)}.bigtext{font-size:52px;line-height:1;color:#25333d;text-shadow:0 3px 0 #d9dde1}.emojianswer{font-size:54px;line-height:1;filter:drop-shadow(0 6px 3px #0002)}.sizeanswer{display:grid;place-items:center;line-height:1;min-height:78px;filter:drop-shadow(0 6px 3px #0002)}.answer small{font-size:9px;color:#64717b;margin-top:5px}
.feedback{margin-top:12px;text-align:center;border-radius:18px;padding:12px;font-weight:900;font-size:14px;min-height:43px}.feedback.good{background:#eaf8dc;color:#416c1b}.feedback.try{background:#fff0f1;color:#a34449}.hidden{display:none!important}.changegame{display:block;margin:16px auto 0;border:0;background:transparent;color:#737d86;text-decoration:underline;font-size:11px}
.bigbtn{width:100%;border:0;border-radius:999px;padding:14px 17px;font-weight:900;background:linear-gradient(135deg,#ff66a2,#e7357c);color:#fff;box-shadow:0 10px 25px #ef3d8630}
.modal{position:fixed;inset:0;background:#24313bcc;z-index:99;padding:18px;display:grid;place-items:center}.modalcard{max-width:430px;width:100%;background:#fffdfb;border-radius:28px;padding:24px;position:relative;max-height:90vh;overflow:auto}.modalcard h2{text-align:center;margin:6px 0}.modalcard>p{text-align:center;color:var(--muted);font-size:12px;line-height:1.5}
.close{position:absolute;right:12px;top:12px;width:36px;height:36px;border:0;border-radius:50%;font-size:24px}.privacylist{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0}.privacylist div{background:#f6fafc;border-radius:11px;padding:9px;font-size:10px}
.futurenote{background:linear-gradient(135deg,#fff0f6,#fff8dc);border-radius:16px;padding:13px}.futurenote small{font-size:9px;color:#c9286b;font-weight:900}.futurenote strong{display:block;font-size:13px;margin:3px 0}.futurenote p{font-size:10px;color:var(--muted);line-height:1.45;margin:0}.bigbtn{margin-top:15px}
@media(min-width:700px){#app{max-width:520px;margin:auto;min-height:100vh;background:#fff9fb;box-shadow:0 0 60px #a64b701e}.topbar{max-width:520px;margin:auto}}
@media(max-width:420px){main{padding:12px 12px 24px}.welcome{grid-template-columns:1.05fr .95fr;padding:20px 13px;min-height:235px}.welcome h1{font-size:32px}.welcome h1 em{font-size:36px}.welcome p{font-size:11px}.bibo-stage{height:195px}.bibo-approved{max-width:158px;max-height:195px}.tap-bibo{font-size:9px;padding:8px 10px;bottom:3px}.world{min-height:138px;padding:15px}.world b{font-size:19px}.world small{font-size:9px}}
@media(max-width:350px){.welcome h1{font-size:29px}.welcome h1 em{font-size:33px}.bibo-approved{max-width:140px}.tap-bibo{white-space:normal;width:126px;text-align:center}}

.audio-credits{margin-top:12px;border:1px solid #eadfe4;border-radius:14px;background:#fbf8fa;padding:10px 12px;color:#68778b;font-size:10px;line-height:1.45}.audio-credits summary{cursor:pointer;color:#53647a;font-weight:900}.audio-credits p{margin:8px 0 0}
