@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-cyrillic-400-normal-xAOo5cBP.woff2) format("woff2"),url(/assets/nunito-cyrillic-400-normal-D1j0u8EH.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-latin-400-normal-r8SDr6Up.woff2) format("woff2"),url(/assets/nunito-latin-400-normal-DKg4f3fz.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/nunito-cyrillic-600-normal-DJGQ2h05.woff2) format("woff2"),url(/assets/nunito-cyrillic-600-normal-BUjmtIuu.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/nunito-latin-600-normal-Br8yIETf.woff2) format("woff2"),url(/assets/nunito-latin-600-normal-Cd0eNu1l.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-cyrillic-700-normal-DP36NgGt.woff2) format("woff2"),url(/assets/nunito-cyrillic-700-normal-DfHRUDv-.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-700-normal-Dort48En.woff2) format("woff2"),url(/assets/nunito-latin-700-normal-OcDqTBcA.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-cyrillic-800-normal-D3igD7Kl.woff2) format("woff2"),url(/assets/nunito-cyrillic-800-normal-DymMgApb.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-latin-800-normal-Dz8SOQK_.woff2) format("woff2"),url(/assets/nunito-latin-800-normal-D-J0wlBY.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-cyrillic-900-normal-CWPcV0_V.woff2) format("woff2"),url(/assets/nunito-cyrillic-900-normal-Dr1fjxoU.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-latin-900-normal-BVB1fGs6.woff2) format("woff2"),url(/assets/nunito-latin-900-normal-CVn49sIn.woff) format("woff")}:root{--ink: #05203E;--ink-2: #33415C;--muted: #56607A;--v900: #200772;--v700: #3914AF;--v500: #6A48D7;--v400: #876ED7;--plum: #48036F;--brand-a: #A449C8;--brand-b: #7E37A8;--gold: #FFD300;--gold-2: #FFE773;--bg: #F4F2FB;--card: #FFFFFF;--line: #E1DBF4;--soft: #EFEAFD;--ok: #18794E;--ok-bg: #E2F5EA;--err: #B4233F;--err-bg: #FDE2E7;--warn-bg: #FFF6D6;--r: 18px;--shadow: 0 6px 24px rgba(32, 7, 114, .08);--game: linear-gradient(160deg, #120640 0%, #22106B 48%, #3A1A93 100%);--t1: #FFD300;--t2: #0A8DB0;--t3: #6A48D7;--t4: #D63C96;--t5: #2F6FDE;--t6: #E8641B;font-family:Nunito,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-size:16px;line-height:1.45}h1,h2,h3{margin:0;line-height:1.2;font-weight:900}p{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}:focus-visible{outline:3px solid var(--gold);outline-offset:2px}img{max-width:100%}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.spacer{flex:1}.grow{flex:1;min-width:0}.center{text-align:center}.muted{color:var(--muted)}.small{font-size:14px}.strong{font-weight:800}.nowrap{white-space:nowrap}.right{text-align:right}.err{color:var(--err);background:var(--err-bg);padding:10px 14px;border-radius:12px;font-weight:700}.warn{background:var(--warn-bg);color:#5c4500;padding:12px 14px;border-radius:12px}.ok{color:var(--ok);font-weight:800;display:flex;align-items:center;gap:6px}.row-gap{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:500px;border:0;font-weight:800;font-size:15px;text-decoration:none;white-space:nowrap;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.5}.btn.primary{background:linear-gradient(90deg,var(--brand-a),var(--brand-b));color:#fff;box-shadow:0 6px 16px #7e37a84d}.btn.primary:hover:not(:disabled){box-shadow:0 8px 22px #7e37a86b}.btn.ghost{background:#fff;color:var(--v700);border:1.5px solid var(--line)}.btn.ghost:hover:not(:disabled){border-color:var(--v400)}.btn.danger{background:var(--err);color:#fff}.btn.ghost.danger{background:#fff;color:var(--err)}.btn.gold{background:var(--gold);color:var(--plum);box-shadow:0 6px 20px #ffd30059}.btn.gold:hover:not(:disabled){background:#ffde40}.btn.ghost-light{background:#ffffff1a;color:#fff;border:1.5px solid rgba(255,255,255,.35)}.btn.ghost-light:hover:not(:disabled){background:#ffffff2e}.btn.small{min-height:36px;padding:0 14px;font-size:14px}.btn.big{min-height:56px;padding:0 30px;font-size:18px}.btn.block{width:100%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;border:0;background:transparent;color:var(--v700)}.icon-btn:hover:not(:disabled){background:var(--soft)}.icon-btn:disabled{opacity:.35}.icon-btn.small{width:32px;height:32px}.icon-btn.danger{color:var(--err)}.icon-btn.light{color:#fff}.icon-btn.light:hover{background:#ffffff26}.link,.link-btn{color:var(--v700);font-weight:800;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;gap:6px}.input{width:100%;min-height:44px;padding:10px 14px;border-radius:12px;border:1.5px solid #D3CBEF;background:#fff;color:var(--ink);font-size:16px}.input:focus{border-color:var(--v500);outline:3px solid rgba(106,72,215,.2);outline-offset:0}textarea.input{resize:vertical}.field{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:14px;color:var(--ink-2)}.field small{font-weight:600;color:var(--muted)}.check{display:flex;gap:12px;align-items:flex-start;cursor:pointer}.check input{width:22px;height:22px;margin-top:2px;accent-color:var(--v700);flex:none}.check span{display:flex;flex-direction:column;gap:2px}.check small{color:var(--muted)}.form{display:flex;flex-direction:column;gap:16px}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.card{background:#fff;border-radius:var(--r);padding:24px;box-shadow:var(--shadow)}.badge{display:inline-block;padding:3px 10px;border-radius:500px;background:var(--soft);color:var(--v700);font-size:12px;font-weight:800;margin-left:8px}.badge.draft{background:var(--gold);color:var(--plum);margin:0}.tag{display:inline-block;padding:3px 10px;border-radius:500px;background:#eee0f7;color:var(--plum);font-size:12px;font-weight:800}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:500px;font-weight:800;font-size:14px}.pill.ok{background:var(--ok-bg);color:var(--ok)}.pill.bad{background:var(--err-bg);color:var(--err)}.note{display:flex;gap:10px;align-items:center;background:var(--soft);color:var(--v900);padding:12px 16px;border-radius:14px;font-weight:700;margin-bottom:18px}.lang-switch{display:inline-flex;padding:3px;border-radius:500px;background:var(--soft)}.lang-switch button{border:0;background:transparent;padding:5px 11px;border-radius:500px;font-weight:800;font-size:13px;color:var(--v700);min-height:32px}.lang-switch button.on{background:var(--v700);color:#fff}.lang-switch.dark{background:#ffffff1f}.lang-switch.dark button{color:#fff}.lang-switch.dark button.on{background:var(--gold);color:var(--plum)}.logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none}.logo img{height:34px;width:auto}.logo-quiz{font-weight:900;font-size:18px;color:var(--v700);padding-left:10px;border-left:2px solid var(--line)}.logo.on-dark .logo-quiz{color:var(--gold);border-color:#ffffff4d}.mascot{display:block;object-fit:contain;-webkit-user-select:none;user-select:none;pointer-events:none}.m-md{width:120px;height:120px;margin:0 auto}.m-lg{width:170px;height:170px;margin:0 auto}.m-xl{width:min(28vh,260px);height:min(28vh,260px)}.spinner-wrap{display:flex;align-items:center;justify-content:center;gap:12px;padding:40px;color:var(--muted);font-weight:700}.spinner{width:28px;height:28px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--v500);animation:spin .8s linear infinite}.game-screen .spinner{border-color:#ffffff40;border-top-color:var(--gold)}.game-screen .spinner-wrap{color:#fff}@keyframes spin{to{transform:rotate(360deg)}}.page-center{min-height:100vh;display:flex;flex-direction:column;gap:16px;align-items:center;justify-content:center}.empty{text-align:center;padding:48px 20px;display:flex;flex-direction:column;gap:12px;align-items:center}.table-wrap{overflow-x:auto;background:#fff;border-radius:var(--r);box-shadow:var(--shadow)}.table{width:100%;border-collapse:collapse;font-size:15px}.table th{text-align:left;font-size:13px;color:var(--muted);font-weight:800;padding:12px 14px;border-bottom:1.5px solid var(--line);background:#fbfaff;position:sticky;top:0}.table td{padding:11px 14px;border-bottom:1px solid #EEEAF8;vertical-align:middle}.table tr:last-child td{border-bottom:0}.strong-link{color:var(--v700);font-weight:800;text-decoration:none}.strong-link:hover{text-decoration:underline}.muted-row td{color:var(--muted)}.sticky-first th:nth-child(2),.sticky-first td:nth-child(2){position:sticky;left:0;background:#fff}.cell{text-align:center;font-weight:900}.cell.yes{color:var(--ok)}.cell.no{color:var(--err)}.cell.none,.cell.poll{color:var(--muted)}.meter{display:inline-flex;align-items:center;gap:8px}.meter-bar{width:90px;height:8px;border-radius:8px;background:#ece8f8;overflow:hidden}.meter-bar span{display:block;height:100%;border-radius:8px}.meter-bar .high{background:var(--ok)}.meter-bar .mid{background:var(--v500)}.meter-bar .low{background:var(--err)}.hard{display:inline-flex;align-items:center;gap:4px;margin-left:10px;color:var(--err);font-size:13px;font-weight:800}.tabs{display:inline-flex;gap:4px;background:var(--soft);padding:4px;border-radius:500px;margin:18px 0 14px}.tabs button{border:0;background:transparent;padding:8px 16px;border-radius:500px;font-weight:800;color:var(--v700)}.tabs button.on{background:#fff;box-shadow:var(--shadow)}.stat-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px}.stat{background:#fff;border-radius:var(--r);padding:16px 22px;box-shadow:var(--shadow);min-width:150px}.stat span{display:block;color:var(--muted);font-weight:700;font-size:14px}.stat b{font-size:30px;font-weight:900;color:var(--v900)}.chips{display:flex;gap:8px;flex-wrap:wrap}.fchip{border:1.5px solid var(--line);background:#fff;border-radius:500px;padding:6px 14px;font-weight:800;font-size:14px;color:var(--ink-2);min-height:36px}.fchip.on{background:var(--v700);border-color:var(--v700);color:#fff}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c053080;display:flex;align-items:center;justify-content:center;padding:16px;z-index:50;animation:fade .15s ease}.modal{background:#fff;border-radius:24px;width:min(520px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;box-shadow:0 20px 60px #0c053059}.modal.wide{width:min(980px,100%)}.modal-head{display:flex;align-items:center;gap:12px;padding:18px 20px 6px 24px}.modal-head h2{font-size:21px;flex:1}.modal-body{padding:10px 24px 18px;overflow:auto;display:flex;flex-direction:column;gap:14px}.modal-foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px 20px;border-top:1px solid var(--line);flex-wrap:wrap}@keyframes fade{0%{opacity:0}}.toasts{position:fixed;bottom:20px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:60;pointer-events:none}.toast{background:var(--v900);color:#fff;padding:12px 18px;border-radius:14px;font-weight:800;box-shadow:0 10px 30px #00000040;animation:fade .2s ease;max-width:90vw}.toast.error{background:var(--err)}.teacher{min-height:100vh;display:flex;flex-direction:column}.demo-banner{background:var(--gold);color:var(--plum);font-weight:800;font-size:14px;padding:8px 20px;display:flex;gap:16px;justify-content:center;align-items:center;flex-wrap:wrap}.demo-banner .link-btn{color:var(--plum)}.t-top{display:flex;align-items:center;gap:14px;padding:12px 24px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.t-brand{text-decoration:none}.t-user{font-weight:800;color:var(--ink-2);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.t-body{flex:1;display:grid;grid-template-columns:250px 1fr;min-height:0}.t-nav{background:#fff;border-right:1px solid var(--line);padding:18px 12px;display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:12px;color:var(--ink-2);text-decoration:none;font-weight:700;min-height:44px}.nav-item:hover{background:var(--soft)}.nav-item.active{background:var(--v700);color:#fff}.nav-item.sub{padding-left:22px;font-size:15px}.nav-group{display:flex;align-items:center;justify-content:space-between;padding:14px 6px 4px 14px;font-size:13px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.nav-sep{height:1px;background:var(--line);margin:10px 8px}.t-main{padding:26px 30px 60px;min-width:0}.t-head{display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.t-head h1{font-size:30px;color:var(--v900)}.only-mobile{display:none}.lib-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:500px;padding:0 16px;min-height:46px;width:min(360px,100%);color:var(--muted)}.search input{border:0;outline:0;flex:1;min-width:0;background:transparent;color:var(--ink)}.search:focus-within{border-color:var(--v500)}.count{margin-left:auto;font-weight:700}.quiz-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:20px}.quiz-card{background:#fff;border-radius:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden;border:1px solid #EEE9FA}.qc-cover{border:0;padding:0;height:150px;background:linear-gradient(140deg,#eee0f7,#dcd3fa);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.qc-cover img{width:100%;height:100%;object-fit:cover}.qc-cover .mascot{width:120px;height:120px;object-fit:contain}.qc-cover .badge{position:absolute;top:12px;left:12px}.qc-body{padding:14px 18px 6px;display:flex;flex-direction:column;gap:6px;align-items:flex-start;flex:1}.qc-body h3{font-size:18px}.qc-actions{display:flex;align-items:center;gap:6px;padding:10px 12px 14px 18px;flex-wrap:wrap}.qc-icons{display:flex;margin-left:auto}.qc-icons .icon-btn{width:36px;height:36px}.folder-pick{display:flex;flex-direction:column;gap:6px}.folder-opt{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);background:#fff;border-radius:12px;padding:12px 14px;font-weight:700;text-align:left}.folder-opt.on{border-color:var(--v500);background:var(--soft)}.launch-title{font-size:19px;font-weight:900;color:var(--v900)}.ed-top{display:flex;align-items:center;gap:12px;margin:-6px 0 18px;flex-wrap:wrap}.ed-title{flex:1 1 320px;min-width:200px;font-size:26px;font-weight:900;color:var(--v900);border:1.5px solid transparent;border-radius:12px;padding:6px 10px;background:transparent}.ed-title:hover{border-color:var(--line)}.ed-title:focus{border-color:var(--v500);background:#fff;outline:none}.ed-subject{width:170px;min-height:40px}.save-state{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:14px;color:var(--muted)}.save-state.saved{color:var(--ok)}.save-state.error{color:var(--err)}.ed-grid{display:grid;grid-template-columns:270px minmax(0,1fr) 260px;gap:20px;align-items:start}.ed-list{background:#fff;border-radius:var(--r);box-shadow:var(--shadow);padding:12px;position:sticky;top:80px;max-height:calc(100vh - 100px);display:flex;flex-direction:column}.ed-list ol{list-style:none;margin:0;padding:0;overflow:auto;display:flex;flex-direction:column;gap:6px;flex:1}.ql-item{width:100%;display:flex;gap:10px;align-items:flex-start;text-align:left;border:1.5px solid transparent;background:#faf9fe;border-radius:14px;padding:10px}.ql-item:hover{border-color:var(--line)}.ql-item.on{border-color:var(--v500);background:var(--soft)}.ql-n{flex:none;width:28px;height:28px;border-radius:9px;background:var(--v700);color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;font-size:14px}.ql-main{display:flex;flex-direction:column;min-width:0;flex:1}.ql-type{font-size:12px;font-weight:800;color:var(--muted)}.ql-text{font-weight:700;font-size:14px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ql-bad{color:#b26b00;flex:none}.ql-add{display:flex;flex-direction:column;gap:8px;padding-top:12px;position:relative}.type-picker{position:absolute;bottom:calc(100% - 4px);left:0;right:0;background:#fff;border-radius:16px;box-shadow:0 14px 40px #20077233;padding:8px;display:flex;flex-direction:column;gap:2px;z-index:5;border:1px solid var(--line)}.type-picker button{border:0;background:transparent;text-align:left;padding:9px 12px;border-radius:10px;display:flex;flex-direction:column}.type-picker button:hover{background:var(--soft)}.type-picker small{color:var(--muted);font-size:13px}.ed-main{background:#fff;border-radius:var(--r);box-shadow:var(--shadow);padding:24px;min-height:480px}.qform{display:flex;flex-direction:column;gap:16px}.qf-text{position:relative;display:block}.qf-text textarea{width:100%;border:1.5px solid #D3CBEF;border-radius:16px;padding:16px 18px 26px;font-size:22px;font-weight:800;text-align:center;resize:none;color:var(--ink);background:#fbfaff}.qf-text textarea:focus{outline:3px solid rgba(106,72,215,.2);border-color:var(--v500)}.counter{position:absolute;right:14px;bottom:8px;font-size:12px;color:var(--muted);font-weight:700}.qf-explain{position:relative}.qf-media{display:flex;justify-content:center}.qf-img{display:flex;flex-direction:column;align-items:center;gap:8px}.qf-img img{max-height:220px;border-radius:14px}.qf-drop{width:min(460px,100%);border:2px dashed #CFC5F0;border-radius:18px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--v400);background:#fcfbff}.qf-drop .url{max-width:340px;text-align:center}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice-row{min-width:0;display:flex;align-items:center;gap:10px;border-radius:16px;padding:8px 10px 8px 8px;background:#fff;border:2px solid #E6E0F7}.choice-row.right{border-color:var(--ok);background:#f4fbf7}.choice-sym{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}.choice-row.t1 .choice-sym{background:var(--t1)}.choice-row.t2 .choice-sym{background:var(--t2)}.choice-row.t3 .choice-sym{background:var(--t3)}.choice-row.t4 .choice-sym{background:var(--t4)}.choice-row.t5 .choice-sym{background:var(--t5)}.choice-row.t6 .choice-sym{background:var(--t6)}.choice-row input:not([type]){flex:1;min-width:0;width:100%;border:0;outline:0;font-weight:700;font-size:16px;background:transparent;padding:8px 4px}.correct-toggle{position:relative;flex:none}.correct-toggle input{position:absolute;opacity:0;top:0;right:0;bottom:0;left:0;cursor:pointer}.correct-toggle span{width:34px;height:34px;border-radius:50%;border:2px solid #CFC7EA;display:flex;align-items:center;justify-content:center;color:transparent}.correct-toggle input:checked+span{background:var(--ok);border-color:var(--ok);color:#fff}.correct-toggle input:focus-visible+span{outline:3px solid var(--gold);outline-offset:2px}.list-edit{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.list-edit li{display:flex;align-items:center;gap:8px}.li-n{width:30px;height:30px;flex:none;border-radius:9px;background:var(--soft);color:var(--v700);font-weight:900;display:flex;align-items:center;justify-content:center}.ed-side{background:#fff;border-radius:var(--r);box-shadow:var(--shadow);padding:18px;display:flex;flex-direction:column;gap:14px;position:sticky;top:80px}.side-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.issues{background:var(--warn-bg);border-radius:14px;padding:12px 14px;color:#5c4500;font-size:14px}.issues ul{margin:6px 0 0;padding-left:18px}.quiz-ready{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:4px}.imp-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}.imp-steps>li{display:flex;gap:14px;align-items:flex-start}.step-n{flex:none;width:32px;height:32px;border-radius:50%;background:var(--soft);color:var(--v700);font-weight:900;display:flex;align-items:center;justify-content:center}.imp-steps li.done .step-n{background:var(--v700);color:#fff}.imp-steps li.current .step-n{background:var(--gold);color:var(--plum)}.imp-steps li>div{display:flex;flex-direction:column;gap:8px}.imp-steps li>div:not(.grow){flex:1}.drop{border:2px dashed #CFC5F0;border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:8px;align-items:center;color:var(--v400);background:#fcfbff;text-align:center}.drop span{color:var(--ink-2);font-weight:700}.drop.over{border-color:var(--v500);background:var(--soft)}.file-card{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:14px;padding:10px 14px;font-weight:700;color:var(--v700)}.imp-summary{display:flex;gap:8px;flex-wrap:wrap}.imp-table{font-size:14px}.imp-table tr.bad td{background:#fff5f7}.imp-table td.q{max-width:360px}.ok-text{color:var(--ok);font-weight:800;display:inline-flex;gap:4px;align-items:center}.bad-text{color:var(--err);font-weight:700}.modal .table-wrap{box-shadow:none;border:1px solid var(--line);max-height:300px}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(circle at 20% 10%,#E6DDFC,transparent 40%),var(--bg)}.login-card{background:#fff;border-radius:28px;box-shadow:var(--shadow);padding:28px 32px 30px;width:min(440px,100%);display:flex;flex-direction:column;gap:14px;align-items:stretch;text-align:center}.login-card .form{text-align:left}.login-top{display:flex;justify-content:space-between;align-items:center}.login-mascot{width:130px;height:130px;margin:0 auto}.login-card h1{font-size:24px;color:var(--v900)}.team-form{margin-top:24px}.game-screen{min-height:100vh;min-height:100dvh;background:var(--game);color:#fff;position:relative;overflow:hidden}.sparkles{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:0}.sparkles svg{position:absolute;opacity:.55;animation:twinkle 3.6s ease-in-out infinite}@keyframes twinkle{0%,to{opacity:.15;transform:scale(.8)}50%{opacity:.75;transform:scale(1.1)}}@media(prefers-reduced-motion:reduce){.sparkles svg{animation:none}}.game-screen>*:not(.sparkles):not(.demo-phone){position:relative;z-index:1}.hint-light{color:#ffffffc7;font-size:15px}.lead-light{color:#ffffffe0;font-size:18px;font-weight:700}.kicker-light{color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:14px}.err-light{background:#ff52782e;color:#ffe3ea;border:1px solid rgba(255,140,165,.5);padding:10px 14px;border-radius:12px;font-weight:800}.link-light{background:none;border:0;color:#fff;text-decoration:underline;font-weight:700}.center-all{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;padding:20px}.tiles{display:grid;gap:12px}.tile{position:relative;display:flex;align-items:center;gap:14px;border:0;border-radius:18px;padding:14px 18px;color:#fff;font-weight:900;text-align:left;min-height:64px;box-shadow:inset 0 -5px #00000029;transition:transform .1s ease,opacity .2s ease}.tile.t1{background:var(--t1);color:var(--plum)}.tile.t2{background:var(--t2)}.tile.t3{background:var(--t3)}.tile.t4{background:var(--t4)}.tile.t5{background:var(--t5)}.tile.t6{background:var(--t6)}button.tile:active:not(:disabled){transform:scale(.97)}.tile.dim{opacity:.35}.tile.right{box-shadow:0 0 0 4px #fff,inset 0 -5px #00000029}.tile.picked{box-shadow:0 0 0 4px #fff;transform:scale(.98)}.tile-text{flex:1;min-width:0;overflow-wrap:anywhere}.tick{position:absolute;top:8px;right:10px;background:#fff;color:var(--ok);border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center}.tiles.editor{grid-template-columns:1fr 1fr}.tiles.editor .tile{min-height:80px;font-size:20px}.phone-screen{display:flex;flex-direction:column}.phone-top{display:flex;justify-content:space-between;align-items:center;padding:14px 16px}.phone-top .logo img{height:28px}.phone-center{flex:1;display:flex;flex-direction:column;justify-content:center;padding:12px 16px 24px;width:100%;max-width:520px;margin:0 auto}.phone-card{background:#ffffff14;border:1px solid rgba(255,255,255,.16);border-radius:26px;padding:24px 20px;display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.phone-card h1{font-size:26px}.pin-input{width:100%;min-height:60px;border-radius:16px;border:0;text-align:center;font-size:28px;font-weight:900;letter-spacing:.12em;color:var(--v900);background:#fff}.pin-input::placeholder{letter-spacing:normal;font-size:20px;color:#9a90be;font-weight:800}.name-input{letter-spacing:normal;font-size:24px}.phone-card .btn.big{width:100%}.phone-bar{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#00000038;font-weight:800}.phone-bar .who{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone-bar .qof{color:#fffc;font-size:14px}.phone-bar .score{background:var(--gold);color:var(--plum);border-radius:500px;padding:2px 12px;font-weight:900}.lost-banner{background:var(--err);color:#fff;text-align:center;padding:8px;font-weight:800}.phone-timer{height:6px;background:#ffffff26}.phone-timer span{display:block;height:100%;background:var(--gold);transition:width .1s linear}.name-badge{background:#fff;color:var(--v900);font-weight:900;font-size:22px;border-radius:500px;padding:8px 22px}.q-text{font-size:22px}.q-text.small{font-size:19px}.intro-bar{width:100%;height:10px;border-radius:10px;background:#ffffff2e;overflow:hidden}.intro-bar span{display:block;height:100%;background:var(--gold);border-radius:10px;width:100%;animation:shrink linear forwards;transform-origin:left}.intro-bar.wide{width:min(70vw,900px);height:14px}@keyframes shrink{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.answer-pad{display:flex;flex-direction:column;gap:12px;flex:1;justify-content:center}.pad-q{text-align:center}.tiles.phone{grid-template-columns:1fr 1fr}.tiles.phone .tile{min-height:min(24vh,170px);flex-direction:column;justify-content:center;text-align:center;font-size:18px;padding:12px}.tiles.phone.n2 .tile{min-height:180px}.tiles.phone.n5 .tile,.tiles.phone.n6 .tile{min-height:84px}.result .result-icon{width:96px;height:96px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff}.result.res-ok{background:#18a06247;border-color:#78e6aa99}.result.res-ok .result-icon{color:var(--ok)}.result.res-bad{background:#d63c5a42;border-color:#ff96aa8c}.result.res-bad .result-icon{color:var(--err)}.result.res-poll .result-icon{color:var(--v700)}.points-pill{background:var(--gold);color:var(--plum);font-weight:900;font-size:28px;border-radius:500px;padding:4px 22px}.place{font-weight:800;font-size:18px}.place.big{font-size:26px;color:var(--gold)}.mini-podium{list-style:none;margin:0;padding:0;width:100%;display:flex;flex-direction:column;gap:6px}.mini-podium li{display:flex;gap:10px;align-items:center;background:#ffffff1a;border-radius:12px;padding:8px 12px;font-weight:800;text-align:left}.mini-podium li span{width:26px;height:26px;border-radius:50%;background:var(--gold);color:var(--plum);display:flex;align-items:center;justify-content:center;flex:none}.mini-podium li b{margin-left:auto}.mini-podium li.me{outline:2px solid var(--gold)}.answer-type .pin-input{letter-spacing:normal;font-size:22px}.puzzle-order{list-style:none;margin:0;padding:0;width:100%;display:flex;flex-direction:column;gap:6px;min-height:20px}.puzzle-order li{display:flex;gap:10px;align-items:center;background:#fff;color:var(--v900);border-radius:12px;padding:10px 12px;font-weight:800;text-align:left}.puzzle-order li span{width:26px;height:26px;border-radius:8px;background:var(--v700);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}.puzzle-pool{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.puzzle-item{border:2px solid rgba(255,255,255,.5);background:#ffffff1f;color:#fff;border-radius:14px;padding:12px 16px;font-weight:800;min-height:48px}.host-screen{display:flex;flex-direction:column;font-size:clamp(16px,1.3vw,26px);height:100vh;height:100dvh}.host-screen.phase-lobby{height:auto;min-height:100dvh}.host-title{font-size:clamp(30px,3.4vw,64px)}.host-bar{display:flex;align-items:center;gap:16px;padding:10px 24px;background:#00000040;font-weight:800;font-size:16px}.hb-pin b{color:var(--gold);letter-spacing:.06em}.hb-players{display:inline-flex;align-items:center;gap:6px}.hb-offline{background:var(--err);padding:2px 10px;border-radius:500px;font-size:13px}.lobby{flex:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto 1fr auto;gap:18px 28px;padding:22px 32px 18px}.lobby-head{grid-column:1 / -1;display:flex;align-items:center;gap:30px}.lobby-title{flex:1}.lobby-join{grid-column:1;grid-row:2 / 4;display:flex;align-items:center;gap:20px;flex-wrap:wrap;align-content:center;position:relative}.pin-card{background:#fff;color:var(--v900);border-radius:26px;padding:18px 26px;display:flex;flex-direction:column;gap:4px;box-shadow:0 16px 40px #00000040}.pin-card p{font-weight:800;color:var(--muted);font-size:.9em}.join-host{color:var(--v700)!important;font-size:1.25em!important;font-weight:900!important}.pin-big{font-size:clamp(48px,5.6vw,110px);font-weight:900;letter-spacing:.04em;line-height:1.05;white-space:nowrap;color:var(--v900)}.pin-card .link-btn{color:var(--v700);font-size:15px}.qr{background:#fff;border-radius:18px;padding:10px;box-shadow:0 16px 40px #00000040}.qr svg{width:100%;height:100%;display:block}.lobby-mascot{width:clamp(120px,13vw,230px);height:auto}.lobby-players{grid-column:2;grid-row:2 / 4;background:#ffffff12;border:1px solid rgba(255,255,255,.14);border-radius:26px;padding:18px 20px;overflow:auto;max-height:56vh}.lobby-players-head{display:flex;align-items:baseline;gap:14px;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.lobby-players-head h2{font-size:1.4em}.empty-players{padding:20px 0}.player-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}.chip{border:0;background:#fff;color:var(--v900);font-weight:900;border-radius:500px;padding:8px 18px;font-size:1em;animation:pop .3s ease}.chip:hover{background:var(--err-bg);text-decoration:line-through}.chip.off{opacity:.5}@keyframes pop{0%{transform:scale(.6);opacity:0}}.lobby-actions{grid-column:1 / -1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.switch-light{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:16px;cursor:pointer}.switch-light input{width:22px;height:22px;accent-color:var(--gold)}.stage{flex:1;display:flex;flex-direction:column;align-items:center;gap:2vh;padding:3vh 3vw 2vh;text-align:center;min-height:0}.stage-actions{display:flex;gap:12px;justify-content:center;margin-top:auto;padding-top:8px}.q-counter{color:#ffffffbf;font-weight:800;font-size:.95em}.stage.intro{justify-content:center;gap:4vh}.big-question{font-size:clamp(32px,4.2vw,80px);max-width:80vw}.q-head{display:flex;flex-direction:column;gap:6px;align-items:center}.q-title{background:#fff;color:var(--v900);border-radius:22px;padding:14px 28px;font-size:clamp(24px,2.5vw,48px);max-width:90vw;box-shadow:0 12px 30px #0003}.q-middle{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;width:100%;gap:2vw;flex:1;min-height:0}.q-side{display:flex;justify-content:center}.q-media{display:flex;justify-content:center;align-items:center;min-height:0;height:100%;max-height:36vh}.q-media img:not(.mascot){max-height:36vh;max-width:40vw;border-radius:20px;object-fit:contain;box-shadow:0 12px 30px #00000040}.ring-spacer{width:128px}.timer-ring{position:relative;display:flex;align-items:center;justify-content:center}.timer-ring svg{position:absolute;top:0;right:0;bottom:0;left:0}.timer-ring .track{fill:#ffffff1a;stroke:#ffffff26;stroke-width:8}.timer-ring .bar{fill:none;stroke:var(--gold);stroke-width:8;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.timer-ring span{font-size:42px;font-weight:900}.timer-ring.urgent .bar{stroke:#ff7a9a}.answers-count{display:flex;flex-direction:column;align-items:center;background:#ffffff1a;border-radius:20px;padding:12px 22px}.answers-count b{font-size:44px;line-height:1}.answers-count span{font-weight:700;color:#fffc}.tiles.host{width:100%;grid-template-columns:1fr 1fr;gap:1.4vh 1.2vw}.tiles.host .tile{min-height:11vh;font-size:clamp(20px,1.8vw,36px);padding:1.4vh 1.6vw}.tiles.host.n5,.tiles.host.n6{grid-template-columns:1fr 1fr 1fr}.tiles.host.n2 .tile{min-height:14vh}.reveal-foot{display:flex;flex-direction:column;gap:8px;align-items:center}.correct-n{font-weight:900;font-size:1.15em}.explain{background:#ffffff1f;border-radius:16px;padding:10px 18px;max-width:70vw;display:inline-flex;gap:10px;align-items:center;font-weight:700}.explain svg{color:var(--gold);flex:none}.answer-note{display:flex;flex-direction:column;align-items:center;gap:10px}.accepted{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.accepted span{background:#fff;color:var(--v900);font-weight:900;border-radius:14px;padding:10px 20px;font-size:1.3em}.puzzle-show{display:flex;flex-direction:column;align-items:center;gap:10px}.puzzle-show ol{list-style:none;margin:0;padding:0;display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.puzzle-show li{background:#fff;color:var(--v900);border-radius:16px;padding:12px 20px;font-weight:900;display:flex;gap:10px;align-items:center;font-size:1.15em}.puzzle-show li span{width:32px;height:32px;border-radius:10px;background:var(--v700);color:#fff;display:flex;align-items:center;justify-content:center}.bars{display:flex;align-items:flex-end;gap:1.2vw;height:32vh}.bar-col{display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end;width:clamp(56px,6vw,120px)}.bar-n{font-weight:900;font-size:1.4em}.bar{width:100%;border-radius:12px 12px 6px 6px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:8px;gap:4px;transition:height .6s ease}.bar-col.t1 .bar{background:var(--t1)}.bar-col.t2 .bar{background:var(--t2)}.bar-col.t3 .bar{background:var(--t3)}.bar-col.t4 .bar{background:var(--t4)}.bar-col.t5 .bar{background:var(--t5)}.bar-col.t6 .bar{background:var(--t6)}.bar-col.dim .bar{opacity:.35}.bar-ok{color:#fff;background:var(--ok);border-radius:50%;padding:3px;width:28px;height:28px}.stage.scoreboard{justify-content:flex-start}.leaders{list-style:none;margin:2vh 0 0;padding:0;width:min(900px,90vw);display:flex;flex-direction:column;gap:1.2vh}.leaders li{display:flex;align-items:center;gap:18px;background:#fff;color:var(--v900);border-radius:18px;padding:1.4vh 24px;font-weight:900;font-size:1.35em;animation:slide-in .4s ease both}.leaders li:nth-child(2){animation-delay:.06s}.leaders li:nth-child(3){animation-delay:.12s}.leaders li:nth-child(4){animation-delay:.18s}.leaders li:nth-child(5){animation-delay:.24s}.leaders li:first-child{background:var(--gold);color:var(--plum)}.leaders .rank{width:44px;height:44px;border-radius:12px;background:var(--v700);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}.leaders .name{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaders .delta{color:var(--ok);font-size:.8em}@keyframes slide-in{0%{transform:translateY(14px);opacity:0}}.score-mascot{position:absolute;right:3vw;bottom:10vh;width:clamp(120px,14vw,240px)}.stage.slide{justify-content:center}.slide-card{background:#fff;color:var(--v900);border-radius:28px;padding:4vh 4vw;max-width:82vw;display:grid;grid-template-columns:1fr auto;gap:3vw;align-items:center;text-align:left;box-shadow:0 20px 50px #0000004d}.slide-card h1{font-size:clamp(28px,3.2vw,60px);margin-bottom:1.5vh}.slide-card p{font-size:clamp(18px,1.7vw,32px);font-weight:700;color:var(--ink-2);white-space:pre-line}.slide-card img{max-height:40vh;max-width:30vw;border-radius:18px}.stage.podium{justify-content:flex-start}.podium-wrap{position:relative;display:flex;align-items:flex-end;justify-content:center;flex:1;width:100%;min-height:0}.podium-cols{list-style:none;margin:0;padding:0;display:flex;align-items:flex-end;gap:1.6vw;height:100%}.podium-cols .col{width:clamp(140px,15vw,280px);display:flex;flex-direction:column;align-items:center;gap:8px;animation:rise .8s cubic-bezier(.2,.9,.3,1.2) both}.podium-cols .col.p1{animation-delay:.9s}.podium-cols .col.p2{animation-delay:.45s}@keyframes rise{0%{transform:translateY(40vh);opacity:0}}.p-name{background:#fff;color:var(--v900);font-weight:900;border-radius:14px;padding:8px 16px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.2em}.p-score{font-weight:800;color:#ffffffe6}.p-block{width:100%;border-radius:18px 18px 0 0;display:flex;justify-content:center;padding-top:14px;font-weight:900;font-size:2.4em}.col.p1 .p-block{height:30vh;background:linear-gradient(180deg,var(--gold),#E6B800);color:var(--plum)}.col.p2 .p-block{height:22vh;background:linear-gradient(180deg,#d8d2f4,#b3a8e6);color:var(--v900)}.col.p3 .p-block{height:16vh;background:linear-gradient(180deg,#c9a2e8,#a16bd0);color:#fff}.col.empty{width:clamp(140px,15vw,280px)}.podium-mascot{position:absolute;left:4vw;bottom:0;width:clamp(130px,15vw,260px)}@media(max-width:1180px){.ed-grid{grid-template-columns:240px minmax(0,1fr)}.ed-side{grid-column:1 / -1;position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}@media(max-width:860px){.t-body{grid-template-columns:1fr}.only-mobile{display:inline-flex}.t-nav{display:none;position:fixed;top:64px;left:0;bottom:0;width:min(300px,86vw);z-index:30;box-shadow:0 10px 40px #0003;overflow:auto}.t-nav.open{display:flex}.t-main{padding:18px 14px 50px}.t-top{padding:10px 12px;gap:8px}.t-user,.logo-quiz{display:none}.ed-grid{grid-template-columns:1fr}.ed-list{position:static;max-height:300px}.choice-grid{grid-template-columns:1fr}.lobby{grid-template-columns:1fr;grid-template-rows:auto}.lobby-join,.lobby-players{grid-column:1;grid-row:auto}.q-middle{grid-template-columns:auto 1fr auto}.tiles.host,.slide-card{grid-template-columns:1fr}.podium-mascot,.score-mascot{display:none}}@media(max-width:400px){.t-head h1{font-size:24px}.qc-actions .btn{padding:0 10px}.tiles.phone .tile{min-height:96px;font-size:16px}.phone-card{padding:20px 14px}}.stage{overflow:hidden}.stage.revealed{gap:1.4vh;padding-top:2vh}.stage.revealed .q-middle{flex:0 1 auto}.stage.revealed .q-media{max-height:24vh}.stage.revealed .bars{height:22vh}.stage.revealed .bar-n{font-size:1.1em}.stage.revealed .tiles.host .tile{min-height:7.5vh;padding:.9vh 1.4vw;font-size:clamp(18px,1.5vw,30px)}.stage.revealed .answers-count{padding:8px 16px}.stage.revealed .answers-count b{font-size:34px}.stage.revealed .explain{font-size:.9em}.lobby-players{display:flex;flex-direction:column}.demo-tools{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:16px}.demo-phone{position:fixed;right:18px;bottom:64px;width:340px;height:min(660px,calc(100vh - 90px));border-radius:30px;overflow:hidden;border:6px solid #0B0620;box-shadow:0 24px 60px #00000080;z-index:40;font-size:16px}.demo-phone-close{position:absolute;top:8px;right:8px;z-index:5;width:32px;height:32px;border-radius:50%;border:0;background:#ffffffe6;color:var(--v900);display:flex;align-items:center;justify-content:center}.game-screen.embedded{min-height:100%;height:100%;overflow:auto}.game-screen.embedded .phone-top,.game-screen.embedded .phone-bar{padding-right:48px}.host-screen.with-phone>*:not(.sparkles):not(.demo-phone){margin-right:366px}@media(max-width:1000px){.host-screen.with-phone>*:not(.sparkles):not(.demo-phone){margin-right:0}}.mode-pick{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mode-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;border:2px solid var(--line);background:#fff;border-radius:16px;padding:12px 14px;color:var(--ink)}.mode-card svg{color:var(--v500)}.mode-card small{color:var(--muted);font-size:13px}.mode-card.on{border-color:var(--v500);background:var(--soft)}.team-count{display:flex;align-items:center;gap:8px;font-weight:700;flex-wrap:wrap}.launch-options{display:flex;flex-direction:column;gap:10px}.team-tag{display:inline-flex;align-items:center;gap:6px;font-weight:900;padding:2px 10px 2px 6px;border-radius:500px;color:#fff;margin-left:8px;font-size:.9em}.team-tag.tc0{background:var(--t1);color:var(--plum)}.team-tag.tc1{background:var(--t2)}.team-tag.tc2{background:var(--t3)}.team-tag.tc3{background:var(--t4)}.team-tag svg{width:1.1em;height:1.1em}.team-cols{display:grid;gap:12px}.team-cols.n2{grid-template-columns:1fr 1fr}.team-cols.n3{grid-template-columns:repeat(3,1fr)}.team-cols.n4{grid-template-columns:repeat(2,1fr)}.team-col{background:#ffffff0f;border-radius:18px;padding:10px;min-width:0}.team-col h3{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:1em}.team-col h3 .team-tag{margin-left:0}.team-row .name .team-tag{margin-left:0;font-size:1em}.mode-badges{display:flex;gap:8px;margin-top:6px;flex-wrap:wrap}.mode-badges span{background:#ffd3002e;color:var(--gold);border:1px solid rgba(255,211,0,.4);border-radius:500px;padding:2px 12px;font-weight:800;font-size:.8em}.auto-next{align-self:center;color:#fffc;font-weight:800;margin-right:6px}.fun-name{background:#fff;color:var(--v900);font-weight:900;font-size:24px;border-radius:18px;padding:14px 18px;width:100%}.phone-bar .who{display:flex;align-items:center;min-width:0}.phone-bar .team-tag{font-size:12px}.mini-podium li .team-tag{margin-left:0}.host-screen.with-phone .podium-mascot,.host-screen.with-phone .score-mascot{display:none}
