@font-face{font-family:Pixel;src:url(/assets/pixel-font.ttf) format("truetype");font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body,input,button{font-family:Pixel,monospace}body{color:#27213a;background:#b7a0ee url(/assets/background.jpeg) center/cover fixed}main{height:100dvh;display:grid;place-items:center;padding:clamp(16px,3vw,36px)}button,input{border:3px solid #241e31;border-radius:0;font-size:12px}button{color:#241e31;cursor:pointer;min-height:50px;padding:14px 20px;background:#fff4b6;box-shadow:4px 4px #241e31;transition:transform .1s,box-shadow .1s}button:hover{filter:brightness(1.05);transform:translateY(-2px)}button:active{transform:translate(3px,3px);box-shadow:1px 1px #241e31}button:disabled{opacity:.45;cursor:default;transform:none}button:focus-visible,input:focus-visible{outline:4px solid white;outline-offset:4px}input{width:100%;background:#e5e5e8;color:#17131e;padding:18px 15px;min-height:62px;box-shadow:inset 4px 4px #c3c3cb;line-height:1.5}input::placeholder{color:#77727c;font-size:11px}.welcome{width:min(800px,100%);text-align:center}.title{margin-bottom:clamp(28px,6vh,62px)}.eyebrow{font-size:9px;letter-spacing:1px;line-height:1.8}h1{font-size:clamp(26px,5.4vw,66px);line-height:1.5;margin:14px 0;color:#fff4b0;text-shadow:3px 0 #29213f,-3px 0 #29213f,0 3px #29213f,0 -3px #29213f,5px 7px #65548b}h2{font-size:clamp(13px,2vw,22px);line-height:1.7;margin:0}.title h2{color:#fff;letter-spacing:3px;text-shadow:2px 2px #65548b}.entry{width:min(410px,100%);margin:auto;display:grid;gap:18px}.entry label{font-size:11px;text-align:left;line-height:1.8}.start{background:#c5efaa}.entry button{font-size:15px;display:flex;justify-content:space-between;align-items:center}.teacher{background:#eee0ff;margin-top:20px;width:min(410px,100%);display:inline-flex;align-items:center;justify-content:center;gap:14px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4}.message{font-size:8px;line-height:1.8;min-height:20px;margin:20px 0 0}.panel{border:4px solid #2b223e;background:#f7f3ff;box-shadow:8px 8px #6e5b99;padding:clamp(18px,3vw,32px)}.soon{text-align:center;width:min(650px,100%)}.soon h1{font-size:clamp(28px,5vw,52px)}.soon p,.dialog p{font-size:10px;line-height:2}.stars{color:#9b74d2;font-size:30px;margin-top:24px}.soon button{margin-top:20px}.records{width:100%;max-width:1200px;height:100%;max-height:820px;display:flex;flex-direction:column;min-height:0}.records header{display:flex;justify-content:space-between;align-items:center;gap:12px}.records h2{font-size:clamp(11px,2vw,20px)}.back{font-size:9px;white-space:nowrap;padding:10px;min-height:44px}.recordmeta{font-size:8px;display:flex;justify-content:space-between;line-height:1.8;margin:20px 0}.recordmeta span{color:#76698c}.tablehead,.tablerow{display:grid;grid-template-columns:minmax(0,1fr) 85px 110px;align-items:center;gap:10px}.tablehead{font-size:10px;padding:16px 12px;background:#d9c8f7;border:3px solid #2b223e;flex-shrink:0}.tablehead span:last-child,.tablehead span:nth-child(2){text-align:center}.tablearea{flex:1;min-height:0;overflow:hidden;border:3px solid #2b223e;border-top:0}.tablerow{height:58px;padding:8px 12px;border-bottom:2px solid #e0d5ef;font-size:10px}.tablerow:nth-child(2n){background:#eee6fa}.student{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.7}.score{text-align:center}.actions{display:flex;justify-content:center;gap:8px}.actions button{padding:6px;min-height:34px;width:36px;box-shadow:2px 2px #2b223e;border-width:2px}.actions svg{width:18px;height:18px}.edit{background:#b8def7}.delete{background:#ffbdc5}.records footer{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:18px;font-size:9px;flex-shrink:0}.records footer button{min-height:38px;padding:8px 12px}.records>.message{text-align:center;margin-top:12px;flex-shrink:0}.empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px;gap:8px;font-size:12px;line-height:2}.empty>span{font-size:30px;color:#a787d6}.empty small{font-size:8px;max-width:310px}.overlay{position:fixed;inset:0;background:#30234d99;display:grid;place-items:center;padding:20px}.dialog{position:relative;width:min(450px,100%);max-height:95dvh;overflow:auto;text-align:center}.dialog h2{font-size:16px;margin:10px 25px 20px}.dialog label{display:block;text-align:left;font-size:10px;line-height:2;margin-top:14px}.dialog input{margin-top:8px}.dialog form>button{width:100%;margin-top:12px}.close{position:absolute;right:8px;top:8px;min-height:28px;padding:3px 8px;box-shadow:none;font-size:16px}.dialog .message{color:#b63048;margin-top:12px}@media(max-width:520px){.title h1{font-size:clamp(24px,6.6vw,34px)}.title h2{font-size:12px;letter-spacing:1px}.welcome .eyebrow{font-size:7px}.teacher{font-size:10px}.records{padding:12px;box-shadow:5px 5px #6e5b99}.records header .eyebrow{font-size:7px}.recordmeta{font-size:6px}.tablehead,.tablerow{grid-template-columns:minmax(0,1fr) 48px 84px;gap:5px;padding-left:7px;padding-right:7px}.tablehead,.tablerow{font-size:8px}.actions{gap:5px}.records footer{font-size:7px;gap:12px}.back{font-size:7px;padding:8px}}@media(max-height:520px){.title{margin-bottom:16px}.title h1{font-size:32px;margin:5px 0}.title h2{font-size:12px}.entry{gap:8px}.entry input{min-height:42px;padding:10px}.entry button,.teacher{min-height:40px;padding:10px;font-size:10px}.teacher,.welcome .message{margin-top:12px}.title .eyebrow{display:none}.records .recordmeta{margin:8px 0}.records .tablehead{padding-top:8px;padding-bottom:8px}.records footer{margin-top:8px}.records>.message{margin-top:5px}.soon{padding:15px}.soon h1{font-size:30px;margin:4px}.stars{margin-top:5px;font-size:20px}}.quiz{width:min(980px,100%);height:100%;max-height:900px;min-height:0;display:flex;flex-direction:column;align-items:center;gap:clamp(10px,2vh,18px);text-align:center}.quizheader{display:flex;justify-content:space-between;width:100%;font-size:9px;line-height:1.7;gap:10px}.picture{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}.picture img{height:100%;max-height:100%;max-width:100%;object-fit:contain;image-rendering:pixelated;border:3px solid #2b223e;background:#fffbdc}.sentence{flex-shrink:0;font-size:clamp(12px,1.9vw,20px);line-height:1.9;max-width:100%;margin:0}.choices{display:flex;gap:clamp(10px,2vw,24px);width:min(620px,100%);flex-shrink:0}.choices button{flex:1;padding:12px 5px;background:#fff2ad;font-size:clamp(12px,2vw,20px);min-height:58px;border-color:#111;box-shadow:4px 4px #111}.choices button:disabled{opacity:1}.choices button.correct{background:#b5edb3;border-color:#167338}.choices button.wrong{background:#ffb5bb;border-color:#b3293d}.progress{display:flex;justify-content:center;gap:clamp(4px,1vw,9px);flex-shrink:0;margin:3px 0}.pixelcircle{display:block;width:clamp(13px,2vw,18px);aspect-ratio:1;background:#fff;border:none;clip-path:polygon(25% 0,75% 0,75% 12.5%,87.5% 12.5%,87.5% 25%,100% 25%,100% 75%,87.5% 75%,87.5% 87.5%,75% 87.5%,75% 100%,25% 100%,25% 87.5%,12.5% 87.5%,12.5% 75%,0 75%,0 25%,12.5% 25%,12.5% 12.5%,25% 12.5%);box-shadow:inset 0 0 0 3px #3f325b}.pixelcircle.green{background:#48c86b}.pixelcircle.red{background:#ed6270}.pixelcircle.pending{background:#ddd5e8}.feedback{font-size:clamp(9px,1.5vw,13px);min-height:24px;line-height:1.8;flex-shrink:0;color:#5f5079}.feedback.good{color:#16813b}.feedback.bad:has(+.nextslot button){color:#c02f43}.nextslot{height:52px;flex-shrink:0;width:100%;display:flex;justify-content:center}.next{background:#c5efaa;min-width:180px;min-height:44px;padding:10px 20px}.quiz .choices button:disabled{cursor:default;transform:none}.quiz .choices button.picked{box-shadow:inset 3px 3px #0002,3px 3px #111}@media(max-width:520px){.quiz{padding:14px;gap:12px}.quizheader{font-size:7px}.sentence{font-size:12px}.choices button{min-height:52px}.picture img{max-width:100%}.soon h1{font-size:25px}}@media(max-height:550px)and (min-width:600px){.quiz{display:grid;grid-template-columns:40% 1fr;grid-template-rows:auto 1fr auto auto auto;gap:8px 20px;padding:14px}.quizheader{grid-column:1/-1}.picture{grid-column:1;grid-row:2/6;height:100%}.picture img{width:100%;height:100%}.sentence{grid-column:2;align-self:center;font-size:13px}.choices{grid-column:2}.choices button{min-height:42px;font-size:12px}.progress{grid-column:2}.feedback{grid-column:2;min-height:18px;font-size:9px}.nextslot{grid-column:2;height:38px}.next{min-height:36px;font-size:9px;padding:8px}.quizheader{font-size:7px}}.title h1,.title h2{color:#8b075f;text-shadow:3px 0 #fff,-3px 0 #fff,0 3px #fff,0 -3px #fff,2px 2px #fff,-2px 2px #fff,2px -2px #fff,-2px -2px #fff,5px 6px #77609855}@keyframes pictureFloatUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.picture img{animation:pictureFloatUp .48s cubic-bezier(.2,.65,.3,1) both}@media(prefers-reduced-motion:reduce){.picture img{animation:none}}.records.panel{max-width:1440px;max-height:none;padding:clamp(10px,1.8vw,24px);background:#b7a0ee url(/assets/background.jpeg) center/cover;box-shadow:5px 5px #6e5b99;gap:0}.records header{flex-shrink:0}.records h2{color:#8b075f;text-shadow:2px 0 white,-2px 0 white,0 2px white,0 -2px white}.records .back{background:#eee0ff}.records .recordmeta{margin:clamp(6px,1.3vh,12px) 0;color:#27213a;font-size:clamp(6px,1vw,9px)}.records .recordmeta span{color:#5b285b}.records .tablehead{background:#fff2ad;font-size:clamp(9px,1.2vw,13px);padding:9px 10px;border:3px solid #241e31;grid-template-columns:minmax(0,1fr) 90px 90px;gap:8px}.records .tablearea{container-type:size;display:grid;grid-template-rows:repeat(20,minmax(0,1fr));background:#e5e5e8e8;border-color:#241e31}.records .tablerow{min-height:0;height:auto;padding:0 10px;grid-template-columns:minmax(0,1fr) 90px 90px;gap:8px;border-bottom:1px solid #9d86c088;font-size:clamp(7px,2.3cqh,13px);line-height:1.3}.records .tablerow:nth-child(2n){background:#eee0ffb8}.records .student{line-height:1.3}.records .score{white-space:nowrap;line-height:1.3}.records .actions{height:100%;min-height:0;gap:7px;align-items:center}.records .actions button{min-height:0;height:calc(100% - 2px);max-height:28px;width:clamp(14px,3.6cqh,28px);padding:0;border:1px solid #241e31;box-shadow:1px 1px #241e31;display:grid;place-items:center}.records .actions svg{width:70%;height:70%;max-width:19px;max-height:19px;stroke-width:2.5}.records .edit{background:#c5efaa}.records .delete{background:#ffbdc5}.records .empty{grid-row:1/-1}.records footer{margin-top:8px;gap:16px;font-size:clamp(6px,1vw,9px);min-height:24px}.records footer button{min-height:28px;padding:5px 10px;background:#fff2ad;font-size:9px}.records>.message{font-size:clamp(5px,.8vw,8px);margin-top:6px;min-height:12px;line-height:1.5}@media(max-width:520px){.records h2{font-size:10px}.records .tablehead,.records .tablerow{grid-template-columns:minmax(0,1fr) 68px 62px;gap:4px;padding-left:6px;padding-right:6px}.records .actions{gap:5px}.records .back{min-height:32px;padding:6px;font-size:7px}.records .eyebrow{font-size:6px}.records footer{font-size:7px}.records>.message{font-size:6px}}@media(max-height:520px){.records header .eyebrow{display:none}.records h2{font-size:11px}.records .back{min-height:26px;padding:4px 8px;font-size:7px}.records .tablehead{padding-top:5px;padding-bottom:5px}.records .recordmeta{margin:4px 0;font-size:6px}.records footer{margin-top:4px;min-height:20px}.records footer button{min-height:20px;padding:2px 8px}.records>.message{margin-top:3px;min-height:8px;font-size:5px}}.teacherid-panel{width:min(410px,100%);margin:0 auto 16px;text-align:left}.teacherid-panel>label{font-size:11px;line-height:1.8;display:block;margin-bottom:8px}.teacherid-controls{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:10px;align-items:stretch}.teacherid-controls input{min-width:0}.teacherid-controls .verify{padding:10px 7px;font-size:11px;background:#fff2ad;box-shadow:3px 3px #241e31}.verify-status{font-size:7px;line-height:1.8;min-height:25px;margin:8px 0 0;text-align:center}.verify-status.verified{color:#14682f}.entry input:disabled{opacity:.55}.welcome:has(.teacherid-panel) .title{margin-bottom:clamp(20px,3vh,32px)}@media(max-width:520px){.teacherid-controls{grid-template-columns:minmax(0,1fr) 100px}.teacherid-controls .verify{font-size:9px}.teacherid-panel>label{font-size:10px}}@media(max-height:700px){.welcome:has(.teacherid-panel) .title{margin-bottom:14px}.welcome:has(.teacherid-panel) .title h1{font-size:clamp(24px,4.5vw,44px);margin:7px 0}.teacherid-panel{margin-bottom:10px}.teacherid-panel input{min-height:48px;padding:12px}.welcome:has(.teacherid-panel) .entry{gap:10px}.welcome:has(.teacherid-panel) .entry input{min-height:48px;padding:12px}.welcome:has(.teacherid-panel) .teacher{margin-top:12px}.welcome:has(.teacherid-panel) .message{margin-top:10px}}@media(max-height:520px){.welcome:has(.teacherid-panel){width:min(760px,100%);display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;align-items:start}.welcome:has(.teacherid-panel) .title{grid-column:1/-1;margin-bottom:4px}.welcome:has(.teacherid-panel) .title h1{font-size:24px;margin:3px 0}.welcome:has(.teacherid-panel) .title h2{font-size:10px}.teacherid-panel{grid-column:1;margin:0;width:100%}.teacherid-panel>label{font-size:8px;margin-bottom:6px}.teacherid-panel input{min-height:40px;padding:8px}.teacherid-controls{grid-template-columns:minmax(0,1fr) 88px}.teacherid-controls .verify{min-height:40px;font-size:8px}.welcome:has(.teacherid-panel) .entry{grid-column:2;grid-row:2/4;gap:6px;width:100%}.welcome:has(.teacherid-panel) .entry label{font-size:8px}.welcome:has(.teacherid-panel) .entry input{min-height:40px;padding:8px}.welcome:has(.teacherid-panel) .teacher{grid-column:1;grid-row:3;margin:0;font-size:8px;min-height:36px;width:100%;padding:7px}.welcome:has(.teacherid-panel)>.message{grid-column:1/-1;margin:0;font-size:6px}.verify-status{font-size:6px;min-height:18px}}.notes-page{width:min(1100px,100%);max-height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#fffcef;display:flex;flex-direction:column;gap:clamp(10px,1.7vh,18px);padding:clamp(14px,2.2vw,28px);scrollbar-color:#b7a0ee #fffcef;scrollbar-width:thin;text-align:center}.notes-heading{flex-shrink:0}.notes-heading h1{color:#8b075f;text-shadow:2px 0 white,-2px 0 white,0 2px white,0 -2px white,3px 4px #c4afe6;font-size:clamp(21px,3vw,34px);line-height:1.4;margin:0 0 7px}.notes-heading h2{font-size:clamp(11px,1.4vw,17px);line-height:1.7;color:#6a408d}.notes-heading p{font-size:clamp(8px,1.1vw,11px);line-height:1.9;margin:10px auto 0;max-width:780px;font-weight:400}.notes-heading strong{font-weight:400;color:#8b075f}.notes-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.7vw,20px);flex-shrink:0}.notes-card{min-width:0;border:3px solid #35253d;box-shadow:3px 3px #c2abe5;background:#f1e7ff;padding:clamp(10px,1.5vw,16px);display:flex;flex-direction:column;align-items:center}.notes-card-on{background:#fff3b8}.notes-card-under{background:#e9dff7}.notes-card h3{margin:0;color:#8b075f;font-size:clamp(15px,2vw,23px);line-height:1.5}.notes-meaning{font-size:clamp(8px,1vw,10px);line-height:1.8;margin:6px 0 0}.notes-card img{width:100%;height:clamp(100px,20vh,190px);object-fit:contain;image-rendering:pixelated;margin:4px 0}.notes-example{margin:4px 0 0;font-size:clamp(8px,1.05vw,11px);line-height:2;max-width:100%}.notes-example strong{color:#8b075f;font-weight:400}.notes-pattern{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;font-size:clamp(8px,1vw,11px);line-height:1.8;flex-shrink:0;padding:4px 0}.notes-word{display:inline-block;background:#fff0a2;color:#8b075f;border:2px solid #35253d;padding:7px 8px;box-shadow:2px 2px #c2abe5}.notes-word:nth-of-type(5){background:#e6d7ff}.notes-word:nth-of-type(7){background:#f5d5eb}.notes-remember{background:#f1e7ff;border:2px solid #9a78bc;padding:10px;flex-shrink:0}.notes-remember h3{font-size:10px;margin:0 0 8px;color:#8b075f}.notes-remember>div{display:flex;justify-content:center;gap:clamp(12px,3vw,36px);flex-wrap:wrap;font-size:clamp(8px,1vw,10px);line-height:1.8}.notes-remember strong{font-weight:400;color:#8b075f}.notes-nav{display:flex;justify-content:center;gap:16px;flex-shrink:0;padding:3px 4px 5px;margin-top:auto}.notes-nav button{min-width:170px;min-height:46px;font-size:clamp(9px,1.3vw,12px);padding:12px 14px;background:#eee0ff}.notes-nav .start{background:#fff0a2}.notes-error{color:#b63048;font-size:9px;line-height:1.8;margin:0;flex-shrink:0}@media(max-width:600px){.notes-page{gap:11px;padding:14px}.notes-heading h1{font-size:22px}.notes-heading h2{font-size:12px}.notes-heading p{font-size:8px;margin-top:8px}.notes-cards{grid-template-columns:1fr;gap:9px}.notes-card{display:grid;grid-template-columns:90px minmax(0,1fr);grid-template-rows:auto auto;text-align:left;padding:8px;gap:4px 10px}.notes-card img{grid-column:1;grid-row:1/3;width:90px;height:90px;margin:0}.notes-card-copy{grid-column:2;grid-row:1;align-self:end}.notes-card h3{font-size:16px}.notes-meaning{font-size:8px;margin-top:2px}.notes-example{grid-column:2;grid-row:2;align-self:start;font-size:8px;line-height:1.8;margin:0}.notes-pattern{font-size:8px;gap:6px}.notes-word{padding:6px}.notes-remember{padding:8px}.notes-remember h3{font-size:9px}.notes-remember>div{gap:4px 13px;font-size:7px}.notes-nav{gap:12px;position:sticky;bottom:-14px;background:#fffcef;padding:8px 4px 6px}.notes-nav button{flex:1;min-width:0;font-size:9px;padding:10px 6px;min-height:43px}}@media(min-width:601px)and (max-height:650px){.notes-page{gap:9px;padding:14px}.notes-heading h1{font-size:23px;margin-bottom:4px}.notes-heading h2{font-size:12px}.notes-heading p{font-size:8px;margin-top:5px}.notes-card{padding:9px}.notes-card h3{font-size:17px}.notes-card img{height:100px;margin:0}.notes-meaning,.notes-example{font-size:8px}.notes-word{padding:5px 7px}.notes-pattern{font-size:8px;padding:0}.notes-remember{padding:7px}.notes-remember h3{font-size:9px;margin-bottom:4px}.notes-remember>div{font-size:8px}.notes-nav button{min-height:38px;padding:8px 12px;font-size:9px}}
