:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17212b;--muted:#708090;--line:#e2ebf1;--paper:#fff;--canvas:#eef5f9;--blue:#229ed9;--blue-dark:#168ac4;--tg-bg:#eef5f9;--font-scale:1;--telegram-safe-area-top:80px;--telegram-safe-area-bottom:0px;background:var(--canvas);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;touch-action:manipulation}html,body,#app{background:var(--tg-bg);width:100%;min-height:100%;margin:0}body{min-height:100dvh}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;border:0}button:disabled{opacity:.42;cursor:default}.page{width:min(100%,600px);min-height:100dvh;padding:calc(20px + max(env(safe-area-inset-top),var(--telegram-safe-area-top))) 20px calc(24px + max(env(safe-area-inset-bottom),var(--telegram-safe-area-bottom)));margin:0 auto}.loading,.welcome{min-height:100dvh;padding:calc(28px + max(env(safe-area-inset-top),var(--telegram-safe-area-top))) 28px calc(28px + max(env(safe-area-inset-bottom),var(--telegram-safe-area-bottom)));text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:relative}.loading{color:var(--muted);font-size:calc(14px * var(--font-scale,1))}.brand-mark{object-fit:cover;border-radius:22px;width:74px;height:74px;display:block;box-shadow:0 14px 34px #0b71bc35,0 3px 10px #162c3b22}.eyebrow{font-size:calc(10px * var(--font-scale,1));letter-spacing:.16em;color:#8792a5;font-weight:800}.welcome h1{max-width:310px;font-size:calc(26px * var(--font-scale,1));letter-spacing:-.04em;margin:8px 0 18px;line-height:1.2}.stack{gap:10px;width:100%;display:grid}.primary,.secondary{border-radius:16px;justify-content:space-between;align-items:center;gap:14px;min-height:54px;padding:0 18px;font-weight:750;display:flex}.primary{color:#fff;background:linear-gradient(145deg,#5d7cff 0%,#4367f5 48%,#3554d9 100%);border:1px solid #ffffff42;box-shadow:0 9px 20px #3e5eea38,inset 0 1px #fff5,inset 0 -2px #253db43b}.primary:active{background:linear-gradient(145deg,#4f70f2,#3451d0);transform:translateY(1px);box-shadow:0 4px 10px #3e5eea2e,inset 0 1px #ffffff35}.primary span{width:22px;height:22px;font-size:calc(20px * var(--font-scale,1));flex:none;place-items:center;font-weight:400;line-height:1;display:grid}.secondary{border:1px solid var(--line);background:#fff}.home-header{justify-content:space-between;align-items:flex-start;margin:4px 0 26px;display:flex}.header-controls{flex:none;align-items:center;gap:7px;display:flex}.font-size-controls{border:1px solid var(--line);color:#43506a;background:#fff;border-radius:12px;flex:none;justify-content:center;align-items:center;gap:2px;height:36px;padding:3px;display:flex}.font-size-controls button{min-width:29px;height:28px;color:inherit;font-size:calc(12px * var(--font-scale,1));background:0 0;border-radius:8px;place-items:center;padding:0 4px;font-weight:750;line-height:1;display:grid}.font-size-controls button:active:not(:disabled){color:#435fe0;background:#e9edff}.font-size-controls button:disabled{opacity:.38}.font-size-value{text-align:center;min-width:34px;color:var(--muted);font-size:calc(10px * var(--font-scale,1));font-variant-numeric:tabular-nums;font-weight:700}.home-header h1,.page-header h1{font-size:calc(28px * var(--font-scale,1));letter-spacing:-.045em;margin:7px 0 8px;line-height:1.1}.home-header p,.subtitle{color:var(--muted);font-size:calc(14px * var(--font-scale,1));margin:0;line-height:1.5}.language-toggle{border:1px solid var(--line);background:#fff;border-radius:12px;flex:none;align-items:center;gap:2px;padding:3px;display:flex}.language-toggle button{color:#77849a;min-width:34px;height:30px;font-size:calc(10px * var(--font-scale,1));background:0 0;border-radius:9px;padding:0 7px;font-weight:800;line-height:1}.language-toggle button.active{color:#435fe0;background:#e9edff}.theme-toggle{border:1px solid var(--line);color:#475569;background:#fff;border-radius:12px;place-items:center;width:36px;height:36px;padding:0;line-height:0;display:grid}.theme-toggle span{place-items:center;width:20px;height:20px;line-height:0;display:grid}.theme-toggle svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.gate-controls{justify-content:flex-end;align-items:center;gap:8px;margin-bottom:8px;display:flex}.close-app{border:1px solid var(--line);color:#69758a;width:36px;height:36px;font-size:calc(22px * var(--font-scale,1));background:#fff;border-radius:12px;place-items:center;font-weight:400;line-height:1;display:grid}.welcome .close-app{top:calc(12px + max(env(safe-area-inset-top),var(--telegram-safe-area-top)));position:absolute;right:16px}.status{border:1px solid var(--line);color:#56647a;min-height:44px;font-size:calc(12px * var(--font-scale,1));background:#fff;border-radius:14px;align-items:center;gap:9px;padding:9px 13px;font-weight:650;display:flex}.status small{color:var(--muted);font-size:calc(11px * var(--font-scale,1));text-align:right;margin-left:auto}.status.good{color:#18775d;background:#f1faf6;border-color:#d9f0e6}.dot{background:#28b88c;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #28b88c1a}.muted .dot{background:#f0a748;box-shadow:0 0 0 4px #f0a7481a}.section-heading{font-size:calc(12px * var(--font-scale,1));color:#818ca0;margin:27px 2px 12px;font-weight:800}.actions{gap:10px;display:grid}.action-card,.duration-card{text-align:left;border:1px solid var(--line);background:#fff;border-radius:18px;align-items:center;gap:13px;width:100%;min-height:76px;padding:13px;display:flex;box-shadow:0 3px 12px #24385008}.action-card>span:nth-child(2),.duration-card>span{flex:1;gap:5px;display:grid}.action-card b,.duration-card b{font-size:calc(14px * var(--font-scale,1));line-height:1.3}.action-card small,.duration-card small{color:var(--muted);font-size:calc(11px * var(--font-scale,1))}.action-card i,.duration-card i,.topic-row i{width:24px;height:24px;font-style:normal;font-size:calc(25px * var(--font-scale,1));color:#a8b1bf;flex:none;place-items:center;font-weight:300;line-height:1;display:grid}.action-icon{width:46px;height:46px;font-size:calc(20px * var(--font-scale,1));border-radius:15px;flex:none;place-items:center;font-weight:750;line-height:1;display:grid}.lilac{color:#7964dc;background:#f0edff}.blue{color:#4367ee;background:#eaf0ff}.coral{color:#e57b58;background:#fff0eb}.gold{color:#d29d18;background:#fff5d9}.green{color:#15946b;background:#e8f7f1}.trial-card{background:linear-gradient(145deg,#fff,#eef2ff);border:1px solid #e3e9fc;border-radius:23px;padding:22px;box-shadow:0 12px 28px #1d31540b}.trial-symbol{color:#5267df;width:46px;height:46px;font-size:calc(22px * var(--font-scale,1));background:#e9edff;border-radius:16px;place-items:center;font-weight:800;display:grid}.trial-card h2{font-size:calc(18px * var(--font-scale,1));letter-spacing:-.02em;margin:15px 0 8px}.trial-card p{font-size:calc(13px * var(--font-scale,1));color:#647188;margin:0 0 18px;line-height:1.55}.trial-card .primary{width:100%}.purchase-link{color:#5066d7;width:100%;font-weight:750;font-size:calc(14px * var(--font-scale,1));background:0 0;justify-content:space-between;align-items:center;margin-top:13px;padding:17px 4px;display:flex}.purchase-link span{font-size:calc(20px * var(--font-scale,1))}.app-footer{text-align:center;color:#a4adbb;font-size:calc(10px * var(--font-scale,1));letter-spacing:.04em;padding-top:22px}.page-header{align-items:center;gap:13px;margin-bottom:20px;display:flex}.page-header .font-size-controls{margin-left:auto}.page-header h1{font-size:calc(23px * var(--font-scale,1));margin:5px 0 0}.back-button{border:1px solid var(--line);width:42px;height:42px;font-size:calc(28px * var(--font-scale,1));color:#506079;background:#fff;border-radius:14px;flex:none;font-weight:300;line-height:1}.page-header>div{flex:1}.subtitle{margin:-5px 0 17px}.topic-list{gap:8px;display:grid}.topic-row{text-align:left;border:1px solid var(--line);background:#fff;border-radius:15px;align-items:center;gap:11px;width:100%;min-height:66px;padding:10px 12px;display:flex}.topic-number{color:#708097;width:31px;height:31px;font-size:calc(10px * var(--font-scale,1));background:#f1f4f8;border-radius:10px;flex:none;place-items:center;font-weight:800;display:grid}.topic-title{font-size:calc(12px * var(--font-scale,1));flex:1;font-weight:650;line-height:1.35}.topic-count{white-space:nowrap;color:#69758a;font-size:calc(10px * var(--font-scale,1));background:#f3f5fa;border-radius:9px;padding:6px 8px;font-weight:700}.duration-list{gap:10px;display:grid}.duration-card{border-radius:19px;min-height:86px;padding:15px 16px;box-shadow:0 7px 18px #2438500b}.duration-card .duration-name{flex:1;align-items:center;min-width:0;display:flex}.duration-card .duration-name b{font-size:calc(16px * var(--font-scale,1));letter-spacing:-.02em}.duration-prices{flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.duration-prices strong{color:#405bd5;font-size:calc(14px * var(--font-scale,1));white-space:nowrap;font-variant-numeric:tabular-nums;background:#eef2ff;border-radius:12px;align-items:center;gap:3px;padding:8px 10px;font-weight:800;display:inline-flex}.duration-prices strong:first-child:last-child{font-size:calc(16px * var(--font-scale,1))}.duration-prices strong span{font-size:calc(14px * var(--font-scale,1))}.purchase-page .duration-list{margin-top:18px}.action-card small{font-size:calc(15px * var(--font-scale,1));color:#435fe0;font-variant-numeric:tabular-nums;font-weight:800}.quiet-button{color:#77849a;width:100%;font-size:calc(13px * var(--font-scale,1));background:0 0;border-radius:14px;margin-top:8px;padding:14px;font-weight:700}.empty-note{font-size:calc(13px * var(--font-scale,1));text-align:center;color:var(--muted);padding:20px}.gate-card{margin-top:25px}.question-page{padding-bottom:calc(115px + env(safe-area-inset-bottom))}.question-top{align-items:center;gap:12px;min-height:47px;display:flex}.question-heading{flex:1;gap:3px;display:grid}.question-heading b{font-size:calc(13px * var(--font-scale,1))}.question-heading i{color:#96a1b2;padding:0 4px;font-style:normal;font-weight:400}.timer{font-variant-numeric:tabular-nums;font-weight:800;font-size:calc(14px * var(--font-scale,1));color:#485dcb;background:#e9edff;border-radius:11px;padding:9px 11px}.timer.hidden{visibility:hidden}.progress-track{background:#e6eaf0;border-radius:6px;height:4px;margin:15px 0}.progress-track span{background:linear-gradient(90deg,#4f72ff,#8b9fff);border-radius:6px;height:100%;transition:width .2s;display:block}.question-navigator{overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;width:100%;margin:0 0 13px;overflow-x:auto}.question-navigator::-webkit-scrollbar{display:none}.question-jump-track{gap:8px;width:max-content;padding:2px 3px 5px;display:flex}.question-jump-button{color:#55657b;width:42px;height:42px;font-size:calc(12px * var(--font-scale,1));font-variant-numeric:tabular-nums;scroll-snap-align:center;background:#fff;border:1px solid #d7dfeb;border-radius:11px;flex:0 0 42px;place-items:center;padding:0;font-weight:800;line-height:1;transition:transform .14s,border-color .14s,background .14s;display:grid}.question-jump-button:active{transform:scale(.94)}.question-jump-button.current{z-index:1;color:#154fc4;border:2px solid #155eef;position:relative;box-shadow:0 0 0 3px #2563eb2e}.question-jump-button.correct{color:#fff;background:#16a34a;border-color:#07843e}.question-jump-button.wrong{color:#fff;background:#dc2626;border-color:#bd1d24}.question-jump-button.correct.current,.question-jump-button.wrong.current{border:2px solid #155eef;box-shadow:0 0 0 3px #2563eb45}.question-card{border:1px solid var(--line);background:#fff;border-radius:21px;overflow:hidden;box-shadow:0 10px 30px #17264209}.video-frame{background:#111;position:relative}.question-video{aspect-ratio:16/9;object-fit:contain;background:#111;width:100%;max-height:34vh;display:block}.video-loading{color:#fff;font-size:calc(12px * var(--font-scale,1));pointer-events:none;background:#111d;justify-content:center;align-items:center;gap:10px;display:flex;position:absolute;inset:0}.video-loading[hidden]{display:none}.loader-ring{border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}.video-error{color:#fff;text-align:center;font-size:calc(13px * var(--font-scale,1));background:#111;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:20px;display:flex;position:absolute;inset:0}.video-error[hidden]{display:none}.video-retry{color:#fff;background:#ffffff18;border:1px solid #ffffff50;border-radius:10px;padding:9px 14px;font-weight:700}.inline-check{justify-content:center;width:100%;min-height:46px;margin-top:12px}.app-toast{z-index:30;left:50%;bottom:calc(18px + max(env(safe-area-inset-bottom),var(--telegram-safe-area-bottom)));color:#273449;width:min(100% - 32px,540px);font-size:calc(13px * var(--font-scale,1));opacity:0;pointer-events:none;background:#fff;border:1px solid #d9e2ed;border-radius:15px;padding:13px 16px;font-weight:650;line-height:1.45;transition:opacity .18s,transform .18s;position:fixed;transform:translate(-50%,12px);box-shadow:0 12px 34px #11243b30}.app-toast.visible{opacity:1;transform:translate(-50%)}.app-toast.error{color:#a13a34;background:#fff7f6;border-color:#f0c5c2}@keyframes spin{to{transform:rotate(360deg)}}.video-placeholder{color:#8b97a9;height:110px;font-size:calc(13px * var(--font-scale,1));background:#edf0f4;justify-content:center;align-items:center;gap:9px;display:flex}.question-content{touch-action:pan-y;padding:19px 16px 20px}.question-font-controls{justify-content:flex-end;margin:-7px 0 12px;display:flex}.question-content h1{font-size:calc(17px * var(--font-scale,1));letter-spacing:-.02em;white-space:pre-line;margin:0 0 16px;line-height:1.45}.answer-list{gap:8px;display:grid}.answer-option{text-align:left;width:100%;min-height:50px;font-size:calc(13px * var(--font-scale,1));background:#fafbfd;border:1px solid #e8edf3;border-radius:13px;align-items:center;gap:10px;padding:9px 11px;line-height:1.4;display:flex}.answer-marker{color:#69778d;width:26px;height:26px;font-weight:750;font-size:calc(11px * var(--font-scale,1));background:#eff2f7;border-radius:9px;flex:none;place-items:center;display:grid}.answer-option.is-selected{background:#f1f3ff;border-color:#758aff}.answer-option.is-selected .answer-marker{color:#fff;background:#516cf0}.answer-option.is-correct{background:#f0faf6;border-color:#a9e4ce}.answer-option.is-correct .answer-marker{color:#fff;background:#32ad83}.answer-option.is-wrong{background:#fff5f3;border-color:#f3b8b8}.answer-option.is-wrong .answer-marker{color:#fff;background:#e77468}.selected-mark{color:#4f66df;margin-left:auto;font-weight:800}.feedback{font-size:calc(13px * var(--font-scale,1));align-items:center;gap:8px;margin-top:13px;display:flex}.feedback>span{border-radius:50%;place-items:center;width:23px;height:23px;font-weight:800;display:grid}.feedback.success{color:#18815f}.feedback.success>span{background:#e6f7ef}.feedback.failure{color:#c85454}.feedback.failure>span{background:#fff0ee}blockquote{color:#657087;font-size:calc(12px * var(--font-scale,1));background:#f5f6fb;border-left:3px solid #aab8f5;border-radius:0 11px 11px 0;margin:12px 0 0;padding:11px 13px;line-height:1.5}blockquote b{color:#4d5f87;margin-bottom:4px;display:inline-block}.question-nav{z-index:5;width:min(100%,600px);padding:13px 20px calc(14px + max(env(safe-area-inset-bottom),var(--telegram-safe-area-bottom)));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f4f7f8ef;border-top:1px solid #dfe5ed;align-items:center;gap:9px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.question-nav .primary{flex:1;justify-content:center}.nav-secondary{color:#526178;width:auto;min-width:0;height:50px;font-size:calc(13px * var(--font-scale,1));background:linear-gradient(145deg,#fff,#f2f5f9);border:1px solid #dce4ed;border-radius:15px;flex:1;justify-content:center;align-items:center;font-weight:700;display:flex;box-shadow:0 5px 12px #25385012,inset 0 1px #fff}.nav-next{border-radius:15px;min-height:50px}.nav-next span{background:#ffffff24;border-radius:9px;width:25px;height:25px}.nav-next span svg{width:16px;height:16px}.nav-check{flex:1;justify-content:center}.modal-backdrop{z-index:10;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#14203978;place-items:center;padding:25px;display:grid;position:fixed;inset:0}.confirm-modal{text-align:center;background:#fff;border-radius:25px;width:min(100%,360px);padding:24px;box-shadow:0 24px 80px #0f1a3040}.modal-icon{color:#d18d1a;width:42px;height:42px;font-weight:900;font-size:calc(21px * var(--font-scale,1));background:#fff2d9;border-radius:15px;place-items:center;margin:auto;display:grid}.confirm-modal h2{font-size:calc(19px * var(--font-scale,1));margin:15px 0 7px}.confirm-modal p{font-size:calc(13px * var(--font-scale,1));color:var(--muted);margin:0 0 18px;line-height:1.5}.confirm-modal .primary{justify-content:center;width:100%}.result-page{min-height:100dvh;padding:calc(55px + max(env(safe-area-inset-top),var(--telegram-safe-area-top))) 25px calc(30px + max(env(safe-area-inset-bottom),var(--telegram-safe-area-bottom)));text-align:center;flex-direction:column;align-items:center;display:flex}.result-orbit{color:#fff;width:108px;height:108px;font-size:calc(43px * var(--font-scale,1));background:radial-gradient(circle at 30% 20%,#8ca0ff,#536de9);border-radius:36px;place-items:center;margin:16px auto 22px;display:grid;box-shadow:0 15px 40px #526bec48}.result-orbit.passed{background:radial-gradient(circle at 30% 20%,#72d6b1,#269c78)}.result-page h1{font-size:calc(25px * var(--font-scale,1));letter-spacing:-.04em;margin:11px 0 6px;line-height:1.2}.result-subtitle{color:var(--muted);font-size:calc(13px * var(--font-scale,1));margin:0}.score-card{border:1px solid var(--line);background:#fff;border-radius:20px;gap:7px;width:100%;margin:32px 0 12px;padding:20px;display:grid}.score-card span,.score-card small{color:var(--muted);font-size:calc(12px * var(--font-scale,1))}.score-card>b{font-size:calc(38px * var(--font-scale,1));letter-spacing:-.05em;color:#425ee5}.score-card>b i{font-size:calc(19px * var(--font-scale,1));color:#9aa4b4;font-style:normal;font-weight:500}.pass-note{font-size:calc(12px * var(--font-scale,1));color:var(--muted)}.result-home{justify-content:center;width:100%;margin-top:auto}.stats-entry{margin-top:11px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:6px;display:grid}.skeleton-card,.skeleton-row{position:relative;overflow:hidden}.skeleton-line,.skeleton-value,.skeleton-circle{background:linear-gradient(90deg,#e9edf3 20%,#f6f7fa 45%,#e9edf3 70%) 0 0/220% 100%;border-radius:999px;animation:1.35s ease-in-out infinite skeletonShimmer;display:block}.skeleton-line{width:72%;height:11px}.skeleton-line.short{width:42%}.skeleton-value{border-radius:8px;width:56%;height:23px}.skeleton-circle{flex:none;width:30px;height:30px}.skeleton-row .attempt-main i{margin:3px 0}@keyframes skeletonShimmer{to{background-position-x:-220%}}.stats-card{border:1px solid var(--line);background:#fff;border-radius:17px;align-content:space-between;gap:12px;min-height:91px;padding:15px;display:grid}.stats-card small{color:var(--muted);font-size:calc(11px * var(--font-scale,1));font-weight:650}.stats-card>b{font-size:calc(25px * var(--font-scale,1));letter-spacing:-.04em;font-variant-numeric:tabular-nums}.stats-card>b i{font-size:calc(14px * var(--font-scale,1));color:var(--muted);font-style:normal;font-weight:550}.stats-section-title{font-size:calc(14px * var(--font-scale,1));margin:25px 1px 11px}.stats-history{gap:8px;display:grid}.stats-attempt{border:1px solid var(--line);background:#fff;border-radius:15px;align-items:center;gap:11px;padding:12px;display:flex}.attempt-status{width:31px;height:31px;font-size:calc(15px * var(--font-scale,1));border-radius:11px;flex:none;place-items:center;font-weight:850;display:grid}.attempt-status.is-passed{color:#128548;background:#e5f8ed}.attempt-status.is-failed{color:#c83737;background:#fff0ef}.attempt-main{flex:1;gap:4px;min-width:0;display:grid}.attempt-main b{font-size:calc(13px * var(--font-scale,1));font-variant-numeric:tabular-nums}.attempt-main small{color:var(--muted);font-size:calc(10px * var(--font-scale,1))}.stats-attempt>strong{font-size:calc(10px * var(--font-scale,1));text-align:right}.is-passed{color:#128548}.is-failed{color:#c83737}.stats-empty{border:1px solid var(--line);color:var(--muted);text-align:center;font-size:calc(13px * var(--font-scale,1));background:#fff;border-radius:16px;margin:22px 0;padding:22px 16px;line-height:1.5}.retry{max-width:260px;margin:20px auto}.error-code{overflow-wrap:anywhere;color:#69758a;max-width:100%;font-size:calc(11px * var(--font-scale,1));background:#fff;border-radius:9px;padding:8px 11px}.outside-hint{color:#7d899d;text-align:center;max-width:290px;font-size:calc(13px * var(--font-scale,1));padding:0 20px;line-height:1.55;position:absolute;top:60%}@media (width>=600px){body{background:#eaf0f4}.page,.welcome,.loading,.result-page{background:var(--canvas)}.question-nav{border:1px solid var(--line);border-radius:18px;bottom:16px;box-shadow:0 8px 30px #1d315420}}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#edf2fa;--muted:#a3b0c3;--line:#344257;--paper:#1c293a;--canvas:#101824;--blue:#7392ff;--blue-dark:#5578f2;--tg-bg:#101824}html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] #app{background:var(--tg-bg);color:var(--ink)}html[data-theme=dark] .page,html[data-theme=dark] .welcome,html[data-theme=dark] .loading,html[data-theme=dark] .result-page{background:var(--canvas);color:var(--ink)}html[data-theme=dark] .eyebrow,html[data-theme=dark] .section-heading{color:#a3b0c3}html[data-theme=dark] .language-toggle,html[data-theme=dark] .theme-toggle,html[data-theme=dark] .close-app,html[data-theme=dark] .study-card,html[data-theme=dark] .stats-summary,html[data-theme=dark] .settings-list,html[data-theme=dark] .settings-access,html[data-theme=dark] .status,html[data-theme=dark] .action-card,html[data-theme=dark] .duration-card,html[data-theme=dark] .secondary,html[data-theme=dark] .back-button,html[data-theme=dark] .topic-row,html[data-theme=dark] .question-card,html[data-theme=dark] .question-jump-button,html[data-theme=dark] .answer-option,html[data-theme=dark] .nav-secondary,html[data-theme=dark] .confirm-modal,html[data-theme=dark] .score-card,html[data-theme=dark] .stats-card,html[data-theme=dark] .stats-attempt,html[data-theme=dark] .stats-empty{color:var(--ink);background:#1b2839;border-color:#35445a}html[data-theme=dark] .language-toggle button{color:#b5c0d1}html[data-theme=dark] .language-toggle button.active{color:#dbe5ff;background:#344674}html[data-theme=dark] .theme-toggle{color:#f5cb68}html[data-theme=dark] .home-status:not(.is-active){color:#f4c96e;background:#3a3020}html[data-theme=dark] .home-status:not(.is-active) .dot{background:#f0b34f}html[data-theme=dark] .status.good{color:#8de0bd;background:#123d32;border-color:#1c654e}html[data-theme=dark] .status.muted{color:#f4c96e;background:#3a3020;border-color:#685020}html[data-theme=dark] .dot{background:#2ed69a;box-shadow:0 0 0 4px #2ed69a24}html[data-theme=dark] .muted .dot{background:#f0b34f;box-shadow:0 0 0 4px #f0b34f24}html[data-theme=dark] .status small,html[data-theme=dark] .action-card small,html[data-theme=dark] .duration-card small,html[data-theme=dark] .subtitle{color:#a3b0c3}html[data-theme=dark] .action-icon.lilac{color:#c1b4ff;background:#342c55}html[data-theme=dark] .action-icon.blue{color:#a9c0ff;background:#243b69}html[data-theme=dark] .action-icon.coral{color:#ffad90;background:#522f2e}html[data-theme=dark] .action-icon.gold{color:#f5ce68;background:#4a3c21}html[data-theme=dark] .action-icon.green{color:#79d9b6;background:#183f35}html[data-theme=dark] .trial-card{background:linear-gradient(145deg,#202e42,#1b2540);border-color:#34445f}html[data-theme=dark] .trial-symbol{color:#b8c7ff;background:#344674}html[data-theme=dark] .trial-card p{color:#c0cada}html[data-theme=dark] .purchase-link{color:#9db2ff}html[data-theme=dark] .duration-prices strong{color:#dce6ff;background:#2b3d66}html[data-theme=dark] .app-toast{color:#edf2fa;background:#1b2839;border-color:#46566d}html[data-theme=dark] .app-toast.error{color:#ffd2cc;background:#472b30;border-color:#794047}html[data-theme=dark] .skeleton-line,html[data-theme=dark] .skeleton-value,html[data-theme=dark] .skeleton-circle{background:linear-gradient(90deg,#2b374a 20%,#36445a 45%,#2b374a 70%) 0 0/220% 100%}html[data-theme=dark] .app-footer{color:#8492a8}html[data-theme=dark] .topic-number,html[data-theme=dark] .topic-count{color:#c0cada;background:#29374b}html[data-theme=dark] .topic-title{color:var(--ink)}html[data-theme=dark] .question-heading i{color:#a3b0c3}html[data-theme=dark] .timer{color:#b8c8ff;background:#27375b}html[data-theme=dark] .progress-track{background:#2b374a}html[data-theme=dark] .question-jump-button{color:#c0cada;background:#1b2839;border-color:#46566d}html[data-theme=dark] .question-jump-button.current{color:#dce6ff;background:#2b3d66;border-color:#86a2ff}html[data-theme=dark] .question-jump-button.correct{color:#fff;background:#16a34a;border-color:#36d878}html[data-theme=dark] .question-jump-button.wrong{color:#fff;background:#dc2626;border-color:#f66}html[data-theme=dark] .question-jump-button.correct.current,html[data-theme=dark] .question-jump-button.wrong.current{border-color:#b6c8ff;box-shadow:0 0 0 3px #8aa8ff55}html[data-theme=dark] .video-placeholder{color:#a3b0c3;background:#1b2839}html[data-theme=dark] .answer-option{background:#1b2839;border-color:#35445a}html[data-theme=dark] .answer-marker{color:#d3dceb;background:#2b394e}html[data-theme=dark] .answer-option.is-selected{background:#29385f;border-color:#829cff}html[data-theme=dark] .answer-option.is-selected .answer-marker{color:#fff;background:#526fe2}html[data-theme=dark] .answer-option.is-correct{color:#d7ffea;background:#124a34;border-color:#22a568}html[data-theme=dark] .answer-option.is-correct .answer-marker{color:#fff;background:#168653}html[data-theme=dark] .answer-option.is-wrong{color:#ffe0e0;background:#521f27;border-color:#c4474d}html[data-theme=dark] .answer-option.is-wrong .answer-marker{color:#fff;background:#ba343b}html[data-theme=dark] .selected-mark{color:#b8c8ff}html[data-theme=dark] .feedback.success{color:#75ddb2}html[data-theme=dark] .feedback.success>span{background:#174835}html[data-theme=dark] .feedback.failure{color:#ff9292}html[data-theme=dark] .feedback.failure>span{background:#4b242a}html[data-theme=dark] blockquote{color:#c0cada;background:#202d40;border-left-color:#7795ff}html[data-theme=dark] blockquote b{color:#b8c8ff}html[data-theme=dark] .question-nav{background:#101824ed;border-color:#344257}html[data-theme=dark] .quiet-button{color:#a3b0c3}html[data-theme=dark] .modal-backdrop{background:#050a12bd}html[data-theme=dark] .modal-icon{color:#f3c267;background:#49371e}html[data-theme=dark] .confirm-modal p,html[data-theme=dark] .score-card span,html[data-theme=dark] .score-card small,html[data-theme=dark] .result-subtitle,html[data-theme=dark] .pass-note{color:#a3b0c3}html[data-theme=dark] .score-card>b{color:#a8baff}html[data-theme=dark] .score-card>b i{color:#a3b0c3}html[data-theme=dark] .attempt-status.is-passed{color:#75ddb2;background:#174835}html[data-theme=dark] .attempt-status.is-failed{color:#ff9292;background:#4b242a}html[data-theme=dark] .stats-attempt .is-passed{color:#75ddb2}html[data-theme=dark] .stats-attempt .is-failed{color:#ff9292}html[data-theme=dark] .error-code{color:#c0cada;background:#1b2839}html[data-theme=dark] .outside-hint{color:#a3b0c3}.home-page{padding-top:calc(20px + max(env(safe-area-inset-top),var(--telegram-safe-area-top)))}.home-header{align-items:center;margin:0 0 22px}.home-header h1{font-size:calc(25px * var(--font-scale,1));margin:7px 0 5px}.home-header p{font-size:calc(13px * var(--font-scale,1))}.home-brand{min-width:0}.settings-button{color:#426477;min-width:44px;min-height:44px;font-size:calc(11px * var(--font-scale,1));white-space:nowrap;background:linear-gradient(145deg,#fff,#f4fafd);border:1px solid #d5e5ed;border-radius:14px;flex:none;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-weight:750;display:flex;box-shadow:0 4px 12px #1c719912}.settings-button-icon{flex:none;place-items:center;width:20px;height:20px;display:grid}.settings-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.home-hero{background:radial-gradient(circle at 100% 0,#dff5ff 0,#0000 43%),linear-gradient(145deg,#fff 0%,#f0f9fd 100%);border:1px solid #d3eaf6;border-radius:23px;padding:20px;position:relative;overflow:hidden;box-shadow:0 14px 34px #1c719918,0 2px 7px #182b3a08}.home-hero:after{content:"";opacity:.8;background:radial-gradient(circle,#bdeaff 0%,#dff5ff 40%,#0000 72%);border-radius:50%;width:180px;height:180px;position:absolute;top:15px;right:-85px}.guest-hero{background:radial-gradient(circle at 100% 0,#d7f0ff 0,#0000 48%),linear-gradient(145deg,#fff 0%,#edf8fd 100%)}.home-hero-top{z-index:1;justify-content:space-between;align-items:center;display:flex;position:relative}.home-status{color:#6b778b;font-size:calc(10px * var(--font-scale,1));background:#f0f2f6;border-radius:999px;align-items:center;gap:8px;padding:7px 10px;font-weight:700;display:inline-flex}.home-status.is-active{color:#16845f;background:#e8f7f1}.home-status .dot{width:7px;height:7px;box-shadow:none}.home-status:not(.is-active) .dot{background:#e9a842}.hero-mark{z-index:1;color:#229ed9;background:linear-gradient(145deg,#fff,#e5f7ff);border-radius:15px;place-items:center;width:42px;height:42px;display:grid;position:relative;box-shadow:0 5px 14px #3aa6d51c}.hero-mark svg{stroke-width:2px;width:24px;height:24px}.home-hero h2{z-index:1;font-size:calc(20px * var(--font-scale,1));letter-spacing:-.035em;margin:17px 0 6px;position:relative}.home-hero p{z-index:1;color:#69768c;max-width:310px;font-size:calc(12px * var(--font-scale,1));margin:0;line-height:1.5;position:relative}.home-hero-button{z-index:1;color:#fff;width:100%;min-height:50px;font-size:calc(13px * var(--font-scale,1));background:linear-gradient(145deg,#5d7cff 0%,#4367f5 48%,#3554d9 100%);border:1px solid #ffffff4d;border-radius:15px;justify-content:space-between;align-items:center;margin-top:18px;padding:0 15px;font-weight:750;display:flex;position:relative;box-shadow:0 10px 21px #3e5eea42,inset 0 1px #ffffff68,inset 0 -2px #253db43b}.home-hero-button span{background:linear-gradient(145deg,#ffffff35,#ffffff17);border-radius:11px;place-items:center;width:32px;height:32px;display:grid;box-shadow:inset 0 1px #ffffff3b}.home-hero-button svg{stroke-width:2px;width:19px;height:19px}.home-section-title{color:#718097;font-size:calc(11px * var(--font-scale,1));letter-spacing:.04em;margin:23px 2px 10px;font-weight:800}.study-list{gap:8px;display:grid}.study-card,.stats-summary{text-align:left;background:var(--paper);border:1px solid #e0e9ef;border-radius:18px;align-items:center;gap:13px;width:100%;min-height:69px;padding:11px 13px;transition:transform .16s,border-color .16s,box-shadow .16s;display:flex;box-shadow:0 5px 14px #22384a08}.study-card:active,.stats-summary:active{border-color:#b9dff0;transform:scale(.985);box-shadow:0 2px 8px #168ac416}.study-card>span:nth-child(2),.stats-summary>span:nth-child(2){flex:1;gap:4px;display:grid}.study-card b,.stats-summary b{font-size:calc(13px * var(--font-scale,1));line-height:1.25}.study-card small,.stats-summary small{color:var(--muted);font-size:calc(10px * var(--font-scale,1))}.study-card-arrow{color:#7d94a3;background:#f0f6f9;border-radius:10px;flex:none;place-items:center;width:27px;height:27px;display:grid}.study-card-arrow svg{stroke-width:2px;width:16px;height:16px}.study-card-icon,.stats-summary-icon{border-radius:15px;flex:none;place-items:center;width:44px;height:44px;display:grid;position:relative;overflow:hidden}.study-card-icon svg,.stats-summary-icon svg{stroke-width:1.9px;width:22px;height:22px}.study-card-icon.lilac{color:#765de2;background:linear-gradient(145deg,#f5f2ff,#e8e3ff)}.study-card-icon.blue{color:#4566df;background:linear-gradient(145deg,#ecf2ff,#d9e5ff)}.study-card-icon.coral{color:#dc7957;background:linear-gradient(145deg,#fff2ec,#ffe2d7)}.study-card-icon.gold{color:#c38b13;background:linear-gradient(145deg,#fff8e6,#ffedbd)}.study-card-icon:after,.hero-mark:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#ffffffa8,#0000);width:42%;animation:5.6s ease-in-out infinite softGleam;position:absolute;inset:-45% auto -45% -70%;transform:skew(-18deg)}.study-card-icon svg,.hero-mark svg{z-index:1;position:relative}.stats-summary{min-height:59px;margin-top:9px}.stats-summary-icon{color:#168fc4;background:linear-gradient(145deg,#e7f6ff,#d6effc)}.settings-subtitle{margin:0 0 12px}.settings-list{border:1px solid var(--line);background:var(--paper);border-radius:17px;overflow:hidden}.settings-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:10px 12px;display:flex}.settings-row:last-child{border-bottom:0}.settings-row>span{gap:4px;display:grid}.settings-row b{font-size:calc(12px * var(--font-scale,1))}.settings-row small{color:var(--muted);font-size:calc(10px * var(--font-scale,1))}.settings-access{border:1px solid var(--line);background:var(--paper);font-size:calc(12px * var(--font-scale,1));border-radius:15px;align-items:center;gap:10px;margin-top:14px;padding:13px;display:flex}.settings-access>span:last-child{gap:4px;display:grid}.settings-access small{color:var(--muted);font-size:calc(10px * var(--font-scale,1))}html[data-theme=dark] .home-hero{background:radial-gradient(circle at 100% 0,#1e3b4a 0,#0000 45%),linear-gradient(145deg,#1b2839,#202d44);border-color:#344257;box-shadow:0 14px 34px #050a1260}html[data-theme=dark] .home-hero:after{background:radial-gradient(circle,#254a5d 0%,#1d3c4c 42%,#0000 72%)}html[data-theme=dark] .home-hero p{color:#a3b0c3}html[data-theme=dark] .hero-mark{color:#63c8f1;background:linear-gradient(145deg,#294454,#20394a);box-shadow:0 5px 14px #07111a55}html[data-theme=dark] .home-status{color:#b4c0d1;background:#273345}html[data-theme=dark] .home-status.is-active{color:#75ddb2;background:#174835}html[data-theme=dark] .home-section-title{color:#a3b0c3}html[data-theme=dark] .settings-button{color:#c0cada;background:#1b2839;border-color:#344257}html[data-theme=dark] .guest-hero{background:radial-gradient(circle at 100% 0,#1e4054 0,#0000 48%),linear-gradient(145deg,#1b2839,#202d44)}html[data-theme=dark] .study-card,html[data-theme=dark] .stats-summary{border-color:#2b3a4d;box-shadow:0 5px 14px #050a1230}html[data-theme=dark] .study-card-arrow{color:#95b4c6;background:#26394a}html[data-theme=dark] .stats-summary-icon{color:#65c8ed;background:linear-gradient(145deg,#19394a,#203e4d)}html[data-theme=dark] .home-hero-button{background:linear-gradient(145deg,#657fff 0%,#405fdf 52%,#304bb7 100%);box-shadow:0 9px 20px #020a1050,inset 0 1px #ffffff42}html[data-theme=dark] .study-card-icon.lilac{color:#c1b4ff;background:linear-gradient(145deg,#3d355e,#2e2948)}html[data-theme=dark] .study-card-icon.blue{color:#a9c0ff;background:linear-gradient(145deg,#2d4679,#243554)}html[data-theme=dark] .study-card-icon.coral{color:#ffad90;background:linear-gradient(145deg,#5c3836,#412b2c)}html[data-theme=dark] .study-card-icon.gold{color:#f5ce68;background:linear-gradient(145deg,#594923,#40351f)}html[data-theme=dark] .home-status.is-active .dot,html[data-theme=dark] .settings-access .dot{background:#55e0a9}.home-status.is-active{position:relative}.home-status.is-active .dot,.settings-access .dot{position:relative;overflow:visible}.home-status.is-active .dot:after,.settings-access .dot:after{content:"";border:1px solid #28b88c77;border-radius:50%;animation:2.4s ease-out infinite accessPulse;position:absolute;inset:-4px}.hero-mark{overflow:hidden}.study-card-icon.gold{animation:3.8s ease-in-out infinite premiumGlow}@keyframes softGleam{0%,60%{opacity:0;left:-70%}70%{opacity:.85}to{opacity:0;left:130%}}@keyframes accessPulse{0%{opacity:.9;transform:scale(.65)}to{opacity:0;transform:scale(1.9)}}@keyframes premiumGlow{0%,to{filter:drop-shadow(0 0 #f4c85b00)}50%{filter:drop-shadow(0 0 5px #f4c85b88)}}@media (prefers-reduced-motion:reduce){.study-card-icon:after,.hero-mark:after,.home-status.is-active .dot:after,.settings-access .dot:after,.study-card-icon.gold{animation:none!important}}@media (width<=380px){.home-hero{padding:17px}.home-header{margin-bottom:17px}.home-header h1{font-size:calc(22px * var(--font-scale,1))}.settings-row{gap:8px;padding:9px}.settings-row .language-toggle button{min-width:30px}.settings-row .font-size-controls button{min-width:26px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.loader-ring,.skeleton-line,.skeleton-value,.skeleton-circle{animation:none!important}}.font-size-controls{transition:background .2s,border-color .2s,box-shadow .2s}.duration-card{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;display:grid}.duration-card .duration-name{flex-wrap:wrap;gap:8px}.duration-prices{gap:6px}.duration-prices strong{font-size:calc(13px * var(--font-scale,1));padding:7px 8px}.best-value-badge{color:#087c4d;font-size:calc(9px * var(--font-scale,1));white-space:nowrap;background:linear-gradient(145deg,#e8fff2,#c9f5dc);border:1px solid #a5e4c5;border-radius:999px;align-items:center;padding:5px 8px;font-weight:800;display:inline-flex}.payment-methods{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}.payment-methods .action-card{gap:9px;min-width:0;min-height:96px;padding:11px}.payment-methods .action-icon{border-radius:13px;width:38px;height:38px}.payment-methods .action-card>span:nth-child(2){gap:6px;min-width:0}.payment-methods .action-card b{font-size:calc(12px * var(--font-scale,1));overflow-wrap:anywhere;line-height:1.25}.payment-methods .action-card small{font-size:calc(13px * var(--font-scale,1))}.payment-methods .action-card i{width:17px;font-size:calc(20px * var(--font-scale,1))}.study-card,.stats-summary,.duration-card,.action-card,.primary,.secondary,.back-button,.settings-button,.theme-toggle,.topic-row,.quiet-button,.purchase-link{transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,border-color .2s,filter .2s}.study-card-icon,.stats-summary-icon{border:1px solid #ffffffa8;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,filter .2s;box-shadow:0 7px 13px #263c5624,inset 0 1px #ffffffd9,inset 0 -3px #263c5614}.study-card:active,.stats-summary:active,.duration-card:active,.action-card:active,.back-button:active,.settings-button:active,.theme-toggle:active,.topic-row:active,.quiet-button:active{filter:brightness(.98);transform:scale(.975)}.study-card:active .study-card-icon,.stats-summary:active .stats-summary-icon{transform:translateY(1px);box-shadow:0 2px 5px #263c5624,inset 0 1px #ffffffb8}html[data-theme=dark] .font-size-controls{color:#dbe5f3;background:#1b2839;border-color:#35445a;box-shadow:0 3px 10px #050a1233,inset 0 1px #ffffff0a}html[data-theme=dark] .font-size-controls button:active:not(:disabled){color:#dbe5ff;background:#344674}html[data-theme=dark] .font-size-value{color:#aebbd0}html[data-theme=dark] .best-value-badge{color:#8de0b5;background:linear-gradient(145deg,#164c39,#123d30);border-color:#267b59}html[data-theme=dark] .study-card-icon,html[data-theme=dark] .stats-summary-icon{border-color:#ffffff12;box-shadow:0 7px 13px #050a1244,inset 0 1px #ffffff20,inset 0 -3px #00000030}@media (hover:hover) and (pointer:fine){.study-card:hover,.stats-summary:hover,.duration-card:hover,.action-card:hover,.topic-row:hover{border-color:#bfd5e8;transform:translateY(-2px);box-shadow:0 10px 22px #263c5620}.study-card:hover .study-card-icon,.stats-summary:hover .stats-summary-icon{filter:saturate(1.12);transform:translateY(-1px)scale(1.035)}.primary:hover,.settings-button:hover,.theme-toggle:hover,.back-button:hover{filter:brightness(1.035)}}@media (width<=360px){.payment-methods{gap:7px}.payment-methods .action-card{gap:7px;padding:9px}.payment-methods .action-icon{width:33px;height:33px}.duration-prices strong{font-size:calc(12px * var(--font-scale,1));padding:6px}}.topic-row{min-height:82px}.topic-info{flex:1;gap:5px;min-width:0;padding:2px 0;display:grid}.topic-info .topic-title{min-width:0;line-height:1.3}.topic-progress-label{color:var(--muted);font-size:calc(9px * var(--font-scale,1));font-variant-numeric:tabular-nums;font-weight:650}.topic-progress-track{background:#e7edf3;border-radius:999px;height:5px;overflow:hidden}.topic-progress-track>span{border-radius:inherit;background:linear-gradient(90deg,#5b7cff,#29b988);height:100%;transition:width .35s cubic-bezier(.2,.8,.2,1);display:block}.topic-row.is-complete{background:linear-gradient(145deg,#f4fff8,#e7f9ef);border-color:#9bdabb;box-shadow:0 5px 14px #15804d12}.topic-row.is-complete .topic-number,.topic-row.is-complete .topic-count{color:#087c4d;background:#d7f4e3}.topic-row.is-complete .topic-progress-label,.topic-row.is-complete>i{color:#087c4d}.topic-row.is-complete .topic-progress-track{background:#c9ecd8}html[data-theme=dark] .topic-progress-track{background:#2b394c}html[data-theme=dark] .topic-row.is-complete{background:linear-gradient(145deg,#15382d,#173329);border-color:#276b4d;box-shadow:0 5px 14px #050a1230}html[data-theme=dark] .topic-row.is-complete .topic-number,html[data-theme=dark] .topic-row.is-complete .topic-count{color:#95e5b8;background:#20523c}html[data-theme=dark] .topic-row.is-complete .topic-progress-label,html[data-theme=dark] .topic-row.is-complete>i{color:#95e5b8}html[data-theme=dark] .topic-row.is-complete .topic-progress-track{background:#28533f}
