@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-wght-normal-CnvboYUG.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-wght-normal-ukD16Tqj.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: transparent;--card: #ffffff;--text: #14121f;--muted: #5a5468;--border: #e2dacb;--field: #8c86a0;--brand: #3b2a7a;--accent: #3b2a7a;--accent-text: #ffffff;--sulfur: #f2c230;--picked: #ece9f7;--track: #e6e3ee;--correct: #0f3d20;--correct-line: #17562e;--correct-bg: #ddf1e4;--wrong: #6e1511;--wrong-line: #8f1d17;--wrong-bg: #fbe3e1;--focus: #3b2a7a;--display: "Fraunces Variable", Georgia, serif;color-scheme:light}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 Inter Variable,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.shell{display:flex;flex-direction:column;gap:8px;padding:8px}.card{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:24px;background:var(--card);border:1px solid var(--border);border-radius:14px}h1{margin:0;font-family:var(--display);font-size:1.625rem;font-weight:500;line-height:1.2}h1.progress{font-family:inherit;font-size:.8125rem;font-weight:500;color:var(--muted)}p{margin:0}.quiz-title{font-weight:600}.description,.hint{color:var(--muted)}.hint{font-size:.875rem}form,[lang]{width:100%}fieldset{margin:0;padding:0;border:0;min-width:0}.prompt{padding:0;font-family:var(--display);font-size:1.375rem;font-weight:500;line-height:1.25;margin-bottom:4px}.choices{display:flex;flex-direction:column;gap:8px;margin:16px 0 0;padding:0;list-style:none}.choice{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-height:48px;padding:10px 14px;border:1.5px solid var(--brand);border-radius:10px;font-weight:500;cursor:pointer}.choice:has(input:disabled){cursor:default}.choice.picked{background:var(--picked);border-width:2px}.choice.correct{background:var(--correct-bg);border-color:var(--correct-line)}.choice.wrong{background:var(--wrong-bg);border-color:var(--wrong-line)}.choice input{width:20px;height:20px;margin:0;accent-color:var(--accent)}.choice:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.choice-text{flex:1}.badges{display:flex;gap:8px;font-size:.875rem;font-weight:600}.badge.correct{color:var(--correct)}.badge.wrong{color:var(--wrong)}.prompt:is(label){display:block}.text-input{width:100%;margin-top:12px;padding:10px 14px;border:1.5px solid var(--field);border-radius:10px;background:transparent;color:var(--text);font:inherit}.text-input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.text-input.correct{background:var(--correct-bg);border-color:var(--correct-line)}.text-input.wrong{background:var(--wrong-bg);border-color:var(--wrong-line)}.answer-key{margin-top:8px}.error{min-height:1.5em;margin-top:8px;color:var(--wrong);font-size:.875rem}.feedback{width:100%;display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-radius:10px}.feedback.correct{border-color:var(--correct-line);background:var(--correct-bg)}.feedback.wrong{border-color:var(--wrong-line);background:var(--wrong-bg)}.feedback-title{font-weight:700}.feedback.correct .feedback-title{color:var(--correct)}.feedback.wrong .feedback-title{color:var(--wrong)}.score{font-family:var(--display);font-size:3.375rem;font-weight:500;line-height:1;color:var(--brand)}.button{min-height:46px;padding:10px 20px;border:1.5px solid var(--brand);border-radius:10px;background:#fff;color:var(--brand);font:inherit;font-weight:600;cursor:pointer}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.button:hover{background:var(--picked)}.button.primary:hover{background:#2c1f5e}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}[tabindex="-1"]:focus{outline:none}.footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 16px;font-size:.75rem}.footer{align-items:center}.footer a{color:var(--muted)}.footer a.powered-by{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#14121f;color:#fff;text-decoration:none;font-weight:500}.footer a.powered-by:focus-visible{outline-color:var(--sulfur)}@media(max-width:480px){.card{padding:16px}}a.button{display:inline-block;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.list{display:flex;flex-direction:column;gap:12px}.list-actions,.list-entry{display:flex;flex-wrap:wrap;gap:8px}.list-entry .text-input{flex:1;min-width:12rem;margin-top:0}.list-status{display:flex;justify-content:space-between;gap:12px;font-weight:600}.timer{font-variant-numeric:tabular-nums}.timer.urgent{color:var(--wrong)}.list-message{min-height:1.5em;color:var(--muted);font-size:.875rem}.list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:6px;margin:0;padding:0;list-style:none}.list-cell{display:flex;flex-direction:column;justify-content:center;min-height:2.75rem;padding:6px 10px;border:1px solid var(--border);border-radius:10px;font-size:.875rem;overflow-wrap:anywhere}.list-cell.correct{background:var(--correct-bg);border-color:var(--correct-line)}.list-cell.missed{background:var(--wrong-bg);border-color:var(--wrong-line);border-style:dashed}.list-hint{color:var(--muted);font-size:.75rem}.truefalse{display:flex;flex-direction:column;gap:12px}.tf-card{display:flex;align-items:center;justify-content:center;min-height:8rem;margin:0;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--card);font-size:1.125rem;text-align:center;overflow-wrap:anywhere;touch-action:pan-y;user-select:none;cursor:grab}.tf-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tf-buttons .button{padding:14px 20px}.tf-false{border-color:var(--wrong-line);color:var(--wrong)}.tf-true{border-color:var(--correct-line);color:var(--correct)}.tf-recap{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.tf-recap-item{padding:10px 12px;border:1px solid var(--border);border-radius:10px}.tf-recap-item p{margin:0}.tf-recap-item.correct{background:var(--correct-bg);border-color:var(--correct-line)}.tf-recap-item.wrong{background:var(--wrong-bg);border-color:var(--wrong-line)}.tf-verdict{font-size:.875rem;font-weight:600}.order{display:flex;flex-direction:column;gap:12px}.order-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.order-item{display:flex;align-items:center;gap:12px;padding:8px 8px 8px 12px;border:1px solid var(--border);border-radius:10px}.order-item.correct{background:var(--correct-bg);border-color:var(--correct-line)}.order-item.wrong{background:var(--wrong-bg);border-color:var(--wrong-line)}.order-rank{min-width:1.5rem;color:var(--muted);font-weight:600;text-align:center}.order-text{flex:1;overflow-wrap:anywhere}.order-detail,.order-verdict{color:var(--muted);font-size:.875rem}.order-verdict{font-weight:600}.order-card{width:100%;min-height:48px;padding:4px 4px 4px 12px;background:var(--card);border:1.5px solid var(--brand);color:var(--text);font:inherit;text-align:left;cursor:grab;user-select:none;-webkit-user-select:none}.order-card[aria-pressed=true]{background:var(--picked);border-width:2px;box-shadow:0 0 0 2px var(--brand)}.order-handle{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--field);font-size:1.25rem;touch-action:none}.order-list li{position:relative}.order-list.sorting li{transition:transform .15s ease-out}.order-list.sorting li.dragging{z-index:1;transition:none}.order-list li.dragging .order-card{box-shadow:0 6px 18px #14121f2e;cursor:grabbing}@media(prefers-reduced-motion:reduce){.order-list.sorting li{transition:none}}.bank{display:flex;align-items:center;min-height:62px;padding:8px;border:1.5px dashed var(--field);border-radius:10px}.bank.over{background:var(--picked)}.bank-empty{margin:0 6px;color:var(--muted);font-size:.875rem}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.chip{display:inline-block;max-width:100%;min-height:44px;padding:10px 14px;border:1.5px solid var(--brand);border-radius:10px;background:var(--card);color:var(--brand);font:inherit;font-weight:500;line-height:1.4;text-align:left;overflow-wrap:anywhere;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.chip[aria-pressed=true]{background:var(--picked);border-width:2px;box-shadow:0 0 0 2px var(--brand)}.chip.dragging{opacity:.4}.chip.placed{min-height:0;padding:5px 10px}.chip-ghost{position:fixed;z-index:10;pointer-events:none;transform:translate(-50%,-50%) rotate(-2deg);box-shadow:0 6px 18px #14121f2e;cursor:grabbing}@media(prefers-reduced-motion:reduce){.chip-ghost{transform:translate(-50%,-50%)}}.match{display:flex;flex-direction:column;gap:12px}.match-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.match-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px 12px;padding:8px 12px;border:1px solid var(--border);border-radius:10px}.match-row.correct{background:var(--correct-bg);border-color:var(--correct-line)}.match-row.wrong{background:var(--wrong-bg);border-color:var(--wrong-line)}.match-left{font-weight:600;overflow-wrap:anywhere}.match-right{overflow-wrap:anywhere}.match-given{color:var(--muted);font-size:.875rem}.match-pair{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;gap:10px}.match-slot{display:flex;align-items:center;width:100%;min-height:46px;padding:4px;border:1.5px dashed var(--field);border-radius:10px;background:var(--card);color:var(--text);font:inherit;text-align:left;cursor:pointer}.match-slot.filled{border-style:solid}.match-slot[aria-pressed=true],.match-slot.over{background:var(--picked);border:2px solid var(--brand)}.match-placeholder{padding:6px 10px;color:var(--muted);font-size:.875rem}@media(max-width:300px){.match-pair{grid-template-columns:1fr;gap:4px}}@media(max-width:420px){.match-row{grid-template-columns:1fr}}.cloze{display:flex;flex-direction:column;gap:12px}.cloze-text{margin:0;white-space:pre-wrap;line-height:2.4}.cloze-field{max-width:100%;min-height:36px;margin:0 2px;padding:2px 8px;border:1.5px solid var(--field);border-radius:10px;background:var(--card);color:var(--text);font:inherit;line-height:1.5;vertical-align:baseline}.cloze-field[aria-invalid=true]{border-color:var(--wrong-line)}.cloze-slot{display:inline-flex;align-items:center;justify-content:center;min-width:5rem;min-height:40px;margin:0 2px;padding:2px;border:1.5px dashed var(--field);border-radius:10px;background:var(--card);color:var(--text);font:inherit;line-height:1.5;vertical-align:middle;cursor:pointer}.cloze-slot.filled{min-width:0;border-style:solid}.cloze-slot[aria-pressed=true],.cloze-slot.over{background:var(--picked);border:2px solid var(--brand)}.cloze-slot[aria-invalid=true]{border-color:var(--wrong-line)}.cloze-placeholder{color:var(--muted)}.cloze-answer{padding:2px 6px;border:1px solid;border-radius:10px;font-weight:600}.cloze-answer.correct{background:var(--correct-bg);border-color:var(--correct-line)}.cloze-answer.wrong{background:var(--wrong-bg);border-color:var(--wrong-line)}.cloze-given{color:var(--muted);font-weight:400}.rules{margin:0;padding-left:1.25em;color:var(--muted)}.game-status{display:flex;justify-content:space-between;gap:12px;font-weight:600}.end-reason,.verdict{font-weight:700}.verdict.correct{color:var(--correct)}.verdict.wrong{color:var(--wrong)}.recap{width:100%;display:flex;flex-direction:column;gap:8px}.recap h2{margin:0;font-size:1.125rem}.recap ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}.recap-item{display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-left:4px solid;border-radius:4px}.recap-item.correct{border-color:var(--correct-line);background:var(--correct-bg)}.recap-item.wrong{border-color:var(--wrong-line);background:var(--wrong-bg)}.recap-prompt{font-weight:600}.recap-item.correct .recap-status{color:var(--correct)}.recap-item.wrong .recap-status{color:var(--wrong)}
