
@font-face{font-family:Plex;src:url('/fonts/IBMPlexSansArabic-Regular.ttf')}@font-face{font-family:Plex;src:url('/fonts/IBMPlexSansArabic-Bold.ttf');font-weight:700}
:root{--ink:#133f36;--green:#0b6655;--mint:#e6f2e6;--cream:#faf8ee;--orange:#ed823d;--yellow:#f5d86d;--line:#dedfd0;--muted:#5d7169;--red:#a33138}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Plex,Arial,sans-serif;line-height:1.7}button,input,select{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c36b11;outline-offset:5px}button{touch-action:manipulation}button,input,select{border-radius:14px}button{border:0}a{color:inherit}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}.hidden,[hidden]{display:none!important}.wrap{width:min(1180px,calc(100% - 64px));margin:auto}
header{border-bottom:1px solid var(--line)}.nav{height:92px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{background:var(--green);color:white;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:29px;font-weight:bold;box-shadow:0 4px 0 #073d33}.brand-name{font-size:20px;font-weight:bold}.nav small{color:var(--muted);font-size:13px}.tools{display:flex;gap:8px}.icon-btn{background:transparent;border:1px solid var(--line);width:43px;height:43px;display:grid;place-items:center}.icon-btn:hover{background:white}.nav-label{display:inline-flex;align-items:center;gap:7px;font-size:13px;margin-inline-end:10px}.dot{width:7px;height:7px;background:var(--green);border-radius:50%}
main{min-height:calc(100vh - 150px)}.hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:60px;padding:48px 0 37px}.eyebrow{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--green);font-weight:bold}.eyebrow:before{content:'';width:27px;height:2px;background:var(--orange)}h1{font-size:clamp(42px,5.5vw,66px);line-height:1.45;letter-spacing:-2px;margin:12px 0}h1 .accent{color:var(--orange);position:relative;white-space:nowrap}.intro{font-size:17px;color:var(--muted);max-width:530px}.meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}.pill{border:1px solid var(--line);padding:5px 13px;border-radius:40px;font-size:12px;display:flex;align-items:center;gap:7px}.pill svg{width:16px;height:16px}
.hero-art{position:relative;background:var(--mint);border-radius:36px;min-height:290px;display:flex;align-items:center;justify-content:center;transform:rotate(-2deg);overflow:hidden}.hero-art:before{content:'';position:absolute;width:240px;height:240px;border:1px dashed #99bca2;border-radius:50%;inset:25px auto auto 30px}.floating-star{position:absolute;font-size:37px;color:var(--orange);left:30px;top:8px;transform:rotate(15deg)}.art-inner{transform:rotate(2deg);text-align:center;position:relative;width:90%}.art-title{font-size:12px;color:var(--green);letter-spacing:1px;margin-bottom:22px}.sentence-art{display:flex;justify-content:center;gap:12px;align-items:center;font-size:28px;font-weight:bold;white-space:nowrap}.word-art{background:#fffdf7;border:1px solid #d6deca;padding:14px 18px;box-shadow:0 5px 0 #ccd9c1;border-radius:17px}.word-art.subject{color:white;background:var(--green);border-color:var(--green);transform:translateY(-12px) rotate(5deg);box-shadow:0 6px 0 #074b3d}.art-note{font-size:14px;margin-top:27px;display:inline-flex;align-items:center;gap:8px;background:var(--yellow);padding:4px 17px;border-radius:12px;transform:rotate(-3deg)}.art-dot{position:absolute;border-radius:50%;width:13px;height:13px;background:#c6d9bc;bottom:21px;right:30px}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:8px 0 18px}.section-head h2{font-size:22px}.section-head span{font-size:13px;color:var(--muted)}.modes{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.mode{position:relative;text-align:right;min-height:194px;padding:24px;background:#fffdf7;border:1.5px solid var(--line);border-radius:23px;transition:transform .2s,border-color .2s,box-shadow .2s}.mode:hover{transform:translateY(-4px)}.mode[aria-pressed=true]{border:2px solid var(--green);padding:23.5px;box-shadow:0 5px 0 #d1dfcb}.mode-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.mode-icon{height:50px;width:50px;display:grid;place-items:center;border-radius:17px;background:#e8f1e4;color:var(--green)}.mode:nth-child(2) .mode-icon{background:#fff0de;color:#b46620}.mode:nth-child(3) .mode-icon{background:#e9e8f8;color:#7462b3}.mode-number{font-size:13px;color:#819188;direction:ltr}.mode h3{font-size:21px;margin-bottom:4px}.mode p{color:var(--muted);font-size:13px}.check-circle{position:absolute;left:20px;bottom:24px;width:23px;height:23px;border-radius:50%;background:var(--green);color:white;display:none;align-items:center;justify-content:center}.mode[aria-pressed=true] .check-circle{display:flex}.settings{margin:27px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.settings-group{display:flex;align-items:center;gap:12px;font-size:14px}.segmented{display:flex;padding:4px;background:#eaeede;border-radius:13px;gap:4px}.segment{padding:7px 20px;background:transparent;font-size:14px}.segment[aria-pressed=true]{background:white;box-shadow:0 2px 6px #23463012}.timer-label{display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer}.timer-label input{width:20px;height:20px;accent-color:var(--green)}.team-inputs{display:flex;gap:12px;padding-bottom:20px}.team-inputs label{font-size:13px;flex:1}.team-inputs input{display:block;width:100%;padding:9px 13px;border:1px solid var(--line);background:white;margin-top:5px}.start-row{padding:22px 0 35px;border-top:1px solid var(--line);display:flex;align-items:center;gap:24px}.primary{display:inline-flex;justify-content:center;align-items:center;gap:18px;background:var(--green);color:white;padding:14px 32px;font-weight:bold;font-size:19px;box-shadow:0 5px 0 #06493d;border:1px solid var(--green)}.primary:hover{background:#085846}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #06493d}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 20px;background:white;border:1px solid var(--line);font-size:15px}.subtle{background:transparent;padding:8px;color:var(--muted);font-size:14px}.start-row p{font-size:13px;color:var(--muted)}footer{padding:16px 0 22px;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}.footer-row{display:flex;justify-content:space-between;gap:15px}
.game{max-width:980px;margin:30px auto 45px}.game-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.crumb{font-size:14px;color:var(--muted)}.score-strip{display:flex;gap:13px;align-items:stretch;margin-bottom:22px}.score{padding:10px 20px;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;gap:18px;min-width:155px;background:#fffdf7}.score.active{border:2px solid var(--green);padding:9px 19px;background:var(--mint)}.score b{font-size:26px}.score small{font-size:13px;display:block}.score .turn-label{color:var(--green);font-size:10px}.progress-area{flex:1;align-self:center;margin-inline-start:10px}.progress-copy{font-size:12px;display:flex;justify-content:space-between;margin-bottom:7px;gap:12px}.progress{height:8px;background:#e2e8d8;border-radius:9px;overflow:hidden}.progress-fill{height:100%;background:var(--green);transition:width .3s;border-radius:9px}.question-card{background:#fffefa;border:1px solid var(--line);border-radius:27px;padding:30px 38px;box-shadow:0 6px 0 #e6e8db}.question-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:16px}.question-tag{background:var(--mint);padding:5px 12px;border-radius:30px;color:var(--green)}.timer{font-size:14px;font-weight:bold;direction:rtl}.timer.urgent{color:var(--red)}.prompt{text-align:center;font-size:23px;margin:13px 0 8px}.sentence{font-size:clamp(29px,3.6vw,43px);text-align:center;line-height:2.1;margin:15px 0 29px;font-weight:bold}.options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.option{display:flex;align-items:center;text-align:right;gap:15px;background:#f9f8f0;border:2px solid #e1e3d6;border-radius:16px;padding:15px 20px;font-size:23px;min-height:75px;transition:background .15s,transform .15s}.option:hover:not(:disabled){background:#edf3e8;border-color:#89aa8e;transform:translateY(-2px)}.option-key{font-size:12px;flex-shrink:0;display:grid;place-items:center;border:1px solid #d4dccc;border-radius:10px;width:29px;height:29px;color:var(--muted)}.option.correct{background:#e3f3e3;border-color:#23813d;color:#19592a}.option.wrong{background:#fce9e7;border-color:#b95b56;color:var(--red)}.feedback{margin-top:23px;padding:18px 22px;border-radius:16px;background:var(--mint);line-height:1.9}.feedback.bad{background:#fff0dd}.feedback-title{font-size:19px;font-weight:bold;margin-bottom:3px}.feedback p{font-size:16px}.feedback-actions{margin-top:15px;display:flex;justify-content:flex-end}.hint-line{text-align:center;margin:22px 0 5px;font-size:13px;color:var(--muted)}.board-title{text-align:center;font-size:27px;margin:20px 0 4px}.board-sub{text-align:center;color:var(--muted);font-size:15px;margin-bottom:27px}.boxes{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.box{height:137px;position:relative;background:#f5cf6c;border:2px solid #dcae43;border-radius:21px;box-shadow:0 6px 0 #d6ac4c;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:31px;font-weight:bold;overflow:hidden;transition:transform .2s}.box:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,transparent 44%,#e8bd51 44%,#e8bd51 47%,transparent 47%);opacity:.5}.box:nth-child(3n+2){background:#c8e1cd;border-color:#92b99c;box-shadow:0 6px 0 #92b99c}.box:nth-child(3n){background:#e7d7ef;border-color:#c2a7d0;box-shadow:0 6px 0 #c2a7d0}.box:hover:not(:disabled){transform:translateY(-5px) rotate(-1deg)}.box small{font-size:11px;font-weight:normal;z-index:1}.box:disabled{background:#eef0e6;border-color:#d4dbca;box-shadow:none;color:#5d7169}.box strong{z-index:1}.box.solved{border-color:#a2c9a4}.order-instruction{text-align:center;color:var(--muted);font-size:14px}.answer-slots{display:flex;gap:12px;justify-content:center;align-items:center;min-height:105px;border:2px dashed #c4d0b8;border-radius:18px;padding:16px;margin:23px 0;background:#f6f8ed;flex-wrap:wrap}.answer-slots.empty:before{content:'اضغط الكلمات بالترتيب لتظهر هنا';color:#768474;font-size:15px}.word-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:13px;margin:20px 0 27px;min-height:65px}.word-token{padding:11px 22px;background:white;border:1.5px solid #cad5be;box-shadow:0 4px 0 #d6dec9;font-size:26px;border-radius:14px}.word-token.selected{background:var(--mint)}.order-actions{display:flex;justify-content:center;gap:15px}.answer-slots .word-token{font-size:25px}.word-token:disabled{opacity:.45}.result{margin:35px auto 50px;max-width:900px}.result-main{text-align:center;background:white;border:1px solid var(--line);border-radius:30px;padding:35px}.trophy{font-size:66px;line-height:1.5}.result h2{font-size:32px;margin:10px 0}.result-sub{color:var(--muted);font-size:16px}.result-scores{display:flex;justify-content:center;gap:20px;margin:25px 0}.result-score{border:1px solid var(--line);border-radius:20px;padding:18px 35px;min-width:140px;background:var(--cream)}.result-score b{font-size:37px;color:var(--green);display:block}.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:15px}.review{margin-top:28px}.review h3{font-size:21px;margin-bottom:15px}.review-item{padding:18px 22px;background:white;border:1px solid var(--line);border-radius:17px;margin-bottom:11px}.review-item strong{color:var(--green)}.review-item small{display:block;color:var(--muted);margin-top:6px}.full-message{background:var(--mint);padding:20px;border-radius:17px;text-align:center;margin-top:25px}
dialog{border:1px solid var(--line);border-radius:25px;color:var(--ink);background:var(--cream);padding:28px;width:min(600px,calc(100% - 30px));max-height:85vh;overflow-y:auto;box-shadow:0 15px 100px #123f3640}dialog::backdrop{background:#133f3670;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dialog-top h2{font-size:24px}.rule-main{font-size:20px;line-height:2;background:var(--mint);padding:20px;border-radius:18px;margin-bottom:18px}.rule-example{text-align:center;font-size:28px;font-weight:bold;margin:16px 0}.rule-example mark{background:var(--yellow);padding:0 9px;border-radius:9px;color:var(--ink)}.rule-text{font-size:16px;line-height:2}.rule-note{font-size:13px;color:var(--muted);margin-top:18px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:15px;padding:12px 25px;z-index:20;font-size:14px}.confetti{position:fixed;top:-20px;width:10px;height:15px;pointer-events:none;z-index:30;animation:fall 2.3s ease-in forwards}@keyframes fall{to{transform:translateY(105vh) rotate(650deg);opacity:0}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1600px){.wrap{width:1350px}.hero{padding-top:60px}.game{max-width:1150px}.sentence{font-size:49px}.option{font-size:30px;padding:22px}.prompt{font-size:28px}}
@media(max-width:800px){.wrap{width:calc(100% - 36px)}.hero{gap:25px;padding-top:28px}.hero-art{min-height:250px}.sentence-art{font-size:22px;gap:8px}.word-art{padding:12px}.modes{gap:11px}.mode{padding:18px;min-height:190px}.mode[aria-pressed=true]{padding:17.5px}.mode h3{font-size:19px}.mode p{font-size:12px;max-width:90%}.nav-label{display:none}.question-card{padding:25px}.score{min-width:125px;padding:9px 13px;gap:10px}.score.active{padding:8px 12px}.progress-area{margin:0}.box{height:118px}.hero-art:before{width:190px;height:190px}.check-circle{bottom:17px;left:15px}}
@media(max-width:570px){.wrap{width:calc(100% - 28px)}.nav{height:77px}.brand-name{font-size:16px}.brand-mark{width:37px;height:37px;font-size:24px;border-radius:12px}.nav small{font-size:10px}.icon-btn{width:36px;height:36px}.tools{gap:5px}.hero{grid-template-columns:1fr;padding:29px 0 20px;gap:25px}.hero-art{min-height:205px;border-radius:26px}.hero-art:before{width:165px;height:165px;inset:16px auto auto 45px}.sentence-art{font-size:26px}.art-title{margin-bottom:17px}.art-note{margin-top:23px;font-size:12px}.eyebrow{font-size:12px}h1{font-size:44px;margin:8px 0}.intro{font-size:14px}.meta{margin-top:17px}.pill{font-size:10px;padding:4px 10px}.section-head h2{font-size:20px}.section-head span{font-size:11px}.modes{grid-template-columns:1fr;gap:12px}.mode{min-height:96px;padding:16px 82px 16px 35px}.mode[aria-pressed=true]{padding:15.5px 81.5px 15.5px 34.5px}.mode-top{position:absolute;right:17px;top:20px;margin:0}.mode-icon{width:46px;height:46px}.mode-number{display:none}.mode h3{font-size:20px}.mode p{font-size:12px;max-width:none}.check-circle{bottom:auto;top:34px;left:14px;width:20px;height:20px}.settings{margin:23px 0;gap:18px}.settings-group{width:100%;justify-content:space-between}.segment{padding:7px 23px}.start-row{gap:15px;flex-wrap:wrap;padding-bottom:29px}.start-row .primary{flex:1}.start-row p{width:100%;font-size:12px}.footer-row{font-size:10px}.game{margin-top:20px}.game-top{align-items:center}.crumb{font-size:12px}.score-strip{flex-wrap:wrap;gap:10px}.score{flex:1;justify-content:space-between;min-width:110px}.progress-area{min-width:100%;margin-top:6px}.question-card{padding:20px 15px;border-radius:21px}.prompt{font-size:19px}.sentence{font-size:29px;line-height:2;margin:16px 0 24px}.options{gap:10px}.option{font-size:21px;padding:11px 9px;gap:7px;min-height:67px}.option-key{width:23px;height:25px;font-size:10px}.feedback{padding:15px}.feedback p{font-size:14px}.feedback-title{font-size:17px}.boxes{grid-template-columns:repeat(3,1fr);gap:12px}.box{height:100px;font-size:27px;border-radius:16px}.board-title{font-size:23px}.board-sub{font-size:13px}.word-token{font-size:24px;padding:10px 16px}.answer-slots .word-token{font-size:23px}.answer-slots{gap:8px;padding:12px}.result-main{padding:25px 15px}.result h2{font-size:26px}.result-score{padding:12px 20px;min-width:110px}.result-scores{gap:10px}.result-actions .primary{font-size:17px}.dialog-top h2{font-size:21px}.rule-main{font-size:18px}.team-inputs{gap:9px}}
.loading-page{text-align:center;max-width:750px;margin:70px auto;padding:30px 15px}.loading-page h1{font-size:38px;letter-spacing:-1px}.loading-page p{color:var(--muted);margin:15px 0 25px;font-size:17px}.loading-page .subtle{display:block;margin:20px auto}.loading-page a{text-decoration:none}.entry-page{display:grid;grid-template-columns:1fr .85fr;gap:90px;align-items:center;padding:65px 0 75px}.entry-story h1{font-size:65px;line-height:1.4}.accent{color:var(--orange)}.entry-steps{display:flex;gap:14px;align-items:center;margin:30px 0;color:var(--green);font-size:14px;font-weight:bold}.entry-steps i{font-style:normal;color:#9bad9b}.entry-steps span{border:1px solid #d7dfcc;background:#eff4e9;border-radius:30px;padding:8px 17px}.entry-rule{color:var(--green);background:var(--yellow);padding:11px 19px;border-radius:13px;display:inline-block;font-size:17px;transform:rotate(-2deg)}.entry-card{background:#fffefa;border:1px solid var(--line);border-radius:29px;box-shadow:0 7px 0 #e2e7d6;padding:34px}.entry-label{background:var(--mint);color:var(--green);font-size:12px;padding:4px 13px;border-radius:20px}.entry-card h2{font-size:28px;margin:14px 0 25px}.entry-card label{display:block;font-size:14px;font-weight:bold;margin:16px 0 8px}.entry-card label small{font-weight:normal;color:var(--muted);margin-inline-start:8px}.entry-card input{width:100%;border:1.5px solid #d3ddc9;background:#fff;padding:13px 15px;font-size:18px;color:var(--ink)}.entry-card input::placeholder{font-size:16px;color:#8a9788}.entry-note{font-size:12px;color:var(--muted);margin:17px 0 21px}.entry-card .primary{width:100%;font-size:18px}.teacher-entry{margin:18px auto 0;display:flex;gap:9px;align-items:center;justify-content:center}.form-error{color:var(--red);background:#faeae5;padding:10px 14px;font-size:13px;margin-bottom:15px;border-radius:10px}.student-bar{margin-top:23px;padding:13px 19px;display:flex;justify-content:space-between;align-items:center;gap:15px;border:1px solid var(--line);background:#f1f5e9;border-radius:18px}.student-bar>div{display:flex;align-items:center;gap:11px}.student-bar small{display:block;color:var(--muted);font-size:11px}.student-avatar{background:var(--green);color:white;display:grid;place-items:center;width:37px;height:37px;border-radius:12px;font-weight:bold;font-size:22px}.student-links{gap:9px}.student-links .subtle{font-size:12px}.student-bar+.hero{padding-top:30px}.result-student{font-size:20px;font-weight:bold;margin:13px 0 3px}.result-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:27px 0}.result-metrics>div{border:1px solid var(--line);border-radius:17px;background:#f5f6eb;text-align:center;padding:19px 10px}.result-metrics b{display:block;color:var(--green);font-size:30px}.result-metrics span{font-size:12px;color:var(--muted)}.result-metrics>div:nth-child(3) b{color:#aa4d37}.save-notice{background:var(--mint);color:var(--green);font-size:13px;border-radius:13px;padding:12px 15px;margin:15px 0 24px}.save-notice.save-error{background:#fff0dd;color:#8c4326;display:flex;justify-content:space-between;align-items:center;gap:12px}.save-notice .secondary{font-size:13px;padding:7px 12px}.answer-badge{display:inline-flex;align-items:center;border-radius:30px;padding:3px 11px;font-size:11px;white-space:nowrap;font-weight:normal}.answer-badge.good{background:#e3f1e0;color:#216d39}.answer-badge.bad{background:#fce6df;color:#a2392e}.answer-badge.waiting{background:#fff0d6;color:#a06a29}.review-item .answer-badge{float:left;margin-inline-start:10px}.review-item.review-correct{border-inline-start:4px solid #4e9b63}.review-item.review-wrong{border-inline-start:4px solid #c36e4e}.review-item h3{font-size:17px}.review-item p{font-size:18px;line-height:1.9;margin:5px 0}.review-item p.chosen-answer{font-size:14px;color:var(--muted)}.review-item strong{font-size:16px}.records-page{padding:35px 0 55px}.records-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:5px 0 30px}.records-top h1{font-size:43px;letter-spacing:-1px;margin:8px 0}.records-top .intro{font-size:15px;max-width:none}.records-top>.secondary{white-space:nowrap}.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0}.dashboard-stats>div{border:1px solid var(--line);border-radius:19px;background:#fffefa;padding:18px 23px}.dashboard-stats span{display:block;color:var(--muted);font-size:13px}.dashboard-stats b{display:block;font-size:36px;line-height:1.7;color:var(--green)}.record-filters{display:flex;align-items:flex-end;gap:13px;margin:30px 0 20px;flex-wrap:wrap}.record-filters label{font-size:12px;color:var(--muted);min-width:165px}.record-filters label:first-child{flex:1;min-width:220px}.record-filters input,.record-filters select{display:block;width:100%;font-size:15px;color:var(--ink);background:white;border:1px solid #ccd6bf;padding:11px 15px;margin-top:7px;height:50px}.record-filters .secondary{height:50px;font-size:14px}.record-status{width:100%;color:var(--muted);font-size:11px;min-height:19px}.table-scroll{width:100%;overflow:auto;border:1px solid var(--line);border-radius:18px;background:white}.records-table{width:100%;border-collapse:collapse;font-size:14px;text-align:right;min-width:960px}.records-table th{background:#eaf1e2;font-size:12px;padding:14px 16px;white-space:nowrap;color:var(--green);font-weight:normal}.records-table td{padding:16px;border-top:1px solid #e4e8dc;vertical-align:middle}.records-table small{display:block;font-size:11px;color:var(--muted);margin-top:3px;max-width:140px}.records-table .secondary{font-size:12px;padding:7px 12px;white-space:nowrap;border-radius:10px}.table-grade{font-size:20px;white-space:nowrap}.correct-count{font-weight:bold;color:#247640;font-size:20px}.wrong-count{font-weight:bold;color:#ae513a;font-size:20px}.pagination{display:flex;justify-content:center;align-items:center;gap:22px;margin:25px 0}.pagination span{font-size:13px}.pagination .secondary{padding:8px 19px}.pagination button:disabled{opacity:.4}.private-note{font-size:12px;color:var(--muted);text-align:center;margin-top:20px}.empty-state{text-align:center;padding:55px 25px;border:1px dashed #c9d6bc;border-radius:23px;background:#f1f5e9}.empty-state h2{font-size:23px;margin-bottom:8px}.empty-state p{font-size:14px;color:var(--muted)}.attempt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.history-card{border:1px solid var(--line);background:#fffefa;border-radius:21px;padding:22px;text-align:right;transition:transform .15s}.history-card:hover{transform:translateY(-3px);border-color:var(--green)}.history-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.history-top strong{font-size:17px}.history-grade{font-size:42px;color:var(--green);font-weight:bold;margin:15px 0}.history-grade small{font-size:20px;color:var(--muted)}.history-details{display:flex;gap:9px;flex-wrap:wrap;font-size:11px;margin-bottom:13px}.history-details span{background:#edf3e6;padding:3px 8px;border-radius:8px}.history-card>small{display:block;color:var(--muted);font-size:11px}.history-open{display:block;margin-top:18px;font-size:12px;color:var(--green)}
@media(max-width:800px){.entry-page{gap:35px;padding:40px 0 55px}.entry-story h1{font-size:52px}.entry-card{padding:25px}.entry-card h2{font-size:24px}.entry-steps{gap:6px;font-size:11px}.entry-steps span{padding:6px 10px}.attempt-grid{grid-template-columns:repeat(2,1fr)}.result-metrics b{font-size:25px}.records-top h1{font-size:34px}.dashboard-stats{gap:10px}.dashboard-stats>div{padding:15px}.student-bar{flex-wrap:wrap}.student-links{flex-wrap:wrap}}
@media(max-width:570px){.entry-page{grid-template-columns:1fr;gap:30px;padding:28px 0 45px}.entry-story h1{font-size:45px;line-height:1.3}.entry-story h1 br{display:none}.entry-story .intro{font-size:14px}.entry-steps{margin:19px 0;font-size:12px;gap:8px}.entry-rule{font-size:14px;padding:8px 14px}.entry-card{padding:25px 22px;border-radius:23px}.entry-card h2{font-size:25px;margin-bottom:20px}.student-bar{padding:12px 13px;gap:8px}.student-links{width:100%;justify-content:flex-end}.student-links .secondary{font-size:11px;padding:6px 11px}.student-links .subtle{padding:5px}.result-metrics{grid-template-columns:repeat(2,1fr);gap:10px;margin:21px 0}.result-metrics>div{padding:12px 8px}.result-metrics b{font-size:28px}.result-student{font-size:18px}.save-notice{font-size:12px}.save-notice.save-error{flex-direction:column}.records-top{flex-wrap:wrap;margin-bottom:20px}.records-top h1{font-size:32px}.records-top .intro{font-size:13px}.records-page{padding-top:25px}.dashboard-stats{grid-template-columns:repeat(2,1fr)}.dashboard-stats b{font-size:32px}.record-filters{margin-top:23px;gap:10px}.record-filters label:first-child{min-width:100%}.record-filters label{min-width:140px;flex:1}.record-filters .secondary{font-size:12px;padding:9px 13px}.attempt-grid{grid-template-columns:1fr}.history-card{padding:21px}.history-grade{margin:10px 0}.review-item p{font-size:16px}.review-item strong{font-size:14px}.review-item h3{font-size:15px}.review-item .answer-badge{float:none;margin:0 0 10px}}
