/* MonsterSpell builds 35–36: one visual system around the saved pupil journey. */
:root{--ink:#302044;--muted:#655c70;--line:#e5deeb;--purple:#7045ba;--light:#f0e9fa;--green:#25786c;--bg:#faf8f2;--mint:#d9efe6;--sun:#ffcf64;color-scheme:light}
body{font-family:'Trebuchet MS',Verdana,sans-serif;background:var(--bg);color:var(--ink)}
body:before{content:'';position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 5% 20%,#efe7f755,transparent 50%);pointer-events:none}
header{max-width:none;padding:18px max(24px,calc((100vw - 1200px)/2));background:#302044;color:#fff9ed;border-bottom:4px solid #4e326c;flex-wrap:wrap}
.brand{color:#fff9ed;font-size:27px;letter-spacing:-1.4px;gap:12px;white-space:nowrap}.brand-spell{color:#ffcf64}.brand-eye{display:grid;place-items:center;position:relative;width:33px;height:40px;background:#6ed4bd;color:#302044;border:3px solid #559b8b;border-radius:40% 40% 33% 33%;font-size:18px;letter-spacing:0;transform:rotate(3deg)}.brand-eye:before,.brand-eye:after{content:'';position:absolute;top:-10px;width:8px;height:14px;border-radius:5px;background:#ffcf64}.brand-eye:before{left:0;transform:rotate(-18deg)}.brand-eye:after{right:0;transform:rotate(18deg)}
header nav{align-items:center}header nav a{color:#f6edf9}header button.secondary{background:#ffffff13;color:#fff9ed;border-color:#ffffff30;min-height:44px;font-size:13px;padding:8px 12px}header nav a[aria-current]{background:#fff9ed;color:#302044}
#spelling-nav{gap:5px}#spelling-nav button,#spelling-nav a{border:0;background:transparent;color:#f6edf9;border-radius:14px;box-shadow:none;min-height:48px;padding:12px 16px;font-size:15px}#spelling-nav [aria-current]{background:#fff9ed;color:#302044;box-shadow:0 3px 0 #c7afd9}
#header-wallet{display:inline-flex;align-items:center;gap:8px;background:#ffffff14;border:1px solid #ffffff16;padding:9px 14px;border-radius:30px;font-size:20px;font-weight:bold}#header-wallet>span:first-child{color:#ffcf64}
main{max-width:1200px;padding:0 24px;margin:30px auto 70px}.preview-note{background:#efe8f5;color:#5a4d65;font-size:12px;padding:8px 20px}.eyebrow{color:#286e65;letter-spacing:.12em}.small,.status,.progress-note{color:#655c70}h1,h2,h3{letter-spacing:-.025em}h1{font-size:clamp(29px,4vw,40px)}h2{font-size:26px}p{line-height:1.6}
button,.button{border-radius:14px;background:#7045ba;border:2px solid #51307f;box-shadow:0 4px 0 #51307f;min-height:52px;font-weight:bold;transition:transform .1s,background .1s;touch-action:manipulation}button:active:not(:disabled),.button:active{transform:translateY(2px);box-shadow:0 2px 0 #51307f}button.secondary,.button.secondary{background:#fffdf7;color:#493257;border-color:#ded5e8;box-shadow:0 3px 0 #e4ddec}button.quiet{box-shadow:none;border:0}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b5680b;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.97)}
.card,.collection-card,.journey-card,.library-panel,.teacher-card,.teacher-roster,.teacher-detail{border:2px solid var(--line);border-radius:26px;box-shadow:0 3px 0 #e9e2ec66;background:#fff}.card{padding:34px}.callout{border-radius:18px;background:#f2ecfa;border:1px solid #e2d4f0;border-left:4px solid #bea2db;font-size:17px}.callout.success{background:#e5f4eb;border-color:#8cb9a7;color:#1c5e4e}.callout.attention{background:#fff3d7;border-color:#d5ac51;color:#604314}.callout p:last-child{margin-bottom:0}
input:not([type=checkbox]):not([type=radio]),select,textarea{border:2px solid #c9bdd4;border-radius:13px;min-height:50px;color:#302044;background:#fff;font-family:inherit;max-width:100%}input[type=text],input[type=password]{width:100%;font-size:24px;padding:12px 16px}label{font-size:16px}progress{border:0;border-radius:20px;overflow:hidden;accent-color:#7045ba;height:12px;width:100%;background:#ede7f3}progress::-webkit-progress-bar{background:#ede7f3;border-radius:20px}progress::-webkit-progress-value{background:#7045ba;border-radius:20px}
.avatar{display:block;max-width:100%;height:auto}.monster-portrait{display:inline-block;position:relative!important;width:110px!important;height:auto!important;max-width:100%;vertical-align:middle;flex:none;overflow:visible!important;background:transparent!important}.monster-portrait>.avatar{width:100%;height:auto}.monster-portrait:before,.monster-portrait:after{display:none!important}.reward-identity .monster-portrait{width:140px!important}.skip-link{position:fixed;top:-100px;left:16px;background:#fff9ed;color:#302044;padding:12px;z-index:100;border-radius:10px}.skip-link:focus{top:12px}
.pupil-hub{max-width:1120px;display:flex;flex-direction:column}.hub-heading{order:0}.hub-heading h1{font-size:32px}.hub-heading .eyebrow{font-size:18px;text-transform:none;letter-spacing:0;margin-bottom:4px}.journey-help{order:1;align-self:flex-start;font-size:13px;min-height:40px;padding:7px 12px;margin:0 0 20px}.play-card{order:2}.practice-zone{order:3}.journey-card{order:4}.wallet-card{order:5}.pupil-hub>.collection-card,.pupil-hub>.library-panel{order:6}.pupil-hub>.adaptive-next{order:7}.pupil-hub>.level-celebration{order:1}
.clubhouse-hero{position:relative;isolation:isolate;overflow:hidden;min-height:350px;padding:34px 36px;background:#fff3d6 url('/assets/clubhouse.png') right 47%/cover;border:2px solid #e8e0c9;border-radius:28px;box-shadow:none}.clubhouse-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff7e4 0%,#fff7e4ed 32%,#fff7e480 57%,transparent 75%);z-index:-1}.clubhouse-hero>*:not(.hero-monster){position:relative;max-width:57%;z-index:1}.clubhouse-hero h2{font-size:34px;margin:8px 0 14px;line-height:1.25}.clubhouse-hero p{margin-bottom:15px}.clubhouse-hero .play-mark{display:none}.clubhouse-hero .play-today{width:auto;max-width:60%;min-height:60px}.clubhouse-hero .session-preview{margin:14px 0}.session-preview span{background:#fff9eddd;border-color:#e4d7bc;font-size:13px}.clubhouse-hero progress{margin-top:20px;display:block}.hero-monster{position:absolute;right:3%;bottom:15px;width:28%;max-width:280px;z-index:0;pointer-events:none}.clubhouse-hero.play-complete .hero-monster{width:30%}.star-total{background:#fff1c4;border:1px solid #e1c56d;color:#65430c;font-size:25px}.star-total>span{color:#8d610b}
.practice-zone{scroll-margin-top:20px;margin:14px 0 28px}.practice-zone>h2{font-size:30px;margin:0 0 8px}.practice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.practice-card{padding:0;overflow:hidden;border:2px solid #e5deeb;border-radius:23px;box-shadow:0 4px 0 #e8e0ec;display:flex;flex-direction:column}.practice-card .game-copy{padding:18px;display:flex;flex-direction:column;flex:1}.practice-card h3{font-size:19px;line-height:1.3;margin:0 0 9px}.practice-card p{font-size:14px;line-height:1.55;flex:1}.practice-card button{font-size:14px;padding:9px 10px;min-height:48px}.practice-card .small{padding:10px 12px;background:#faf5e9;border-radius:12px}.game-art{border-radius:0;overflow:hidden;flex:none}.game-art svg{display:block;width:100%;height:auto}.game-art text{font-family:'Trebuchet MS',sans-serif}.game-art g>g text{stroke:none;fill:#47344f;text-anchor:middle;font-size:40px;font-weight:bold}.game-brief{max-width:690px;margin:auto;overflow:hidden}.game-brief>.game-art{max-height:180px;margin:-34px -34px 28px}.game-brief>.game-art svg{max-height:180px;object-fit:cover}.game-brief h1{font-size:31px}.game-brief>button{margin:8px 6px 0 0}.bubble-board{padding:24px}.bubble-board ol{padding-left:25px}.bubble-board li{padding:10px;border-bottom:1px solid var(--line)}
.activity-wrap{max-width:820px}.activity-toolbar{gap:12px;margin-bottom:18px}.activity-toolbar button{box-shadow:none}.pupil-activity h1{font-size:32px}.session-strip{background:#e5f2eb;color:#285e55;border:1px solid #c9e0d5}.teaching-steps{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 27px}.teaching-steps li{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px;background:#f5f1f8;color:#71647a;border-radius:13px;font-size:14px;font-weight:bold}.teaching-steps li span{font-size:12px;display:grid;place-items:center;width:22px;height:22px;background:white;border-radius:50%}.teaching-steps .current{background:#e9dcf8;color:#59358a;box-shadow:0 3px 0 #d1bde7}.teaching-steps .done{background:#e3f1e8;color:#286354}.word-change,.focus-word{background:#f1eafb;border:1px solid #e6d9f3;color:#302044;overflow-wrap:anywhere}.word-change{flex-wrap:wrap}.word-change strong{color:#25786c}.context-card{background:#f4f8f1;border:1px solid #d8e8d8;border-radius:22px;padding:20px}.context-card .scene{margin:0 auto 10px;font-size:66px;white-space:normal}.context-card .gap-sentence{font-size:25px;line-height:1.6;margin:0}.context-card:empty{display:none}.audio-button{border:2px solid #bba2d8;background:#eee4fa;color:#54317e;box-shadow:0 3px 0 #d4c1e9;font-size:19px;min-height:60px;padding:15px}.audio-button[aria-label="Stop sound"]{background:#e1f0ea;border-color:#78a495;color:#1d594b}.status,#audio-status{min-height:25px;color:#655c70;font-size:14px;margin:12px 0 18px}.rule-help{background:#fff9eb;border-color:#e8d7b4}.rule-help summary{color:#6f501e}.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-grid button{min-width:0;overflow-wrap:anywhere;background:#fffaf0;color:#4d3559;border-color:#d2bddf;box-shadow:0 4px 0 #e3d6eb;min-height:72px}
.practice-game{border-color:#cee1d6;text-align:center}.practice-game>.eyebrow{background:#e1f0e8;padding:15px 24px;margin:-34px -34px 24px;border-bottom:1px solid #cce1d5;text-align:left}.practice-game h1{font-size:31px}.practice-game .context-card{max-width:620px;margin:18px auto;background:#fbfcf7;border:0}.practice-game .context-card .scene{min-height:90px;font-size:68px}.builder-answer,.tile-bank{justify-content:center;background:transparent;min-height:78px;margin:18px 0;padding:10px;gap:10px}.builder-answer{border:2px dashed #cfc2d9;background:#faf7f0;align-items:center}.letter-tile{min-height:60px;min-width:56px;border:2px solid #c9a34c;background:#ffda7d;color:#493047;box-shadow:0 5px 0 #c9a34c;border-radius:13px;font-size:27px;padding:8px 13px}.builder-answer .letter-tile{background:#fff1c6;border-color:#a68c52}.letter-tile:disabled{opacity:.22;box-shadow:none}.practice-game>.audio-button{max-width:420px}.practice-game>.status{margin-bottom:14px}.practice-game [data-action=practice-check-builder]{min-width:230px;margin-top:4px}.builder-placeholder{color:#756880;font-size:17px}.practice-game .callout{text-align:left}.practice-game .actions{justify-content:center}
.pattern-pick{background:linear-gradient(#f7f0fc 0 130px,#fff 130px);border-color:#dfd0ed}.pattern-pick h1{font-size:29px}.pattern-pick .focus-word{background:#fff9e8;border:2px solid #e2c88c;font-size:clamp(21px,4vw,30px);line-height:1.5;padding:25px;text-align:center}.pattern-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.pattern-choices button{min-width:0;background:#fffaf0;color:#493251;border:2px solid #bba1cb;box-shadow:0 5px 0 #cbb6d7;min-height:90px;font-size:23px}.pattern-choices button:nth-child(2){background:#f5effb}.pattern-choices button:nth-child(3){background:#eaf4ee}.pattern-pick .callout strong{font-size:28px}.pattern-pick .assessment-progress{margin:18px 0 25px}
.bubble-game{border-color:#bbd8e4;padding:28px}.bubble-game h1{font-size:27px;margin:18px 0 10px}.bubble-game>p:not(.eyebrow){font-size:15px}.bubble-hud{padding:13px 18px;background:#eef7fb;border:1px solid #c4dce8;border-radius:16px;color:#33546a;font-size:21px;gap:12px;flex-wrap:wrap}.bubble-hud span{color:#9a3f66}.bubble-game .actions{margin:14px 0;gap:9px}.bubble-game .actions button{min-height:44px;padding:8px 12px;font-size:14px;box-shadow:none}.bubble-field{height:450px;background:radial-gradient(ellipse at 10% 10%,#ffffffb5,transparent 50%),linear-gradient(#dceff9 72%,#c4dfcf 72%,#a2c6b0);border:2px solid #a7cddc;border-radius:24px}.bubble-field:before{content:'';position:absolute;width:160%;height:140px;left:-20%;bottom:-75px;border-radius:50%;background:#83b69b;pointer-events:none}.word-bubble{border:2px solid #5e839c;background:radial-gradient(ellipse at 30% 20%,white,#e0f4ff 70%,#b3d4e8);box-shadow:inset -4px -5px 10px #a4cbea,0 3px 0 #88a9bc66;color:#29475b;font-size:clamp(16px,2.5vw,23px);font-family:Verdana,sans-serif;min-height:62px;overflow-wrap:normal}.bubble-game #bubble-status{font-size:16px;min-height:32px;margin-bottom:0}
.soundcheck{background:linear-gradient(#fff2df 0 135px,#fff 135px);border-color:#ecd4b3}.soundcheck h1{font-size:36px}.soundcheck-stages{margin:24px 0}.soundcheck-stages span{display:grid;place-items:center;min-width:43px;min-height:43px;border:2px solid #ead8b8;background:#fff8ec;font-size:15px;font-weight:bold;padding:8px}.soundcheck-stages .done{background:#7045ba;border-color:#7045ba}.soundcheck .context-card{background:#fffaf2;border-color:#f0dfc8}.soundcheck form button{width:100%;margin-top:20px}.soundcheck form label{margin-top:16px}
.finish-card{max-width:710px;padding:36px}.finish-mark{width:150px;height:155px;background:transparent;margin:0 auto 20px;border-radius:0}.finish-mark .avatar{width:150px;height:162px}.finish-card h1{font-size:34px}.finish-card .star-total{display:none}.result-rewards{display:grid;gap:5px;padding:18px 20px;background:#fff2cb;border:1px solid #e9d18b;border-radius:18px;margin:24px 0 0;color:#684913}.result-rewards strong{font-size:19px}.result-rewards span{font-size:14px}.finish-card details{margin:20px 0;padding:15px;background:#f6f1fa;border-radius:14px}.finish-card .actions{margin-top:24px}.finish-card .score-grid{font-size:17px}
.pupil-layout{grid-template-columns:220px minmax(0,720px);gap:35px}.rail{background:#f1eaf8;border:1px solid #e1d4ed;border-radius:22px;padding:24px;height:fit-content}.rail h2{font-size:23px}.steps li{color:#71647a}.steps li.current{color:#59358a}.steps li.current span{background:#7045ba;border-color:#7045ba}.test-length{background:#e9f4ec!important;color:#24594e!important;border:1px solid #c8dfd0}.stage-preview>div{background:#fffaf0;border-color:#e8dbbc}.stage-preview small{color:#6f5d44}.assessment-progress{height:12px}.question-top{align-items:flex-start}.question-top .small{font-size:15px;max-width:60%}.question-top button{flex:none}.journey-intro{max-width:780px;margin:auto;position:relative}.welcome-monster{float:right;width:125px;margin:0 0 12px 20px}.journey-cycle{list-style:none;padding:0;counter-reset:welcome}.journey-cycle li{counter-increment:welcome;position:relative;padding:18px 18px 18px 64px;background:#faf7fd;border:1px solid #e7ddef;border-radius:18px;margin:12px 0}.journey-cycle li:before{content:counter(welcome);position:absolute;left:17px;top:19px;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;background:#7045ba;color:white;font-weight:bold}.journey-cycle p{font-size:16px}.journey-intro>button:last-child{margin-top:16px}
.signin{max-width:570px;margin:20px auto;padding:32px 42px}.signin h1{margin-top:0}.signin-mascot{width:90px;float:right;margin:-12px 0 8px 18px}.signin-tabs{display:flex;gap:12px;margin:20px 0}.signin-tabs a{flex:1}.signin form>button{width:100%;margin-top:24px}.signin details{margin-top:22px}.signin input{font-size:21px!important}.signin label{margin-top:17px}.signin .small{font-size:13px}.signin .eyebrow{padding-top:10px}.loading-message{padding:30px;text-align:center;background:#fff;border:1px solid #e2d7eb;border-radius:22px}
.reward-identity{display:flex;gap:20px;align-items:center}.wallet-card .reward-identity>div{flex:1;min-width:0}.reward-identity h2{margin-top:0}.achievement-grid article{background:#faf7fd;border-color:#e5d9ef}.achievement-grid .earned{background:#e6f3ea}.progress-road .road-now>span{background:#7045ba;border-color:#7045ba}.library-panel summary{color:#55357f}.library-panel .rule-card{border:1px solid #e7dfed}.journey-card p.small{font-size:13px}footer{max-width:1200px;color:#71647a;border-color:#e5deeb}#notice{background:#302044;box-shadow:0 5px 22px #30204425;max-height:40vh;overflow:auto}#notice button{box-shadow:none;border:1px solid #ffffff40;min-height:40px}
/* The existing teacher tools share the palette and retain their compact layout. */
body[data-audience=teacher] h1{font-size:33px}body[data-audience=teacher] button{box-shadow:none}body[data-audience=teacher] .teacher-card{border-width:1px}.quality-row button{white-space:normal}
/* The same fitted drawing is used for the saved wardrobe and its item previews. */
.maker-page{background:var(--bg);color:var(--ink)}.maker-page .brand{font-size:26px}.maker-main{max-width:1160px}.maker-layout{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr)}.maker-wallet span{background:#ffffff15;color:#fff9ed;border-color:#ffffff30}.maker-wallet span:last-child{background:#ffcf64;color:#543a13;border-color:#e9b853}.monster-column,.wardrobe{border:2px solid #e6ddee;box-shadow:0 4px 0 #e8e0ec66}.monster-stage{min-height:420px;background:#f7eccd}.monster-stage[data-background=sunny]{background:linear-gradient(#fff5da,#f5e6bf 73%,#cee1b7 73%)}#monster-vector{width:100%;max-width:330px;z-index:2;position:relative}.maker-page .equipped-summary{background:#fffdf0e8;color:#624d36}.maker-page .item-card .monster-portrait{width:100%!important;max-width:95px;height:auto!important;display:block;margin:0 auto 8px}.item-card strong{font-size:14px}.item-card{box-shadow:none;text-align:center}.category-tabs button{box-shadow:none}.category-tabs button[aria-selected=true]{background:#7045ba}.save-status{color:#655c70}.layer-explainer{background:#f1eafb;border-color:#a180c6}.maker-heading .button{display:inline-flex}.maker-actions button{min-width:0;font-size:15px}.maker-page .monster-column{position:sticky;top:15px}.maker-page .stars{pointer-events:none}
@media(min-width:1050px){.pupil-hub .journey-card{display:block}.signin{margin-top:40px}.practice-card p{min-height:66px}}
@media(max-width:1050px){header{padding:18px 22px;gap:15px}.brand{font-size:25px}#spelling-nav{order:3;justify-content:space-between;width:100%}#spelling-nav>*{flex:1;text-align:center}header>nav:last-child{margin-left:auto}.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pupil-layout{grid-template-columns:190px minmax(0,1fr);gap:22px}.rail{padding:20px}.clubhouse-hero>*:not(.hero-monster){max-width:63%}.clubhouse-hero .hero-monster{width:29%;right:1%}}
@media(max-width:760px){main{padding:0 18px;margin-top:24px}.pupil-layout{display:block}.rail{padding:16px;margin-bottom:18px}.rail .eyebrow{margin-bottom:12px}.steps{margin:0}.steps li{min-width:0;font-size:12px}.steps li span{width:28px;height:28px}.pupil-layout>.card{padding:26px}.practice-grid{gap:15px}.activity-wrap{max-width:100%}.maker-layout{grid-template-columns:1fr}.maker-page .monster-column{position:static}.monster-stage{min-height:340px}#monster-vector{max-width:280px}.maker-heading{align-items:flex-start}.maker-heading .button{font-size:13px;padding:9px 12px;min-width:105px}.choice-grid{grid-template-columns:1fr}.pattern-choices{gap:10px}.pattern-choices button{font-size:20px;min-height:80px}.clubhouse-hero{padding:27px;min-height:370px}.clubhouse-hero>*:not(.hero-monster){max-width:68%}.clubhouse-hero h2{font-size:30px}.clubhouse-hero .play-today{max-width:75%;font-size:17px}.hero-monster{bottom:20px}.reward-identity .monster-portrait{width:110px!important}.card{padding:27px}.game-brief>.game-art{margin:-27px -27px 24px}}
@media(max-width:520px){header{padding:18px 16px 12px;gap:14px}.brand{font-size:24px;gap:9px}.brand-eye{width:28px;height:34px;font-size:15px}.brand-eye:before,.brand-eye:after{width:7px;height:12px;top:-8px}header nav a{padding:8px 10px;font-size:13px}header button.secondary{padding:7px 9px;font-size:12px}#header-wallet{font-size:16px;padding:6px 10px}#spelling-nav{gap:4px}#spelling-nav button,#spelling-nav a{font-size:13px;min-height:46px;padding:10px 4px;border-radius:12px}.preview-note{font-size:11px;line-height:1.5;padding:7px 12px}main{padding:0 14px;margin-top:22px}.hub-heading{gap:15px;margin-bottom:17px}.hub-heading h1{font-size:27px}.hub-heading .eyebrow{font-size:16px}.hub-heading .star-total{font-size:21px;min-width:75px;padding:10px}.journey-help{margin-bottom:18px}.clubhouse-hero{padding:25px 22px;min-height:410px;background-position:65% center}.clubhouse-hero:before{background:linear-gradient(90deg,#fff7e4f5,#fff7e4d9 47%,#fff7e455 75%)}.clubhouse-hero>*:not(.hero-monster){max-width:100%}.clubhouse-hero h2{font-size:29px;max-width:85%!important}.clubhouse-hero>p:not(.eyebrow){max-width:70%!important;font-size:16px}.clubhouse-hero .session-preview{max-width:68%!important}.clubhouse-hero .session-preview span{font-size:12px;padding:6px 8px}.clubhouse-hero .play-today{max-width:80%;font-size:17px;min-height:56px;justify-content:flex-start;padding:10px 15px}.clubhouse-hero .hero-monster{width:39%;max-width:140px;right:-8px;bottom:42px}.clubhouse-hero .play-hint{font-size:12px!important;max-width:70%!important}.clubhouse-hero progress{max-width:70%!important}.clubhouse-hero>p:last-child{font-size:12px!important}.practice-zone>h2{font-size:28px}.practice-card .game-copy{padding:14px}.practice-card h3{font-size:17px}.practice-card p{font-size:13px}.practice-card button{font-size:13px;min-height:48px}.practice-card .game-art{height:100px}.practice-card .game-art svg{height:100%;width:100%;object-fit:cover}.practice-zone>.eyebrow{font-size:11px}.practice-zone>p{font-size:15px}.collection-card,.journey-card,.library-panel{padding:23px 20px}.activity-toolbar{align-items:stretch;gap:8px}.activity-toolbar button{font-size:12px;min-height:46px;padding:8px 10px}.pupil-activity,.pattern-pick,.soundcheck{padding:25px 20px}.pupil-activity h1,.pattern-pick h1{font-size:27px}.teaching-steps{gap:5px;margin-bottom:23px}.teaching-steps li{padding:8px 4px;font-size:12px;gap:5px}.teaching-steps li span{width:19px;height:19px;font-size:11px}.context-card .gap-sentence{font-size:22px}.context-card .scene{font-size:52px;min-height:70px}.pupil-activity .context-card{padding:14px}.practice-game>.eyebrow{margin:-25px -20px 22px;padding:14px 20px}.practice-game .context-card .scene{font-size:55px;min-height:70px}.practice-game>.audio-button{min-height:54px;padding:12px}.builder-answer,.tile-bank{padding:8px;gap:7px;min-height:68px}.letter-tile{font-size:24px;min-height:52px;min-width:44px;padding:7px 10px}.pattern-choices{grid-template-columns:1fr}.pattern-choices button{min-height:64px;font-size:23px}.pattern-pick .focus-word{font-size:23px;padding:22px 16px}.bubble-game{padding:18px 14px}.bubble-game h1{font-size:24px}.bubble-game>p:not(.eyebrow){font-size:14px}.bubble-hud{font-size:19px;padding:11px 13px}.bubble-field{height:370px;margin:16px 0}.word-bubble{font-size:16px}.soundcheck h1{font-size:31px}.soundcheck-stages span{min-width:37px;min-height:37px;padding:5px;font-size:14px}.soundcheck .context-card{padding:14px}.question-top{gap:12px}.question-top .small{font-size:14px}.question-top button{font-size:12px;padding:9px 12px;min-height:46px}.pupil-layout>.card{padding:24px 20px}.stage-preview strong{font-size:14px}.stage-preview small{font-size:12px}.test-length{font-size:16px}.card .lede{font-size:17px}.finish-card{padding:28px 22px}.finish-card h1{font-size:30px}.finish-mark{width:125px;height:136px;margin-bottom:14px}.finish-mark .avatar{width:125px;height:136px}.finish-card .actions{display:grid}.finish-card .actions button{width:100%}.welcome-monster{width:85px;margin:0 0 8px 12px}.journey-intro h1{font-size:29px}.journey-cycle li{padding:16px 15px 16px 53px}.journey-cycle li:before{left:12px;width:27px;height:27px}.journey-cycle p{font-size:15px}.signin{padding:27px 24px;margin:10px auto}.signin h1{font-size:29px}.signin-mascot{width:75px}.reward-identity{gap:14px}.reward-identity .monster-portrait{width:85px!important}.reward-identity h2{font-size:22px}.reward-identity p{font-size:13px}.maker-header{gap:16px}.maker-wallet{gap:5px}.maker-wallet span{font-size:11px;padding:6px 9px}.maker-page .brand{font-size:23px}.maker-heading{display:block}.maker-heading .button{margin-top:14px;display:inline-flex}.maker-actions{gap:8px}.maker-actions button{font-size:13px;padding:10px 8px}.maker-stage{min-height:320px}.category-tabs button{min-height:46px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.item-card{min-height:165px}.maker-page .item-card .monster-portrait{max-width:85px}.save-status{font-size:13px}footer{padding:24px 18px;font-size:11px}footer span{display:block;margin-top:8px}#notice{padding:14px 16px;font-size:14px;bottom:12px}}
@media(max-width:360px){.brand{font-size:21px}.brand-eye{width:24px;height:30px}header{padding-left:12px;padding-right:12px}.practice-grid{gap:10px}.practice-card .game-copy{padding:12px}.practice-card h3{font-size:16px}.practice-card p{font-size:12px}.practice-card button{font-size:12px;padding:8px 5px}.clubhouse-hero{padding:23px 18px}.clubhouse-hero h2{font-size:27px}.clubhouse-hero .play-today{font-size:15px}.clubhouse-hero .hero-monster{width:36%;bottom:55px}.teaching-steps li{font-size:11px}.activity-toolbar button{font-size:11px}.bubble-hud{font-size:16px}.word-bubble{font-size:14px}.signin-tabs{gap:8px}.reward-identity{display:block}.reward-identity .monster-portrait{float:right}.journey-intro h1{font-size:26px}}
.feedback-continue{margin-top:12px;font-size:14px;min-height:44px}.assessment-monster{background:#e5f2eb;width:105px;height:115px;padding:3px}.assessment-monster .avatar{width:100%;height:auto}.bubble-controls{position:sticky;top:0;z-index:3;background:#fff;padding:8px 0 2px}.bubble-instructions summary{font-size:14px;min-height:32px;line-height:32px}.bubble-instructions p{font-size:14px;margin:8px 0}.bubble-controls .actions{display:grid;grid-template-columns:auto 1fr 1fr;gap:7px}.bubble-controls .actions button{font-size:12px;padding:8px}.bubble-game{overflow:visible}
@media(max-width:360px){header{padding:12px}.brand{font-size:19px;gap:7px}.brand-eye{width:22px;height:29px}header button.secondary{font-size:11px;min-height:40px;padding:6px 7px}#header-wallet{font-size:15px;padding:6px 8px}.maker-page .brand{font-size:21px}}
@media(max-width:760px){.maker-page .monster-column{position:sticky;top:0;z-index:5;padding:8px;box-shadow:0 5px 15px #30204416}.maker-page .monster-stage{height:170px;min-height:170px}.maker-page #monster-vector{max-width:155px}.maker-page .stars{display:none}.maker-page .equipped-summary{font-size:11px;bottom:10px;left:10px;padding:5px 9px}.maker-page .maker-actions{margin-top:8px}.maker-page .maker-actions button{min-height:44px}.maker-page .save-status{font-size:11px;min-height:18px;line-height:1.4;margin:6px 4px 0}.maker-page .wardrobe-intro p{font-size:14px}.maker-page .category-tabs{scroll-margin-top:280px}.maker-page .item-grid{scroll-margin-top:330px}}
@media(max-width:520px){body[data-screen=learning] #spelling-nav,body[data-screen=practice_game] #spelling-nav,body[data-screen=game] #spelling-nav{display:none}.bubble-game h1{font-size:22px;margin:10px 0 8px}.bubble-game .eyebrow{font-size:10px;margin-bottom:10px}.bubble-field{height:min(360px,45svh);min-height:260px}.bubble-hud{font-size:17px}.bubble-controls .actions button{font-size:11px;min-height:44px}.bubble-controls .actions{margin:9px 0}.bubble-controls{padding-top:6px}.activity-toolbar{margin-bottom:14px}}
@media(max-width:520px){.practice-game .context-card .scene{min-height:48px;font-size:42px;margin:0 0 8px}.practice-game .context-card{margin:12px auto;padding:8px}.practice-game .context-card .gap-sentence{font-size:20px}.practice-game h1{font-size:24px;margin:16px 0 8px}.practice-game>p:not(.eyebrow):not(.status){font-size:14px;margin-bottom:12px}.practice-game>.status{margin:10px 0}.practice-game .builder-answer{margin-top:14px}.clubhouse-hero .play-today{position:relative;z-index:2}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Build 37: simple pupil entry and printable QR cards. */
.qr-login-help{display:flex;gap:16px;background:#e5f5ed;border:2px solid #bcded2;border-radius:18px;padding:18px;margin:24px 0}.qr-login-help>span{font-size:48px;line-height:1}.qr-login-help p{font-size:16px;margin:6px 0 0}.login-divider{font-weight:700;border-top:1px solid #ddd2e7;padding-top:20px}.pin-field{display:flex;gap:8px}.pin-field input{min-width:0}.pin-field button{flex:0 0 auto}.qr-card-sheet svg{display:block;width:100%;max-width:210px;height:auto;margin:12px auto}.qr-card-sheet article{text-align:center;background:white;color:#20182d}.qr-card-sheet h3{margin:8px 0;font-size:21px}.qr-card-sheet article p{font-size:14px}.qr-card-sheet article>strong{color:#5b3c8a}@media print{.qr-card-sheet svg{width:45mm;max-width:none}.qr-card-sheet article{padding:8mm}.qr-card-sheet .code-grid{gap:6mm}.qr-card-sheet article p{font-size:10pt}.qr-card-sheet h3{font-size:15pt}}
.qr-login-help p{font-size:14px;line-height:1.45}.qr-login-help strong{font-size:16px}.qr-login-help>span{font-size:36px}.qr-login-help{gap:12px;padding:15px}
/* Shared pupil navigation: equal buttons on desktop and a full phone row. */
.bubble-meaning{display:flex;align-items:center;justify-content:center;gap:14px;margin:12px 0;padding:10px;background:#edf4f9;border-radius:16px;color:#302044}.bubble-meaning img{width:150px;max-width:45%;height:85px;object-fit:contain}.bubble-meaning p{font-size:17px;line-height:1.4;margin:0;max-width:230px}
header:has(#spelling-nav:not([hidden])){display:grid;grid-template-columns:auto minmax(330px,480px) auto;align-items:center;gap:24px}
header:has(#spelling-nav:not([hidden]))>nav:last-child:not(#spelling-nav),header:has(#spelling-nav:not([hidden]))>.maker-wallet{justify-self:end;margin-left:0}
header #spelling-nav:not([hidden]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;order:initial;flex-wrap:nowrap}
header #spelling-nav:not([hidden])>button,header #spelling-nav:not([hidden])>a{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:50px;margin:0;padding:11px 8px;border:2px solid #a588bc;border-radius:13px;background:#49315f;color:#fff9ed;box-shadow:0 3px 0 #20132f;font:700 15px/1.3 'Trebuchet MS',Verdana,sans-serif;text-align:center;text-decoration:none;white-space:nowrap}
header #spelling-nav:not([hidden])>[aria-current=page]{background:#ffcf64;color:#302044;border-color:#ffdf91;box-shadow:0 3px 0 #b98b37}
header #spelling-nav:not([hidden])>*:hover{filter:brightness(1.08)}
header #spelling-nav:not([hidden])>*:focus-visible{outline:3px solid #fff9ed;outline-offset:4px}
@media(max-width:1100px){header:has(#spelling-nav:not([hidden])){grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px 22px}header #spelling-nav:not([hidden]){grid-column:1/-1;grid-row:2;max-width:640px;justify-self:center}}
@media(max-width:520px){header:has(#spelling-nav:not([hidden])){gap:16px 8px;padding:16px 12px}header #spelling-nav:not([hidden]){gap:8px;max-width:none}header #spelling-nav:not([hidden])>button,header #spelling-nav:not([hidden])>a{min-height:48px;font-size:13px;padding:10px 4px}.maker-header .maker-wallet{max-width:150px}.maker-header .maker-wallet span{font-size:10px;padding:5px 7px}}
