: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: hsl(204, 85%, 64%);--primary-hover: hsl(204, 85%, 54%);--secondary-color: hsl(204, 85%, 97%);--success-color: hsl(142, 76%, 36%);--success-hover: hsl(142, 76%, 46%);--text-color: hsl(217, 33%, 17%);--border-radius: 12px;--shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06)}@media (max-width: 480px){.header-controls{padding:.15rem 1rem;height:48px}.header-controls .timer{font-size:.95rem;padding:.25rem .6rem}.header-buttons{gap:.4rem}.question-container{width:calc(100% - 10px);max-width:calc(100% - 10px);margin-left:10px;margin-right:10px;padding:1rem}}*{margin:0;padding:0;box-sizing:border-box;font-family:Inter,system-ui,sans-serif}body{background:linear-gradient(180deg,#041024,#071018);min-height:100vh;margin:0;padding:0;overflow-x:hidden;color:#e6eef6}.container{width:100%;min-height:100vh;padding:1rem;max-width:1200px;margin:0 auto;padding-top:40px;padding-bottom:20px;display:flex;flex-direction:column}.main-container{width:100%;max-width:1400px;margin:0 auto;min-height:calc(100vh - 140px);padding:2rem 2rem 3rem;position:relative;background:transparent;clip-path:none;overflow:visible}.header{background:var(--secondary-color);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(0,0,0,.1);position:sticky;top:0;z-index:10}.header-controls{position:fixed;top:0;left:0;right:0;background:transparent;color:#fff;padding:.1rem 1.2rem;display:flex;justify-content:space-between;align-items:center;z-index:300}.header-buttons{display:flex;gap:.5rem;align-items:center}.timer{font-size:1.15rem;font-weight:700;color:#0b4a8b;background:#e6f4ff;padding:.5rem 1rem;border-radius:14px;box-shadow:0 4px 14px #0b4a8b14}.finish-button-header{padding:.5rem 1.25rem;background:var(--success-color);color:#fff;border:none;border-radius:999px;cursor:pointer;font-size:1rem;font-weight:700;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 6px 18px #10b9812e}.finish-button-header:hover{transform:translateY(-2px);background:var(--success-hover)}.exit-button{padding:.5rem 1.25rem;background:#ef4444;color:#fff;border:none;border-radius:999px;cursor:pointer;font-size:1rem;font-weight:700;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 6px 18px #ef444424}.exit-button:hover{transform:translateY(-2px)}.main-content{display:grid;grid-template-columns:120px 1fr;gap:2rem;height:calc(100vh - 150px);position:relative;padding-right:3rem}.question-navigation{position:sticky;top:64px;display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;gap:.4rem;padding:.5rem .6rem;margin:.6rem auto 1rem;background:#fff;border-radius:999px;box-shadow:var(--shadow);max-width:calc(100% - 4rem);justify-content:flex-start;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:thin;z-index:350}.question-navigation::-webkit-scrollbar{display:none}.question-navigation:active{cursor:grabbing}.question-number{width:28px;height:28px;min-width:28px;max-width:28px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;margin:0 4px;border:none;background:#f1f5f9;color:#374151;cursor:pointer;font-weight:600;font-size:.8rem;aspect-ratio:1/1;padding:0;line-height:1;transition:transform .12s ease,box-shadow .12s ease}.question-number.current{background:var(--primary-color);color:#fff;transform:scale(1.1)}.question-number.answered{background:var(--success-color);color:#fff}.question-number.incorrect{background:#ef4444;color:#fff}.question-container{width:100%;max-width:1500px;margin:0 auto 1rem;background:#fff;border-radius:14px;box-shadow:0 12px 40px #02061714;height:calc(100vh - 180px);max-height:calc(100vh - 180px);overflow:hidden}.question{margin-bottom:1rem;max-width:100%;animation:fadeIn .3s ease-in;position:relative}.question h3{color:var(--primary-color);font-size:1.25rem;margin-bottom:1rem;font-weight:600}.question p{font-size:1.1rem;line-height:1.6;color:var(--text-color);margin-bottom:1.5rem;word-wrap:break-word;max-height:none;overflow:visible}.question-image{width:100%;max-width:600px;margin:1rem auto;border-radius:var(--border-radius);overflow:hidden;background:#f1f5f9;animation:fadeIn .3s ease-in;position:relative;max-width:100%;margin:20px 0;display:flex;justify-content:center}.question-image img{width:100%;height:auto;max-width:100%;max-height:280px;object-fit:contain;display:block;border-radius:8px;box-shadow:0 2px 4px #0000001a}@media (max-width: 600px){.question-image img{max-height:180px}}@media (min-width: 900px){.question-image img,.qa-right .question-image img{max-height:520px!important}}.question-card{width:calc(100% - 2rem);max-width:none;margin:.5rem auto 1.5rem;background:#fff;border:1px solid rgba(0,0,0,.04);padding:1.25rem 1.5rem;box-shadow:0 12px 36px #0000000f;border-radius:12px;height:100%;display:flex;flex-direction:column;overflow:hidden}.qa-grid{display:grid;grid-template-columns:1fr 540px;grid-template-rows:auto 1fr auto;gap:2rem;align-items:start;height:100%}.qa-left{padding:1rem;background:#fff;border-radius:8px;color:var(--text-color);min-height:0;display:flex;flex-direction:column;overflow-y:auto;padding-right:8px;-webkit-overflow-scrolling:touch}.qa-left .choices{margin-top:.5rem;max-height:calc(100vh - 120px);overflow-y:auto;padding-right:8px;-webkit-overflow-scrolling:touch}.choice{word-break:break-word;white-space:normal}.q-top{grid-column:1 / 2;grid-row:1 / 2;flex:0 0 auto}.qa-right{grid-column:2 / 3;grid-row:1 / 3}@media (min-width: 1100px) and (max-width: 1600px){.qa-grid{grid-template-columns:1fr 480px}.qa-right .question-image img{max-height:560px}}@media (min-width: 1400px){.qa-grid{grid-template-columns:1fr 520px}}@media (max-width: 1280px){.qa-grid{grid-template-columns:1fr 420px}.qa-right .question-image img{max-height:500px}.qa-left{max-height:calc(100vh - 260px);overflow-y:auto;padding-right:10px}}@media (min-width: 1024px){.question-container{height:calc(100vh - 180px);max-height:calc(100vh - 180px)}.qa-left,.qa-right{max-height:calc(100vh - 260px);overflow-y:auto}}.q-bottom{grid-column:1 / 2;grid-row:2 / 3;flex:1 1 auto;max-height:calc(100vh - 260px);overflow-y:auto;padding-right:8px}.qa-right{display:flex;align-items:flex-start;justify-content:flex-start;padding-top:.5rem;overflow:visible}.question-header h3{color:#00f;font-weight:700}.question-header h3{margin-bottom:.75rem}.question-text p{margin:0 0 .9rem;font-size:1.12rem;color:var(--text-color);font-weight:600;line-height:1.35}.qa-right .question-image{width:100%;max-width:540px;border-radius:6px;overflow:hidden;background:transparent;padding:0;display:flex;align-items:center;justify-content:center}.qa-right .question-image img{width:100%;height:auto;max-height:calc(100vh - 240px);object-fit:contain;display:block}.qa-left .choices{margin-top:.5rem}.qa-left .choice{background:#fff;border:1px solid rgba(0,0,0,.06);color:var(--text-color)}.qa-left .choice:hover:not(:disabled){background:#ffffff17;border-color:#ffffff1f}.qa-left .choice.correct{background:#16a34a;border-color:#16a34a}.qa-left .choice.incorrect{background:#ef4444}.main-container{width:100%;padding:2rem 2rem 3rem}@media (max-width: 900px){.qa-grid{display:block;grid-template-columns:1fr;gap:1rem}.question-card{padding:0rem;border-radius:10px;box-shadow:0 8px 22px #0000000f;background:#fff}.qa-left{order:1;padding:1rem;background:#fff;border-radius:8px;min-height:auto;max-height:none;overflow:visible}.qa-right{order:2;margin-top:.75rem}.qa-right .question-image{width:100%;max-width:100%;margin:.5rem 0 1rem;padding:0;transform:none;border-radius:8px;overflow:hidden}.qa-right .question-image img{width:100%;height:auto;max-height:360px;object-fit:contain;display:block}.qa-left .choices{display:flex;flex-direction:column;gap:.75rem;max-height:calc(100vh - 420px);overflow-y:auto;padding-right:6px}.qa-left .choice{width:100%;padding:1rem;font-size:1rem;border-radius:10px}.question-navigation{position:sticky;top:56px;margin:.4rem auto .6rem;padding:.4rem .6rem;max-width:calc(100% - 2rem);z-index:360}.question-card{box-shadow:0 8px 22px #0000000f}.footer{right:1rem;bottom:1rem}.mobile-finish-button{width:calc(100% - 40px);max-width:520px;background:var(--success-color);color:#fff;padding:14px 18px;border-radius:12px;font-weight:700;border:none;box-shadow:0 8px 20px #0000001f}.question-navigation{position:sticky;top:56px;display:flex;align-items:center;gap:6px;padding:6px 8px;margin:6px auto 8px;background:#fff;border-radius:18px;box-shadow:0 6px 18px #0000000d;width:calc(100% - 24px);flex-wrap:nowrap;max-height:64px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;z-index:400}.question-navigation::-webkit-scrollbar{height:6px}.question-navigation::-webkit-scrollbar-thumb{background:#0000000f;border-radius:10px}.question-number{width:28px;height:28px;min-width:28px;margin:4px;border-radius:50%;background:#f1f5f9;color:var(--text-color);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.8rem;box-shadow:0 1px 3px #0000000d}.nav-fade-left,.nav-fade-right{display:none}.question-number.current{background:#fff;color:var(--primary-color);box-shadow:0 2px 8px #0ea5e91f;border:2px solid var(--primary-color)}.question-number.answered{background:var(--success-color);color:#fff;border:none}.question-number.incorrect{background:#ef4444;color:#fff}.question-container{margin-top:6px}.mobile-finish-wrapper{display:none!important}}@media (max-width: 900px){.question-navigation{position:sticky;top:56px;margin:6px 12px 4px;padding:4px 8px;border-radius:10px;box-shadow:0 4px 12px #0000000a;background:#fff;z-index:30;display:flex;gap:6px;flex-wrap:nowrap;max-height:38px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;white-space:nowrap;scroll-snap-type:x mandatory;align-items:center;justify-content:flex-start}.question-navigation::-webkit-scrollbar{height:6px}.question-navigation::-webkit-scrollbar-thumb{background:#0000000f;border-radius:10px}.question-number{width:20px!important;height:20px!important;min-width:20px!important;font-size:.65rem!important;margin:0 6px!important;scroll-snap-align:center;display:inline-flex;align-items:center;justify-content:center}.question-container{margin-top:46px}.question-header h3{color:var(--primary-color);font-weight:700;opacity:1}.nav-fade-left,.nav-fade-right{display:none!important}}@media (min-width: 1100px){.qa-grid{grid-template-columns:1fr 620px}.qa-right .question-image{max-width:620px}.qa-right .question-image img{max-height:520px}}@media (min-width: 1024px){.question-container{height:calc(100vh - 140px);max-height:calc(100vh - 140px)}}@media (max-width: 600px){.question-navigation{flex-wrap:wrap;flex-direction:row;justify-content:center;align-items:center;margin:0 0 1rem;max-height:none;overflow-x:auto;overflow-y:visible;background:none;border-bottom:1px solid #e2e8f0;padding:.5rem 0}}@media (max-width: 768px){.question-navigation{width:calc(100% - 1rem);margin:.5rem;padding:.5rem;justify-content:flex-start;gap:.35rem}}@media (max-width: 768px){.question-navigation{gap:.25rem}}@media (max-width: 1024px){.question-navigation{flex-direction:row;flex-wrap:wrap;justify-content:center;height:auto}}@media (max-width: 1024px){.question-navigation{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;gap:.5rem;padding:.75rem;margin:.5rem auto;background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);max-width:100%;justify-content:flex-start;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none}}.choices{display:flex;flex-direction:column;gap:.75rem;overflow-y:auto;padding-right:6px}.choice{width:100%;padding:1rem 1.25rem;border:2px solid #e5e7eb;border-radius:var(--border-radius);background:#fff;color:#374151;cursor:pointer;font-size:1rem;text-align:left;transition:all .2s ease;position:relative;display:flex;align-items:center;gap:1rem}.choice:disabled{cursor:not-allowed;opacity:.8}.choice:before{content:"";flex-shrink:0;width:24px;height:24px;border:2px solid #e5e7eb;border-radius:50%;transition:all .2s ease;display:flex;align-items:center;justify-content:center;box-sizing:border-box;font-family:Arial,sans-serif}.choice.correct{background:var(--success-color);color:#fff;border-color:var(--success-color)}.choice.correct:before{content:"✓";background:#fff;color:var(--success-color);border-color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;line-height:24px}.choice.incorrect{background:#ef4444;color:#fff;border-color:#ef4444}.choice.incorrect:before{content:"✕";background:#fff;color:#ef4444;border-color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;line-height:24px}.choice:hover:not(:disabled){border-color:var(--primary-color);background:var(--secondary-color)}.choice.selected{border-color:var(--primary-color);background:var(--secondary-color)}.choice.selected:before{background:var(--success-color);border-color:var(--success-color);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");background-size:16px;background-repeat:no-repeat;background-position:center}.footer{position:fixed;bottom:2rem;right:2rem;z-index:1000}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#fff;padding:2rem;border-radius:12px;max-width:400px;width:90%;text-align:center;box-shadow:0 4px 20px #0003;animation:modalFadeIn .3s ease-out}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-icon{margin-bottom:1rem;color:#e74c3c}.modal-content h3{color:#245586;margin-bottom:1rem;font-size:1.5rem}.modal-content p{color:#666;margin-bottom:1.5rem;line-height:1.5}.modal-buttons{display:flex;gap:1rem;justify-content:center}.modal-button{padding:.8rem 1.5rem;border-radius:8px;font-weight:600;transition:all .2s ease;min-width:120px}.modal-button.confirm{background-color:#e74c3c;color:#fff;border:none}.modal-button.confirm:hover{background-color:#c0392b}.modal-button.cancel{background-color:#ecf0f1;color:#2c3e50;border:1px solid #bdc3c7}.modal-button.cancel:hover{background-color:#bdc3c7}.finish-modal{max-width:500px;width:95%;text-align:center}.finish-icon{color:var(--success-color);margin-bottom:1.5rem;animation:iconPulse 2s ease-in-out infinite}@keyframes iconPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.finish-stats{display:flex;justify-content:space-around;margin:2rem 0;padding:1.5rem;background:var(--secondary-color);border-radius:var(--border-radius);gap:1rem}.stat-item{display:flex;flex-direction:column;align-items:center;flex:1}.stat-number{font-size:2rem;font-weight:700;color:var(--primary-color);line-height:1;margin-bottom:.5rem}.stat-label{font-size:.9rem;color:var(--text-color);font-weight:500}.warning-text{color:#f59e0b;background:#fef3c7;padding:1rem;border-radius:var(--border-radius);border-left:4px solid #f59e0b;margin:1.5rem 0;font-weight:500}.success-text{color:var(--success-color);background:#f0fdf4;padding:1rem;border-radius:var(--border-radius);border-left:4px solid var(--success-color);margin:1.5rem 0;font-weight:500}.modal-button.finish{background-color:var(--success-color);color:#fff;border:none}.modal-button.finish:hover{background-color:var(--success-hover);transform:translateY(-2px);box-shadow:0 4px 12px #22c55e4d}.finish-modal{animation:modalSlideIn .4s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.finish-stats{animation:statsFadeIn .6s ease-out .2s both}@keyframes statsFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.stat-item{transition:transform .2s ease}.stat-item:hover{transform:translateY(-2px)}body{display:flex;justify-content:center;align-items:center;flex-direction:column;min-height:100vh;margin:0;background:#f2f2f2;font-family:sans-serif}.welcome-screen{max-width:300px;width:100%;margin:0 auto;padding:2rem;background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.welcome-screen h1{font-size:1.8rem;color:var(--primary-color);margin-bottom:1.5rem;font-weight:600}.test-info{background:var(--secondary-color);border-radius:var(--border-radius);padding:1.5rem;margin-bottom:1.5rem;text-align:center}.test-info h2{color:var(--text-color);font-size:1.2rem;margin-bottom:1.2rem;font-weight:500}.test-info ul{list-style:none;display:flex;flex-direction:column;gap:.8rem;padding:0;margin:0}.test-info li{background:#fff;padding:.8rem;border-radius:8px;display:flex;align-items:center;gap:.5rem;font-size:.95rem;color:var(--text-color);box-shadow:0 2px 4px #0000000d}.test-info li:before{content:"✓";color:var(--success-color);font-weight:700;font-size:1rem}.test-type-buttons{display:flex;flex-direction:column;gap:.8rem}.test-type-button{background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;padding:.6rem 1rem;border-radius:10px;font-size:.95rem;font-weight:600;border:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease;box-shadow:0 6px 18px #6366f12e;text-decoration:none;display:inline-block;margin:.25rem}.test-type-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #02603766;background:linear-gradient(135deg,#00a884,#009874)}.test-type-button.home-button{background:var(--primary-color)}.test-type-button.practice{border-bottom:4px solid #4299e1}.test-type-button.final{border-bottom:4px solid #4dc27e}.results-screen{max-width:1200px;width:95%;margin:.5rem auto;padding:.8rem;background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow);text-align:center;display:flex;justify-content:center;align-items:flex-start;min-height:auto}.results-content{width:100%;max-width:800px;display:flex;flex-direction:column;align-items:center;gap:.5rem;padding-top:.5rem}.results-header{margin-bottom:.5rem;text-align:center;width:100%}.results-header h2{font-size:1.5rem;color:var(--primary-color);font-weight:700;margin-bottom:.5rem}.results-progress{width:120px;height:120px;margin:0 auto 1rem;position:relative;background:#fff;border-radius:50%;box-shadow:var(--shadow);padding:.5rem}.progress-circle{width:100%;height:100%;border-radius:50%;background:conic-gradient(var(--success-color) var(--progress),hsl(204,85%,90%) var(--progress));display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 10px #0000001a}.progress-inner{width:80%;height:80%;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:var(--shadow)}.progress-value{font-size:2.5rem;font-weight:700;color:var(--success-color);line-height:1;margin-bottom:.3rem}.progress-label{font-size:1rem;color:var(--text-color);font-weight:500}.results-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:1.5rem 0;width:100%;justify-content:center}.stat-card{background:var(--secondary-color);padding:1.5rem;border-radius:var(--border-radius);text-align:center;transition:all .3s ease;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:120px}.stat-card:hover{transform:translateY(-5px);box-shadow:0 8px 25px #00000026}.stat-value{font-size:2rem;font-weight:700;color:var(--primary-color);margin-bottom:.5rem;line-height:1.2;display:flex;flex-direction:column;align-items:center;gap:.3rem}.stat-value.time{font-size:2rem}.stat-value.time span{font-size:1.5rem;color:var(--text-color);opacity:.8}.stat-label{color:var(--text-color);font-size:1rem;font-weight:500;text-align:center}.results-buttons{display:flex;gap:1rem;justify-content:center;margin-top:1.5rem;width:100%}.result-button{padding:1rem 2rem;border:none;border-radius:var(--border-radius);font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:180px;text-decoration:none;text-align:center;display:inline-block}.result-button.primary{background:var(--success-color);color:#fff}.result-button.primary:hover{background:var(--success-hover);transform:translateY(-2px)}.result-button.secondary{background:var(--primary-color);color:#fff}.result-button.secondary:hover{background:var(--primary-hover);transform:translateY(-2px)}.result-button.home{background:var(--primary-color);color:#fff}.result-button.home:hover{background:var(--primary-hover);transform:translateY(-2px)}.restart-button{background:var(--primary-color);color:#fff}.restart-button:hover{background:var(--primary-hover);transform:translateY(-2px)}.back-button{background:var(--secondary-color);color:var(--text-color);border:1px solid #e2e8f0}.back-button:hover{background:#e2e8f0;transform:translateY(-2px)}@media (min-width: 1025px){.results-screen{max-width:900px;padding:1.5rem}.results-progress{width:180px;height:180px}.progress-value{font-size:2.2rem}.stat-card{padding:1.2rem;min-height:100px}.stat-value{font-size:1.8rem}}@media (max-width: 1024px){.container{padding:1rem}.main-content{grid-template-columns:1fr}.question-navigation{flex-direction:row;flex-wrap:wrap;justify-content:center;height:auto}}@media (max-width: 768px){.header{flex-direction:column;gap:1rem}.welcome-screen{width:90%;max-width:280px;padding:1.5rem}.test-info{padding:1.2rem}.test-info li{padding:.7rem;font-size:.9rem}.test-type-buttons{flex-direction:column}.question-container{padding:1rem;margin:.5rem 0}.header-controls{padding:.75rem;margin-bottom:.5rem}.header-buttons{gap:.5rem}.finish-button-header{padding:.4rem .8rem;font-size:.9rem}.timer{font-size:1rem}.question h3{font-size:1.1rem}.question p{font-size:1rem}.choice{padding:.875rem 1rem;font-size:1rem}.results-screen{width:100%;padding:1.5rem;margin:.5rem auto;height:100%}.results-progress{width:200px;height:200px}.progress-value{font-size:2.5rem}.results-stats{display:none}.results-buttons{flex-direction:column;gap:1rem;width:100%;padding:0 1rem}.result-button{width:100%;padding:1rem;font-size:1.1rem;margin:0}.error-message{bottom:90px;width:90%;text-align:center}.modal-content{padding:1rem;border-radius:10px;max-width:90vw}.modal-buttons button{padding:.7rem;font-size:.95rem;border-radius:8px}.finish-stats{flex-direction:column;gap:.5rem;margin:1rem 0;padding:1rem}.stat-item{flex-direction:row;justify-content:space-between;align-items:center;padding:.5rem;background:#fff;border-radius:8px}.stat-number{font-size:1.5rem;margin-bottom:0}.stat-label{font-size:.85rem}.question-navigation{width:calc(100% - 1rem);margin:.5rem;padding:.5rem;justify-content:flex-start;gap:.35rem}.question-number{width:28px;height:28px;min-width:28px;font-size:.85rem}.test-type-button{width:100%;padding:15px;font-size:1.1rem}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.question-card,.welcome-screen,.result-info{animation:fadeIn .5s ease-out}.test-type-selection{margin:2rem 0;text-align:center}.answers-review{margin-top:2rem;text-align:left}.review-question{background:#f7fafc;padding:20px;border-radius:10px;margin:15px 0}.review-question h4{color:#2d3748;margin-bottom:15px}.review-options{display:flex;flex-direction:column;gap:10px}.review-option{padding:10px;border-radius:8px;background:#000}.review-option.correct{background:#f0fff4;border:1px solid #48bb78}.review-option.selected{background:#000;border:1px solid #4299e1}@media (max-width: 768px){.test-type-buttons{flex-direction:column;align-items:center}.questions-grid{flex-direction:column}.questions-list{grid-template-columns:repeat(5,1fr)}.question-number{width:35px;height:35px;font-size:.9rem}}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;width:200vh;min-height:100vh;font-size:1.5rem;color:var(--primary-color);background:linear-gradient(135deg,#dbeafe,#bfdbfe);padding:2rem;border:1px solid #93c5fd;border-radius:24px;box-shadow:0 4px 12px #0000001a;margin:2rem}.spinner{width:60px;height:60px;border:6px solid #f3f3f3;border-top:6px solid #3498db;border-radius:50%;animation:spin 1s ease-in-out infinite;margin-bottom:20px;box-shadow:0 4px 12px #0003}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error{text-align:center;color:#e53e3e;padding:20px}.error button{margin-top:20px;padding:10px 20px;background:#55b3f1;color:#fff;border:none;border-radius:5px;cursor:pointer}.image-section{position:static;width:100%;height:auto;min-height:200px;margin:.5rem 0 1rem;padding:.5rem;border-radius:10px;box-shadow:var(--shadow);background:#fff;display:flex;align-items:center;justify-content:center}.image-container{width:100%;height:auto;min-height:200px;border-radius:10px;background:var(--secondary-color);display:flex;align-items:center;justify-content:center;overflow:hidden}.question-image{width:100%;height:auto;object-fit:contain;max-height:none}.image-placeholder{color:#94a3b8;font-size:1.1rem;text-align:center;padding:2rem}@media (max-width: 600px){.container{padding:.5rem;padding-top:60px}.image-section{position:static;width:100%;height:auto;margin:.5rem 0 1rem;padding:.5rem;border-radius:10px;box-shadow:var(--shadow);background:#fff;display:flex;align-items:center;justify-content:center}.image-container{width:100%;height:auto;border-radius:10px;background:var(--secondary-color);display:flex;align-items:center;justify-content:center;overflow:hidden}.question-image{width:100%;height:auto;object-fit:contain}.image-placeholder{font-size:.9rem;padding:1rem;text-align:center}.main-container{width:100%;min-height:80vh;margin:0;padding:.5rem;border-radius:10px;box-shadow:var(--shadow);clip-path:none}.main-content{display:block;padding:0;gap:0;height:auto}.question-navigation{flex-wrap:wrap;flex-direction:row;justify-content:center;align-items:center;margin:0 0 1rem;max-height:none;overflow-x:auto;overflow-y:visible;background:none;border-bottom:1px solid #e2e8f0;padding:.5rem 0}.question-number{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;aspect-ratio:1}.question-container{padding:1rem;margin:.5rem 0;border-radius:10px}.question h3{font-size:1rem;margin-bottom:.5rem}.question p{font-size:.95rem;margin-bottom:1rem}.choices{gap:.5rem;margin-top:1rem;padding-bottom:1rem}.choice{font-size:.95rem;padding:.7rem .5rem;border-radius:8px}.choice.selected:before{font-size:1rem;margin-right:.3rem}.header-controls{padding:.5rem 1rem}.timer{font-size:.95rem;padding:.5rem 1rem}.exit-button{padding:.5rem 1rem;font-size:.95rem}.results-screen{padding:1rem;margin:.5rem;border-radius:10px}.results-header h2{font-size:1.1rem;margin-bottom:1rem}.results-stats{grid-template-columns:1fr;gap:.5rem;margin:1rem 0}.stat-card{padding:.7rem;border-radius:8px}.stat-value{font-size:1.1rem}.stat-label{font-size:.85rem}.results-details h3{font-size:1rem;margin-bottom:1rem}.results-list{gap:.5rem;max-height:180px;padding-right:.5rem}.result-item{padding:.7rem;border-radius:8px;font-size:.9rem}.result-number{width:28px;height:28px;font-size:.9rem}.results-buttons{gap:.5rem;margin-top:1rem}.result-button{padding:.7rem 1rem;font-size:.95rem;border-radius:8px}.modal-content{padding:1rem;border-radius:10px;max-width:90vw}.modal-buttons button{padding:.7rem;font-size:.95rem;border-radius:8px}}.question-navigation::-webkit-scrollbar{height:4px}.question-navigation::-webkit-scrollbar-track{background:transparent;margin:0 .5rem}.question-navigation::-webkit-scrollbar-thumb{background-color:var(--primary-color);border-radius:10px}@supports (scrollbar-width: thin){.question-navigation{scrollbar-width:thin;scrollbar-color:var(--primary-color) transparent}}@media (max-width: 480px){.question-navigation{margin:.25rem 0;padding:.5rem;gap:.35rem}.question-number{width:28px;height:28px;min-width:28px;font-size:.85rem;border-width:1.5px}.header-controls{padding:.5rem}.timer{font-size:.9rem;padding:.4rem .8rem}.exit-button{padding:.4rem .8rem;font-size:.9rem}}.fail-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;padding:2rem;border-radius:var(--border-radius);box-shadow:var(--shadow);z-index:1100;text-align:center;max-width:90%;width:400px}.fail-modal h3{color:#dc2626;margin-bottom:1rem}.fail-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:1000}.fail-modal button{margin-top:1rem;padding:.75rem 1.5rem;background:#dc2626;color:#fff;border:none;border-radius:var(--border-radius);cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s ease}.fail-modal button:hover{background:#b91c1c}.error-message{position:fixed;bottom:80px;left:50%;transform:translate(-50%);background:#dc2626;color:#fff;padding:.75rem 1.5rem;border-radius:var(--border-radius);font-weight:500;animation:slideUp .3s ease-out;z-index:100;opacity:1;transition:opacity .3s ease}@keyframes slideUp{0%{transform:translate(-50%,100%);opacity:0}to{transform:translate(-50%);opacity:1}}.topic-selection{max-width:600px;margin:0 auto;padding:2rem;text-align:center;background:#fff;border-radius:var(--border-radius);box-shadow:var(--shadow)}.topic-selection h2{color:var(--primary-color);margin-bottom:2rem;font-size:1.8rem;font-weight:600}.topic-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.topic-button{padding:1.5rem 2rem;background:var(--primary-color);color:#fff;border:none;border-radius:var(--border-radius);font-size:1.1rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-align:left}.topic-button:hover{background:var(--primary-hover);transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.topic-button:active{transform:translateY(0)}.back-button{padding:.75rem 1.5rem;background:#6b7280;color:#fff;border:none;border-radius:var(--border-radius);font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease}.back-button:hover{background:#4b5563}.topic-info{margin:1rem 0;padding:.8rem;background:#f3f4f6;border-radius:var(--border-radius);border-left:4px solid var(--primary-color)}.topic-info h3{margin:0;color:var(--primary-color);font-size:1.1rem;font-weight:600}@media (max-width: 768px){.topic-selection{padding:1.5rem;margin:1rem}.topic-selection h2{font-size:1.5rem}.topic-button{padding:1.25rem 1.5rem;font-size:1rem}}@media (min-width: 1024px){.topic-selection{max-width:1100px;margin:0 auto}.topic-list{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}}.language-selector{display:flex;gap:.5rem;justify-content:center;margin-bottom:.5rem}.language-selector .lang-button{padding:.35rem .6rem;font-size:.85rem;border-radius:8px;border:1px solid rgba(15,23,42,.06);background:#fff;color:#1f2937;cursor:pointer;box-shadow:0 2px 8px #0206170a;transition:all .18s ease}.language-selector .lang-button.active{background:linear-gradient(90deg,#7c3aed,#6d28d9);color:#fff;border:none;box-shadow:0 6px 14px #7c3aed2e}@media (max-width: 900px){.q-bottom{max-height:calc(100vh - 240px);overflow-y:auto;-webkit-overflow-scrolling:touch}.qa-left .choices{max-height:calc(100vh - 320px);overflow-y:auto;-webkit-overflow-scrolling:touch;padding-right:6px}.question-navigation{gap:.25rem!important;padding:.35rem .4rem!important;max-height:64px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.question-number{width:26px!important;height:26px!important;min-width:26px!important;margin:0 3px!important;font-size:.78rem!important;flex-shrink:0;scroll-snap-align:center}@media (max-width: 420px){.question-navigation{gap:.18rem!important;padding:.25rem .3rem!important}.question-number{width:22px!important;height:22px!important;min-width:22px!important;font-size:.68rem!important}}}@media (max-width: 900px){.question-container{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:2rem}.question-card{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:1rem}.qa-grid{display:block!important;grid-template-columns:none!important;gap:1rem!important}.q-bottom{max-height:none!important;overflow:visible!important}.qa-left .choices{max-height:none!important;overflow:visible!important;padding-right:0!important}.qa-right .question-image{max-width:100%!important;margin:.5rem 0 1rem!important}.qa-right .question-image img{max-height:360px!important;width:100%!important;height:auto!important;object-fit:contain!important}html,body{height:auto!important}}@media (min-width: 900px){.question-container{height:auto!important;max-height:calc(100vh - 120px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;padding-bottom:1rem}.question-card{height:auto!important;max-height:none!important;overflow:visible!important}.qa-left{max-height:calc(100vh - 160px)!important;overflow-y:auto!important;padding-right:12px!important}.qa-left .choices{max-height:calc(100vh - 200px)!important;overflow-y:auto!important;padding-right:12px!important}.qa-left .choices::-webkit-scrollbar{width:10px}.qa-left .choices::-webkit-scrollbar-thumb{background:#0000001f;border-radius:8px}.qa-left .choices{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.12) transparent}.qa-right .question-image img{max-height:380px!important;width:100%!important;object-fit:contain!important;display:block!important}body.in-test .container{max-width:none!important;width:100vw!important;padding:40px;margin:0!important}body.in-test .question-navigation{position:sticky!important;top:var(--nav-top, 56px)!important;z-index:600!important;background:#fff!important}body.in-test .question-container{width:100vw!important;max-width:100vw!important;margin:0!important;border-radius:0!important;padding:1rem!important;height:calc(100vh - (var(--header-height, 64px) + var(--nav-height, 64px)))!important;max-height:calc(100vh - (var(--header-height, 64px) + var(--nav-height, 64px)))!important;overflow-y:auto!important}body.in-test .question-card{margin:0!important;width:100%!important;height:100%!important}body.in-test .question-container,body.in-test .question-card{box-shadow:none!important}body.app-fullscreen .question-container{width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;margin:0!important;border-radius:0!important;padding:1rem!important}body.app-fullscreen .question-card{height:100%!important;display:flex!important;flex-direction:column!important}body.app-fullscreen .qa-grid{grid-template-columns:1fr 320px!important;gap:1rem!important}body.app-fullscreen .qa-right .question-image img{max-height:520px!important}}
