@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600&display=swap');
:root{--ink:#27334b;--muted:#6d778b;--purple:#6651cc;--purple-dark:#49349f;--lilac:#eee9fc;--sky:#e7f0fa;--green:#d9edab;--peach:#ffddbc;--border:#e0e5ee;--bg:#f5f7fc;--white:#fff;--radius:22px}*{box-sizing:border-box}body{margin:0;font:16px 'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select{font:inherit;color:inherit}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.56}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #c48618;outline-offset:4px}button{transition:background .15s,border-color .15s,box-shadow .15s}h1,h2,h3,p{margin:0}h1,h2,h3,.brand,.number,.big-score{font-family:'Fredoka','Trebuchet MS',sans-serif;font-weight:500}h1{font-size:clamp(2.5rem,3.7vw,3.8rem);line-height:1.07;letter-spacing:-.025em}h2{font-size:1.8rem}h3{font-size:1.35rem}p{line-height:1.65}.muted{color:var(--muted)}.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.btn{min-height:45px;padding:11px 17px;border-radius:12px;background:white;border:1px solid var(--border);font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{background:#f2effb;border-color:#b9abe8}.btn.primary{background:var(--purple);color:white;border-color:var(--purple);box-shadow:0 3px 0 #483599}.btn.primary:hover{background:#5941bf}.btn.soft{background:var(--lilac);border-color:transparent;color:#5944b3}.btn.small{min-height:36px;padding:8px 12px;font-size:.85rem}.btn.icon-only{width:43px;padding:10px}.btn.green{background:var(--green);border-color:#bed888;color:#415c28}.btn.peach{background:#fff0e1;border-color:#efd7bf;color:#7a5230}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.74rem;font-weight:700;color:var(--purple)}.topbar{background:white;border-bottom:1px solid var(--border);height:86px;padding:0 32px;display:flex;align-items:center;gap:35px;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:1.5rem;line-height:1.05;white-space:nowrap}.brand-icon{width:45px;height:45px;background:var(--purple);color:white;border-radius:14px;display:grid;place-items:center;transform:rotate(-8deg)}.brand-icon .icon{width:30px;height:30px}.brand small{font:600 .6rem 'DM Sans',sans-serif;color:var(--muted);letter-spacing:.16em;text-transform:uppercase;display:block;margin-top:6px}.nav{display:flex;gap:5px;align-items:center}.nav button{background:transparent;color:var(--muted);padding:12px 15px;border-radius:11px;font-weight:600;font-size:.9rem;display:flex;align-items:center;gap:7px;white-space:nowrap}.nav button.active{background:var(--lilac);color:#5840b8}.nav button:hover{background:#f1eef8}.nav .icon{width:18px;height:18px}.top-tools{display:flex;align-items:center;gap:8px}.workspace{max-width:1540px;margin:auto;padding:28px 34px;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:26px;align-items:start}.main{min-width:0}.crumbs{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:.8rem;margin-bottom:22px}.crumbs>span{display:flex;align-items:center;gap:8px}.crumbs .icon{width:17px;height:17px}.lesson-tag{padding:6px 11px;background:white;border:1px solid var(--border);border-radius:20px;font-size:.73rem}.hero{background:#e8e2fb;border:1px solid #ded5f8;border-radius:26px;display:grid;grid-template-columns:1.05fr 1fr;min-height:345px;overflow:hidden}.hero-copy{padding:32px 0 30px 31px;position:relative;z-index:1}.hero .eyebrow{display:flex;align-items:center;gap:7px;margin-bottom:16px}.hero h1 span{color:var(--purple)}.hero p{color:#666c86;font-size:.97rem;margin:16px 0 23px;max-width:330px}.hero-buttons{display:flex;gap:10px;flex-wrap:wrap}.hero-art{display:flex;align-items:center;justify-content:center;padding:15px 10px 15px 0}.hero-art svg{width:100%;height:auto;max-height:340px;overflow:visible}.hero-meta{display:flex;align-items:center;gap:14px;font-size:.72rem;color:#746993;margin-top:20px}.hero-meta span{display:flex;align-items:center;gap:5px}.hero-meta .icon{width:15px;height:15px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:27px 0 15px}.section-heading h2{font-size:1.5rem}.section-heading p{font-size:.8rem;color:var(--muted)}.games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.game-card{padding:0;text-align:left;background:white;border:1px solid var(--border);border-radius:19px;overflow:hidden;box-shadow:0 6px 16px #27334b04}.game-card:hover{border-color:#b5a4ea;box-shadow:0 6px 22px #6651cc13}.game-art{height:115px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.game-art.lilac{background:#eee8fb}.game-art.sky{background:#e0eef8}.game-art.peach{background:#fff0df}.game-art>svg{width:85%;height:100%}.game-card-copy{padding:17px}.game-card .pill{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#7e6cb1}.game-card h3{margin:7px 0 8px;font-size:1.33rem}.game-card p{font-size:.8rem;line-height:1.5;color:var(--muted);min-height:37px}.game-card-bottom{border-top:1px solid #edf0f5;margin-top:15px;padding-top:12px;display:flex;justify-content:space-between;color:#69758b;font-size:.72rem}.game-card-bottom strong{color:var(--purple);font-weight:700}.word-ribbon{background:white;border:1px solid var(--border);border-radius:17px;padding:20px;margin-top:20px}.word-ribbon .eyebrow{margin-bottom:13px}.word-chips{display:flex;gap:8px;flex-wrap:wrap}.word-chip{font-size:.78rem;padding:8px 10px;background:#f2f4f9;border-radius:9px;line-height:1.2;color:#556078}.side{position:sticky;top:22px;display:flex;flex-direction:column;gap:17px}.side-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.side-title h2{font-size:1.3rem}.side-title .btn{font-size:.72rem;min-height:30px;padding:6px 9px}.teams-panel{background:white;border:1px solid var(--border);border-radius:21px;padding:18px}.team-box{border:1px solid #d9d0f4;border-radius:15px;background:#f3effd;padding:15px;margin-bottom:12px}.team-box.blue{background:#ecf5fa;border-color:#d4e5ee}.team-box.active{box-shadow:0 0 0 2px #a996e2}.team-box.blue.active{box-shadow:0 0 0 2px #89bbd5}.team-heading{display:flex;align-items:center;gap:8px}.team-emblem{width:31px;height:31px;border-radius:10px;background:#ddd2f7;color:#6651b9;display:grid;place-items:center}.blue .team-emblem{background:#cfe6f2;color:#467c9b}.team-heading strong{font-size:.85rem}.team-heading .turn-badge{margin-left:auto;background:white;border-radius:20px;padding:4px 7px;font-size:.59rem;color:#776693;font-weight:700;white-space:nowrap}.members{font-size:.7rem;color:#7c7298;margin-top:9px;line-height:1.5;overflow-wrap:anywhere}.blue .members{color:#63839a}.points-row{display:flex;align-items:center;justify-content:space-between;margin-top:13px}.big-score{font-size:2rem;line-height:1;color:#6d55be}.blue .big-score{color:#4d8aab}.points-row .points{font-size:.69rem;color:#857c9a;margin-left:3px}.score-controls{display:flex;gap:5px}.score-controls button{width:30px;height:30px;background:white;border-radius:8px;color:#7e6caf;font-size:1rem;font-weight:700;border:1px solid #e3dcf3}.blue .score-controls button{color:#5d88a2;border-color:#d8e9f2}.team-footer{display:flex;align-items:center;justify-content:center;gap:5px;color:var(--muted);font-size:.67rem;line-height:1.5;padding-top:4px}.team-footer .icon{width:13px;height:13px}.mini-panel{border-radius:19px;border:1px solid #d6e5b8;background:#edf4dd;padding:19px}.mini-panel h3{font-size:1.15rem;margin:7px 0}.mini-panel p{color:#6c795a;font-size:.78rem;line-height:1.55}.mini-panel .btn{width:100%;margin-top:15px;font-size:.8rem}.lesson-progress{border-radius:19px;background:white;border:1px solid var(--border);padding:18px}.progress-label{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted);margin-top:10px}.progress-track{height:7px;border-radius:10px;background:#e9edf5;margin:10px 0;overflow:hidden}.progress-track>div{background:#8a75d9;height:100%;border-radius:10px}.lesson-progress small{color:var(--muted);font-size:.69rem;line-height:1.5}.footer{display:flex;justify-content:space-between;gap:12px;color:#9299a9;font-size:.68rem;margin-top:23px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.page-head h1{font-size:2.55rem;margin-top:9px}.page-head p{color:var(--muted);font-size:.95rem;margin-top:11px}.page-badge{background:var(--lilac);color:#6c56b4;font-size:.75rem;font-weight:600;white-space:nowrap;padding:9px 12px;border-radius:20px;display:flex;align-items:center;gap:6px}.surface{padding:25px;background:white;border:1px solid var(--border);border-radius:23px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:13px;margin-bottom:19px;flex-wrap:wrap}.toolbar p{color:var(--muted);font-size:.85rem}.toolbar-group{display:flex;gap:8px;flex-wrap:wrap}.vocab-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.vocab-card{background:white;border:1px solid var(--border);border-radius:18px;overflow:hidden}.activity-art{height:145px;padding:10px;background:var(--art-bg,#f0edf9);display:flex;align-items:center;justify-content:center}.activity-art svg{width:100%;height:100%;display:block}.vocab-copy{padding:15px}.vocab-copy h3{font-size:1.27rem;min-height:30px;line-height:1.25}.vocab-copy p{font-size:.78rem;color:var(--muted);margin-top:7px;min-height:40px;line-height:1.5}.vocab-actions{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:8px}.vocab-actions .btn{font-size:.75rem;min-height:33px;padding:7px 9px}.vocab-actions .icon{width:17px;height:17px}.hidden-word{color:#9b90bb}.turn-banner{padding:13px 17px;border-radius:13px;background:var(--lilac);display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;color:#6a55ad;font-size:.85rem}.turn-banner.blue{background:#e7f2fa;color:#4d7b98}.turn-banner strong{font-weight:700}.turn-banner small{font-size:.72rem}.rule-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tab{padding:11px 16px;background:white;border:1px solid var(--border);border-radius:11px;font-weight:600;font-size:.85rem}.tab.active{background:var(--purple);color:white;border-color:var(--purple)}.grammar-rule{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:22px}.rule-example{padding:20px;border-radius:16px;background:#eee9fb}.rule-example.alt{background:#e9f2fa}.rule-example>small{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#7560ae}.rule-example p{font-size:1.16rem;line-height:1.7;margin-top:10px}.rule-example b{color:var(--purple)}.grammar-tip{padding:13px 17px;border-radius:12px;background:#fff3df;font-size:.84rem;color:#856b3d;margin-top:-5px;margin-bottom:23px;line-height:1.6}.builder-picture{display:flex;align-items:center;gap:22px;background:#f6f7fc;border-radius:17px;padding:18px;margin-bottom:19px}.builder-picture .activity-art{width:145px;height:113px;border-radius:13px;flex-shrink:0}.builder-picture h2{font-size:1.6rem;margin-top:8px}.builder-picture p{color:var(--muted);font-size:.9rem;margin-top:7px}.token-area{border:2px dashed #d5cbee;border-radius:15px;min-height:87px;padding:14px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#fcfbff}.token-area.empty{color:#9a91af;font-size:.92rem;justify-content:center}.token{background:var(--lilac);border:1px solid #d7cdef;padding:11px 14px;min-height:44px;border-radius:10px;font-weight:600;color:#5b489b;font-size:1rem}.token:hover{background:#ded5f6}.token-bank{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;min-height:75px;padding:18px 0}.token-bank .token{background:white;color:#505c75;border-color:#d5dce9;box-shadow:0 3px 0 #e6eaf3}.token-bank .token:disabled{opacity:.25;box-shadow:none}.feedback{background:#ebf4de;color:#506d35;border:1px solid #d4e7b9;border-radius:13px;padding:14px 17px;margin-top:17px;line-height:1.6;font-size:.95rem}.feedback.try{background:#fff1e0;border-color:#efd8b9;color:#8b652d}.feedback:empty{display:none}.feedback strong{display:block}.actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;flex-wrap:wrap}.actions .muted{font-size:.83rem}.game-intro{display:grid;grid-template-columns:1fr 1fr;gap:23px;align-items:center}.game-intro-art{background:#eae5fc;border-radius:20px;height:270px;display:flex;align-items:center;justify-content:center}.game-intro-art svg{width:90%;height:90%}.game-intro h2{font-size:2rem;margin-bottom:13px}.game-intro ol{padding-left:22px;color:var(--muted);font-size:.95rem;line-height:1.9;margin:15px 0 24px}.game-picker{display:flex;gap:9px;margin-bottom:21px;flex-wrap:wrap}.game-picker .btn{font-size:.84rem}.memory-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.memory-card{height:133px;border:2px solid #ded7f3;border-radius:14px;background:#ece6fc;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:7px;position:relative;color:#9b89cd;font-family:'Fredoka',sans-serif;font-size:1.5rem;overflow:hidden}.memory-card:hover{background:#e2d9fa}.memory-card.open{background:#fff;border-color:#ad9cde;color:var(--ink);font-size:1rem}.memory-card .activity-art{width:100%;height:88px;padding:0;background:transparent;border-radius:9px}.memory-card .card-word{font-size:1rem;line-height:1.3;font-family:'Fredoka',sans-serif;color:#59478f}.memory-card.matched{background:#eef6e3;border-color:#bad58d;color:#537536}.memory-card.matched:disabled{opacity:1}.memory-card .match-check{position:absolute;right:4px;top:3px;color:#7b9d54}.memory-card .match-check .icon{width:16px;height:16px}.memory-card .card-number{font:.65rem 'DM Sans',sans-serif;opacity:.7;position:absolute;bottom:5px;left:8px}.memory-card>svg{width:34px;height:34px}.memory-status{font-size:.84rem;line-height:1.6;color:var(--muted);margin-top:17px;text-align:center;min-height:27px}.question-panel{background:#efebfb;border-radius:19px;padding:26px;text-align:center}.question-panel .activity-art{width:200px;height:135px;border-radius:14px;margin:14px auto}.question-panel h2{font-size:1.9rem;margin:13px 0;line-height:1.4}.question-panel .eyebrow{font-size:.72rem}.answer-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.answer-btn{background:white;border:2px solid #e0dcee;border-radius:13px;padding:17px;font-size:1.1rem;font-weight:600;text-align:left;min-height:65px}.answer-btn:hover{background:#f5f1fd;border-color:#ae9cdd}.answer-btn.correct{background:#edf6df;border-color:#a8ca7d}.answer-btn.wrong{background:#fff0e3;border-color:#e6b68c}.answer-btn:disabled{opacity:1}.option-letter{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#f1eef9;color:#8a7cb0;font-size:.8rem;margin-right:11px}.speaking-panel{display:grid;grid-template-columns:1fr 1.15fr;gap:22px;align-items:center}.speaking-panel>.activity-art{height:230px;border-radius:19px}.speaking-task{padding:23px;background:#f6f3fd;border-radius:18px}.speaking-task h2{font-size:2rem;margin:12px 0}.speaking-tags{display:flex;gap:8px;flex-wrap:wrap}.speaking-tags span{background:white;padding:8px 12px;border:1px solid #d9d0f0;border-radius:10px;font-weight:600;color:#7961b5;font-size:.9rem}.speaking-task p{color:var(--muted);margin:13px 0;font-size:.95rem}.end-screen{text-align:center;padding:20px 15px}.end-screen .trophy{width:82px;height:82px;color:#ba953b;background:#fff3cd;border-radius:25px;margin:0 auto 20px;display:grid;place-items:center;transform:rotate(-5deg)}.end-screen .trophy .icon{width:46px;height:46px}.end-screen h2{font-size:2.4rem}.end-screen p{max-width:550px;margin:12px auto 22px;color:var(--muted)}.result-scores{display:grid;grid-template-columns:1fr 1fr;gap:15px;max-width:470px;margin:20px auto}.result-score{border-radius:17px;padding:23px;background:var(--lilac)}.result-score.blue{background:#e5f1fa}.result-score h3{font-size:1.25rem}.result-score .big-score{margin-top:10px;font-size:3rem}.cooperative{background:#edf5de;border:1px solid #d9e8be;padding:15px;border-radius:14px;max-width:620px;margin:20px auto;color:#5c743e;font-size:.9rem;line-height:1.6}.exit-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.exit-card{border:1px solid var(--border);border-radius:17px;padding:20px;display:flex;flex-direction:column;gap:12px}.exit-card.passed{background:#f1f7e7;border-color:#bfd399}.exit-card p{font-size:.95rem;color:var(--muted);min-height:77px}.exit-card .btn{align-self:flex-start;margin-top:auto}.exit-member{font-weight:700;color:#7d66b5;font-size:.9rem}.exit-member.blue{color:#53839c}.small-note{color:var(--muted);font-size:.77rem;line-height:1.6}.sparkle{position:fixed;top:-15px;left:var(--x);width:10px;height:14px;background:var(--c);z-index:50;pointer-events:none;animation:fall 1.8s ease-in forwards}@keyframes fall{to{transform:translateY(105vh) rotate(600deg);opacity:0}}dialog{border:1px solid var(--border);border-radius:23px;max-width:750px;width:calc(100% - 32px);max-height:86vh;padding:28px;color:var(--ink);box-shadow:0 20px 90px #27334b40}dialog::backdrop{background:#27334b80;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}dialog p,dialog li{font-size:.95rem;line-height:1.7}dialog h3{margin:21px 0 10px;color:var(--purple)}dialog ol,dialog ul{padding-left:23px}dialog label{display:block;font-size:.83rem;font-weight:700;margin:15px 0 7px}dialog input{width:100%;border:1px solid #c5cee0;padding:11px 13px;min-height:44px;border-radius:10px;background:white}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.teacher-note{border-radius:14px;background:#f0ebfb;padding:17px;margin:17px 0}.teacher-note p{margin-top:7px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:23px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#27334b;color:white;border-radius:13px;padding:13px 21px;font-size:.9rem;box-shadow:0 5px 25px #27334b30;z-index:60;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.hidden{display:none!important}select{appearance:none;background:white;border:1px solid var(--border);border-radius:10px;padding:10px 28px 10px 13px;min-height:43px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236d778b'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 5px center;background-size:18px}body.focus .topbar{height:66px}body.focus .workspace{max-width:1800px;padding-top:20px}body.focus .hero-meta,body.focus .footer,body.focus .mini-panel{display:none}body.focus .hero{min-height:300px}body.focus h1{font-size:2.8rem}body.focus .activity-art{height:180px}
@media(min-width:1450px){.hero{min-height:380px}.hero-copy{padding:38px 0 33px 36px}.game-art{height:130px}.hero-art{padding:15px}}
@media(max-width:1200px){.topbar{padding:0 24px;gap:18px}.nav button{font-size:.8rem;padding:11px 10px}.nav .icon{width:16px;height:16px}.brand{font-size:1.3rem}.workspace{padding:25px;grid-template-columns:minmax(0,1fr) 240px;gap:20px}.teams-panel{padding:15px}.hero-copy{padding:28px 0 28px 25px}.hero h1{font-size:2.8rem}.hero{min-height:320px}.hero p{font-size:.9rem}.hero-buttons .btn{font-size:.83rem;padding:10px 13px}.hero-meta{gap:10px;font-size:.65rem}.games-grid{gap:12px}.game-card-copy{padding:14px}.game-card h3{font-size:1.17rem}.game-art{height:100px}.game-card p{font-size:.75rem;min-height:48px}.memory-grid{grid-template-columns:repeat(7,1fr);gap:8px}.memory-card{height:115px;border-radius:11px}.memory-card .card-word{font-size:.85rem}.vocab-grid{grid-template-columns:1fr 1fr}.activity-art{height:150px}.page-head h1{font-size:2.3rem}.page-badge{font-size:.7rem;padding:8px 10px}.mini-panel{padding:16px}.surface{padding:20px}.game-intro{gap:20px}.game-intro-art{height:240px}.speaking-panel{grid-template-columns:1fr 1fr}.speaking-task{padding:19px}}
@media(max-width:1000px){.topbar{height:auto;min-height:83px;flex-wrap:wrap;padding:15px 22px;gap:15px}.brand{font-size:1.35rem}.top-tools{margin-left:auto}.nav{order:3;width:100%;justify-content:center;border-top:1px solid #eef0f5;padding-top:12px}.nav button{font-size:.85rem;flex:1;justify-content:center}.workspace{grid-template-columns:minmax(0,1fr) 220px;padding:22px;gap:17px}.hero{grid-template-columns:1fr}.hero-copy{padding:27px 26px 0}.hero p{max-width:100%}.hero-art{height:225px;padding:5px 15px 10px}.hero-art svg{max-height:235px;width:100%}.hero h1{font-size:2.8rem}.hero-meta{margin-top:16px}.games-grid{grid-template-columns:1fr}.game-card{display:grid;grid-template-columns:140px 1fr}.game-art{height:100%}.game-card p{min-height:0}.game-card-bottom{margin-top:11px;padding-top:10px}.team-heading .turn-badge{font-size:.54rem}.team-box{padding:12px}.big-score{font-size:1.8rem}.page-head{flex-wrap:wrap;gap:12px}.grammar-rule{grid-template-columns:1fr}.memory-grid{grid-template-columns:repeat(4,1fr)}.memory-card{height:125px}.game-intro{grid-template-columns:1fr}.game-intro-art{height:210px}.speaking-panel{grid-template-columns:1fr}.speaking-panel>.activity-art{height:180px}.builder-picture{gap:15px;padding:14px}.builder-picture .activity-art{width:110px;height:95px}.builder-picture h2{font-size:1.35rem}.rule-example p{font-size:1.08rem}.question-panel{padding:21px}.question-panel h2{font-size:1.6rem}.answer-btn{padding:13px;font-size:1rem}.option-letter{margin-right:7px;width:25px}.vocab-copy h3{font-size:1.15rem}.vocab-copy{padding:12px}.vocab-actions{flex-wrap:wrap}.vocab-grid{gap:13px}}
@media(max-width:760px){.workspace{display:flex;flex-direction:column;padding:19px 16px}.main{width:100%}.side{position:static;width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:start}.teams-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:17px}.side-title{grid-column:1/-1;margin:0}.team-box{margin:0}.team-footer{grid-column:1/-1}.mini-panel{height:100%}.hero{grid-template-columns:1.05fr 1fr}.hero-copy{padding:26px 0 26px 24px}.hero h1{font-size:2.6rem}.hero-art{height:auto;padding:8px 9px 8px 0}.hero-meta{font-size:.64rem}.hero p{font-size:.86rem}.hero .eyebrow{font-size:.65rem}.hero-buttons{gap:8px}.hero-buttons .btn{font-size:.79rem}.hero-buttons .btn .icon{width:17px;height:17px}.hero-meta{flex-wrap:wrap;gap:9px}.games-grid{grid-template-columns:repeat(3,1fr);gap:10px}.game-card{display:block}.game-art{height:100px}.game-card-copy{padding:13px}.game-card p{min-height:57px;font-size:.74rem}.game-card-bottom{font-size:.63rem}.game-card h3{font-size:1.1rem}.vocab-grid{grid-template-columns:repeat(3,1fr)}.activity-art{height:130px}.vocab-copy h3{min-height:50px;font-size:1.12rem}.vocab-copy p{font-size:.72rem}.grammar-rule{grid-template-columns:1fr 1fr}.memory-grid{grid-template-columns:repeat(7,1fr)}.memory-card{height:115px}.game-intro{grid-template-columns:1fr 1fr}.speaking-panel{grid-template-columns:1fr 1.1fr}.page-badge{font-size:.72rem}.footer{margin-top:20px}.lesson-tag{font-size:.67rem}.turn-banner{font-size:.83rem}.page-head{flex-wrap:nowrap}.nav{overflow:auto;justify-content:flex-start}.nav button{flex:auto}.mini-panel .icon{width:22px;height:22px}}
@media(max-width:550px){.topbar{padding:13px 16px;gap:12px}.brand{font-size:1.22rem}.brand-icon{width:40px;height:40px}.brand small{font-size:.52rem}.top-tools{gap:5px}.top-tools .btn{width:36px;min-height:36px;padding:8px}.top-tools .icon{width:19px;height:19px}.top-tools .guide-text{display:none}.nav button{font-size:.76rem;padding:10px 11px}.nav .icon{width:16px;height:16px}.nav{gap:4px;padding-top:10px}.workspace{padding:18px 14px}.crumbs{font-size:.7rem;margin-bottom:17px;align-items:flex-start}.crumbs>span{gap:5px}.lesson-tag{font-size:.6rem;white-space:nowrap;padding:6px 8px}.hero{grid-template-columns:1fr}.hero-copy{padding:28px 25px 0}.hero h1{font-size:3rem}.hero p{font-size:.92rem;margin:14px 0 19px}.hero-art{height:245px;padding:0 18px 8px}.hero-art svg{max-height:250px}.hero-buttons .btn{font-size:.85rem}.hero-meta{font-size:.68rem;margin-top:20px}.section-heading{align-items:flex-start}.section-heading h2{font-size:1.3rem}.section-heading p{font-size:.7rem;max-width:95px;text-align:right}.games-grid{grid-template-columns:1fr}.game-card{display:grid;grid-template-columns:119px 1fr}.game-art{height:100%}.game-card-copy{padding:17px 15px}.game-card h3{font-size:1.3rem}.game-card p{min-height:0;font-size:.8rem}.game-card-bottom{font-size:.68rem}.vocab-grid{grid-template-columns:1fr 1fr;gap:12px}.vocab-copy h3{min-height:47px;font-size:1.1rem}.vocab-copy p{font-size:.73rem}.vocab-actions .btn{font-size:.7rem}.activity-art{height:135px}.page-head h1{font-size:2.2rem}.page-head{flex-wrap:wrap}.page-head p{font-size:.89rem}.page-head .eyebrow{font-size:.67rem}.surface{padding:17px}.toolbar .btn{font-size:.77rem}.grammar-rule{grid-template-columns:1fr;gap:12px}.rule-example{padding:17px}.rule-example p{font-size:1.1rem}.rule-tabs{gap:6px}.tab{font-size:.75rem;padding:10px 11px}.builder-picture{flex-direction:column;text-align:center}.builder-picture .activity-art{width:100%;height:140px}.builder-picture h2{font-size:1.5rem}.token{font-size:.87rem;padding:10px 11px}.token-area{gap:7px;min-height:95px}.token-bank{gap:7px}.token-area.empty{font-size:.85rem}.actions .btn{font-size:.8rem}.turn-banner{font-size:.78rem;flex-wrap:wrap;gap:8px;padding:12px}.memory-grid{grid-template-columns:repeat(4,1fr);gap:7px}.memory-card{height:106px;border-radius:10px}.memory-card .card-word{font-size:.8rem}.memory-card .activity-art{height:70px}.memory-card .card-number{font-size:.6rem}.game-intro{grid-template-columns:1fr}.game-intro-art{height:190px}.game-intro h2{font-size:1.8rem}.game-intro ol{font-size:.9rem}.game-picker{gap:7px}.game-picker .btn{font-size:.74rem;padding:9px 10px;min-height:39px}.speaking-panel{grid-template-columns:1fr}.speaking-panel>.activity-art{height:170px}.question-panel h2{font-size:1.5rem}.question-panel .activity-art{height:120px}.answer-options{gap:9px}.answer-btn{font-size:.92rem;padding:12px;min-height:66px}.option-letter{width:23px;height:23px;font-size:.7rem;margin-right:6px}.side{gap:12px}.mini-panel h3{font-size:1rem}.mini-panel p{font-size:.7rem}.mini-panel .btn{font-size:.7rem;padding:8px}.mini-panel{padding:15px}.lesson-progress{padding:16px}.side-title h2{font-size:1.25rem}.team-heading strong{font-size:.8rem}.team-heading .turn-badge{font-size:.52rem;padding:4px}.team-emblem{width:25px;height:25px;border-radius:8px}.team-emblem .icon{width:17px;height:17px}.team-heading{gap:5px}.team-box{padding:12px}.members{font-size:.64rem}.score-controls button{width:27px;height:28px}.big-score{font-size:1.7rem}.points-row .points{font-size:.6rem}.teams-panel{gap:10px;padding:15px}.exit-grid{gap:11px}.exit-card{padding:16px}.exit-card p{font-size:.83rem;min-height:100px}.exit-card h3{font-size:1.2rem}.exit-card .btn{font-size:.75rem}.end-screen h2{font-size:1.9rem}.result-score{padding:18px 12px}.result-score h3{font-size:1.1rem}.form-grid{gap:13px}.footer{font-size:.6rem}.game-art>svg{width:95%}dialog{padding:23px}.modal-head h2{font-size:1.65rem}.speaking-task h2{font-size:1.8rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
