@font-face{font-family:Tajawal;src:url('/fonts/Tajawal-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Tajawal;src:url('/fonts/Tajawal-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Tajawal;src:url('/fonts/Tajawal-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#393344;--muted:#766e82;--purple:#7358ac;--purple-dark:#5f448f;--lilac:#eee8f7;--peach:#faeee5;--mint:#eaf2ec;--yellow:#f4e7bb;--line:#e9e4ec;--paper:#fcfaf8;--red:#a34453;--green:#397158;--cream:var(--paper);--orange:var(--purple)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.7 Tajawal,Arial,sans-serif;font-synthesis:none}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.6}button,a{transition:background .18s,color .18s,transform .18s,border-color .18s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bba0de;outline-offset:4px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.4}img{max-width:100%}svg{flex-shrink:0;vertical-align:middle}.hidden,[hidden]{display:none!important}.wrap{width:min(1120px,calc(100% - 64px));margin-inline:auto}main{min-height:calc(100vh - 193px)}.skip-link{position:fixed;inset:-90px 20px auto auto;background:var(--purple);color:white;padding:10px 18px;border-radius:12px;z-index:100}.skip-link:focus-visible{top:12px}
header{background:#fffefa;border-bottom:1px solid #eee9ed}.nav{min-height:94px;display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px}.brand-symbol{width:47px;height:49px;border-radius:15px;background:var(--lilac);display:grid;place-items:center;color:var(--purple);font-size:31px;font-weight:700;transform:rotate(-4deg)}.brand-name{display:block;font-size:30px;line-height:1.1;letter-spacing:-1px}.brand-name>span{color:#dba58e}.brand small{font-size:11px;color:var(--muted);display:block;margin-top:6px}.tools{display:flex;align-items:center;gap:8px}.teacher-nav{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:500;padding:10px 14px;border-radius:10px}.teacher-nav:hover{background:var(--lilac);color:var(--purple)}.tool-divider{height:24px;width:1px;background:var(--line);margin-inline:8px}.icon-btn{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:transparent;color:#82768f}.icon-btn:hover{background:#f1edf5;color:var(--purple)}.icon-btn svg{width:21px;height:21px}.nav-home{color:var(--purple);font-size:14px;display:flex;align-items:center;gap:14px}.nav-label{display:none}
.primary,.secondary,.subtle{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:14px;line-height:1.4}.primary{padding:16px 26px;min-height:56px;background:var(--purple);color:white;font-size:18px;font-weight:700;box-shadow:0 3px 0 #49305f13}.primary:hover{background:var(--purple-dark);transform:translateY(-1px)}.primary:active{transform:translateY(1px)}.secondary{background:white;border:1px solid var(--line);padding:11px 18px;min-height:44px;font-size:15px;font-weight:500}.secondary:hover{border-color:#cdbfe0;background:#faf7ff}.subtle{background:transparent;padding:9px 10px;font-size:14px;color:var(--muted)}.subtle:hover{color:var(--purple);background:#f3eef7}.eyebrow,.form-kicker,.entry-label{font-size:13px;font-weight:500;color:var(--muted)}.eyebrow:before{content:'';display:inline-block;width:7px;height:7px;background:#d4b0a3;border-radius:50%;margin-inline-end:9px}.accent{color:var(--purple)}.intro{font-size:16px;color:var(--muted);line-height:1.9}.card-description{font-size:16px;line-height:1.9;color:var(--muted)}
/* A new welcome, built around a little book with a big personality. */
.welcome-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px 0 25px}.welcome-top h1{font-size:31px;font-weight:700;margin-top:6px;letter-spacing:-.6px}.welcome-top h1>span{font-weight:400;color:var(--purple)}.little-note{font-size:13px;color:#8b7d9c;display:flex;flex-direction:column;gap:4px;align-items:center;transform:rotate(-4deg);padding-top:18px}.little-note svg{align-self:flex-end;margin-inline-end:20px}.entry-page{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid #eae4ec;border-radius:30px;overflow:hidden;min-height:552px;box-shadow:0 12px 44px #46345404}.entry-form-column{padding:35px 58px 29px}.entry-card{max-width:420px;margin:auto}.entry-card .form-kicker{color:var(--purple);font-size:12px;display:inline-block;background:#f3eef8;padding:3px 11px;border-radius:7px}.entry-card h2{font-size:36px;line-height:1.35;margin:13px 0 11px;letter-spacing:-.5px}.greeting-sun{color:#d2aa58;font-size:31px;display:inline-block;margin-inline-start:4px;transform:rotate(12deg)}.entry-card .card-description{font-size:15px}.entry-card label,.auth-card label,.account-dialog label{display:block;font-size:15px;font-weight:500;margin:20px 0 7px}.entry-card label small{font-size:11px;font-weight:400;color:var(--muted);margin-inline-start:8px}input,select{border:1px solid #e1dae8;background:#fffeff;border-radius:12px;outline:none}input:focus,select:focus{border-color:#ae94cf;box-shadow:0 0 0 4px #eee6f74d}.entry-card input,.auth-card input,.account-dialog input{width:100%;min-height:49px;padding:10px 15px;font-size:16px}.entry-card input::placeholder,.auth-card input::placeholder{color:#9a8fa7;font-size:14px}.entry-card .primary{width:100%;margin-top:24px}.entry-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:var(--muted);margin-top:15px}.entry-story{position:relative;background:#eee8f6;padding:29px 30px 25px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.story-label{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#7d6a97}.hand-dot{width:7px;height:7px;border-radius:50%;background:#c3a3cc;display:inline-block}.entry-story h3{font-size:28px;font-weight:500;margin-top:12px}.book-stage{position:relative;width:100%;max-width:390px;margin:4px auto 0}.book-stage>img{display:block;width:100%;height:auto}.word-sticker{position:absolute;background:#fffdf8;border:1px solid #dfd3eb;border-radius:10px;padding:7px 17px;font-size:24px;font-weight:500;box-shadow:0 3px 0 #705b8310;white-space:nowrap}.sticker-verb{top:39px;right:4px;transform:rotate(8deg)}.sticker-subject{right:0;bottom:57px;background:#faefd0;border-color:#ead9aa;transform:rotate(-5deg);padding-bottom:11px}.sticker-subject svg{position:absolute;bottom:-3px;left:calc(50% - 21px)}.sticker-object{left:0;top:67px;background:#f8e6df;border-color:#edd4cb;transform:rotate(-8deg)}.story-answer{margin-top:2px;font-size:16px;color:#6f5d83}.story-answer>span{display:inline-block;font-size:12px;background:#ded3ed;padding:2px 12px;border-radius:20px;transform:rotate(-4deg);margin-bottom:6px}.story-answer strong{color:#514064}.story-corner{position:absolute;bottom:8px;left:21px;font-size:18px;color:#baabca;letter-spacing:4px;transform:rotate(-10deg)}.entry-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 7px 33px}.bottom-caption strong{display:block;font-size:15px;font-weight:500}.bottom-caption>span{font-size:12px;color:var(--muted)}.mini-adventures{display:flex;gap:30px}.mini-adventures>span{display:flex;align-items:center;gap:8px;font-size:14px;color:#71657e}.mini-adventures img{width:48px;height:39px;object-fit:contain}
/* The play shelf. */
.student-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);margin-top:10px}.student-bar>div{display:flex;align-items:center;gap:12px}.student-avatar{width:42px;height:42px;background:#ece5f5;color:var(--purple);border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:22px}.student-bar strong{font-weight:700}.student-bar small{display:block;font-size:12px;color:var(--muted);line-height:1.4}.student-links .subtle{font-size:13px}.student-links .secondary{font-size:12px;min-height:36px;padding:8px 12px}.play-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 0 20px}.play-heading h1{font-size:43px;letter-spacing:-.9px;margin:5px 0}.play-heading h1>span{color:var(--purple);position:relative}.play-heading h1>span:after{content:'';position:absolute;height:4px;background:#d9cba6;border-radius:60%;bottom:-3px;right:3px;left:0;transform:rotate(-3deg)}.play-heading p{font-size:16px;color:var(--muted)}.play-companion{display:flex;align-items:center;padding-inline-end:20px}.play-companion>img{width:145px;height:auto;transform:rotate(5deg)}.play-companion>span{font-size:12px;padding:4px 12px;border:1px solid #e4d7ee;background:#fff;border-radius:15px 15px 4px 15px;transform:rotate(-5deg);color:#8a719c}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 15px}.section-head h2{font-size:19px;font-weight:500}.section-head>span{font-size:12px;color:var(--muted)}.modes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.mode{text-align:right;position:relative;padding:18px 24px 0;border:2px solid transparent;border-radius:24px;background:var(--lilac);min-height:310px;color:var(--ink);overflow:hidden;transition:transform .2s,border-color .2s}.mode-quiz{background:#eee8f7}.mode-boxes{background:#fcf0dd}.mode-order{background:#eaf2ee}.mode:hover{transform:translateY(-4px)}.mode[aria-pressed=true]{border-color:#8c75b7}.mode-boxes[aria-pressed=true]{border-color:#ba975d}.mode-order[aria-pressed=true]{border-color:#80a08c}.mode-top{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:25px}.mode-count{font-size:12px;background:#ffffff8c;border-radius:8px;padding:2px 9px;color:#7f6e90}.check-circle{height:24px;width:24px;border:1px solid #c8badb;border-radius:50%;display:grid;place-items:center;background:#fff6;color:transparent}.mode[aria-pressed=true] .check-circle{background:var(--purple);color:white;border-color:var(--purple)}.mode-art{display:block;width:160px;height:120px;margin:5px auto 3px}.mode h3{font-size:25px;margin:0 0 3px;letter-spacing:-.4px}.mode p{font-size:14px;color:#7b6e86;line-height:1.8;min-height:26px}.mode-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #ffffffc4;margin-top:17px;padding:12px 0;font-size:13px;color:#78628f}.mode-order .mode-footer{color:#617e6c}.mode-boxes .mode-footer{color:#9a7b48}.mode-footer svg{opacity:.7}.play-options{margin-top:24px;border-bottom:1px solid var(--line);padding:17px 0 21px}.settings{display:flex;justify-content:space-between;align-items:center;gap:25px;flex-wrap:wrap}.settings-group{display:flex;align-items:center;gap:15px;font-size:14px}.segmented{display:flex;background:#efebf2;padding:4px;border-radius:12px;gap:4px}.segment{background:transparent;border-radius:9px;padding:6px 18px;font-size:14px}.segment[aria-pressed=true]{background:white;color:var(--purple);box-shadow:0 1px 4px #3a28440d}.timer-label{display:flex;gap:13px;align-items:center;cursor:pointer}.timer-label>input{position:absolute;opacity:0;width:1px;height:1px}.timer-switch{width:42px;height:25px;border-radius:20px;background:#e4dde9;position:relative;transition:background .2s}.timer-switch:before{content:'';position:absolute;width:19px;height:19px;border-radius:50%;background:white;right:3px;top:3px;box-shadow:0 1px 3px #49345d20;transition:transform .2s}.timer-label input:checked+.timer-switch{background:var(--purple)}.timer-label input:checked+.timer-switch:before{transform:translateX(-17px)}.timer-label input:focus-visible+.timer-switch{outline:3px solid #bba0de;outline-offset:4px}.timer-label strong{font-size:14px;font-weight:500;display:block}.timer-label small{font-size:12px;color:var(--muted);display:block}.timer-label>svg{color:#a18ab9;margin-inline-start:12px}.team-inputs{display:flex;gap:16px;margin-top:18px}.team-inputs label{flex:1;font-size:14px}.team-inputs input{display:block;width:100%;padding:9px 12px;margin-top:7px}.start-row{display:flex;align-items:center;gap:20px;padding:24px 0 40px}.start-row .primary{min-width:200px}.start-row .subtle{font-size:14px}.start-row p{font-size:12px;margin-inline-start:auto;color:var(--muted)}
/* Room to think. */
.game{max-width:920px;margin:30px auto 48px}.game-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.crumb{font-size:14px;color:var(--muted)}.score-strip{display:flex;gap:14px;margin-bottom:21px}.score{display:flex;justify-content:space-between;align-items:center;gap:24px;min-width:155px;border:1px solid var(--line);border-radius:17px;background:#fff;padding:12px 20px}.score.active{background:#eee8f8;border-color:#d8c9e9}.score small{font-size:13px;display:block}.score b{font-size:29px;color:var(--purple)}.turn-label{font-size:11px;color:var(--purple)}.progress-area{flex:1;align-self:center;padding-inline-start:15px}.progress-copy{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:9px;gap:15px}.progress{height:9px;background:#ebe5ef;border-radius:10px;overflow:hidden}.progress-fill{height:100%;background:#ad9bce;border-radius:10px;transition:width .3s}.question-card{border:1px solid var(--line);border-radius:25px;background:#fff;padding:29px 38px 33px;box-shadow:0 6px 24px #49345d03}.question-meta{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;color:var(--muted)}.question-tag{background:#f1ebf7;color:var(--purple);padding:4px 12px;border-radius:9px}.timer{font-weight:700;font-size:15px}.timer.urgent{color:var(--red)}.prompt{font-size:22px;text-align:center;font-weight:500;margin:27px 0 12px}.sentence{font-size:43px;font-weight:500;line-height:2;text-align:center;margin:16px 0 29px;letter-spacing:.3px}.options{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.option{display:flex;align-items:center;gap:14px;min-height:81px;border:1px solid #e4dce9;border-radius:15px;background:#fcfafe;font-size:26px;text-align:right;padding:16px}.option:hover:not(:disabled){border-color:#bba5d3;background:#f3edf9;transform:translateY(-2px)}.option-key{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eee6f7;font-size:12px;color:#8b73a6;flex-shrink:0}.option.correct{color:#397158;border-color:#a8cfb8;background:#eaf5ed;opacity:1}.option.wrong{color:#a34453;border-color:#dcadb6;background:#fceef0;opacity:1}.option.correct .option-key{background:#d3e9da;color:#397158}.option.wrong .option-key{background:#f2d9df;color:#a34453}.feedback{margin-top:24px;background:#eef6ee;border:1px solid #d6e6d6;border-radius:16px;padding:18px 21px}.feedback.bad{background:#fcf4e6;border-color:#eedfbc}.feedback-title{font-size:19px;font-weight:700}.feedback p{font-size:16px;line-height:1.9;margin-top:4px}.feedback-actions{display:flex;justify-content:flex-end;margin-top:16px}.feedback .primary{font-size:16px;min-height:47px;padding:12px 20px}.hint-line{font-size:13px;color:var(--muted);text-align:center;margin-top:21px}.board-title{font-size:31px;text-align:center;margin-top:26px}.board-sub{text-align:center;font-size:16px;color:var(--muted);margin:8px 0 25px}.boxes{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.box{height:135px;position:relative;border-radius:20px;background:#f4dfaa;color:#806538;border:1px solid #e9ce90;box-shadow:0 5px 0 #e7cd92;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;overflow:hidden}.box:before{content:'';position:absolute;top:28%;left:0;right:0;height:6px;background:#d8b36f;opacity:.45}.box:after{content:'';position:absolute;left:43%;top:0;bottom:0;width:14%;background:#e1bd7b44}.box strong{position:relative;z-index:1;font-size:33px}.box small{z-index:1;font-size:12px}.box:nth-child(3n+2){background:#e7dcf3;color:#79628f;border-color:#d4c4e6;box-shadow:0 5px 0 #cebbdf}.box:nth-child(3n){background:#dcece2;color:#64816e;border-color:#bfd7c8;box-shadow:0 5px 0 #bcd3c3}.box:hover:not(:disabled){transform:translateY(-4px) rotate(-1deg)}.box:disabled{background:#f1eef2;color:#aaa1af;box-shadow:none;border-color:#e4dde7;opacity:1}.box:disabled:before,.box:disabled:after{display:none}.box.solved{color:#4f8665;border-color:#c3ddca}.order-instruction{text-align:center;color:var(--muted);font-size:15px}.answer-slots{min-height:109px;display:flex;align-items:center;justify-content:center;gap:13px;flex-wrap:wrap;border:2px dashed #d9cbe7;border-radius:17px;background:#f9f5fd;margin:26px 0;padding:19px}.answer-slots.empty:before{content:'اختاري الكلمات بالترتيب لتظهر هنا';font-size:16px;color:#a18eb2}.word-bank{display:flex;justify-content:center;gap:13px;flex-wrap:wrap;min-height:65px;margin:22px 0 30px}.word-token{font-size:28px;font-weight:500;padding:10px 21px;background:white;border:1px solid #d9c9e6;border-radius:12px;box-shadow:0 4px 0 #e7ddee}.word-token.selected{background:#eee7f7}.word-token:hover:not(:disabled){transform:translateY(-2px)}.order-actions{display:flex;align-items:center;justify-content:center;gap:17px}.order-actions .primary{font-size:16px}.result{max-width:900px;margin:35px auto 50px}.result-main{text-align:center;padding:34px;background:white;border:1px solid var(--line);border-radius:25px}.trophy{font-size:59px;line-height:1.5}.result .eyebrow:before{display:none}.result h2{font-size:32px;margin-top:10px}.result-sub{font-size:16px;color:var(--muted)}.result-student{font-size:21px;font-weight:500;margin:13px 0 4px}.result-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:25px 0}.result-metrics>div{padding:18px 11px;border-radius:16px;background:#f4eff9;text-align:center}.result-metrics>div:nth-child(2){background:#edf5ef}.result-metrics>div:nth-child(3){background:#faf0ea}.result-metrics>div:nth-child(4){background:#fbf5df}.result-metrics b{font-size:30px;font-weight:700;display:block;color:var(--purple)}.result-metrics span{font-size:13px;color:var(--muted)}.result-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.result-actions .primary{font-size:16px}.result-scores{display:flex;justify-content:center;gap:16px;margin:21px 0}.result-score{border:1px solid var(--line);border-radius:15px;padding:13px 30px}.result-score b{display:block;font-size:31px;color:var(--purple)}.save-notice{margin:18px 0 25px;padding:12px 16px;background:#eef5ed;border-radius:12px;font-size:14px;color:#527755}.save-notice.save-error{background:#fbf0df;color:#96733b;display:flex;gap:12px;align-items:center;justify-content:space-between}.save-notice .secondary{font-size:13px;min-height:36px}.review{margin-top:28px}.review>h3{font-size:22px;margin-bottom:15px}.review-item{background:white;border:1px solid var(--line);border-radius:16px;padding:20px 23px;margin-bottom:13px}.review-item.review-correct{border-inline-start:4px solid #99c5a5}.review-item.review-wrong{border-inline-start:4px solid #dba897}.review-item h3{font-size:18px}.review-item p{font-size:19px;line-height:1.9;margin:7px 0}.review-item p.chosen-answer{font-size:15px;color:var(--muted)}.review-item strong{color:var(--purple);font-size:17px}.review-item small{display:block;font-size:14px;line-height:1.9;color:var(--muted);margin-top:5px}.answer-badge{font-size:12px;display:inline-block;line-height:1.5;padding:4px 10px;border-radius:8px;white-space:nowrap}.answer-badge.good{color:#4a7f5d;background:#e9f3e9}.answer-badge.bad{color:#ac5c5d;background:#f8e9e9}.answer-badge.waiting{color:#9f7b42;background:#fcf1dc}.review-item .answer-badge{float:left;margin-inline-start:13px}
/* Familiar actions, a calmer teacher workspace. */
.records-page{padding:34px 0 50px}.records-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.records-top h1{font-size:35px;margin:9px 0}.records-top .intro{font-size:15px}.attempt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.history-card{text-align:right;background:white;border:1px solid var(--line);border-radius:21px;padding:23px}.history-card:hover{border-color:#bcabd1;transform:translateY(-3px)}.history-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:18px}.history-grade{font-size:42px;color:var(--purple);font-weight:700;margin:15px 0}.history-grade small{font-size:21px;color:var(--muted)}.history-details{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;margin-bottom:12px}.history-details>span{background:#f3edf9;padding:4px 8px;border-radius:7px}.history-card>small{font-size:12px;display:block;color:var(--muted)}.history-open{display:block;font-size:13px;color:var(--purple);margin-top:17px}.teacher-view .tools .icon-btn,.teacher-view .tool-divider{display:none}.teacher-view .teacher-nav{background:#efe8f7;color:var(--purple)}.teacher-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:6px 0 16px}.teacher-welcome h1{font-size:33px;max-width:780px;line-height:1.65;margin:9px 0}.teacher-welcome h1 .accent{display:inline;font-weight:400}.teacher-welcome .intro{font-size:15px}.teacher-emblem{width:140px;height:120px;object-fit:contain}.teacher-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;margin:8px 0 24px;border-block:1px solid var(--line)}.teacher-status{font-size:13px;color:var(--muted);display:flex;gap:9px;align-items:center}.live-dot{display:inline-block;width:7px;height:7px;background:#9fbe92;box-shadow:0 0 0 4px #9fbe9214;border-radius:50%}.teacher-actions{display:flex;align-items:center;gap:9px}.teacher-actions .secondary,.teacher-actions .subtle{font-size:13px;min-height:39px;padding:9px 13px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat-card{background:#eee8f7;padding:20px 22px;border-radius:19px}.stat-card:nth-child(2){background:#fbefd9}.stat-card:nth-child(3){background:#e9f1eb}.stat-card:nth-child(4){background:#faebe6}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:13px}.stat-top>span{font-size:14px;font-weight:500}.stat-top i{font-style:normal;display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#ffffff87;color:#9680b2}.stat-card b{display:block;font-size:37px;font-weight:700;margin:9px 0 0;line-height:1.5}.stat-card>small{font-size:11px;color:#7c7287}.records-panel{border:1px solid var(--line);border-radius:23px;padding:25px;background:white}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-heading h2{font-size:23px}.panel-heading p{font-size:14px;color:var(--muted);margin-top:3px}.panel-icon{color:#b09ac7;background:#f4eef9;border-radius:12px;padding:11px}.record-filters{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:23px 0 17px}.record-filters label{min-width:175px;font-size:13px}.record-filters label:first-child{flex:1}.record-filters input,.record-filters select{display:block;width:100%;font-size:14px;padding:11px 14px;height:47px;margin-top:7px}.record-filters .secondary{height:47px;font-size:13px}.record-status{display:block;width:100%;font-size:11px;color:var(--muted);min-height:19px}.table-scroll{width:100%;overflow:auto;border:1px solid var(--line);border-radius:14px}.records-table{border-collapse:collapse;width:100%;min-width:940px;text-align:right;font-size:14px}.records-table th{font-size:12px;font-weight:500;background:#f7f3fb;color:#877298;padding:14px}.records-table td{padding:17px 14px;border-top:1px solid #f0eaf3;vertical-align:middle}.records-table tr:hover td{background:#fdfbff}.records-table small{display:block;max-width:150px;font-size:11px;line-height:1.7;color:var(--muted);margin-top:3px}.records-table .secondary{font-size:12px;min-height:35px;padding:8px 12px;white-space:nowrap}.table-grade{font-size:20px;white-space:nowrap}.correct-count{font-size:22px;font-weight:500;color:#619371}.wrong-count{font-size:22px;font-weight:500;color:#b88077}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:23px}.pagination>span{font-size:13px;color:var(--muted)}.pagination .secondary{min-height:36px;font-size:13px;padding:8px 15px}.private-note{font-size:12px;color:var(--muted);text-align:center;margin-top:22px}.empty-state{text-align:center;background:#fcf9fe;border:1px dashed #dbcee7;border-radius:17px;padding:40px 20px}.empty-state h2{font-size:23px;margin-bottom:7px}.empty-state p{font-size:15px;color:var(--muted)}.empty-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:#ede5f6;margin:0 auto 16px;color:#ac96c1}
/* Teacher sign-in belongs to the same world. */
.auth-layout{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid var(--line);border-radius:30px;overflow:hidden;margin-top:42px;margin-bottom:45px;min-height:570px}.auth-story{background:#eee7f6;padding:29px 35px 35px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.auth-book{width:270px;height:auto;margin:8px 0 -6px}.auth-story h1{font-size:33px;margin:0 0 11px;line-height:1.5}.auth-story h1>span{color:#9279b1;font-weight:400}.auth-story p{font-size:15px;color:#7f6c96;line-height:1.9}.auth-hand-note{margin-top:21px;display:inline-block;background:#f5e6bd;border-radius:7px;padding:3px 15px;font-size:13px;color:#9b8150;transform:rotate(-4deg)}.auth-card{padding:50px 58px;align-self:center}.auth-card .entry-label{color:var(--purple);background:#f3edf8;font-size:12px;display:inline-block;padding:3px 11px;border-radius:7px}.auth-card h2{font-size:33px;margin:15px 0 8px}.auth-card .card-description{font-size:15px}.auth-card .primary{width:100%;margin-top:24px;font-size:17px}.password-field{position:relative}.password-field input{padding-inline-end:65px}.password-field button{position:absolute;left:9px;top:9px;padding:6px 9px;font-size:12px;background:transparent;color:var(--muted);border-radius:7px}.field-help{display:block;color:var(--muted);font-size:11px;margin-top:7px;line-height:1.8}.secure-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:var(--muted);margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.secure-note svg{width:15px;height:15px}.auth-switch{display:block;font-size:13px;color:var(--purple);text-align:center;margin-top:17px}.form-error{margin-top:17px;padding:11px 13px;background:#fbebee;color:#a04b5a;border:1px solid #f0d7de;border-radius:10px;font-size:14px;line-height:1.8}.account-dialog{max-width:450px}.account-dialog .primary{width:100%;margin-top:22px;font-size:16px}.account-dialog .card-description{font-size:14px}.account-dialog .dialog-top h2{font-size:23px}.loading-page{max-width:750px;margin:70px auto;padding:20px;text-align:center;color:var(--muted)}.loading-page h1,.loading-page h2{color:var(--ink);font-size:30px}.loading-page p{margin:15px 0 25px}.loading-page .subtle{margin-top:18px}.full-message{padding:20px;background:#eee8f7;border-radius:15px;text-align:center;margin-top:24px}
dialog{border:1px solid var(--line);border-radius:23px;background:#fffefa;color:var(--ink);padding:29px;width:min(570px,calc(100% - 34px));max-height:87vh;overflow:auto;box-shadow:0 16px 90px #37283b25}dialog::backdrop{background:#3e334958;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.dialog-top h2{font-size:25px}.rule-main{background:#f0e8f9;padding:20px;border-radius:16px;font-size:21px;line-height:2;margin-bottom:17px}.rule-text{font-size:17px;line-height:2}.rule-example{text-align:center;font-size:31px;font-weight:500;margin:18px 0}.rule-example mark{color:inherit;background:#f5e3ae;border-radius:8px;padding:1px 7px}.rule-note{font-size:13px;color:var(--muted);margin-top:17px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:50;padding:14px 23px;background:#51405f;color:white;border-radius:14px;font-size:15px;max-width:calc(100% - 32px);text-align:center;box-shadow:0 6px 28px #34213f28}.confetti{position:fixed;top:-20px;width:9px;height:14px;pointer-events:none;z-index:70;animation:fall 2.3s ease-in forwards}@keyframes fall{to{transform:translateY(105vh) rotate(620deg);opacity:0}}
footer{border-top:1px solid #ece6ed;margin-top:8px;padding:21px 0;background:#f9f6f8}.footer-row{display:flex;justify-content:space-between;align-items:center;gap:20px;color:#8a7e95;font-size:12px}.footer-brand{display:flex;align-items:center;gap:2px;font-weight:700;font-size:24px;color:#7c6b8c}.footer-brand>span{color:#cf9d88}.footer-brand small{font-size:12px;font-weight:400;margin-inline-start:12px;color:#8a7e95}.footer-row>a{font-size:12px;color:#8c749e}
@media(min-width:1500px){.wrap{width:1160px}.entry-page{min-height:570px}.entry-form-column{padding:42px 62px}.entry-card h2{font-size:39px}.book-stage{max-width:410px}}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.entry-form-column{padding:31px}.entry-story{padding:28px 21px}.book-stage{max-width:350px}.word-sticker{font-size:21px;padding:6px 12px}.sticker-subject{right:-5px}.entry-story h3{font-size:25px}.entry-card h2{font-size:33px}.mini-adventures{gap:14px}.mini-adventures>span{font-size:12px;gap:5px}.mini-adventures img{width:42px}.welcome-top h1{font-size:28px}.little-note{font-size:11px}.mode{padding:17px 19px 0;min-height:305px}.mode h3{font-size:23px}.mode p{font-size:13px}.mode-art{width:145px;height:110px}.mode-footer{font-size:12px}.auth-card{padding:38px 35px}.auth-story{padding:28px}.teacher-welcome h1{font-size:29px}.teacher-welcome .intro{font-size:14px}.stat-card{padding:18px}.stat-top>span{font-size:13px}.stat-card>small{font-size:10px}.teacher-actions .secondary,.teacher-actions .subtle{font-size:12px}.sentence{font-size:38px}.option{font-size:24px;padding:14px}.records-panel{padding:21px}}
@media(max-width:760px){.nav{min-height:84px}.teacher-nav{font-size:12px;padding:8px 9px}.tools{gap:3px}.tool-divider{margin-inline:3px}.icon-btn{width:34px;height:34px}.welcome-top{padding:27px 0 21px}.welcome-top h1{font-size:25px}.welcome-top .eyebrow{font-size:11px}.little-note{display:none}.entry-page{grid-template-columns:1fr .9fr;min-height:525px}.entry-form-column{padding:26px}.entry-card h2{font-size:31px}.entry-card .card-description{font-size:14px}.entry-story{padding:26px 10px}.entry-story h3{font-size:23px}.story-label{font-size:10px}.book-stage{margin-top:17px}.word-sticker{font-size:19px;padding:5px 10px}.sticker-verb{right:0;top:20px}.sticker-object{left:0;top:40px}.sticker-subject{bottom:36px;right:0}.story-answer{margin-top:17px;font-size:13px}.entry-note{font-size:10px}.entry-bottom{flex-direction:column;align-items:flex-start;padding:24px 0;gap:15px}.bottom-caption strong{font-size:14px}.bottom-caption>span{font-size:11px}.mini-adventures{width:100%;justify-content:space-between}.mini-adventures>span{font-size:13px;gap:8px}.mini-adventures img{width:48px}.play-heading{padding:23px 0}.play-heading h1{font-size:37px}.play-heading p{font-size:14px}.play-heading .eyebrow{font-size:11px}.play-companion>img{width:110px}.play-companion>span{display:none}.play-companion{padding:0}.modes{gap:13px}.mode{padding:16px 16px 0;min-height:292px;border-radius:20px}.mode h3{font-size:21px}.mode p{font-size:12px;min-height:43px}.mode-art{width:125px;height:95px;margin:11px auto 8px}.mode-count{font-size:11px}.mode-footer{font-size:11px}.mode-footer svg{width:15px}.section-head h2{font-size:18px}.section-head>span{font-size:11px}.student-bar>div{gap:8px}.student-bar>div>span:last-child{font-size:14px}.student-links .subtle{font-size:11px;padding:7px}.student-avatar{width:36px;height:36px;font-size:20px}.teacher-welcome h1{font-size:26px}.teacher-emblem{width:105px;height:100px}.teacher-toolbar{flex-wrap:wrap;gap:15px}.dashboard-stats{grid-template-columns:repeat(2,1fr)}.teacher-status{font-size:12px}.auth-layout{grid-template-columns:.9fr 1fr;min-height:550px;margin-top:30px;margin-bottom:35px}.auth-card{padding:32px 25px}.auth-story{padding:24px 18px}.auth-book{width:245px;margin-top:25px}.auth-story h1{font-size:28px}.auth-story p{font-size:13px}.auth-hand-note{font-size:11px}.auth-card h2{font-size:28px}.auth-card .card-description{font-size:13px}.auth-card .primary{font-size:15px;padding:15px}.auth-card label{font-size:14px}.auth-card input{font-size:15px}.secure-note{font-size:10px}.attempt-grid{grid-template-columns:repeat(2,1fr)}.records-top h1{font-size:30px}.record-filters label:first-child{min-width:100%}.options{grid-template-columns:1fr 1fr}.question-card{padding:26px}.sentence{font-size:35px}.record-filters label{min-width:140px;flex:1}.record-filters .secondary{font-size:12px}.start-row p{font-size:11px}.start-row .subtle{font-size:12px}}
@media(max-width:560px){.wrap{width:calc(100% - 32px)}.nav{min-height:80px;gap:10px;flex-wrap:wrap;padding:16px 0}.brand{gap:9px}.brand-symbol{width:39px;height:41px;border-radius:12px}.brand-symbol svg{width:29px;height:30px}.brand-name{font-size:26px}.brand small{font-size:9px;margin-top:4px}.tools{gap:2px}.teacher-nav{font-size:10px;gap:5px;padding:8px 5px}.teacher-nav svg{width:13px}.tool-divider{display:none}.tools .icon-btn{width:28px;height:32px;border-radius:8px}.tools .icon-btn svg{width:17px;height:17px}.tools #fullBtn{display:none}.welcome-top{padding:23px 0 19px}.welcome-top h1{font-size:25px;margin-top:7px;line-height:1.5}.welcome-top .eyebrow{font-size:11px}.entry-page{display:flex;flex-direction:column;border-radius:23px}.entry-form-column{padding:27px 27px 25px;order:1}.entry-card{max-width:none}.entry-card h2{font-size:33px;margin:12px 0}.entry-card h2 br{display:none}.greeting-sun{font-size:26px;margin-inline:6px}.entry-card .form-kicker{font-size:11px}.entry-card .card-description{font-size:14px}.entry-card label{font-size:14px;margin-top:19px}.entry-card input{min-height:48px;font-size:15px}.entry-card .primary{margin-top:22px;font-size:17px}.entry-note{font-size:10px;gap:6px}.entry-story{order:2;padding:22px 24px 25px;max-height:none}.story-label{font-size:11px}.entry-story h3{font-size:23px;margin-top:8px}.book-stage{max-width:292px;margin-top:0}.word-sticker{font-size:21px;padding:4px 11px}.sticker-verb{top:28px;right:0}.sticker-object{top:50px;left:0}.sticker-subject{bottom:37px;right:0}.story-answer{margin-top:0;font-size:14px}.story-answer>span{font-size:11px}.story-corner{font-size:16px}.entry-bottom{padding:23px 3px 30px;gap:12px}.bottom-caption strong{font-size:15px}.bottom-caption>span{font-size:12px}.mini-adventures{gap:9px}.mini-adventures>span{font-size:11px;gap:3px;flex-direction:column}.mini-adventures img{width:45px;height:37px}.student-bar{flex-wrap:wrap;gap:10px;padding:14px 0}.student-bar>div:first-child{flex:1}.student-links{gap:6px!important}.student-links .subtle{font-size:10px;padding:7px 3px}.student-bar>div>span:last-child{font-size:14px}.student-bar small{font-size:11px}.student-links .secondary{font-size:10px;min-height:30px;padding:6px 9px}.play-heading{padding:22px 0 24px;gap:10px}.play-heading h1{font-size:35px}.play-heading p{font-size:13px;max-width:250px}.play-heading .eyebrow{font-size:10px}.play-companion>img{width:90px}.section-head{gap:10px;margin-bottom:13px}.section-head h2{font-size:18px}.section-head>span{font-size:10px;max-width:120px;text-align:left}.modes{grid-template-columns:1fr;gap:14px}.mode{min-height:177px;border-radius:20px;padding:18px 135px 0 18px;overflow:hidden}.mode-top{position:absolute;right:18px;top:14px;left:18px;flex-direction:row-reverse}.mode-count{font-size:10px}.check-circle{width:20px;height:20px}.mode-art{position:absolute;right:5px;top:23px;margin:0;width:120px;height:102px}.mode h3{font-size:24px;margin-top:22px}.mode p{font-size:13px;min-height:39px;line-height:1.6;max-width:none}.mode-footer{font-size:11px;margin-top:9px;padding:9px 0}.mode-footer svg{width:17px}.play-options{padding:12px 0 18px;margin-top:21px}.settings{gap:20px}.settings-group{width:100%;justify-content:space-between;font-size:14px}.segment{padding:7px 22px}.timer-label{gap:10px;width:100%}.timer-label strong{font-size:14px}.timer-label small{font-size:12px}.timer-label>svg{margin-inline-start:auto;width:20px}.team-inputs{gap:11px}.team-inputs label{font-size:12px}.start-row{flex-wrap:wrap;gap:14px;padding:23px 0 34px}.start-row .primary{width:100%;font-size:18px;min-height:56px}.start-row .subtle{font-size:12px;padding:8px 0}.start-row p{font-size:10px;margin-inline-start:auto}.game{margin:23px auto 35px}.game-top{gap:12px;margin-bottom:16px}.game-top .secondary{font-size:12px;min-height:37px;padding:9px 12px}.crumb{font-size:11px}.score-strip{flex-wrap:wrap;gap:10px}.score{flex:1;min-width:130px;padding:10px 16px;border-radius:14px}.score small{font-size:12px}.score b{font-size:26px}.progress-area{flex-basis:100%;padding:3px 0 0}.progress-copy{font-size:11px;margin-bottom:7px}.question-card{padding:21px 17px 23px;border-radius:20px}.question-meta{font-size:11px}.question-tag{padding:4px 9px;font-size:11px}.prompt{font-size:19px;margin:24px 0 10px}.sentence{font-size:32px;line-height:2;margin:15px 0 23px}.options{grid-template-columns:1fr;gap:10px}.option{min-height:65px;padding:12px 16px;border-radius:13px;font-size:26px;gap:15px}.option-key{width:28px;height:28px;font-size:12px}.feedback{padding:15px;margin-top:20px;border-radius:13px}.feedback-title{font-size:18px}.feedback p{font-size:15px}.feedback .primary{font-size:15px;min-height:45px}.hint-line{font-size:12px;line-height:1.9;margin-top:19px}.boxes{grid-template-columns:repeat(3,1fr);gap:13px}.box{height:104px;border-radius:16px}.box strong{font-size:27px}.box small{font-size:10px}.board-title{font-size:27px;margin-top:22px}.board-sub{font-size:13px}.order-instruction{font-size:13px;line-height:1.9}.answer-slots{gap:9px;padding:14px;min-height:100px;margin:22px 0}.answer-slots.empty:before{font-size:14px}.word-token{font-size:24px;padding:10px 14px;border-radius:10px}.word-bank{gap:11px;margin:18px 0 25px}.order-actions{flex-wrap:wrap;gap:12px}.order-actions .primary{font-size:15px}.order-actions .subtle{font-size:12px}.result{margin-top:24px}.result-main{padding:27px 18px;border-radius:22px}.trophy{font-size:54px}.result h2{font-size:26px}.result-student{font-size:18px}.result-sub{font-size:14px}.result-metrics{grid-template-columns:repeat(2,1fr);gap:11px;margin:22px 0}.result-metrics>div{padding:15px 10px;border-radius:14px}.result-metrics b{font-size:29px}.result-metrics span{font-size:12px}.result-actions{gap:10px}.result-actions .primary{min-height:50px;font-size:16px}.result-actions .secondary{font-size:13px}.result-actions .subtle{font-size:12px}.save-notice{font-size:12px;line-height:1.9}.save-notice.save-error{flex-direction:column}.review>h3{font-size:20px}.review-item{padding:18px 17px;border-radius:14px}.review-item .answer-badge{float:none;margin:0 0 9px}.review-item p{font-size:18px}.review-item p.chosen-answer{font-size:14px}.review-item strong{font-size:15px}.review-item small{font-size:13px}.records-page{padding:26px 0 37px}.records-top{flex-wrap:wrap;gap:15px}.records-top h1{font-size:29px}.records-top .intro{font-size:13px}.records-top .secondary{font-size:13px}.attempt-grid{grid-template-columns:1fr;gap:14px}.history-card{padding:21px}.history-top{font-size:18px}.teacher-welcome{padding:0 0 14px;gap:8px}.teacher-welcome .eyebrow{font-size:11px}.teacher-welcome h1{font-size:28px;line-height:1.5;margin:12px 0}.teacher-welcome .intro{font-size:13px}.teacher-emblem{width:82px;height:85px;display:none}.teacher-toolbar{padding:13px 0;gap:15px}.teacher-status{font-size:11px}.teacher-actions{width:100%;gap:7px;justify-content:space-between}.teacher-actions .secondary{font-size:11px;padding:8px 10px;min-height:37px}.teacher-actions .subtle{font-size:10px;padding:8px 2px}.dashboard-stats{gap:12px;margin-bottom:21px}.stat-card{padding:16px;border-radius:17px}.stat-top{gap:7px}.stat-top>span{font-size:12px}.stat-top i{width:29px;height:29px;border-radius:9px}.stat-top i svg{width:18px}.stat-card b{font-size:32px;margin-top:9px}.stat-card>small{font-size:10px}.records-panel{padding:18px 15px;border-radius:19px}.panel-heading h2{font-size:21px}.panel-heading p{font-size:12px;line-height:1.8}.panel-icon{display:none}.record-filters{gap:11px;margin-top:20px}.record-filters label{font-size:12px;min-width:135px}.record-filters input,.record-filters select{font-size:13px;height:45px;padding:10px 12px}.record-filters .secondary{font-size:11px;padding:9px 10px;height:45px}.record-status{font-size:10px}.pagination{gap:14px;margin-top:19px}.pagination>span{font-size:12px}.pagination .secondary{font-size:12px}.private-note{font-size:11px;line-height:1.9}.empty-state{padding:31px 17px}.empty-state h2{font-size:21px}.empty-state p{font-size:13px}.auth-layout{display:flex;flex-direction:column;margin-top:25px;margin-bottom:30px;border-radius:23px;min-height:0}.auth-card{order:1;padding:30px 27px;width:100%}.auth-card h2{font-size:31px;margin-top:13px}.auth-card .card-description{font-size:14px}.auth-card label{font-size:14px}.auth-card input{font-size:16px}.auth-card .primary{font-size:16px;min-height:55px}.auth-story{order:2;padding:24px;display:block}.auth-story .story-label{display:none}.auth-book{width:158px;float:left;margin:0 0 -10px -15px}.auth-story h1{font-size:25px;line-height:1.5;text-align:right;margin:5px 0 8px}.auth-story p{font-size:12px;text-align:right}.auth-hand-note{display:none}.secure-note{font-size:10px}.field-help{font-size:11px}.auth-switch{font-size:12px}.nav-home{font-size:12px;gap:8px}.account-dialog{padding:23px}.account-dialog .dialog-top h2{font-size:21px}.account-dialog label{font-size:14px}dialog{padding:23px;border-radius:20px}.dialog-top h2{font-size:22px}.rule-main{font-size:19px;padding:17px}.rule-text{font-size:16px}.rule-example{font-size:28px}.rule-note{font-size:12px}.toast{font-size:13px;padding:12px 18px;bottom:18px}.footer-row{flex-wrap:wrap;gap:10px;font-size:10px}.footer-brand{font-size:22px;flex:1}.footer-brand small{font-size:10px;margin-inline-start:9px}.footer-row>span:not(.footer-brand){order:3;flex-basis:100%;font-size:10px}.footer-row>a{font-size:11px}footer{padding:19px 0}}
@media(max-width:360px){.wrap{width:calc(100% - 26px)}.brand-name{font-size:24px}.brand small{font-size:8px}.brand-symbol{width:35px;height:38px}.teacher-nav{font-size:9px;padding:7px 3px}.teacher-nav svg{display:none}.tools .icon-btn{width:26px}.entry-form-column{padding:25px 23px}.entry-card h2{font-size:30px}.welcome-top h1{font-size:23px}.mode{padding-inline-start:123px;padding-inline-end:15px}.mode h3{font-size:22px}.mode p{font-size:12px}.mode-art{width:110px}.student-links .subtle{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
