:root{color-scheme:light dark;background:light-dark(#f8f6ef,#13261e)}body{margin:0;padding:24px 20px;font-family:"Avenir Next",ui-rounded,system-ui,sans-serif}#wge{--ink:light-dark(#253e32,#eef3e8);--muted:light-dark(#607065,#b5c6b8);--paper:light-dark(#fffdf6,#253c30);--bg:light-dark(#f6f4e9,#192f23);--soft:light-dark(#eaf0dc,#344c33);--line:light-dark(#dce3d3,#4b6250);--accent:light-dark(#456d4c,#afd19f);--on-accent:light-dark(#fffdf1,#183421);--gold:light-dark(#fae3a3,#5a4927);--rose:light-dark(#f6d3c0,#654537);max-width:1180px;margin:auto;font-weight:500}#wge .app{position:relative;border:0;background:var(--bg);border-radius:30px;box-shadow:0 12px 70px light-dark(#38432d0b,#00000020);overflow:clip}#wge button{cursor:pointer}#wge .header{padding:22px 30px 18px;gap:12px}#wge .brand{text-decoration:none;color:var(--ink);font-size:24px;letter-spacing:-1px}#wge .brand small{display:block;font-weight:500;font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);margin-top:3px}#wge .mark{width:46px;height:46px;position:relative;transform:rotate(-8deg);font:800 31px Georgia,serif;background:var(--accent);color:var(--on-accent);border-radius:16px}#wge .mark span{position:absolute;top:-7px;right:-5px;font:18px system-ui;color:light-dark(#c98738,#e3ba6f)}#wge .header-actions{display:flex;align-items:center;gap:16px}#wge .star-total{color:var(--ink);background:var(--gold);padding:9px 14px;border-radius:30px;white-space:nowrap;font-size:15px;font-weight:800}#wge .welcome{padding:30px 45px 38px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:light-dark(#e8eedb,#2a412d);margin:0 20px 28px;border-radius:24px;position:relative;overflow:hidden}#wge h1{font-size:clamp(30px,5vw,51px);font-weight:800;letter-spacing:-2px;line-height:1.1;margin:12px 0 16px;max-width:620px}#wge h1 em{color:var(--accent);font-style:normal;font-family:Georgia,serif;font-weight:500}#wge .welcome p:not(.eyebrow){line-height:1.6;font-size:16px;color:var(--muted)}#wge .eyebrow{font-size:10px;font-weight:700;letter-spacing:1.3px;line-height:1.5}#wge .welcome-friend{display:grid;place-items:center;position:relative;flex:0 0 210px}#wge .welcome-friend>span:not(.friend-orbit){font-size:95px;background:light-dark(#f9f7e5,#3b533b);border-radius:50%;width:157px;height:157px;display:grid;place-items:center;transform:rotate(8deg)}#wge .welcome-friend small{background:var(--paper);padding:8px 15px;border-radius:20px;position:relative;top:-7px;transform:rotate(-4deg);font-size:11px;font-weight:700}#wge .friend-orbit{position:absolute;right:4px;top:7px;font-size:37px;color:light-dark(#c98b36,#e8b660)}#wge .world-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 30px 16px}#wge .world-heading h2{font-size:19px;letter-spacing:-.6px;margin:0}#wge .year-label{font-size:12px;color:var(--muted);flex-wrap:wrap}#wge select{font-size:12px;padding:8px 10px;border:0;background:var(--paper);box-shadow:0 1px 5px #00000008}#wge .topics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0 28px 20px}#wge .topic{position:relative;padding:16px 10px;display:flex;flex-direction:column;gap:11px;background:var(--paper);border:2px solid transparent;border-radius:19px;min-width:0;line-height:1.3;box-shadow:none;transition:transform .15s}#wge .topic:hover{transform:translateY(-3px)}#wge .topic[aria-pressed="true"]{background:var(--paper);border-color:var(--accent);box-shadow:0 4px 0 light-dark(#d6dfc9,#334c36);color:var(--ink)}#wge .topic strong{font-size:13px;font-weight:700;display:block}#wge .topic small{font-size:10px;font-weight:500;color:var(--muted);display:block;margin-top:4px}#wge .world-icon{font-size:34px;line-height:1.2}#wge .world-badge{position:absolute;right:8px;top:6px;color:var(--ink);font-size:17px}#wge .mission{margin:0 28px 28px;padding:16px 20px;background:var(--gold);border-radius:18px;display:flex;gap:14px;align-items:center}#wge .mission-icon{font-size:28px;color:light-dark(#956822,#f0d996)}#wge .mission>div{flex:1}#wge .mission strong{font-size:13px;font-weight:800}#wge .mission p{font-size:12px;line-height:1.5;margin-top:4px}#wge .mission .button{white-space:nowrap}#wge .title-row{padding:0 30px 20px}#wge .title-row h2{font-size:26px;font-weight:800}#wge .progress-label{font-size:11px}#wge .learn-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start;gap:16px;margin:0 20px 24px}#wge .discovery{min-width:0}#wge .stage{height:390px;margin:0;border-radius:23px;background:linear-gradient(#dcebd7,#eef2dd);border:1px solid light-dark(#d9e3cf,#536e46)}#wge .scene-label{background:#f9fbeac9;backdrop-filter:blur(8px);color:#4b6748;padding:7px 9px;border-radius:8px;font-size:9px;top:14px;left:14px}#wge .scene-help{font-size:10px;bottom:16px;color:#4c6447}#wge .objects{gap:8px;padding:14px 4px;flex-wrap:wrap}#wge .object{border:0;font-size:13px;padding:10px 14px;border-radius:25px;background:var(--paper);font-weight:650}#wge .object[aria-pressed="true"]{background:var(--accent);color:var(--on-accent)}#wge .workshop{min-width:0;background:var(--paper);border-radius:23px;padding:10px 8px 6px}#wge .activity-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 0 8px;gap:4px;border-bottom:1px solid var(--line)}#wge .activity{font-size:11px;gap:4px;padding:9px 4px;white-space:nowrap;border-radius:12px}#wge .activity .control-icon{font-size:11px}#wge .activity[aria-selected="true"]{background:var(--soft);color:var(--ink)}#wge .panel{background:transparent;margin:0;padding:20px 14px 15px;min-height:300px}#wge .word{font-size:37px;margin:10px 0 13px}#wge .definition{font-size:15px;line-height:1.6}#wge .example{font-size:17px;line-height:1.6;padding-top:15px}#wge .word-note{font-size:12px;padding-top:8px;color:var(--muted)}#wge .button{font-size:12px;font-weight:700;border-radius:13px;border:0;min-height:44px;padding:11px 14px;line-height:1.4;background:var(--soft);color:var(--ink)}#wge .button.primary{background:var(--accent);color:var(--on-accent)}#wge .button:hover{filter:brightness(.97)}#wge .button:disabled{opacity:.48}#wge .button:focus-visible,#wge button:focus-visible{outline-color:light-dark(#a25d2a,#f0c082)}#wge .control-icon{display:inline-block;font-size:13px}#wge .small{font-size:12px;line-height:1.65}#wge .heading{font-size:22px;font-weight:800;letter-spacing:-.5px;line-height:1.3;margin:6px 0 10px}#wge .choices{gap:8px}#wge .choice{padding:13px 15px;text-align:left;font-size:13px;font-weight:600;min-height:48px;background:var(--bg)}#wge .choice.correct{background:var(--soft);box-shadow:inset 0 0 0 2px var(--accent)}#wge .feedback{font-size:13px;line-height:1.65;min-height:22px}#wge .sentence-area{min-height:100px;padding:12px;background:var(--bg)}#wge .tile{font-size:14px;min-height:44px;padding:9px 12px}#wge .spell-form input{width:130px}#wge .mystery-clue{font:500 21px/1.5 Georgia,serif;padding:24px 18px;background:var(--gold);border-radius:20px;margin:18px 0;position:relative}#wge .record-kinds{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}#wge .record-kinds .button{font-size:12px;padding:10px 12px}#wge .record-kinds [aria-pressed="true"]{background:var(--accent);color:var(--on-accent)}#wge .record-prompt{background:var(--bg);border-radius:17px;padding:17px;margin:14px 0 18px}#wge .record-prompt p{font-size:20px;font-weight:650;line-height:1.55;margin-top:7px;overflow-wrap:anywhere}#wge .record-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px}#wge .record-button{border:0;border-radius:30px;padding:14px 20px;min-height:52px;background:light-dark(#ba5e45,#f3b79c);color:light-dark(#fffaf2,#3b2018);font-size:13px;font-weight:700;display:flex;align-items:center;gap:9px}#wge .record-button:disabled{opacity:.5}#wge .record-button span{font-size:20px;line-height:1}#wge .record-timer{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}#wge.is-recording .record-timer{color:light-dark(#a24432,#ffb29a);animation:wge-pulse 1s ease-in-out infinite}#wge .my-recording{border-top:1px solid var(--line);padding-top:18px;margin-top:14px}#wge .my-recording strong{font-size:13px}#wge audio{display:block;width:100%;max-width:100%;height:44px;margin:10px 0}#wge .recording-privacy{margin-top:19px;font-size:11px}#wge .file-alternative{margin-top:16px;font-size:12px;line-height:1.5}#wge .file-alternative summary{min-height:40px;display:list-item;padding-top:8px;cursor:pointer}#wge .file-alternative label{display:block;margin-top:10px}#wge .teacher{padding:12px 30px;line-height:1.7}#wge .teacher summary{min-height:44px;padding:10px 0;font-size:12px}#wge .end{padding:20px 30px 22px;border-top:1px solid var(--line);font-size:10px}#wge .parent-report{padding:20px 30px 30px}#wge .report-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:18px}#wge .report-heading h2{font-size:28px;margin:5px 0 8px}#wge .report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}#wge .report-stat{background:var(--paper);border-radius:17px;padding:20px 17px;min-width:0}#wge .report-stat strong{font-size:30px;display:block;letter-spacing:-1px}#wge .report-stat span{font-size:11px;line-height:1.6;color:var(--muted);display:block;margin-top:5px}#wge .report-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}#wge .topic-report{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;padding:23px 0;border-top:1px solid var(--line)}#wge .topic-report h3{font-size:17px;margin:0 0 8px}#wge .topic-report .report-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px}#wge .skill-name{display:flex;justify-content:space-between;gap:5px;font-size:11px;margin-bottom:7px}#wge .skill-track{height:6px;border-radius:10px;background:var(--line);overflow:hidden}#wge .skill-fill{height:100%;background:var(--accent);border-radius:10px}#wge .report-section{padding:24px 0;border-top:1px solid var(--line)}#wge .report-section h3{font-size:18px;margin:0 0 12px}#wge .report-section>p:not(.small){font-size:14px;line-height:1.7}#wge .clip-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,320px);gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}#wge .clip-row strong{font-size:13px}#wge .clip-row p{font-size:12px;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}#wge .clip-row .actions{margin-top:5px}#wge #wge-storage-status{padding:12px 15px;background:var(--soft);border-radius:12px}#wge #wge-confetti{pointer-events:none;position:absolute;inset:0;z-index:5;overflow:clip}#wge .confetto{position:absolute;left:50%;top:42%;width:9px;height:14px;border-radius:3px;background:#d6ad51;animation:wge-burst 1.1s ease-out forwards}#wge .confetto:nth-child(2n){background:#b96a4d}#wge .confetto:nth-child(3n){background:#6c985e}#wge .celebration-label{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);background:var(--gold);color:var(--ink);box-shadow:0 8px 30px #00000012;border-radius:20px;padding:12px 20px;font-size:17px;font-weight:800;white-space:nowrap;animation:wge-label 1.4s ease both}#wge .studio-loading{opacity:.65}
@keyframes wge-pulse{50%{opacity:.5}}@keyframes wge-burst{to{transform:translate(var(--dx),var(--dy)) rotate(var(--turn));opacity:0}}@keyframes wge-label{0%{opacity:0;transform:translate(-50%,-35%)}15%,75%{opacity:1;transform:translate(-50%,-50%)}100%{opacity:0;transform:translate(-50%,-65%)}}
@media(min-width:1400px){body{padding-top:40px}}@media(max-width:900px){#wge .learn-grid{grid-template-columns:1fr}#wge .stage{height:330px}#wge .activity-nav{grid-template-columns:repeat(7,minmax(0,1fr))}#wge .activity{flex-direction:column;gap:5px;font-size:11px;white-space:normal}#wge .activity .control-icon{font-size:14px}#wge .panel{padding:23px 22px}#wge .word{font-size:35px}#wge .welcome{padding:28px 32px}#wge .welcome-friend{flex-basis:160px}#wge .report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body{padding:8px 6px}#wge .app{border-radius:23px}#wge .header{padding:20px 16px;flex-direction:row;align-items:center}#wge .brand{font-size:20px;gap:8px}#wge .brand small{font-size:8px;letter-spacing:1.2px}#wge .mark{width:36px;height:36px;font-size:26px;border-radius:13px}#wge .header-actions{gap:7px}#wge .header-actions .button{font-size:10px;padding:9px 10px}#wge .star-total{font-size:12px;padding:9px 10px}#wge .welcome{margin:0 10px 23px;padding:26px 20px;gap:7px}#wge h1{font-size:33px;letter-spacing:-1.3px;margin:10px 0 12px}#wge .welcome .eyebrow{font-size:8px;letter-spacing:.7px}#wge .welcome p:not(.eyebrow){font-size:12px}#wge .welcome-friend{flex-basis:90px}#wge .welcome-friend>span:not(.friend-orbit){font-size:60px;width:92px;height:92px}#wge .welcome-friend small{font-size:8px;padding:7px 8px;max-width:110px;text-align:center}#wge .friend-orbit{font-size:24px;right:-3px;top:-10px}#wge .world-heading{padding:0 17px 13px;align-items:flex-start}#wge .world-heading h2{font-size:17px;max-width:160px}#wge .year-label{max-width:150px;justify-content:flex-end;gap:4px}#wge .year-label>span{font-size:10px}#wge select{font-size:10px;padding:8px;min-height:40px}#wge .topics{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 12px 18px;gap:7px}#wge .topic{padding:13px 6px 11px;border-radius:15px;gap:7px}#wge .topic strong{font-size:10px}#wge .topic small{display:none}#wge .world-icon{font-size:27px}#wge .mission{margin:0 12px 24px;padding:13px 14px;gap:9px;flex-wrap:wrap}#wge .mission strong{font-size:12px}#wge .mission p{font-size:11px}#wge .mission-icon{font-size:22px}#wge .mission .button{margin-left:31px;font-size:11px}#wge .title-row{padding:0 17px 15px}#wge .title-row h2{font-size:22px}#wge .sub{font-size:11px;line-height:1.6}#wge .title-row>div:first-child{max-width:70%}#wge .progress-label{font-size:10px}#wge .learn-grid{margin:0 10px 20px;gap:10px}#wge .stage{height:276px;border-radius:18px}#wge .scene-help{font-size:9px}#wge .objects{gap:5px;padding:11px 0}#wge .object{font-size:12px;padding:9px 12px}#wge .workshop{border-radius:18px;padding:8px 5px 3px}#wge .activity-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}#wge .activity{flex-direction:row;font-size:10px;padding:9px 3px}#wge .panel{padding:19px 12px}#wge .word{font-size:32px}#wge .heading{font-size:21px}#wge .example{font-size:16px}#wge .definition{font-size:14px}#wge .record-prompt p{font-size:18px}#wge .record-button{padding:13px 17px;font-size:12px}#wge .teacher{padding:10px 17px}#wge .end{padding:18px 17px}#wge .parent-report{padding:18px 17px}#wge .report-heading h2{font-size:25px}#wge .report-stat{padding:17px 14px}#wge .topic-report{grid-template-columns:1fr;gap:15px}#wge .topic-report .report-skills{grid-template-columns:repeat(2,minmax(0,1fr))}#wge .clip-row{grid-template-columns:1fr;gap:8px}#wge .sentence-area{min-height:160px}#wge .record-controls{gap:10px}#wge .report-heading .button{font-size:12px}}
@media(max-width:360px){#wge .header{flex-wrap:wrap}#wge .header-actions{margin-left:auto}#wge .welcome-friend{display:none}#wge .welcome{padding:23px 20px}#wge .world-heading{flex-wrap:wrap}#wge .year-label{max-width:none;justify-content:flex-start}#wge .record-timer{width:100%}}
@media(prefers-reduced-motion:reduce){#wge .confetto,#wge .celebration-label,#wge.is-recording .record-timer{animation:none!important}#wge .topic{transition:none}#wge .topic:hover{transform:none}}
@media print{body{padding:0;background:#fff!important}#wge{color:#1a2c20;--ink:#1a2c20;--muted:#526352;--paper:#fff;--bg:#fff;--line:#ddd;--accent:#496d45;--soft:#eee;--gold:#eee}#wge .app{box-shadow:none;border-radius:0}#wge .header,#wge .welcome,#wge .world-heading,#wge .topics,#wge .mission,#wge-learning,#wge .teacher,#wge .end,#wge .report-actions,#wge .report-heading .button,#wge .clip-row audio,#wge .clip-row .actions{display:none!important}#wge .parent-report{display:block!important;padding:0}#wge .report-stats{grid-template-columns:repeat(4,1fr)}#wge .topic-report,#wge .report-stat,#wge .clip-row{break-inside:avoid}#wge .parent-report h2{font-size:24px}#wge .topic-report{grid-template-columns:155px 1fr}#wge .topic-report .report-skills{grid-template-columns:repeat(3,1fr)}}
