body{background:#80bb59 url('assets/meadow.webp') center/cover fixed}body:before{background:linear-gradient(#f9ffe7b8,#e9ffdc22 50%,#3d6b2622)}header{max-width:1500px}.edition{font-size:14px;letter-spacing:2px}h1 em{color:#267737}.hero{padding:25px 0}.hero h1{font-size:clamp(40px,5vw,68px)}.eyebrow{font-size:14px}.landing-arena{grid-template-columns:1fr minmax(320px,480px) 1fr;gap:20px}.fighter.scorpion img{max-height:360px}.fighter-label{font-size:14px}.level{grid-template-columns:50px 1fr}.level p{font-size:14px;line-height:1.4}.landing-note{background:#fffceeea;border-radius:18px;padding:15px;font-size:14px;line-height:1.6}.round-head{margin:14px 0}.round-head h2{font-size:30px}.ghost,.icon-btn{font-size:14px}.health-panel{max-width:760px;margin:12px auto 20px;padding:16px 22px;background:#fffef2f5;border-radius:20px;display:grid;grid-template-columns:1fr 1fr;gap:10px 25px;box-shadow:0 5px 0 #2e582122}.meter-label{display:flex;justify-content:space-between;gap:8px;font-size:14px}.health-track{height:16px;background:#dce6d1;margin-top:8px;overflow:hidden;border-radius:12px}.health-fill{height:100%;background:linear-gradient(90deg,#51a627,#a7df43);transition:width .4s}.enemy .health-fill{background:linear-gradient(90deg,#7f35aa,#cb80e9)}#score-count{grid-column:1/-1;font-size:14px;text-align:center}.battle-stage{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,690px) minmax(110px,1fr);align-items:center;gap:15px;max-width:1320px;margin:0 auto}.battle-fighter{min-width:0}.battle-fighter .fighter-label{font-size:12px}.battle-fighter img{width:100%;max-height:300px;object-fit:contain}.wood-board{text-align:center;padding:16px 22px 20px;border:12px solid #ae713a;border-radius:26px;background:#fffdf0;box-shadow:inset 0 0 0 3px #f3d395,0 8px 0 #704421,0 12px 24px #274f2725}.board-heading{display:flex;justify-content:space-between;font-size:14px;color:#77552c}.prompt-picture{height:115px;width:150px;object-fit:contain;display:block;margin:8px auto}.instruction{font-size:14px;line-height:1.5;margin-bottom:16px}.answer-tray{min-height:100px;background:#edf5fd;border:2px dashed #87b8df;border-radius:17px;padding:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px}.word-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:20px 0;min-height:80px}.word-block{border:1px solid #ffffff90;border-bottom:5px solid #1675af;box-shadow:inset 0 2px 3px #ffffff8c,0 3px 4px #2440201a;border-radius:10px;padding:10px 15px;color:#fff;white-space:nowrap;font-size:clamp(16px,1.5vw,21px);line-height:1.2;font-weight:900;background:linear-gradient(#40c4fa,#078ad9);touch-action:manipulation}.word-block:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-2px)}.word-block.colour-1{background:linear-gradient(#ffe576,#ffc829);border-bottom-color:#c4911a;color:#413711}.word-block.colour-2{background:linear-gradient(#ff8cbd,#eb4085);border-bottom-color:#b12a60}.word-block.colour-3{background:linear-gradient(#97de69,#51aa37);border-bottom-color:#397b29;color:#183f12}.word-block:disabled{opacity:1;cursor:default}.empty-slot{border:2px dashed #92bbd6;border-radius:9px;min-width:65px;padding:9px;color:#678eaa}.sentence-stop{font-size:24px}.board-actions{display:flex;justify-content:center;gap:14px}.primary{font-size:16px;padding:13px 24px}.primary:disabled{opacity:.5;cursor:default}.feedback{min-height:65px;padding:16px 0 4px;font-size:16px;line-height:1.5}.answer-tray.correct{background:#e2f4ce;border-color:#4b9a2f}.answer-tray.incorrect{background:#fff0e5;border-color:#cc7743}#next{margin-top:12px}.toki-attack{animation:toki-attack .65s ease}.scorpion-attack{animation:scorpion-attack .65s ease}.hurt{animation:damage .65s ease}.result{background:#fffdf2f5}.result h2{font-size:24px;line-height:1.4;margin:14px 0}.result-face{object-fit:contain}.sentence-review{display:grid;gap:12px;margin-top:20px;text-align:left}.sentence-review>div{display:grid;grid-template-columns:55px 1fr auto;align-items:center;gap:12px;border-bottom:1px solid #d6dfc7;padding:8px}.sentence-review img{width:50px;height:50px;object-fit:contain}.sentence-review p{font-size:16px}.sentence-review span{font-size:14px}.sync{font-size:14px}footer{margin:25px auto 0;background:#fffceeea;border-radius:20px;padding:16px;max-width:1200px}.developer-credit{font-size:16px!important}.contact-teacher{display:block;margin-top:12px;text-align:center}#login-error{color:#b12d25}dialog{max-width:550px}dialog li{margin:12px 0;line-height:1.5}[hidden]{display:none!important}@keyframes toki-attack{50%{transform:translate(40px,-15px) rotate(8deg)}}@keyframes scorpion-attack{50%{transform:translateX(-40px) rotate(-6deg)}}@keyframes damage{25%,75%{transform:translateX(10px) rotate(3deg);filter:brightness(1.3)}50%{transform:translateX(-8px)}}@media(max-width:850px){.battle-stage{grid-template-columns:1fr 1fr;gap:4px}.wood-board{grid-column:1/-1;grid-row:2;width:min(100%,690px);justify-self:center}.battle-fighter{height:115px}.battle-fighter img{height:110px;width:125px}.battle-fighter .fighter-label{display:none}.battle-fighter .fighter{text-align:left}.battle-fighter.scorpion .fighter{text-align:right}.battle-fighter.scorpion img{width:150px}.health-panel{margin-bottom:6px}.landing-arena{grid-template-columns:1fr 1fr}.level-stack{grid-column:1/-1;grid-row:2}.landing-arena>.fighter img{height:140px}.landing-arena>.fighter{align-self:center}.hero{padding:12px 0}.hero h1{font-size:45px}.hero>p{font-size:16px}.level{padding:15px}.level h3{font-size:24px}}@media(max-width:500px){main{padding:0 12px}header{height:auto;padding:14px 12px;gap:8px;flex-wrap:wrap}.brand img{width:105px}.edition{display:none}.icon-btn,.ghost{padding:9px 12px}.hero h1{font-size:39px}.round-head{align-items:center;gap:8px}.round-head h2{font-size:25px}.round-head .ghost{max-width:125px}.eyebrow{font-size:13px;letter-spacing:1px}.health-panel{padding:12px;gap:10px}.meter-label{font-size:13px;flex-wrap:wrap;gap:3px}.meter-label span{font-weight:900}#score-count{font-size:13px}.wood-board{padding:12px;border-width:8px;border-radius:20px}.board-heading{font-size:13px}.prompt-picture{height:95px;width:120px}.instruction{margin-bottom:12px}.word-block{font-size:16px;padding:9px 11px}.answer-tray{padding:9px;gap:7px;min-height:90px}.word-bank{gap:8px;padding:16px 0}.feedback{font-size:15px}.result{padding:25px 15px}.result h1{font-size:40px}.result h2{font-size:21px}.developer-credit{font-size:14px!important}footer nav{flex-wrap:wrap;justify-content:center}.sentence-review>div{grid-template-columns:40px 1fr;gap:8px}.sentence-review img{width:40px}.sentence-review span{grid-column:2}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.feedback{display:block;text-align:center}.word-bank:empty{min-height:0;padding:8px 0}.word-block:disabled{transform:none}footer nav button,footer nav a{font-size:14px}
