/* Adventure feedback and light 2.5D art. Kept separate from the base layout. */
:root{--game-gold:#e9b54e;--game-sky:#a6dce9}
.sidebar-bottom{padding-top:16px;padding-bottom:12px}.sidebar{overflow-y:auto}.sidebar .brand{margin-bottom:38px}
.topbar .top-avatar{display:flex;width:auto!important;height:46px!important;font-size:14px!important;flex-shrink:0}
.account-switch{gap:8px;align-items:center;background:transparent;padding:4px 7px;border:1px solid transparent;border-radius:14px;text-align:left}
.account-switch:hover{background:var(--canvas);border-color:var(--border)}.account-switch-text{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:12px}.account-switch-text small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:3px}
.topbar-right{gap:18px}.topbar .avatar{box-shadow:inset 0 2px 3px #fff,0 3px 6px #304a321a;background:linear-gradient(145deg,#fffef0,#dfedd4)}
.button.primary{background:linear-gradient(145deg,#8aac71,#638b58);border:1px solid #60884e;box-shadow:inset 0 2px 0 #d6efb753,0 5px 0 #496e43,0 8px 13px #3b603529;transition:transform .16s,box-shadow .16s}
.button.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:inset 0 2px 0 #d6efb753,0 7px 0 #496e43,0 10px 18px #3b603529}.button.primary:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 2px 0 #d6efb753,0 2px 0 #496e43}.button.primary:disabled{box-shadow:none}
[data-theme=space] .button.primary{background:linear-gradient(145deg,#8b87b3,#66618f);border-color:#6c6794;box-shadow:inset 0 2px 0 #f0e8ff44,0 5px 0 #484563,0 8px 13px #40386024}
[data-theme=paper] .button.primary{background:linear-gradient(145deg,#c29a72,#a77c57);border-color:#976e48;box-shadow:inset 0 2px 0 #fff5db44,0 5px 0 #805d43,0 8px 13px #7d583424}
.world-map{box-shadow:inset 0 2px 0 #ffffffb8,0 7px 0 #d6e2d25c,0 15px 28px #48684712}.world-map .map-sky{background:radial-gradient(ellipse at 45% 38%,#fffef78f,transparent 60%)}
.island-button{perspective:750px;transition:transform .25s}.island-button:hover{transform:translateY(-9px)}.island-button:active{transform:translateY(-4px) scale(.97)}
.island-art{filter:drop-shadow(7px 16px 12px #3658552b);transition:transform .24s ease-out;transform-style:preserve-3d}.locked .island-art{filter:saturate(.45) drop-shadow(5px 9px 8px #36585518)}
.island-ground-shadow{animation:shadow-breathe 5s ease-in-out infinite;transform-origin:center;transform-box:fill-box}.little-creature{animation:creature-idle 4.6s ease-in-out infinite;transform-box:fill-box;transform-origin:50% 90%}.flying-bee{animation:bee-idle 2.1s ease-in-out infinite;transform-box:fill-box}
.mood-happy .little-creature,.mood-celebrate .little-creature{animation:creature-cheer .65s ease-in-out 3}.mood-happy .flying-bee,.mood-celebrate .flying-bee{animation:bee-cheer .6s ease-in-out 3}
.mood-oops .little-creature{animation:creature-oops .9s ease-in-out 2}.animal-cheers{animation:cheer-sparks 1s ease-in-out infinite;transform-origin:center}
.game-heading{margin-bottom:20px}.game-progress .progress-track{height:12px;box-shadow:inset 0 3px 4px #53604a15}.game-progress .progress-track>span{background:linear-gradient(90deg,#9dbf80,#7eaa71,#e8cf7b);box-shadow:0 0 10px #b8cb6a55}
.question-card{position:relative;box-shadow:inset 0 2px 0 #fff,0 7px 0 #dce4d261,0 20px 35px #4862470d;border:1px solid #dbe4d1;transition:border-color .25s}.question-card.answer-happy{border-color:#b1c98d}.question-card.answer-oops{animation:card-oops .35s ease-out}
.answer-option{box-shadow:inset 0 1px 0 #fff,0 4px 0 #e1e7d9;transition:transform .15s,box-shadow .15s,background .2s}.answer-option:hover:not(:disabled){transform:translateY(-3px);box-shadow:inset 0 1px 0 #fff,0 7px 0 #dae4d1}.answer-option:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #d0ddc4}.answer-option.selected{box-shadow:inset 0 1px 0 #fff,0 4px 0 #aac593}.answer-option.correct{background:linear-gradient(135deg,#e6f5d4,#f1f9e5);animation:answer-pop .35s ease-out}.answer-option.wrong{background:#fbefeb}
.feedback.success{background:linear-gradient(110deg,#eef7e7,#f5fae9);animation:answer-pop .35s ease-out}.feedback-icon{box-shadow:inset 0 1px 0 #ffffffaa,0 2px 4px #65835a20}
.question-actions{flex-wrap:wrap;gap:14px}.answer-controls{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-left:auto}.answer-action-note{font-size:11px;color:var(--muted)}
.auto-next-control{display:flex;align-items:center;gap:8px;cursor:pointer;flex-shrink:0;min-height:46px}.auto-next-control>span{font-size:11px;font-weight:600;line-height:1.4}.auto-next-control small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:3px}.auto-next-control .switch{min-width:38px;width:38px;height:22px;padding:0}.auto-next-control .switch:after{width:16px;height:16px}.auto-next-control .switch:checked:after{transform:translateX(16px)}
.countdown-disc{display:inline-flex;align-items:center;justify-content:center;min-width:23px;width:23px;height:23px;background:#ffffff2e;border:1px solid #ffffff50;border-radius:50%;font-weight:800;font-variant-numeric:tabular-nums;animation:countdown-pulse 1s ease-in-out infinite}.question-actions .next-answer{gap:9px}
.game-companion{padding-top:53px}.companion-stage{position:relative;min-height:285px;padding:8px 0 27px;perspective:800px}.companion-touch{background:none;border:0;width:100%;padding:0;position:relative;z-index:2;cursor:pointer;transition:transform .25s}.companion-touch:active{transform:scale(.94)}.companion-stage .island-art{width:100%;max-width:270px;margin:auto}.companion-name{display:inline-block;color:var(--ink);font-size:12px;font-weight:700;margin-top:-10px;padding:5px 14px;background:var(--surface);border:1px solid var(--border);border-radius:20px;box-shadow:0 3px 8px #59764d0d}
.stage-orbit{position:absolute;border-radius:50%;border:1px dashed #b8c9a990;left:10%;right:10%;top:48px;aspect-ratio:1;transform:rotateX(55deg);background:radial-gradient(ellipse,#e8f4d830,transparent 75%);pointer-events:none}.orbit-two{left:0;right:0;top:47px;transform:rotateX(55deg) rotateZ(35deg);opacity:.4}.mood-happy .stage-orbit{border-color:#e3bc58;box-shadow:0 0 25px #e0c86b25}
.combo-chip{display:inline-flex;align-items:center;padding:7px 11px;border-radius:18px;font-size:11px;color:#b2703e;background:linear-gradient(140deg,#fff2cd,#ffe6bb);border:1px solid #f2d8a5;box-shadow:inset 0 1px 0 #fff,0 3px 0 #e7c99b;animation:combo-bounce .45s ease-out}.companion-stage .combo-chip{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap}.companion-bubble{padding:17px 12px;margin-top:12px;min-height:56px}.companion-bubble strong{font-size:12px}
.sky-route{display:flex;align-items:center;gap:8px;max-width:230px;margin:28px auto;font-size:21px}.route-line{position:relative;flex:1;height:5px;border-radius:5px;background:#dee8d4}.route-line i{position:absolute;left:0;top:0;height:5px;background:#a1bf83;border-radius:5px;transition:width .5s}.route-line>span{position:absolute;top:-28px;transform:translateX(-50%);font-size:24px;transition:left .6s}.mobile-companion{display:none}
.break-card{text-align:center;overflow:hidden;background:radial-gradient(ellipse at 50% 5%,#f0f8df,var(--surface) 65%)}.camp-flag{display:inline-block;font-size:12px;background:#e9f1df;border:1px solid #d2e0c6;color:#608451;padding:8px 15px;border-radius:18px;margin-bottom:13px}.break-card>h2{margin:8px 0 12px}.break-card>p{line-height:1.8}.break-card>.button{margin:18px auto 7px}.checkpoint-loot{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;padding-top:20px;margin:20px 0;border-top:1px dashed #cfdec0}
.treasure-chest{position:relative;background:none;padding:85px 0 0;border:0;cursor:pointer;min-height:145px}.chest-lid{position:absolute;width:80px;height:27px;border-radius:16px 16px 3px 3px;top:18px;left:calc(50% - 40px);background:linear-gradient(135deg,#edbc62,#bf8039);border:3px solid #ffe4a0;box-shadow:inset 0 4px 0 #fff0b469,0 2px 0 #a76b37;z-index:2;transform-origin:50% 100%;transition:transform .6s}.chest-body{position:absolute;width:80px;height:48px;border-radius:5px 5px 13px 13px;left:calc(50% - 40px);top:42px;background:linear-gradient(135deg,#da9a49,#ac6f36);border:3px solid #f6d985;box-shadow:inset 0 2px 0 #fff8cc7a,3px 6px 0 #b3b69a28,0 9px 17px #ac7a3530}.chest-body:before,.chest-body:after{content:'';position:absolute;top:0;bottom:0;width:6px;background:#f7d47d;left:9px}.chest-body:after{left:auto;right:9px}.chest-body i{display:flex;position:absolute;top:3px;left:24px;width:24px;height:25px;background:linear-gradient(145deg,#fff1b3,#e9b547);border-radius:5px;color:#996f32;justify-content:center;align-items:center;font-style:normal;border:1px solid #a8793d;box-shadow:0 2px 4px #77481b20}.treasure-chest:hover:not(:disabled) .chest-lid{transform:translateY(-4px) rotate(-5deg)}.treasure-chest.opened .chest-lid{transform:translateY(-24px) rotateX(65deg)}.treasure-chest>strong{display:block;font-size:12px;margin-top:13px}.treasure-chest>small{display:block;color:#b78e46;font-size:10px;margin-top:7px}.chest-glow{position:absolute;top:20px;left:calc(50% - 15px);font-size:35px;color:#ffc852;opacity:0;z-index:3}.opened .chest-glow{animation:chest-star 1.5s ease-out forwards}.treasure-chest:disabled{cursor:default;opacity:1}
.mini-invite>span{font-size:32px;display:block;filter:drop-shadow(0 4px 0 #bcd5c626)}.mini-invite>h3{font-size:15px;margin:12px 0 8px}.mini-invite>p{font-size:10px;color:var(--muted);margin-bottom:12px;line-height:1.8}.mini-invite .button{font-size:12px;padding:11px 17px}.mini-result{font-weight:700;color:#789158;font-size:12px;background:#eaf4de;padding:10px;border-radius:12px}
.mini-modal{max-width:520px;padding:32px 28px 20px}.mini-game-heading{display:flex;align-items:center;justify-content:space-between;padding-right:16px;gap:12px}.mini-game-heading h3{font-size:23px}.mini-game-heading>span{font-size:12px;color:var(--muted);white-space:nowrap}.mini-game-heading b{font-size:13px;color:#bf9344;margin-left:8px}.mini-game>p{font-size:12px;line-height:1.8;color:var(--muted);margin:15px 0}.mini-game>.text-button{display:block;margin:12px auto 0;font-size:11px}
.star-field{position:relative;height:280px;overflow:hidden;border-radius:22px;background:radial-gradient(ellipse at 50% 0,#e4f6fc,#cce8ed 70%,#b1d3d9);border:1px solid #bbdce5;box-shadow:inset 0 -8px 0 #a2c8ce25}.catch-star{position:absolute;width:60px;height:60px;transform:translate(-50%,-50%);font-size:46px;line-height:1;background:radial-gradient(#fff5aa66,transparent 70%);color:#ffcf54;text-shadow:0 2px 0 #bf923a,0 4px 0 #dba941,0 6px 13px #9a7a3550;cursor:pointer;border:0;transition:left .25s ease-out,top .25s ease-out;z-index:3}.catch-star:active{scale:.85}.mini-cloud{position:absolute;color:#ffffffa1;font-size:110px;pointer-events:none}.cloud-one{left:-10px;top:20px}.cloud-two{right:-5px;bottom:10px}.mini-mascot{position:absolute;bottom:10px;left:15px;font-size:50px;filter:drop-shadow(0 4px 0 #5b83922b);animation:mascot-wave 2.5s ease-in-out infinite}
.memory-field{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;padding:16px;background:#f0f4e8;border-radius:20px}.memory-field button{aspect-ratio:.8;background:linear-gradient(145deg,#98ba7d,#719867);border:3px solid #c0d5aa;border-radius:14px;box-shadow:inset 0 1px 0 #effcd872,0 5px 0 #587c52;transition:transform .2s,background .2s}.memory-field button span{font-size:34px;display:block;color:#e1edcd;filter:drop-shadow(0 2px 2px #3f552729)}.memory-field button.flipped{background:linear-gradient(135deg,#fffef2,#e7eecf);transform:translateY(-4px)}.memory-field button.matched{background:linear-gradient(135deg,#fff6d3,#e9d59c);border-color:#dcc47d;box-shadow:0 3px 0 #baad76;animation:answer-pop .35s}
.bridge-field{background:linear-gradient(#d8eef6,#f1f6e9);padding:25px 20px;border-radius:20px;text-align:center}.cloud-steps{position:relative;display:flex;justify-content:space-between;align-items:flex-end;height:110px;gap:7px}.cloud-steps>span{font-size:42px;color:#fff;text-shadow:0 4px 0 #bcd9e7;transition:color .2s}.cloud-steps>span.reached{color:#fff4cb;text-shadow:0 4px 0 #d7c795}.cloud-steps b{position:absolute;top:25px;font-size:35px;transform:translateX(-50%);transition:left .4s}.jump-meter{height:23px;position:relative;background:#d7d9d0;border-radius:15px;margin:25px 4px}.safe-zone{position:absolute;left:30%;width:40%;height:100%;border-radius:6px;background:linear-gradient(#afcc89,#7fa562);box-shadow:inset 0 2px 2px #fff7}.jump-marker{position:absolute;top:-7px;width:7px;height:37px;border-radius:5px;background:#e5ae49;box-shadow:0 2px 3px #7761383d;transition:left .07s linear}.bridge-field p{font-size:11px;color:var(--muted);margin-top:12px}.bridge-field .button{font-size:15px;min-width:135px}
.setting-row select{border:1px solid var(--border);border-radius:10px;background:var(--canvas);padding:9px 11px;color:var(--ink);min-width:81px;font-size:12px}.volume-row input{max-width:155px;width:40%;accent-color:#89a36c;min-height:30px;cursor:pointer}.music-picker{display:flex;gap:12px;align-items:center;padding:17px;background:var(--canvas);border:1px solid var(--border);border-radius:13px;margin-top:14px;min-width:0}.music-picker>span{font-size:26px;color:#a5b77d}.music-picker>div{min-width:0}.music-picker strong{font-size:12px;display:block;word-break:break-word}.music-picker small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.music-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:16px}.music-actions .button{font-size:12px;padding:11px 15px}.music-actions .text-button{font-size:11px}.backup-section{margin-top:24px;padding-top:24px;border-top:1px solid var(--border)}.backup-section>h3{margin-bottom:12px}.backup-section>.muted{font-size:12px;line-height:1.8}.backup-section>small{display:block;font-size:10px;margin-top:15px}
.parent-modal{text-align:center;max-width:430px}.parent-seal{display:inline-block;font-size:39px;margin:5px 0 18px;filter:drop-shadow(0 5px 0 #e0c48e3d)}.parent-modal>h2{font-size:24px}.parent-modal>p{font-size:12px;color:var(--muted);margin:12px 0 25px}.parent-question{display:block;font-size:24px;font-weight:700;background:#f2f5e9;padding:22px 15px;border-radius:15px;margin-bottom:18px;line-height:1.5}.parent-modal input{width:100%;text-align:center;font-size:22px;padding:14px}.parent-modal form>p{font-size:11px;margin:13px 0 20px}
.medal{background:radial-gradient(circle at 32% 23%,#fffbe0,#f4d47f 60%,#d9b05a);border-color:#f9e5a3;box-shadow:inset 0 2px 3px #fffef5,inset 0 -3px 5px #b9863e60,3px 5px 0 #c6a056,4px 9px 15px #b5974240;transform:rotate(-4deg);outline-color:#d1a64d}.medal span{filter:none;text-shadow:0 2px 2px #b1865433}.badge-card.earned:hover .medal{animation:medal-tilt 1s ease-in-out}.badge-card.earned .medal{cursor:pointer}.badge-card .medal:disabled{cursor:default}
.medal-celebration{position:fixed;right:28px;top:95px;width:245px;z-index:110;padding:24px 20px 20px;text-align:center;border:1px solid #efd68b;border-radius:24px;background:radial-gradient(circle at 50% 25%,#fffde5,#ffefc5 80%);box-shadow:inset 0 2px 0 #fff,0 8px 0 #d9b3613b,0 20px 55px #79613230;pointer-events:none;overflow:hidden;animation:badge-arrive .55s cubic-bezier(.2,.8,.3,1.25)}.medal-celebration>.medal{width:80px;height:80px;margin:4px auto 40px;animation:medal-tilt 2.3s ease-in-out infinite;position:relative;z-index:1}.medal-celebration>span{display:block;position:relative;font-size:11px;color:#b18b42}.medal-celebration h3{position:relative;font-size:21px;color:#886b35;margin:9px 0}.medal-celebration p{font-size:10px;color:#ab9669;position:relative}.celebration-dismiss{position:absolute;right:12px;top:10px;border:0;background:#fff6dc;color:#a39161;width:28px;height:28px;border-radius:50%;font-size:20px;z-index:3;pointer-events:auto}.medal-rays{position:absolute;left:calc(50% - 135px);top:-63px;width:270px;height:270px;background:repeating-conic-gradient(#efca6755 0 9deg,transparent 9deg 25deg);border-radius:50%;animation:medal-rays 15s linear infinite;mask-image:radial-gradient(#000,transparent 70%)}.medal-pop-leave-active{transition:opacity .35s,transform .35s}.medal-pop-leave-to{opacity:0;transform:translateY(-20px)}
.reward-burst{position:fixed;z-index:105;left:50%;top:46%;width:1px;height:1px;pointer-events:none}.reward-burst strong{position:absolute;left:0;top:0;transform:translate(-50%,-50%);white-space:nowrap;font-size:26px;color:#daa541;text-shadow:0 2px 0 #fffef3,0 4px 9px #cdab5744;animation:reward-text 1.5s ease-out forwards}.reward-burst i{position:absolute;display:block;font-style:normal;font-size:24px;color:#e9bc51;transform:translate(-50%,-50%);animation:reward-particle 1.4s ease-out var(--delay) forwards}.burst-complete{top:35%}.burst-complete strong{font-size:34px;animation-duration:3s}.burst-complete i{animation-duration:3s}.result-card{background:radial-gradient(ellipse at 50% 5%,#f6f9e0,var(--surface) 55%);box-shadow:inset 0 2px 0 #fff,0 7px 0 #dae3cc7a,0 23px 50px #516d4112}.result-stars{color:#edb84d;text-shadow:0 3px 0 #c99c39,0 6px 12px #e9c97960;animation:stars-arrive .75s cubic-bezier(.25,.7,.4,1.2)}.result-card h1{animation:answer-pop .5s .2s both}
@keyframes creature-idle{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -3px;rotate:2deg}}
@keyframes creature-cheer{0%,100%{translate:0 0;rotate:0deg}35%{translate:0 -14px;rotate:-7deg}65%{translate:0 -5px;rotate:6deg}}
@keyframes creature-oops{0%,100%{rotate:0deg}35%{rotate:-5deg}65%{rotate:3deg}}
@keyframes bee-idle{0%,100%{translate:0 0}50%{translate:3px -8px}}
@keyframes bee-cheer{0%,100%{translate:0 0;rotate:0deg}50%{translate:8px -18px;rotate:8deg}}
@keyframes cheer-sparks{0%,100%{opacity:.4;translate:0 2px}50%{opacity:1;translate:0 -4px}}
@keyframes shadow-breathe{0%,100%{scale:1;opacity:.16}50%{scale:.83;opacity:.11}}
@keyframes card-oops{0%,100%{translate:0 0}25%{translate:-5px 0}75%{translate:5px 0}}
@keyframes answer-pop{0%{scale:.97;opacity:.6}100%{scale:1;opacity:1}}
@keyframes countdown-pulse{0%,100%{scale:1}50%{scale:1.1}}
@keyframes combo-bounce{0%{scale:.7;opacity:0}70%{scale:1.08}100%{scale:1;opacity:1}}
@keyframes chest-star{0%{opacity:0;translate:0 10px;scale:.4}45%{opacity:1;translate:0 -30px;scale:1.3}100%{opacity:0;translate:0 -55px;scale:.7}}
@keyframes mascot-wave{0%,100%{rotate:-4deg}50%{rotate:5deg}}
@keyframes medal-tilt{0%,100%{transform:perspective(300px) rotateY(-12deg) rotate(-4deg)}50%{transform:perspective(300px) rotateY(15deg) rotate(5deg)}}
@keyframes medal-rays{to{rotate:360deg}}
@keyframes badge-arrive{0%{translate:0 -20px;scale:.75;opacity:0}100%{translate:0 0;scale:1;opacity:1}}
@keyframes reward-particle{0%{opacity:0;transform:rotate(var(--angle)) translateX(0) rotate(calc(-1 * var(--angle)));scale:.3}15%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(var(--distance)) rotate(calc(-1 * var(--angle)));scale:1.2}}
@keyframes reward-text{0%{opacity:0;translate:0 14px;scale:.65}20%{opacity:1;translate:0 -9px;scale:1.12}50%{opacity:1;scale:1}100%{opacity:0;translate:0 -42px}}
@keyframes stars-arrive{0%{scale:.4;opacity:0;rotate:-10deg}100%{scale:1;opacity:1;rotate:0deg}}
@media(min-width:1251px){.reward-burst{left:calc(50% + 5px)}}
@media(max-width:1250px){.answer-controls{gap:12px}.question-actions{gap:10px}.auto-next-control>span{font-size:10px}.question-actions .button{min-width:115px}.companion-stage{min-height:250px}.medal-celebration{width:210px}}
@media(max-width:1020px){.game-companion{display:none}.mobile-companion{display:flex;align-items:center;gap:10px;margin:-5px 0 17px;background:linear-gradient(110deg,#eaf2e360,transparent);border-radius:16px;padding:0 10px 0 0;min-height:58px}.mobile-companion .companion-touch{width:73px;flex-shrink:0}.mobile-companion .island-art{width:73px;height:62px;position:static;margin:0}.mobile-companion>span{min-width:0}.mobile-companion strong{display:block;font-size:11px}.mobile-companion small{display:block;font-size:10px;margin-top:4px;color:var(--muted)}.mobile-companion .combo-chip{margin-left:auto;font-size:10px;white-space:nowrap}.medal-celebration{top:85px}.reward-burst{left:55%}}
@media(max-width:760px){.topbar .top-avatar{display:flex;height:42px!important;padding:3px 5px}.account-switch-text{font-size:11px;max-width:70px}.account-switch-text small{font-size:8px}.topbar-right{gap:9px}.account-switch{gap:6px}.medal-celebration{top:78px;right:13px;width:178px;padding:17px 12px 14px}.medal-celebration>.medal{height:62px;width:62px;border-width:5px;margin:0 auto 31px}.medal-celebration>.medal span{font-size:26px}.medal-celebration h3{font-size:17px}.medal-celebration>span{font-size:9px}.medal-celebration p{font-size:9px}.reward-burst{left:50%}.reward-burst strong{font-size:23px}.burst-complete strong{font-size:26px}}
@media(max-width:500px){.topbar .breadcrumb{gap:5px}.topbar .breadcrumb strong{font-size:10px}.mobile-logo{font-size:12px}.topbar-right{gap:5px}.topbar{padding:0 12px}.account-switch-text{display:none}.topbar .top-avatar{width:36px!important;padding:0;border:0}.topbar .avatar{width:32px;height:32px}.answer-controls{gap:13px;justify-content:space-between;width:100%;margin:0}.question-actions{gap:14px}.question-actions .button{min-width:138px;flex:1;max-width:200px;font-size:13px}.auto-next-control{gap:6px}.auto-next-control>span{font-size:10px}.auto-next-control small{font-size:8px}.question-actions .hint-button{font-size:11px}.question-actions{padding-top:19px}.mobile-companion{margin-bottom:12px}.mobile-companion .combo-chip{font-size:9px;padding:5px 7px}.mobile-companion small{font-size:9px}.checkpoint-loot{gap:12px}.mini-invite>h3{font-size:13px}.mini-invite>p{font-size:9px}.mini-modal{padding:30px 15px 18px}.mini-game-heading h3{font-size:20px}.mini-game>p{font-size:11px}.star-field{height:255px}.memory-field{gap:9px;padding:13px}.memory-field button span{font-size:28px}.cloud-steps>span{font-size:33px}.bridge-field{padding:18px 13px}.setting-row>span{max-width:76%}.parent-question{font-size:21px}.medal-celebration{width:158px;padding:16px 11px 12px}.medal-celebration p{display:none}.medal-celebration h3{font-size:16px;margin-bottom:3px}.medal-celebration>.medal{width:58px;height:58px}.reward-burst i{font-size:20px}}
@media(max-width:360px){.question-actions .button{min-width:123px;max-width:158px}.answer-controls{gap:9px}.auto-next-control>span{font-size:9px}.topbar .breadcrumb>svg{display:none}.mobile-companion .combo-chip{display:none}}
@media(prefers-reduced-motion:reduce){.island-art{transform:none!important}*,*:before,*:after{animation:none!important;transition:none!important}.reward-burst i{display:none}.reward-burst strong{opacity:1}.reward-burst{top:30%}}
/* Keep practice answers in the page; students can still edit their own input. */
.study-copy-locked,.study-copy-locked *{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.study-copy-locked input,.study-copy-locked textarea{user-select:text;-webkit-user-select:text}
.translation-hint{font-size:12px;line-height:1.7;padding:9px 13px;border-radius:10px;background:var(--mint);color:var(--green-dark);margin:12px 0}
.audio-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;margin:8px auto;font-size:12px;color:var(--green-dark)}
.audio-loading small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}
.audio-loading-cloud{position:relative;font-size:45px;line-height:1;color:#91b9bb;animation:audio-cloud-float 1.4s ease-in-out infinite}
.audio-loading-cloud>i{position:absolute;left:13px;top:20px;font-style:normal;color:white;font-size:15px;letter-spacing:2px;line-height:1}
.audio-loading-cloud>b{position:absolute;right:-5px;top:-3px;font-size:17px;color:#d8ad58;animation:audio-note-pop 1.4s ease-in-out infinite}
.audio-loading-dots{display:inline-flex;gap:3px;margin-left:4px}.audio-loading-dots i{font-style:normal;animation:audio-dot 1.2s ease-in-out infinite}.audio-loading-dots i:nth-child(2){animation-delay:.2s}.audio-loading-dots i:nth-child(3){animation-delay:.4s}
@keyframes audio-cloud-float{50%{translate:0 -4px}}@keyframes audio-note-pop{50%{rotate:12deg;translate:0 -3px}}@keyframes audio-dot{50%{opacity:.25;translate:0 -2px}}
@media(prefers-reduced-motion:reduce){.audio-loading *{animation:none!important}}
