/* A calm, playful Arabic learning space. Shared by students and teachers. */
:root{--ink:#193f35;--green:#245b47;--mint:#edf3e9;--cream:#f8f8f3;--orange:#bb633d;--yellow:#f0d794;--line:#e1e6dc;--muted:#6c7b70;--red:#a33f40;--white:#fff;--shadow:0 18px 55px #1d413309}
html{scroll-behavior:smooth}body{background:radial-gradient(ellipse at 100% 0,#e9f0e260,transparent 45%),var(--cream);font-synthesis:none}a{text-decoration:none}button,input,select{font-family:inherit}button,a,input,select{touch-action:manipulation}button:disabled{opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c19a45;outline-offset:4px}button{transition:background .18s,transform .18s,border-color .18s}h1{letter-spacing:-1.8px}input,select{color:var(--ink)}.wrap{width:min(1200px,calc(100% - 80px))}.skip-link{position:fixed;top:-100px;right:20px;z-index:100;background:var(--green);color:white;padding:12px 20px;border-radius:12px}.skip-link:focus{top:16px}
header{background:#fdfef9c7;border-bottom-color:#e4e8df}.nav{height:94px}.brand{color:var(--ink);flex-shrink:0}.brand-mark{width:48px;height:48px;background:var(--green);border-radius:16px 16px 6px 16px;box-shadow:none;position:relative}.brand-mark:after{content:'';width:7px;height:7px;background:var(--yellow);position:absolute;bottom:7px;left:7px;border-radius:2px}.brand-name{font-size:19px}.nav small{font-size:11px}.tools{align-items:center;gap:8px}.icon-btn{border-color:#e1e6dc;background:#fff9;border-radius:12px}.icon-btn:hover{background:#edf3e9;border-color:#bacbbd}.nav-label{display:none}.teacher-nav{display:flex;align-items:center;gap:7px;padding:9px 13px;font-size:12px;font-weight:700;margin-inline-end:12px;border-inline-end:1px solid var(--line);padding-inline-end:22px}.teacher-nav:hover{color:var(--orange)}.nav-home{display:flex;gap:12px;align-items:center;font-size:13px;color:var(--green)}.primary{background:var(--green);border:1px solid var(--green);border-radius:13px;font-size:16px;min-height:54px;padding:12px 23px;box-shadow:0 3px 0 #153b2d17;gap:16px}.primary:hover{background:#194b38;border-color:#194b38}.primary:active{transform:translateY(1px);box-shadow:none}.secondary{border-radius:11px;min-height:43px;font-size:13px;background:#fff;border-color:var(--line);padding:9px 16px}.secondary:hover{background:#f0f4ed;border-color:#c5d2c2}.subtle{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px}.eyebrow{font-size:12px;letter-spacing:.15px}.eyebrow:before{width:20px;background:var(--orange)}.intro{font-size:16px;line-height:1.95}.accent,h1 .accent{color:var(--orange)}.card-description{font-size:13px;color:var(--muted);line-height:1.9}.live-dot{height:8px;width:8px;background:#789e63;box-shadow:0 0 0 5px #789e6315;border-radius:50%;display:inline-block;flex-shrink:0}
/* The first hello. */
.entry-page{grid-template-columns:1.08fr .85fr;gap:86px;padding:56px 0 44px;align-items:center}.entry-story h1{font-size:clamp(40px,4.5vw,59px);line-height:1.48;margin:17px 0 15px}.entry-story .intro{max-width:510px}.entry-card{position:relative;padding:34px 33px 29px;border-radius:24px;border:1px solid #e0e6db;background:#fff;box-shadow:var(--shadow)}.entry-card-symbol{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#f5edda;color:#a37b30;margin-bottom:19px;transform:rotate(-5deg)}.entry-label{font-size:11px;background:transparent;padding:0;font-weight:700;letter-spacing:.1px}.entry-card h2{font-size:27px;margin:7px 0 4px}.entry-card label,.auth-card label,.account-dialog label{display:block;font-size:12px;font-weight:700;margin:21px 0 8px}.entry-card label small{font-size:10px}.entry-card input,.auth-card input,.account-dialog input{width:100%;padding:12px 15px;border:1px solid #dce3d7;background:#fcfdf9;border-radius:11px;min-height:51px;font-size:15px;transition:border-color .2s,box-shadow .2s}.entry-card input:focus,.auth-card input:focus,.account-dialog input:focus{background:#fff;border-color:#90aa86;box-shadow:0 0 0 4px #c3d2b52a}.entry-card input::placeholder,.auth-card input::placeholder{color:#98a293;font-size:13px}.entry-note{display:flex;gap:7px;align-items:flex-start;line-height:1.8;font-size:11px;margin:19px 0 21px;color:var(--muted)}.entry-note svg{flex-shrink:0;margin-top:3px}.entry-card .primary{font-size:16px}.form-bottom-note{font-size:10px;text-align:center;margin-top:15px;color:#8a9585}.entry-below{display:flex;align-items:center;justify-content:center;gap:12px;font-size:10px;margin-top:19px;color:var(--muted);flex-wrap:wrap}.entry-below a{font-size:11px;color:var(--green);font-weight:700}.entry-scene{position:relative;margin-top:29px;border-radius:24px;background:linear-gradient(135deg,#e9f0e0,#edf2e7);padding:24px 24px 21px;max-width:525px;overflow:hidden;border:1px solid #dde7d3}.entry-scene:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#7392660a 1px,transparent 1px),linear-gradient(90deg,#7392660a 1px,transparent 1px);background-size:28px 28px}.scene-caption{font-size:12px;text-align:center;position:relative;color:#6e845d}.tiny-spark{color:#b88c41;margin-inline-end:7px}.scene-sentence{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:18px;position:relative;z-index:1}.scene-sentence>div{display:flex;flex-direction:column;align-items:center;gap:9px}.scene-sentence small{font-size:9px;color:#789065}.scene-sentence span{background:#fffdf6;padding:12px 21px;border-radius:12px;font-size:26px;font-weight:700;box-shadow:0 5px 0 #71865914;border:1px solid #dce4d1;white-space:nowrap}.scene-sentence .scene-subject{transform:rotate(-5deg) translateY(-6px);position:relative}.scene-subject span{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 5px 0 #183d2f}.scene-subject i{position:absolute;color:#d4b35c;left:-9px;top:17px;font-style:normal;font-size:22px}.scene-answer{position:relative;font-size:11px;text-align:center;margin-top:20px;color:#6e815b}.scene-answer span{display:inline-grid;place-items:center;width:20px;height:20px;background:#d8e5c8;color:var(--green);border-radius:50%;margin-inline-start:6px}.scene-doodle{position:absolute;opacity:.27;pointer-events:none}.scene-doodle.one{font-size:42px;top:5px;right:12px;transform:rotate(12deg);color:#86a370}.scene-doodle.two{font-size:32px;left:11px;bottom:6px;color:#ad9350}.entry-facts{display:flex;gap:20px;flex-wrap:wrap;margin-top:21px;font-size:11px;color:var(--muted)}.entry-facts>span{display:flex;gap:7px;align-items:center}.entry-facts svg{color:#739367}.journey-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:27px 0 35px;border-top:1px solid var(--line);margin:0 0 16px}.journey-strip>div{display:flex;align-items:center;gap:15px;padding-inline-start:20px;border-inline-start:1px solid var(--line)}.journey-strip>div:first-child{padding-inline-start:0;border:0}.journey-strip>div>span{font-size:27px;font-weight:700;color:#aab99d}.journey-strip strong{font-size:13px;display:block}.journey-strip small{font-size:10px;color:var(--muted)}
/* Three adventures, one clear next step. */
.student-bar{background:#fff;border:1px solid var(--line);box-shadow:0 3px 14px #25402c03;padding:13px 19px;margin-top:25px;border-radius:16px}.student-avatar{background:#e9eedf;color:var(--green);border-radius:12px;width:39px;height:39px}.student-bar>div:first-child>span:last-child{font-size:13px}.home-hero{gap:65px;padding:36px 0 40px;grid-template-columns:1fr 1fr}.home-hero h1{font-size:clamp(35px,4.5vw,53px);margin:11px 0}.home-hero .intro{font-size:14px}.home-hero .meta{margin-top:18px}.pill{background:#fff9;border-color:var(--line);font-size:10px}.home-illustration{position:relative;min-height:260px;border-radius:27px;background:#e9efdf;overflow:hidden;border:1px solid #dfe7d5}.illustration-label{position:absolute;top:23px;left:0;right:0;text-align:center;font-size:11px;color:#7c9066}.floating-word{position:absolute;z-index:1;background:#fffef8;border:1px solid #dce4cf;border-radius:15px;padding:15px 25px;text-align:center;font-size:30px;font-weight:700;box-shadow:0 5px 0 #72885117}.floating-word small{display:block;font-size:9px;font-weight:400;color:#869571;margin-top:3px}.word-verb{right:7%;top:88px;transform:rotate(7deg)}.word-subject{left:34%;top:65px;background:var(--green);border-color:var(--green);color:white;transform:rotate(-5deg);box-shadow:0 7px 0 #173c2c}.word-subject small{color:#c6d8bd}.word-subject>span{position:absolute;top:-17px;right:-14px;font-size:29px;color:#d9b155}.word-object{left:7%;top:94px;transform:rotate(5deg)}.illustration-answer{position:absolute;bottom:25px;left:0;right:0;text-align:center;font-size:12px;color:#6c815b}.illustration-answer strong{color:var(--green)}.illustration-orbit{position:absolute;width:240px;height:240px;border:1px dashed #bdcfa8;border-radius:50%;left:calc(50% - 120px);top:32px}.section-head{margin:0 0 22px;align-items:flex-end}.section-kicker{display:block;color:#8a987e;font-size:10px;font-weight:700;letter-spacing:.5px;margin-bottom:5px}.section-head h2{font-size:24px}.section-head p{font-size:12px;color:var(--muted);margin-top:3px}.section-head .points-tag{display:inline-flex;align-items:center;gap:7px;background:#f3eddd;border:1px solid #e9dfc9;border-radius:30px;font-size:10px;color:#92743e;padding:6px 12px;white-space:nowrap}.modes{gap:18px}.mode{background:#fff;min-height:232px;padding:23px;border:1px solid #dfe5d9;border-radius:20px;box-shadow:none;overflow:hidden}.mode[aria-pressed=true]{padding:22px;border:2px solid #527c50;box-shadow:0 6px 0 #c6d3b82b;background:linear-gradient(135deg,#fff,#f5f8f0)}.mode:hover{transform:translateY(-3px);border-color:#9bb38c}.mode-top{margin-bottom:18px}.mode-icon{background:#eef3e5;border-radius:15px;width:51px;height:51px}.mode:nth-child(2) .mode-icon{background:#fbf0df;color:#b58440}.mode:nth-child(3) .mode-icon{background:#eeebf6;color:#8271a5}.mode-number{font-size:27px;font-weight:700;color:#e1e6d8}.mode h3{font-size:21px;margin-bottom:5px}.mode p{font-size:12px;min-height:23px}.mode-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e9ede2;margin-top:20px;padding-top:13px;font-size:10px;color:#839078}.mode-selected{font-size:9px;color:#87947d}.mode[aria-pressed=true] .mode-selected{color:var(--green);font-weight:700}.check-circle{top:25px;bottom:auto;left:25px;width:22px;height:22px;background:var(--green)}.mode[aria-pressed=true] .mode-number{visibility:hidden}.play-options{display:flex;align-items:center;gap:40px;margin-top:27px;padding:21px 24px;background:#edf1e7;border:1px solid #e3e8da;border-radius:17px;flex-wrap:wrap}.options-heading{min-width:150px}.options-heading strong{font-size:13px}.settings{flex:1;margin:0;gap:20px}.settings-group{font-size:11px}.segmented{background:#e2e8d9}.segment{font-size:12px;padding:6px 16px}.timer-label{font-size:12px;gap:11px}.timer-label>span{display:flex;flex-direction:column;gap:2px}.timer-label strong{font-size:12px}.timer-label small{font-size:9px;color:var(--muted)}.timer-label>svg{color:#839a75;margin-inline-start:10px}.timer-label input{width:19px;height:19px}.team-inputs{padding:0;width:100%}.start-row{border:0;padding:25px 0 42px;gap:19px}.start-row .primary{min-width:215px}.start-row p{margin-inline-start:auto;font-size:11px}.start-row .subtle{font-size:11px}
/* A focused game surface. */
.game{margin-top:30px;max-width:950px}.game-top .secondary{font-size:12px}.crumb{font-size:12px}.score{background:white;border-radius:14px}.score.active{background:#edf3e7;border-color:#9bb48b}.score b{font-size:26px}.question-card{background:#fff;border-radius:23px;border-color:#e0e6d9;box-shadow:0 8px 30px #26472a05;padding:31px 38px}.question-tag{background:#eef3e6;font-size:11px}.question-meta{font-size:11px}.prompt{font-size:21px;color:#536c4c}.sentence{margin:17px 0 30px}.option{background:#fafbf7;border:1px solid #dce3d4;min-height:76px;font-size:25px;border-radius:14px}.option:hover:not(:disabled){border-color:#7fa370;background:#f0f5e9}.option-key{background:white;border-radius:9px;color:#8c9c80}.feedback{border-radius:14px;background:#eff5e6;border:1px solid #dce8d1}.feedback.bad{border-color:#ecdcb9;background:#fcf5e7}.hint-line{font-size:11px;margin-top:23px}.box{box-shadow:0 5px 0 #dfba66;border-radius:17px}.word-token{box-shadow:0 3px 0 #dce5d0;border-color:#d2dfc4;border-radius:12px}.result-main{background:white;border-color:var(--line);box-shadow:var(--shadow);border-radius:24px}.result-metrics>div{background:#f6f8f1;border-color:#e5eadf;border-radius:15px}.result-metrics b{font-size:29px}.result-metrics span{font-size:11px}.review-item{border-radius:14px}.save-notice{background:#edf5e6}.history-card{background:white;box-shadow:0 4px 18px #1d413305}.history-top strong{font-size:16px}.records-top h1{font-size:36px}
/* An independent, welcoming teacher sign-in. */
.auth-layout{display:grid;grid-template-columns:1.1fr .85fr;gap:90px;align-items:center;padding:64px 0 72px;min-height:calc(100vh - 168px)}.auth-story h1{font-size:clamp(39px,4.5vw,58px);line-height:1.5;margin:15px 0}.auth-story .intro{font-size:15px}.auth-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px 34px;box-shadow:var(--shadow)}.auth-icon{display:grid;place-items:center;width:52px;height:52px;color:var(--green);background:#eef3e6;border-radius:17px;margin-bottom:21px}.auth-card h2{font-size:28px;margin:7px 0}.auth-card .primary{width:100%;margin-top:23px;font-size:15px}.auth-card .card-description{font-size:12px}.password-field{position:relative}.password-field input{padding-inline-end:65px}.password-field button{position:absolute;left:9px;top:9px;background:transparent;font-size:10px;color:var(--muted);padding:9px}.field-help{display:block;font-size:10px;color:#8b9783;margin-top:7px}.auth-card .form-error{margin:17px 0 0}.secure-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#8a9780;border-top:1px solid #edf0e7;padding-top:20px;margin-top:24px}.secure-note svg{width:14px;height:14px}.auth-switch{display:block;font-size:11px;text-align:center;margin-top:18px;color:var(--green)}.auth-preview{margin-top:30px;width:min(440px,100%);border:1px solid #dfe8d5;background:linear-gradient(135deg,#edf2e5,#f4f6ee);border-radius:23px;padding:24px 26px;transform:rotate(-2deg)}.preview-caption{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#738567}.preview-bars{display:flex;align-items:flex-end;gap:16px;height:128px;border-bottom:1px solid #d5dfc8;padding:10px 12px 0;direction:ltr}.preview-bars i{flex:1;background:#c5d5b4;border-radius:7px 7px 0 0;height:30%}.preview-bars i:nth-child(2){height:45%;background:#a8c08f}.preview-bars i:nth-child(3){height:38%}.preview-bars i:nth-child(4){height:62%;background:#94ad7f}.preview-bars i:nth-child(5){height:57%}.preview-bars i:nth-child(6){height:82%;background:#799d65}.preview-bars i:nth-child(7){height:97%;background:var(--green)}.preview-note{font-size:10px;color:#879675;text-align:center;margin-top:16px}.auth-benefits{display:flex;gap:17px;margin-top:23px;font-size:10px;color:#7c8f6a;flex-wrap:wrap}.auth-card .entry-label{display:block}.account-dialog{max-width:460px;width:calc(100% - 36px);padding:27px;border:1px solid var(--line);border-radius:22px;color:var(--ink)}.account-dialog .dialog-top h2{font-size:20px}.account-dialog .primary{margin-top:20px;width:100%;font-size:14px}.account-dialog .form-error{margin-top:15px}
/* Teacher workspace. */
.teacher-view .teacher-nav{background:#eaf0e2;border-radius:12px;border:0;padding:9px 13px}.teacher-view .tools>.icon-btn{display:none}.teacher-dashboard{padding-top:35px}.teacher-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:20px 0 26px}.teacher-welcome h1{font-size:40px;line-height:1.6;margin:9px 0}.teacher-welcome .intro{font-size:13px}.teacher-emblem{position:relative;display:grid;place-items:center;width:110px;height:110px;border-radius:30px;background:#e9efdf;color:#759266;transform:rotate(-7deg);margin-inline-end:30px}.teacher-emblem i{position:absolute;top:2px;left:-10px;color:#b59647;font-style:normal;font-size:35px}.teacher-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-block:1px solid var(--line);padding:13px 0;margin-bottom:25px}.teacher-status{display:flex;align-items:center;gap:10px;font-size:11px;color:#7b8d6d}.teacher-actions{display:flex;gap:10px;align-items:center}.teacher-actions .secondary,.teacher-actions .subtle{font-size:11px;min-height:38px}.dashboard-stats{gap:17px;margin:0 0 28px}.dashboard-stats>div{padding:20px 22px;border-radius:18px;background:#fff;box-shadow:0 4px 16px #21442c02}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-top>span{font-size:11px}.stat-top i{display:grid;place-items:center;width:36px;height:36px;background:#f0f4e8;color:#7c9969;border-radius:11px;font-style:normal}.stat-1 .stat-top i{background:#f8f0df;color:#b39550}.stat-2 .stat-top i{background:#e9f3ec;color:#639879}.stat-3 .stat-top i{background:#f1ecf7;color:#9985ae}.dashboard-stats b{font-size:38px;line-height:1.6;margin-top:6px}.dashboard-stats small{font-size:9px;color:#98a28e}.records-panel{border:1px solid var(--line);border-radius:22px;background:white;padding:25px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-heading h2{font-size:21px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:4px}.panel-icon{display:grid;place-items:center;width:42px;height:42px;background:#f1f5e9;border-radius:13px;color:#80966e}.record-filters{margin:25px 0 17px;gap:13px}.record-filters label{font-size:10px}.record-filters input,.record-filters select{height:45px;font-size:12px;background:#fcfdf9;border-radius:10px;border-color:#e1e7d9}.record-filters .secondary{height:45px;font-size:11px}.record-status{font-size:9px}.table-scroll{border-color:#e6ebdf;border-radius:14px}.records-table th{background:#f3f6ed;font-size:10px;font-weight:700;padding:15px 13px}.records-table td{padding:17px 13px;font-size:12px;border-color:#edf0e7}.records-table tr:hover td{background:#fcfdf9}.records-table small{font-size:9px}.records-table .table-grade{font-size:18px}.records-table .secondary{font-size:10px;min-height:33px}.records-table .correct-count,.records-table .wrong-count{font-size:18px}.pagination{margin:22px 0 0}.pagination .secondary{min-height:34px;font-size:11px}.pagination span{font-size:11px}.empty-state{background:#f8faf4;border-color:#dfe8d4;padding:45px 20px}.empty-icon{display:grid;place-items:center;width:70px;height:70px;background:#ecf2e2;border-radius:23px;margin:0 auto 17px;color:#89a370}.empty-state h2{font-size:21px}.empty-state p{font-size:12px}.private-note{font-size:10px;margin-top:23px}.form-error{border:1px solid #efd7d0;background:#fcf1ed;color:#a24b40;font-size:11px;border-radius:10px;line-height:1.9}footer{background:#f3f5ec;border-color:#e5e9dd;padding:20px 0;color:#8d9982}.footer-row{font-size:10px;align-items:center}
@media(min-width:1500px){.wrap{width:1240px}.entry-page{gap:110px}.home-hero h1{font-size:54px}.game{max-width:1020px}.auth-layout{gap:110px}}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.entry-page,.auth-layout{gap:38px;grid-template-columns:1fr .92fr}.entry-story h1,.auth-story h1{font-size:43px}.entry-card,.auth-card{padding:27px}.scene-sentence{gap:10px}.scene-sentence span{font-size:23px;padding:12px 16px}.entry-facts{gap:12px;font-size:10px}.teacher-nav{margin-inline-end:0;padding-inline-end:13px}.home-hero{gap:35px}.home-illustration{min-height:245px}.floating-word{padding:13px 19px;font-size:25px}.word-verb{right:4%}.word-subject{left:32%}.word-object{left:4%}.play-options{gap:25px}.timer-label small{font-size:8px}.settings{justify-content:flex-start}.teacher-welcome h1{font-size:34px}.teacher-emblem{margin-inline-end:10px}.dashboard-stats>div{padding:17px}.records-panel{padding:20px}.teacher-actions{gap:7px}}
@media(max-width:760px){.entry-page,.auth-layout{grid-template-columns:1fr;gap:30px;max-width:580px;padding:35px 0 40px}.entry-story h1,.auth-story h1{font-size:43px}.entry-story .intro,.auth-story .intro{font-size:14px}.entry-story h1 br{display:block}.entry-scene{max-width:none;margin-top:22px;padding:20px}.entry-facts{justify-content:space-between}.entry-card{padding:28px 30px}.entry-card h2{font-size:26px}.journey-strip{gap:14px}.journey-strip>div{padding-inline-start:13px;gap:8px}.journey-strip>div>span{font-size:22px}.journey-strip strong{font-size:11px}.journey-strip small{font-size:8px}.home-hero{grid-template-columns:1fr 1fr;gap:22px}.home-hero h1{font-size:35px}.home-hero .intro{font-size:12px}.home-illustration{min-height:225px}.floating-word{font-size:20px;padding:12px 15px}.word-subject{left:30%;top:66px}.word-verb{top:86px;right:3%}.word-object{left:3%;top:93px}.illustration-label{font-size:9px}.illustration-answer{font-size:10px;bottom:20px}.illustration-orbit{width:190px;height:190px;left:calc(50% - 95px)}.mode{padding:18px;min-height:230px}.mode[aria-pressed=true]{padding:17px}.mode h3{font-size:19px}.mode p{font-size:10px;min-height:36px}.mode-footer{font-size:9px}.mode-selected{display:none}.check-circle{left:19px;top:22px}.play-options{gap:20px}.start-row{flex-wrap:wrap}.start-row p{margin-inline-start:0}.auth-preview{display:none}.auth-benefits{margin-top:18px}.auth-layout{max-width:530px;padding-top:35px}.auth-story h1 br{display:none}.auth-story h1{font-size:37px}.auth-card{padding:28px 30px}.teacher-welcome h1{font-size:30px}.teacher-emblem{width:80px;height:80px;border-radius:23px}.teacher-emblem svg{width:34px}.teacher-toolbar{flex-wrap:wrap;gap:15px}.teacher-actions{flex-wrap:wrap}.dashboard-stats{grid-template-columns:repeat(2,1fr);gap:13px}.teacher-welcome .intro{font-size:12px}.teacher-dashboard{padding-top:19px}.record-filters label:first-child{min-width:100%}.records-top h1{font-size:30px}}
@media(max-width:520px){.wrap{width:calc(100% - 36px)}.nav{height:auto;min-height:80px;flex-wrap:wrap;gap:14px;padding:16px 0}.nav .brand{flex:1}.brand-name{font-size:17px}.brand-mark{width:41px;height:41px;font-size:26px;border-radius:13px 13px 5px 13px}.nav small{font-size:9px}.tools{width:100%;gap:7px}.teacher-nav{margin-inline-end:auto;border:0;padding:7px 0;gap:6px;font-size:11px}.tools>.icon-btn{width:34px;height:34px;border-radius:10px}.entry-page{padding-top:28px;gap:28px}.entry-story h1{font-size:36px;margin:12px 0}.entry-story .intro{font-size:12px}.entry-scene{padding:18px 16px;margin-top:22px;border-radius:20px}.scene-caption{font-size:10px}.scene-sentence{gap:12px;margin-top:16px}.scene-sentence span{font-size:24px;padding:11px 14px}.scene-sentence small{font-size:8px}.scene-answer{font-size:10px}.entry-facts{font-size:9px;gap:8px;margin-top:17px}.entry-facts svg{width:14px;height:14px}.entry-card{padding:25px 23px;border-radius:21px}.entry-card-symbol{width:43px;height:43px;border-radius:14px;margin-bottom:15px}.entry-card h2{font-size:25px}.card-description{font-size:12px}.entry-card input{font-size:15px}.entry-card label{margin-top:19px}.entry-note{font-size:10px}.entry-below{gap:6px;font-size:9px}.entry-below a{font-size:10px}.journey-strip{grid-template-columns:1fr;padding:21px 0 26px;gap:18px}.journey-strip>div,.journey-strip>div:first-child{padding:0;border:0;gap:14px}.journey-strip>div>span{font-size:23px;width:33px}.journey-strip strong{font-size:12px}.journey-strip small{font-size:10px}.student-bar{margin-top:20px;padding:12px;gap:8px}.student-links{justify-content:flex-start;gap:8px}.student-links .subtle{font-size:10px}.student-links .secondary{font-size:10px;min-height:30px}.home-hero{grid-template-columns:1fr;padding:26px 0 31px;gap:24px}.home-hero h1{font-size:37px}.home-hero .intro{font-size:12px}.home-illustration{min-height:224px}.floating-word{font-size:25px;padding:12px 20px}.word-verb{right:7%;top:85px}.word-subject{left:32%;top:63px}.word-object{left:6%;top:90px}.illustration-label{font-size:10px}.illustration-answer{font-size:11px}.section-head{align-items:flex-start;gap:12px;flex-direction:column;margin-bottom:18px}.section-head h2{font-size:22px}.section-head p{font-size:11px}.section-head .points-tag{font-size:9px}.modes{gap:12px}.mode{padding:18px 82px 16px 18px;min-height:144px;border-radius:17px}.mode[aria-pressed=true]{padding:17px 81px 15px 17px}.mode-top{right:17px;top:20px}.mode-icon{width:46px;height:46px}.mode h3{font-size:21px}.mode p{min-height:0;max-width:none;font-size:11px}.mode-footer{margin-top:14px;padding-top:10px;font-size:9px}.mode-selected{display:inline;font-size:8px}.mode-number{display:none}.check-circle{left:auto;right:48px;top:58px;width:17px;height:17px}.mode[aria-pressed=true] .check-circle svg{width:12px}.play-options{margin-top:20px;padding:18px;gap:17px}.options-heading{width:100%;padding-bottom:12px;border-bottom:1px solid #dce4d0}.settings{width:100%;gap:18px}.settings-group{flex-wrap:wrap;justify-content:space-between;gap:9px}.segment{font-size:11px;padding:6px 15px}.timer-label{width:100%}.timer-label>svg{margin-inline-start:auto}.timer-label small{font-size:9px}.start-row{padding:22px 0 32px;gap:13px}.start-row .primary{min-width:100%;font-size:16px}.start-row .subtle{padding:6px 0}.start-row p{width:auto;font-size:10px;margin-inline-start:auto}.game{margin-top:23px}.question-card{padding:22px 17px;border-radius:19px}.prompt{font-size:18px;line-height:1.9}.sentence{font-size:30px;margin:18px 0 24px;line-height:2}.options{grid-template-columns:1fr;gap:10px}.option{min-height:62px;padding:12px 16px;font-size:24px;gap:14px}.option-key{width:27px;height:27px}.feedback .primary{font-size:14px}.feedback p{font-size:13px}.result-metrics b{font-size:26px}.result-metrics>div{border-radius:12px}.result h2{font-size:24px}.crumb{font-size:10px}.score-strip .score{border-radius:12px}.word-token{font-size:22px;padding:10px 14px}.answer-slots .word-token{font-size:21px}.order-actions{flex-wrap:wrap}.auth-layout{padding-top:29px;gap:25px}.auth-story h1{font-size:34px;line-height:1.5;margin:12px 0}.auth-story .intro{font-size:12px}.auth-benefits{font-size:9px;gap:12px}.auth-card{padding:26px 24px;border-radius:21px}.auth-card h2{font-size:26px}.auth-icon{width:45px;height:45px;border-radius:14px;margin-bottom:17px}.nav-home{font-size:11px}.secure-note{font-size:9px}.teacher-view .tools{display:none}.teacher-welcome{padding:8px 0 24px}.teacher-welcome h1{font-size:29px}.teacher-welcome .eyebrow{font-size:10px}.teacher-welcome .intro{font-size:11px}.teacher-emblem{display:none}.teacher-toolbar{margin-bottom:21px;gap:13px;padding:13px 0}.teacher-status{font-size:10px}.teacher-actions{width:100%;gap:7px;justify-content:space-between}.teacher-actions .secondary{font-size:10px;padding:8px 10px;min-height:35px}.teacher-actions .subtle{font-size:9px;padding:6px}.dashboard-stats{gap:11px;margin-bottom:22px}.dashboard-stats>div{padding:16px;border-radius:15px}.stat-top>span{font-size:10px}.stat-top i{width:30px;height:30px;border-radius:9px}.stat-top i svg{width:18px}.dashboard-stats b{font-size:32px}.dashboard-stats small{font-size:8px}.records-panel{padding:17px;border-radius:18px}.panel-heading h2{font-size:19px}.panel-heading p{font-size:10px;max-width:230px}.panel-icon{display:none}.record-filters{margin:21px 0 14px}.record-filters label{min-width:130px}.record-filters .secondary{font-size:10px;padding:9px 11px}.record-filters input,.record-filters select{font-size:11px}.pagination{gap:16px}.private-note{font-size:9px}.footer-row{flex-direction:column;gap:4px;align-items:flex-start;font-size:9px}footer{padding:18px 0}.empty-state{padding:32px 13px}.empty-state h2{font-size:19px}.empty-state p{font-size:11px}.account-dialog{padding:22px}.records-top h1{font-size:28px}.record-filters .record-status{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
