:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--primary-color: #4a90e2;--accent-color: #f5a623;--bg-color: #f0f4f8;--text-color: #222;--correct-color: #28a745;--incorrect-color: #dc3545;--neutral-color: #adb5bd;--button-bg: #4a90e2;--button-hover: #3f7ecb;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:16px}body{margin:0;background:var(--bg-color);color:var(--text-color);display:flex;min-height:100vh;align-items:center;justify-content:center;padding:1rem;transition:background .4s ease}.container{background:#fff;padding:2.5rem 2rem;max-width:700px;width:100%;border-radius:14px;box-shadow:0 12px 36px #0000001f;display:flex;flex-direction:column;transition:box-shadow .3s ease}.container:hover{box-shadow:0 14px 48px #0000002e}h1{text-align:center;margin-bottom:1.2rem;font-weight:800;font-size:2.75rem;color:var(--primary-color);letter-spacing:.05em;-webkit-user-select:none;user-select:none}#test-text{font-size:1.15rem;line-height:1.85;border:1.5px solid var(--neutral-color);padding:1.2rem 1.4rem;border-radius:10px;margin-bottom:1.8rem;-webkit-user-select:none;user-select:none;white-space:pre-wrap;word-break:break-word;min-height:140px;background:#fffefe;box-shadow:inset 0 0 10px #00000008;transition:border-color .3s ease}#test-text .correct{color:var(--correct-color);font-weight:600}#test-text .incorrect{color:var(--incorrect-color);text-decoration:underline wavy;font-weight:600}textarea{width:100%;min-height:100px;font-size:1.15rem;padding:1.25rem 1.5rem;border-radius:10px;border:2px solid var(--neutral-color);resize:none;outline-offset:3px;outline-color:var(--primary-color);margin-bottom:1.8rem;transition:border-color .3s ease;box-shadow:inset 0 0 7px #00000012;font-family:monospace;font-weight:500;letter-spacing:.02em;color:var(--text-color)}textarea:disabled{background:#fefefe;cursor:not-allowed;color:#555}.stats{display:flex;justify-content:space-around;font-weight:700;font-size:1.15rem;color:var(--primary-color);margin-bottom:2rem;-webkit-user-select:none;user-select:none}.settings{margin-bottom:1.8rem;font-weight:600;color:var(--text-color);display:flex;align-items:center;gap:1rem;font-size:1.1rem;justify-content:center;-webkit-user-select:none;user-select:none}select{padding:.35rem .6rem;border-radius:6px;border:1.8px solid var(--neutral-color);font-size:1.1rem;outline-offset:2px;transition:border-color .3s ease;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:140px;font-weight:600;color:var(--text-color);background:#fff}select:focus{border-color:var(--primary-color)}button{padding:.85rem 2.2rem;background:var(--button-bg);border:none;color:#fff;border-radius:10px;font-size:1.1rem;font-weight:700;cursor:pointer;align-self:center;transition:background-color .35s ease;-webkit-user-select:none;user-select:none;box-shadow:0 4px 10px #4a90e299;letter-spacing:.06em;text-transform:uppercase}button:hover:not(:disabled){background:var(--button-hover);box-shadow:0 6px 15px #f5a623e6}button:disabled{background:#bbb;cursor:not-allowed;box-shadow:none}.level-beginner{--button-bg: #28a745;--button-hover: #218838;--primary-color: #155724;background:#e6f5ea}.level-medium{--button-bg: #f5a623;--button-hover: #d48806;--primary-color: #874d00;background:#fff7e6}.level-expert{--button-bg: #dc3545;--button-hover: #a71d2a;--primary-color: #6f1d24;background:#fbe9ea}@media (max-width: 480px){.container{padding:1.25rem 1rem}#test-text{font-size:1rem;min-height:120px}textarea{font-size:1rem;min-height:80px}.stats{flex-direction:column;gap:.6rem}.settings{flex-direction:column;gap:.5rem}button{width:100%;font-size:1.2rem}}
