:root{--quiz-primary:#3131c1;--quiz-primary-soft:#eef0ff;--quiz-dark:#0f172a;--quiz-muted:#64748b;--quiz-success:#059669;--quiz-live:#f59e0b;--quiz-surface:#fff;--quiz-border:#e2e8f0}
.eduq-page{font-family:'Alexandria','Noto Sans Arabic',sans-serif;color:#0f172a}
.eduq-wrap{max-width:1240px;margin:0 auto;padding:28px 16px 60px}
.eduq-hero{position:relative;overflow:hidden;border-radius:32px;padding:32px;background:linear-gradient(135deg,#3131c1 0%,#202089 100%);color:#fff;box-shadow:0 24px 58px rgba(49,49,193,.2);margin-bottom:26px}
.eduq-hero:before,.eduq-hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.1)}.eduq-hero:before{width:290px;height:290px;left:-100px;top:-120px}.eduq-hero:after{width:190px;height:190px;right:-55px;bottom:-110px}
.eduq-hero>*{position:relative;z-index:1}.eduq-kicker{display:inline-flex;gap:8px;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-size:12px;font-weight:800;margin-bottom:15px}.eduq-hero h1{margin:0 0 10px;font-weight:900;line-height:1.55;font-size:clamp(1.55rem,3vw,2.5rem)}.eduq-hero p{max-width:720px;opacity:.82;margin:0;line-height:2}.eduq-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.eduq-primary,.eduq-secondary,.eduq-live-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;font-weight:900;border-radius:15px;padding:12px 18px;border:1px solid transparent;transition:.18s ease}.eduq-primary{background:var(--quiz-primary);color:#fff!important}.eduq-hero .eduq-primary{background:#fff;color:var(--quiz-primary)!important}.eduq-secondary{color:#334155!important;background:#fff;border-color:#e2e8f0}.eduq-hero .eduq-secondary{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.25);color:#fff!important}.eduq-live-button{background:#f59e0b;color:#422006!important}.eduq-primary:hover,.eduq-secondary:hover,.eduq-live-button:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(15,23,42,.12)}
.eduq-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.eduq-stat{background:#fff;border:1px solid var(--quiz-border);border-radius:22px;padding:17px}.eduq-stat small{display:block;color:var(--quiz-muted);font-weight:700;margin-bottom:8px}.eduq-stat strong{display:block;font-size:1.8rem;font-weight:900;color:var(--quiz-dark)}.eduq-stat i{color:var(--quiz-primary);margin-left:7px}
.eduq-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}.eduq-col-8{grid-column:span 8}.eduq-col-7{grid-column:span 7}.eduq-col-5{grid-column:span 5}.eduq-col-4{grid-column:span 4}.eduq-col-12{grid-column:span 12}
.eduq-card{background:#fff;border:1px solid var(--quiz-border);border-radius:26px;padding:22px;box-shadow:0 8px 28px rgba(15,23,42,.04)}.eduq-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.eduq-card h2,.eduq-card h3{margin:0;color:var(--quiz-dark);font-weight:900}.eduq-card h2{font-size:1.23rem}.eduq-card h3{font-size:1.05rem}.eduq-sub{color:var(--quiz-muted);line-height:1.8;font-size:.91rem}.eduq-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;background:var(--quiz-primary-soft);color:var(--quiz-primary)}.eduq-badge.live{background:#fffbeb;color:#b45309}.eduq-badge.green{background:#ecfdf5;color:#047857}.eduq-badge.gray{background:#f1f5f9;color:#475569}
.eduq-table{width:100%;border-collapse:separate;border-spacing:0 10px}.eduq-table th{font-size:12px;color:#64748b;text-align:right;padding:0 13px;font-weight:800}.eduq-table td{background:#f8fafc;padding:13px;vertical-align:middle;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}.eduq-table td:first-child{border-radius:0 16px 16px 0}.eduq-table td:last-child{border-radius:16px 0 0 16px}.eduq-actions{display:flex;gap:7px;flex-wrap:wrap}.eduq-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;padding:8px 11px;font-weight:800;font-size:12px;border:1px solid #e2e8f0;background:#fff;color:#334155;text-decoration:none!important}.eduq-icon-btn.primary{background:#3131c1;border-color:#3131c1;color:#fff}.eduq-icon-btn.live{background:#fffbeb;border-color:#fde68a;color:#92400e}
.eduq-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.eduq-field{display:flex;flex-direction:column;gap:7px}.eduq-field.full{grid-column:1/-1}.eduq-field label{font-size:13px;font-weight:900;color:#334155}.eduq-field input,.eduq-field select,.eduq-field textarea{width:100%;border:1px solid #dbe2ea;background:#fff;border-radius:14px;padding:12px 14px;min-height:48px;font:inherit;color:#0f172a}.eduq-field textarea{min-height:110px;resize:vertical}.eduq-field input:focus,.eduq-field select:focus,.eduq-field textarea:focus{outline:none;border-color:#3131c1;box-shadow:0 0 0 4px rgba(49,49,193,.1)}
.eduq-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:8px}.eduq-check{display:flex;align-items:flex-start;gap:9px;background:#f8fafc;padding:11px;border-radius:14px;border:1px solid #eef2f7}.eduq-check input{margin-top:4px}.eduq-check strong{display:block;font-size:13px}.eduq-check small{display:block;color:#64748b;margin-top:3px}
.eduq-empty{text-align:center;padding:38px 12px;color:#64748b}.eduq-empty i{display:block;font-size:2.3rem;color:#cbd5e1;margin-bottom:12px}.eduq-notice{display:flex;gap:14px;align-items:center;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:18px;padding:14px 16px;margin-bottom:18px}.eduq-notice i{font-size:24px}.eduq-notice p{margin:4px 0 0;color:#c2410c}.eduq-alert{border-radius:16px;padding:13px 15px;margin-bottom:18px;font-weight:800}.eduq-alert.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.eduq-alert.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.eduq-cover{border-radius:24px;background:linear-gradient(135deg,#3131c1,#151563);color:#fff;min-height:178px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.eduq-cover:after{content:"";position:absolute;left:-35px;bottom:-35px;width:126px;height:126px;border-radius:50%;background:rgba(255,255,255,.12)}.eduq-cover strong,.eduq-cover span{position:relative;z-index:1}.eduq-cover strong{font-size:1.05rem;line-height:1.8}.eduq-quiz-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.eduq-quiz-item{border:1px solid #e2e8f0;background:#fff;border-radius:26px;padding:12px;display:flex;flex-direction:column;gap:13px}.eduq-meta{display:flex;gap:7px;flex-wrap:wrap}.eduq-quiz-item h3{font-size:1rem;line-height:1.8;margin:0}.eduq-divider{height:1px;background:#eef2f7;margin:18px 0}
.eduq-gate{text-align:center;max-width:620px;margin:42px auto;background:#fff;border:1px solid #e2e8f0;border-radius:32px;padding:38px 24px;box-shadow:0 15px 45px rgba(15,23,42,.06)}.eduq-gate-icon{width:70px;height:70px;margin:0 auto 17px;border-radius:24px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 28px rgba(15,23,42,.08);font-size:29px;color:#4285F4}.eduq-gate h1{font-weight:900;margin:0 0 10px;font-size:1.45rem}.eduq-gate p{line-height:2;color:#64748b;margin:0 auto 22px;max-width:470px}
.eduq-question{background:#fff;border:1px solid #e2e8f0;border-radius:25px;padding:20px;margin-bottom:14px}.eduq-question-title{display:flex;align-items:start;gap:10px;margin-bottom:15px;font-weight:900;line-height:2}.eduq-question-no{background:#eef0ff;color:#3131c1;border-radius:12px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex:none}.eduq-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.eduq-option{display:flex;align-items:center;gap:9px;padding:12px;border-radius:15px;background:#f8fafc;border:1px solid #e2e8f0;cursor:pointer}.eduq-option:hover{border-color:#3131c1;background:#eef0ff}.eduq-option input{accent-color:#3131c1}
.eduq-pin{font-size:2.8rem;letter-spacing:.22rem;font-weight:900;color:#3131c1;background:#eef0ff;border-radius:20px;padding:12px 20px;text-align:center;direction:ltr}.eduq-leader{display:flex;align-items:center;gap:12px;padding:13px;border-radius:15px;background:#f8fafc;margin-bottom:8px}.eduq-leader b{width:32px;height:32px;border-radius:12px;background:#3131c1;color:#fff;display:flex;align-items:center;justify-content:center}.eduq-leader strong{flex:1}.eduq-leader span{color:#3131c1;font-weight:900}
@media(max-width:991px){.eduq-col-8,.eduq-col-7,.eduq-col-5,.eduq-col-4{grid-column:span 12}.eduq-quiz-list{grid-template-columns:repeat(2,minmax(0,1fr))}.eduq-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.eduq-wrap{padding:18px 12px 42px}.eduq-hero{padding:23px 18px;border-radius:25px}.eduq-form-grid,.eduq-checks,.eduq-options,.eduq-quiz-list{grid-template-columns:1fr}.eduq-stats{gap:9px}.eduq-stat{padding:13px}.eduq-stat strong{font-size:1.42rem}.eduq-card{padding:16px;border-radius:21px}.eduq-table thead{display:none}.eduq-table,.eduq-table tbody,.eduq-table tr,.eduq-table td{display:block;width:100%}.eduq-table tr{margin-bottom:12px}.eduq-table td{border:0!important;border-radius:0!important;padding:8px 12px}.eduq-table td:first-child{padding-top:14px;border-radius:16px 16px 0 0!important}.eduq-table td:last-child{padding-bottom:14px;border-radius:0 0 16px 16px!important}}
.dark .eduq-card,.dark .eduq-stat,.dark .eduq-quiz-item,.dark .eduq-question,.dark .eduq-gate{background:#1e293b;border-color:#334155;color:#f8fafc}.dark .eduq-card h2,.dark .eduq-card h3,.dark .eduq-stat strong,.dark .eduq-quiz-item h3,.dark .eduq-gate h1{color:#fff}.dark .eduq-field label{color:#e2e8f0}.dark .eduq-field input,.dark .eduq-field select,.dark .eduq-field textarea{background:#0f172a;border-color:#334155;color:#fff}.dark .eduq-check,.dark .eduq-table td,.dark .eduq-option,.dark .eduq-leader{background:#0f172a;border-color:#334155}.dark .eduq-secondary,.dark .eduq-icon-btn{background:#0f172a;border-color:#334155;color:#f8fafc!important}

/* الاختبار العادي: مؤقت مستقل لكل سؤال */
.eduq-attempt-toolbar{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;background:#fff;border:1px solid var(--quiz-border);border-radius:24px;padding:16px 18px;margin-bottom:18px;box-shadow:0 8px 28px rgba(15,23,42,.04)}
.eduq-attempt-meta strong{display:block;font-weight:900;color:var(--quiz-dark);margin-bottom:4px}.eduq-attempt-meta small{font-size:.8rem;color:var(--quiz-muted);font-weight:700}
.eduq-countdown{display:inline-flex;align-items:center;gap:8px;border-radius:17px;background:var(--quiz-primary-soft);color:var(--quiz-primary);font-weight:900;font-size:1.1rem;padding:12px 17px;min-width:126px;justify-content:center}.eduq-countdown.is-ending{background:#fef2f2;color:#b91c1c;animation:eduqPulse 1s infinite}
.eduq-attempt-progress{grid-column:1/-1;background:#eef2f7;height:8px;border-radius:999px;overflow:hidden}.eduq-attempt-progress span{display:block;height:100%;background:var(--quiz-primary);border-radius:inherit;transition:width .24s ease}
.eduq-step-attempt .eduq-attempt-question{display:none}.eduq-step-attempt .eduq-attempt-question.is-current{display:block}.eduq-question-head{align-items:flex-start}.eduq-attempt-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}.eduq-timeout-note{margin:13px 0 0;border-radius:14px;padding:10px 12px;background:#fff7ed;color:#c2410c;font-weight:800;font-size:.86rem}
@keyframes eduqPulse{50%{transform:scale(1.04)}}
.dark .eduq-attempt-toolbar{background:#1e293b;border-color:#334155}.dark .eduq-attempt-meta strong{color:#fff}.dark .eduq-attempt-progress{background:#334155}.dark .eduq-countdown{background:rgba(49,49,193,.25);color:#c7d2fe}.dark .eduq-countdown.is-ending{background:rgba(127,29,29,.35);color:#fecaca}
@media(max-width:640px){.eduq-attempt-toolbar{grid-template-columns:1fr;padding:14px}.eduq-countdown{width:100%}.eduq-attempt-controls{flex-direction:column;align-items:stretch}.eduq-attempt-controls .eduq-primary{width:100%}}

/* Live Competition Engine */
.eduq-live-hero{position:relative;overflow:hidden}.eduq-live-hero:after{content:"";position:absolute;left:-45px;bottom:-60px;width:210px;height:210px;border-radius:50%;background:rgba(245,158,11,.16);filter:blur(4px)}
.eduq-live-host{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;margin-top:18px}.eduq-live-stage{min-height:360px;background:linear-gradient(145deg,#f8fafc,#eef2ff);border:1px solid #e2e8f0;border-radius:26px;padding:25px;display:flex;flex-direction:column;justify-content:center}.eduq-live-phase{display:inline-flex;align-self:flex-start;align-items:center;background:#312e81;color:#fff;border-radius:999px;padding:8px 16px;font-weight:900;font-size:.82rem;margin-bottom:17px}.eduq-live-stage h3{font-size:1.55rem;font-weight:900;margin:0 0 8px}.eduq-live-controls{margin-top:25px}.eduq-icon-btn.danger{color:#b91c1c;border-color:#fecaca;background:#fff}.eduq-icon-btn.danger:hover{background:#fef2f2}.eduq-live-roster{background:#f8fafc;border:1px solid #e2e8f0;border-radius:26px;padding:16px;max-height:620px;overflow:auto}.eduq-live-player-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto 34px;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:9px;margin-top:8px}.eduq-live-player-row b{height:28px;width:28px;background:#eef2ff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#3131c1}.eduq-live-player-row strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.88rem}.eduq-live-player-row small{display:block;font-size:.67rem;color:#64748b}.eduq-live-player-row>span{font-weight:900;color:#3131c1}.eduq-live-player-row button{border:0;background:#fee2e2;color:#b91c1c;width:30px;height:30px;border-radius:10px}.eduq-live-player-row.offline{opacity:.65}.eduq-live-player-row.kicked{filter:grayscale(1);opacity:.48}.eduq-empty.compact{padding:18px;font-size:.86rem}
.eduq-host-question{margin:15px 0 0}.eduq-host-question h3{font-size:1.35rem;line-height:2}.eduq-live-timer{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:50%;background:#3131c1;color:#fff;font-size:1.55rem;font-weight:900;margin-top:10px}.eduq-host-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.eduq-host-option-grid div{background:white;border:2px solid #e2e8f0;border-radius:16px;padding:12px;display:flex;justify-content:space-between;gap:7px}.eduq-host-option-grid div.correct{border-color:#10b981;background:#ecfdf5}.eduq-host-option-grid b{background:#eef2ff;color:#3131c1;border-radius:10px;padding:2px 10px}.eduq-scheduled{background:#fffbeb;color:#92400e;padding:14px;border-radius:16px;font-weight:800;margin-top:10px}.eduq-session-time{font-size:.83rem;font-weight:800;background:#fffbeb;color:#92400e;padding:11px;border-radius:13px;margin-top:15px}
.eduq-audio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.eduq-audio-tile{display:flex;flex-direction:column;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px;font-weight:800}.eduq-audio-tile input[type=file]{font-size:.75rem;max-width:100%}.eduq-audio-tile span i{color:#3131c1;margin-left:6px}.eduq-good{color:#059669}.eduq-remove{font-size:.78rem;color:#b91c1c;display:flex;align-items:center;gap:6px}.eduq-audio-save{grid-column:1/-1;justify-self:start}
.eduq-live-entry{max-width:650px}.eduq-live-glow{color:#f59e0b;box-shadow:0 0 0 16px rgba(245,158,11,.10)}.eduq-join-form{max-width:430px;margin:28px auto 0;display:grid;gap:16px}.eduq-pin-input{text-align:center!important;font-size:2rem!important;letter-spacing:.35rem;direction:ltr;font-weight:900}.eduq-member-ready,.eduq-guest-note{display:flex;align-items:flex-start;gap:11px;padding:14px;border-radius:17px;text-align:right}.eduq-member-ready{background:#ecfdf5;color:#047857}.eduq-member-ready i{font-size:1.45rem}.eduq-member-ready span{display:block;font-size:.88rem;margin-top:4px}.eduq-guest-note{background:#fffbeb;color:#92400e;font-size:.8rem;line-height:1.8}.eduq-guest-note a{font-weight:900;white-space:nowrap;color:#3131c1}
.eduq-live-player{max-width:920px;margin:0 auto;position:relative}.eduq-player-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.eduq-player-head h1{font-size:clamp(1.4rem,4vw,2.1rem);font-weight:900;margin:10px 0}.eduq-score-pill{background:#3131c1;color:#fff;border-radius:22px;padding:10px 20px;text-align:center;min-width:112px;box-shadow:0 12px 28px rgba(49,49,193,.22)}.eduq-score-pill small{display:block;color:#c7d2fe;font-weight:800}.eduq-score-pill strong{font-size:2rem;line-height:1.2}.eduq-connection{display:inline-flex;align-items:center;gap:6px;background:#ecfdf5;color:#047857;padding:7px 14px;border-radius:999px;font-weight:800;font-size:.78rem;margin-bottom:15px}.eduq-connection.offline{background:#fef2f2;color:#b91c1c}.eduq-player-stage{background:#fff;border-radius:32px;border:1px solid #e2e8f0;min-height:500px;padding:clamp(18px,5vw,42px);box-shadow:0 16px 44px rgba(15,23,42,.06)}.eduq-live-loader{height:360px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:900;color:#64748b}
.eduq-wait-panel{text-align:center}.eduq-wait-panel h2{font-size:clamp(1.55rem,4vw,2.25rem);font-weight:900;margin:27px 0 8px}.eduq-pin.small{font-size:2rem;max-width:280px;margin:20px auto}.eduq-waiting-users{background:#f8fafc;border-radius:22px;padding:18px;margin-top:24px;text-align:right}.eduq-waiting-users h3{font-size:1rem;font-weight:900;margin-bottom:13px}.eduq-waiting-users>div{display:flex;flex-wrap:wrap;gap:8px}.eduq-waiting-users span{background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:7px 13px;font-weight:800}.eduq-waiting-users small{color:#f59e0b}
.eduq-ready-screen{text-align:center;min-height:420px;display:flex;flex-direction:column;justify-content:center;align-items:center}.eduq-ready-label{background:#f59e0b;color:#422006;padding:8px 25px;border-radius:999px;font-weight:900;font-size:1.15rem}.eduq-live-timer.giant{width:114px;height:114px;font-size:3.2rem;margin:25px 0;background:#f59e0b;color:#422006}.eduq-ready-screen h2{font-size:clamp(1.35rem,4vw,2rem);font-weight:900;line-height:1.9;max-width:720px}
.eduq-question-live-head{display:flex;justify-content:space-between;align-items:center;color:#64748b;font-weight:900}.eduq-question-live-head b{background:#3131c1;color:#fff;border-radius:50%;height:60px;width:60px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.eduq-question-live h2{font-size:clamp(1.35rem,4vw,2.05rem);font-weight:900;text-align:center;line-height:2;margin:35px auto;max-width:780px}.eduq-player-options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.eduq-player-options button{border:0;color:#fff;border-radius:22px;padding:20px;display:flex;align-items:center;gap:15px;text-align:right;font-weight:900;font-size:1rem;min-height:92px;transition:transform .15s,opacity .15s}.eduq-player-options button:hover{transform:translateY(-2px)}.eduq-player-options button:disabled{opacity:.55}.eduq-player-options strong{display:flex;width:42px;height:42px;background:rgba(255,255,255,.2);border-radius:13px;justify-content:center;align-items:center;font-size:1.25rem}.option-1{background:#e21b3c}.option-2{background:#1368ce}.option-3{background:#d89e00}.option-4{background:#26890c}.eduq-answer-locked{background:#eef2ff;border-radius:26px;padding:48px 20px;text-align:center;color:#3131c1;display:flex;flex-direction:column;gap:10px;align-items:center}.eduq-answer-locked i{font-size:3rem}.eduq-answer-locked strong{font-size:1.5rem}
.eduq-reveal{text-align:center;min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.eduq-reveal>i{font-size:5rem}.eduq-reveal.good{color:#047857}.eduq-reveal.bad{color:#b91c1c}.eduq-reveal h2{font-size:2rem;font-weight:900;margin:0}.eduq-reveal p{font-size:1.3rem;font-weight:900}.eduq-correct-answer{background:#ecfdf5;color:#047857;border-radius:15px;padding:14px 19px}
.eduq-final{text-align:center}.eduq-final h2{font-weight:900;font-size:2rem;margin:17px}.eduq-podium{height:230px;display:flex;align-items:flex-end;justify-content:center;gap:10px;margin:20px auto;max-width:560px}.eduq-podium-item{width:31%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;background:#f1f5f9;border-radius:20px 20px 0 0;padding:15px 8px;font-weight:900}.eduq-podium-item.first{height:215px;background:#fef3c7;color:#92400e}.eduq-podium-item.second{height:165px;background:#e2e8f0;color:#334155}.eduq-podium-item.third{height:125px;background:#ffedd5;color:#9a3412}.eduq-podium-item i{font-size:1.7rem}.eduq-podium-item b{font-size:2rem}.eduq-podium-item span{font-size:.86rem}.eduq-my-rank{display:flex;align-items:center;justify-content:center;gap:15px;background:#eef2ff;color:#3131c1;border-radius:20px;padding:14px;margin:20px auto;max-width:420px}.eduq-my-rank b{font-size:1.8rem}.eduq-top20{max-width:580px;margin:0 auto;text-align:right}.eduq-top20 h3{font-weight:900;margin:18px 0}.eduq-top20>div{display:grid;grid-template-columns:48px 1fr auto;gap:10px;padding:11px;border-bottom:1px solid #e2e8f0;font-weight:800}.eduq-top20>div.me{background:#eef2ff;border-radius:14px;color:#3131c1}
.eduq-guest-toast{position:fixed;bottom:20px;right:20px;z-index:99;max-width:390px;background:#fff;border:1px solid #e2e8f0;border-right:5px solid #f59e0b;border-radius:20px;padding:16px 17px;display:none;align-items:center;gap:10px;box-shadow:0 18px 46px rgba(15,23,42,.16);font-size:.82rem;font-weight:800}.eduq-guest-toast.show{display:flex}.eduq-guest-toast i{color:#f59e0b}.eduq-guest-toast a{color:#3131c1;white-space:nowrap}.eduq-toast-close{border:0;background:#f1f5f9;height:26px;width:26px;border-radius:50%}.eduq-guest-toast.hidden{display:none!important}
@media(max-width:900px){.eduq-live-host{grid-template-columns:1fr}.eduq-live-roster{max-height:none}.eduq-audio-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.eduq-live-stage{padding:16px;min-height:330px}.eduq-live-controls{display:grid;grid-template-columns:1fr}.eduq-host-option-grid,.eduq-player-options{grid-template-columns:1fr}.eduq-player-head{align-items:center}.eduq-score-pill{min-width:88px;padding:9px 13px}.eduq-score-pill strong{font-size:1.55rem}.eduq-player-stage{padding:16px;min-height:430px;border-radius:23px}.eduq-audio-grid{grid-template-columns:1fr}.eduq-podium{height:195px}.eduq-podium-item.first{height:185px}.eduq-podium-item.second{height:145px}.eduq-podium-item.third{height:113px}.eduq-guest-toast{left:12px;right:12px;bottom:12px}}
/* Central question bank and builder */
.eduq-filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 22px}.eduq-filter-bar input,.eduq-filter-bar select{border:1px solid #e2e8f0;border-radius:13px;background:#fff;padding:10px 12px;min-width:120px;flex:1;font:inherit}.eduq-filter-bar input{min-width:190px}.eduq-scope-path{background:#f8fafc;border-radius:13px;padding:10px 13px;color:#475569;font-size:.82rem;font-weight:700;line-height:1.8;margin:13px 0}.eduq-scope-path i{color:#3131c1;margin-left:6px}.eduq-disabled-question{opacity:.7;background:#f8fafc}.eduq-bank-pick-list{max-height:650px;overflow:auto;display:grid;gap:9px;padding:2px}.eduq-bank-pick{display:flex;align-items:flex-start;gap:10px;border:1px solid #e2e8f0;border-radius:16px;padding:12px;cursor:pointer;background:#fff;transition:.16s}.eduq-bank-pick:hover{border-color:#a5b4fc;background:#f8faff}.eduq-bank-pick input{margin-top:6px;accent-color:#3131c1}.eduq-bank-pick span{display:block;min-width:0}.eduq-bank-pick strong{display:block;font-size:.9rem;line-height:1.9}.eduq-bank-pick small{display:block;color:#64748b;line-height:1.7;margin-top:3px}.eduq-builder-filter{background:#f8fafc;padding:13px;border-radius:18px}.eduq-room-policy{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
@media(max-width:640px){.eduq-filter-bar{display:grid}.eduq-filter-bar input,.eduq-filter-bar select{width:100%}.eduq-bank-pick-list{max-height:none}}
/* Quiz Experience Stage 2: quick editor, secure media crop and learner ratings */
.eduq-bank-layout{align-items:start}
.eduq-bank-editor{position:static;top:auto;align-self:stretch;min-width:0}
.eduq-bank-library{min-width:0}
.eduq-bank-library .eduq-card-head{align-items:flex-start}
.eduq-bank-question-card{padding:16px;margin-bottom:12px;border-radius:20px}
.eduq-bank-question-card .eduq-question-title{margin-bottom:8px;min-width:0;word-break:break-word}
.eduq-bank-question-card .eduq-actions{margin-top:8px}
.eduq-bank-library .eduq-filter-bar{display:grid;grid-template-columns:minmax(150px,1.45fr) repeat(2,minmax(112px,1fr));gap:8px}
.eduq-bank-library .eduq-filter-bar button{grid-column:1/-1}
.eduq-options-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.eduq-option-editor-list{display:flex;flex-direction:column;gap:10px}
.eduq-option-edit-row{display:grid;grid-template-columns:44px minmax(140px,1fr) auto 38px;gap:8px;align-items:center;border:1px solid #e2e8f0;border-radius:16px;padding:8px;background:#f8fafc}
.eduq-option-edit-row .eduq-option-text{min-width:0;background:#fff}
.eduq-correct-radio{height:40px;width:40px;border:1px solid #cbd5e1;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;color:#94a3b8}
.eduq-correct-radio input{position:absolute;opacity:0}.eduq-correct-radio:has(input:checked){background:#dcfce7;color:#047857;border-color:#86efac}
.eduq-mini-media{display:flex;align-items:center;gap:5px}.eduq-option-image-button,.eduq-remove-mini,.eduq-remove-option{height:38px;width:38px;border-radius:11px;border:1px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:center;color:#64748b;cursor:pointer}.eduq-remove-mini input{position:absolute;opacity:0}.eduq-remove-mini:has(input:checked),.eduq-remove-option:hover{background:#fef2f2;color:#dc2626;border-color:#fecaca}.eduq-mini-thumb{width:38px;height:38px;border-radius:10px;overflow:hidden;display:inline-flex;background:#eef2ff}.eduq-mini-thumb img{width:100%;height:100%;object-fit:cover}
.eduq-media-picker{border:1px dashed #cbd5e1;border-radius:18px;padding:12px;background:#f8fafc}.eduq-media-picker>label{font-weight:800;display:block;margin-bottom:9px}.eduq-media-preview{height:124px;border-radius:14px;background:#fff;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;color:#94a3b8;margin-bottom:10px;overflow:hidden}.eduq-media-preview img{display:block;width:100%;height:100%;object-fit:contain}.eduq-media-buttons{display:flex;gap:8px;flex-wrap:wrap}
.eduq-crop-modal{position:fixed;inset:0;z-index:9999;background:rgba(15,23,42,.7);display:none;align-items:center;justify-content:center;padding:18px}.eduq-crop-modal.show{display:flex}.eduq-crop-dialog{width:min(780px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:24px;padding:18px}.eduq-crop-area{height:min(58vh,520px);background:#0f172a;border-radius:16px;overflow:hidden}.eduq-crop-area img{display:block;max-width:100%}
.eduq-bank-thumb{display:block;max-width:180px;max-height:110px;object-fit:contain;border-radius:12px;margin:0 0 12px}
.eduq-question-media,.eduq-explanation-media,.eduq-live-media{display:block;max-width:min(100%,680px);max-height:420px;object-fit:contain;margin:12px auto;border-radius:16px;border:1px solid #e2e8f0;background:#fff}.eduq-option-media,.eduq-live-option-media{display:block;max-width:180px;max-height:110px;object-fit:contain;margin-top:8px;border-radius:10px}.eduq-explanation{padding:12px 14px;border-radius:14px;background:#fffbeb;color:#854d0e;margin:12px 0 0;line-height:1.9}
.eduq-inline-rating{border-top:1px dashed #e2e8f0;margin-top:14px;padding-top:11px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}.eduq-inline-rating small{color:#64748b;font-weight:800}.eduq-inline-rating div{display:flex;gap:5px}.eduq-inline-rating button{border:1px solid #dbeafe;color:#2563eb;background:#eff6ff;border-radius:999px;padding:5px 11px;font-weight:800;font-size:12px}.eduq-inline-rating button:disabled{opacity:.65;cursor:not-allowed}.eduq-inline-rating [data-rating-result]{display:block;color:#047857;font-weight:700;flex-basis:100%}
.eduq-performance-card{text-align:center;margin-bottom:22px}.eduq-performance-card h2{font-size:2.4rem;margin:18px 0 8px}.eduq-overall-rating{max-width:480px;margin:22px auto;padding:16px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0}.eduq-overall-rating strong{display:block;margin-bottom:9px}.eduq-stars{display:flex;justify-content:center;gap:7px;direction:ltr;margin-bottom:8px}.eduq-stars button{border:0;background:transparent;color:#f59e0b;font-size:27px;padding:3px;cursor:pointer}.eduq-stars button:disabled{cursor:not-allowed}.justify-center{justify-content:center}
.eduq-audio-status .eduq-audio-tile{min-height:85px;justify-content:center}
@media(max-width:1100px){.eduq-bank-layout .eduq-col-7,.eduq-bank-layout .eduq-col-5{grid-column:span 12}.eduq-bank-editor{position:static}.eduq-bank-library .eduq-filter-bar{grid-template-columns:minmax(180px,2fr) repeat(3,minmax(120px,1fr));}.eduq-bank-library .eduq-filter-bar button{grid-column:auto}}
@media(max-width:960px){.eduq-option-edit-row{grid-template-columns:42px minmax(0,1fr) 38px}.eduq-mini-media{grid-column:2/4}.eduq-crop-area{height:48vh}}
@media(max-width:640px){.eduq-bank-library .eduq-filter-bar{grid-template-columns:1fr}.eduq-bank-library .eduq-filter-bar button{grid-column:auto;width:100%}}
@media(max-width:560px){.eduq-option-edit-row{grid-template-columns:40px minmax(0,1fr) 36px;padding:7px}.eduq-media-buttons .eduq-icon-btn{flex:1;justify-content:center}.eduq-question-media,.eduq-explanation-media,.eduq-live-media{max-height:280px}.eduq-inline-rating{display:block}.eduq-inline-rating div{margin:8px 0;display:flex}.eduq-inline-rating button{flex:1}}

/* Question bank lesson workflow: keep classification while entering consecutive questions */
.eduq-lesson-mode-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:19px;padding:13px 15px;margin:0 0 17px}
.eduq-lesson-mode-panel>div{min-width:0}.eduq-lesson-mode-panel strong{display:block;color:#065f46;font-size:.93rem;margin:8px 0 3px;line-height:1.8}.eduq-lesson-mode-panel p{margin:0;color:#047857;font-size:.82rem;font-weight:800;line-height:1.8}.eduq-lesson-mode-panel p small{color:#475569}.eduq-lesson-mode-panel .eduq-secondary{flex-shrink:0}
.eduq-sequence-toggle{display:flex!important;align-items:flex-start;gap:12px;border:1px solid #c7d2fe;background:#eef2ff;border-radius:18px;padding:13px 14px;cursor:pointer;margin:0!important}.eduq-sequence-toggle input{height:19px;width:19px;margin-top:3px;accent-color:#3131c1;flex-shrink:0}.eduq-sequence-toggle span{display:block}.eduq-sequence-toggle strong{display:block;color:#312e81;margin:0 0 3px;font-size:.93rem}.eduq-sequence-toggle strong i{margin-left:6px;color:#f59e0b}.eduq-sequence-toggle small{display:block;color:#475569;line-height:1.8;font-weight:700}
.eduq-template-btn{background:#fffbeb;border-color:#fde68a;color:#92400e}.eduq-template-btn:hover{background:#fef3c7}
@media(max-width:640px){.eduq-lesson-mode-panel{display:block}.eduq-lesson-mode-panel .eduq-secondary{margin-top:12px;width:100%;justify-content:center}.eduq-sequence-toggle{padding:12px}.eduq-bank-question-card .eduq-actions .eduq-template-btn{width:100%;justify-content:center}}

.eduq-sequence-tools{display:grid;gap:9px}.eduq-start-lesson{justify-self:start}
@media(max-width:640px){.eduq-start-lesson{width:100%;justify-content:center}}

.eduq-bank-library .eduq-lesson-filter{grid-template-columns:minmax(160px,1fr) 122px auto}.eduq-bank-library .eduq-lesson-filter button{grid-column:auto}
@media(max-width:640px){.eduq-bank-library .eduq-lesson-filter{grid-template-columns:1fr}}

/* Live competition UI repair: podium, top-20 board and learner ratings */
.eduq-host-final{width:100%;text-align:center}
.eduq-podium{direction:ltr;display:flex;align-items:flex-end;justify-content:center;gap:12px;height:258px;max-width:650px;margin:24px auto 30px;padding:0 8px;border-bottom:5px solid #e2e8f0}
.eduq-podium-item{position:relative;direction:rtl;width:min(31%,190px);display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:6px;border-radius:25px 25px 3px 3px;padding:18px 10px 14px;font-weight:900;box-shadow:0 -6px 22px rgba(15,23,42,.07);overflow:hidden}
.eduq-podium-item:after{content:"";position:absolute;inset:0;background:linear-gradient(155deg,rgba(255,255,255,.45),transparent 52%);pointer-events:none}
.eduq-podium-item.first{order:2;height:238px;background:#fef3c7;color:#92400e;border:2px solid #fbbf24}
.eduq-podium-item.second{order:1;height:183px;background:#f1f5f9;color:#334155;border:2px solid #cbd5e1}
.eduq-podium-item.third{order:3;height:148px;background:#ffedd5;color:#9a3412;border:2px solid #fdba74}
.eduq-podium-item i{font-size:1.7rem;margin-bottom:1px;position:relative;z-index:1}.eduq-podium-item.first i{color:#f59e0b;font-size:2.15rem}.eduq-podium-item.second i{color:#94a3b8}.eduq-podium-item.third i{color:#ea580c}
.eduq-podium-item b{display:flex;align-items:center;justify-content:center;position:relative;z-index:1;background:rgba(255,255,255,.72);border-radius:999px;width:38px;height:38px;font-size:1.28rem}
.eduq-podium-item strong{position:relative;z-index:1;display:block;max-width:100%;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eduq-podium-item span{position:relative;z-index:1;background:rgba(255,255,255,.65);border-radius:999px;padding:4px 10px;font-size:.78rem;white-space:nowrap}
.eduq-my-rank{margin:0 auto 25px;border:1px solid #c7d2fe;box-shadow:0 7px 18px rgba(49,49,193,.06)}
.eduq-top20{width:100%;max-width:690px;margin:24px auto 0;text-align:right;background:#fff;border:1px solid #e2e8f0;border-radius:23px;overflow:hidden;box-shadow:0 8px 25px rgba(15,23,42,.05)}
.eduq-top20-title{display:flex;align-items:center;gap:10px;padding:17px 19px;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.eduq-top20-title i{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;color:#f59e0b;background:#fffbeb;border-radius:13px}
.eduq-top20-title h3{font-size:1rem;font-weight:900;color:#0f172a;margin:0}
.eduq-leaderboard-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.eduq-leaderboard-table{width:100%;min-width:360px;border-collapse:separate;border-spacing:0}
.eduq-leaderboard-table th{background:#fff;color:#64748b;text-align:right;font-size:.75rem;font-weight:900;padding:11px 16px;border-bottom:1px solid #e2e8f0}
.eduq-leaderboard-table th:first-child,.eduq-leaderboard-table td:first-child{width:80px;text-align:center}
.eduq-leaderboard-table th:last-child,.eduq-leaderboard-table td:last-child{width:106px;text-align:center}
.eduq-leaderboard-table td{padding:11px 16px;border-bottom:1px solid #f1f5f9;font-size:.9rem;font-weight:800;color:#334155;background:#fff}
.eduq-leaderboard-table tbody tr:last-child td{border-bottom:0}
.eduq-leaderboard-table tbody tr.me td{background:#eef2ff;color:#312e81}
.eduq-leaderboard-table tbody tr.me .eduq-leader-name:after{content:"أنت";display:inline-flex;margin-right:8px;padding:2px 8px;border-radius:999px;background:#3131c1;color:#fff;font-size:.66rem}
.eduq-rank-badge{width:35px;height:35px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;color:#334155;font-size:.88rem}
.eduq-rank-badge.rank-1{background:#fef3c7;color:#92400e}.eduq-rank-badge.rank-2{background:#e2e8f0;color:#334155}.eduq-rank-badge.rank-3{background:#ffedd5;color:#9a3412}
.eduq-leader-name{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.eduq-leader-score{display:inline-flex;justify-content:center;min-width:68px;padding:6px 10px;border-radius:999px;background:#ecfdf5;color:#047857;direction:rtl}
.eduq-table-empty{text-align:center!important;color:#64748b!important;padding:24px!important}
.eduq-next-question-note{display:block;margin-top:8px;color:#64748b;font-weight:800}
.eduq-correct-answer{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-weight:900}
.eduq-reveal .eduq-live-difficulty{width:min(100%,560px);color:#0f172a}
.eduq-inline-rating{width:100%;border:1px solid #e2e8f0;border-top:1px solid #e2e8f0;margin:15px auto 2px;padding:13px;border-radius:17px;background:#f8fafc;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;text-align:right;font-size:.78rem;color:#0f172a}
.eduq-inline-rating small,.eduq-rating-title{display:inline-flex;align-items:center;gap:6px;color:#334155;font-weight:900;font-size:.78rem}.eduq-rating-title i{color:#f59e0b}
.eduq-inline-rating>div,.eduq-difficulty-options{display:flex;align-items:center;gap:6px}
.eduq-inline-rating button{display:inline-flex;align-items:center;gap:5px;border:1px solid #e2e8f0;color:#334155;background:#fff;border-radius:999px;padding:7px 12px;font-weight:900;font-size:.76rem;transition:.16s;cursor:pointer}
.eduq-inline-rating button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px rgba(15,23,42,.08)}
.eduq-inline-rating button[data-difficulty="easy"],.eduq-inline-rating button.easy{color:#047857;background:#ecfdf5;border-color:#a7f3d0}
.eduq-inline-rating button[data-difficulty="medium"],.eduq-inline-rating button.medium{color:#92400e;background:#fffbeb;border-color:#fde68a}
.eduq-inline-rating button[data-difficulty="hard"],.eduq-inline-rating button.hard{color:#b91c1c;background:#fef2f2;border-color:#fecaca}
.eduq-inline-rating button:disabled{opacity:.62;cursor:not-allowed;transform:none}
.eduq-inline-rating [data-rating-result]{display:block;flex-basis:100%;text-align:center;color:#047857;background:#ecfdf5;border-radius:11px;padding:7px 10px;font-weight:800;line-height:1.8}
.eduq-inline-rating [data-rating-result]:empty{display:none}
.eduq-overall-rating{position:relative;max-width:520px;margin:25px auto;padding:22px 18px 18px;border-radius:23px;background:#fffbeb;border:1px solid #fde68a;text-align:center;box-shadow:0 8px 22px rgba(245,158,11,.07)}
.eduq-overall-rating .eduq-rating-badge{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#b45309;border:1px solid #fde68a;border-radius:999px;padding:5px 12px;font-size:.72rem;font-weight:900;margin-bottom:11px}
.eduq-overall-rating strong{display:block;color:#0f172a;font-size:1.05rem;font-weight:900;margin-bottom:5px}
.eduq-overall-rating p{margin:0 0 12px!important;color:#64748b!important;font-size:.82rem!important;font-weight:700!important}
.eduq-stars{direction:ltr;display:flex;justify-content:center;gap:8px;margin:6px auto 12px}
.eduq-stars button{display:inline-flex;justify-content:center;align-items:center;border:0;background:#fff;color:#f59e0b;font-size:1.7rem;width:48px;height:48px;border-radius:15px;cursor:pointer;box-shadow:0 2px 7px rgba(15,23,42,.06);transition:.16s}
.eduq-stars button:hover:not(:disabled){transform:translateY(-2px);background:#fef3c7}.eduq-stars button:disabled{cursor:not-allowed;opacity:.78}
.eduq-overall-rating small[data-rating-result]{display:block;color:#92400e;font-weight:800;line-height:1.9}
@media(max-width:640px){.eduq-podium{gap:6px;height:212px;padding:0;margin:20px auto 24px}.eduq-podium-item{padding:12px 5px 10px;border-radius:18px 18px 3px 3px}.eduq-podium-item.first{height:198px}.eduq-podium-item.second{height:156px}.eduq-podium-item.third{height:128px}.eduq-podium-item strong{font-size:.78rem}.eduq-podium-item span{font-size:.7rem;padding:4px 6px}.eduq-podium-item b{width:31px;height:31px;font-size:1rem}.eduq-podium-item.first i{font-size:1.65rem}.eduq-top20{border-radius:18px;margin-top:18px}.eduq-leaderboard-table td{padding:10px 9px}.eduq-leaderboard-table th{padding:10px 9px}.eduq-inline-rating{display:block;padding:12px}.eduq-inline-rating small,.eduq-rating-title{justify-content:center;display:flex;margin-bottom:9px}.eduq-inline-rating>div,.eduq-difficulty-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.eduq-inline-rating button{justify-content:center;padding:8px 5px}.eduq-stars button{width:43px;height:43px;font-size:1.5rem}.eduq-overall-rating{padding:18px 12px}}


/* Live competition stage 3: secure reveal scoreboard, compact mobile header, capacity and host roster */
.eduq-player-title{flex:1;min-width:0}.eduq-player-title h1{font-size:clamp(1.05rem,2.1vw,1.42rem);line-height:1.7;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.eduq-player-metrics{display:flex;align-items:stretch;gap:8px;flex-shrink:0}.eduq-player-metrics .eduq-score-pill{min-width:98px;padding:9px 14px;border-radius:18px}.eduq-player-metrics .eduq-score-pill strong{font-size:1.55rem}.eduq-rank-pill{background:#fff!important;color:#312e81!important;border:1px solid #c7d2fe;box-shadow:none!important}.eduq-rank-pill small{color:#64748b!important}
.eduq-live-roster{background:#f8fafc;border:1px solid #e2e8f0;border-radius:24px;padding:14px;overflow:auto}.eduq-live-roster .eduq-card-head{position:sticky;top:-14px;background:#f8fafc;z-index:2;padding:3px 0 12px;margin-bottom:4px}.eduq-live-roster #host-player-list{display:grid;gap:8px}
.eduq-live-roster .eduq-live-player-row,.eduq-live-roster .eduq-roster-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:11px 12px;margin:0;box-shadow:0 2px 8px rgba(15,23,42,.03)}
.eduq-live-roster .eduq-live-player-row{grid-template-columns:30px minmax(0,1fr) auto}.eduq-live-roster .eduq-roster-row span,.eduq-live-roster .eduq-live-player-row strong{display:block;min-width:0;font-size:.86rem;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#0f172a}.eduq-live-roster .eduq-roster-row small,.eduq-live-roster .eduq-live-player-row small{display:inline-flex;margin-right:5px;color:#b45309;background:#fffbeb;border-radius:999px;padding:2px 7px;font-size:.64rem}.eduq-live-roster .eduq-roster-row>strong,.eduq-live-roster .eduq-live-player-row>span{font-weight:900;color:#3131c1;background:#eef2ff;border-radius:999px;padding:5px 9px;direction:ltr}
.eduq-option-edit-row{position:relative;isolation:isolate;overflow:visible}.eduq-option-edit-row .eduq-option-text{display:block!important;visibility:visible!important;opacity:1!important;position:relative;z-index:3;pointer-events:auto!important;cursor:text}.eduq-option-edit-row .eduq-mini-media,.eduq-option-edit-row .eduq-remove-option,.eduq-option-edit-row .eduq-correct-radio{position:relative;z-index:1}
@media(max-width:640px){.eduq-live-player-page .eduq-wrap{padding-top:10px}.eduq-player-head{gap:7px;margin-bottom:7px;align-items:flex-start}.eduq-player-title .eduq-kicker{font-size:.65rem;padding:5px 8px;margin-bottom:3px}.eduq-player-title h1{font-size:.86rem;line-height:1.55;margin-top:4px}.eduq-player-metrics{gap:5px}.eduq-player-metrics .eduq-score-pill{min-width:62px;padding:6px 8px;border-radius:13px}.eduq-player-metrics .eduq-score-pill small{font-size:.61rem}.eduq-player-metrics .eduq-score-pill strong{font-size:1.1rem}.eduq-connection{margin-bottom:8px;padding:5px 10px}.eduq-player-stage{padding:12px;min-height:calc(100vh - 170px);border-radius:18px}.eduq-ready-screen{min-height:330px}.eduq-question-live h2{font-size:1.04rem;line-height:1.7;margin:14px auto}.eduq-question-live-head b{width:48px;height:48px;font-size:1.2rem}.eduq-player-options{gap:8px}.eduq-player-options button{padding:12px;min-height:70px;border-radius:16px;font-size:.9rem}.eduq-player-options strong{height:35px;width:35px;font-size:1rem}.eduq-answer-locked{padding:28px 12px}.eduq-reveal{min-height:345px}.eduq-reveal>i{font-size:3.2rem}.eduq-reveal h2{font-size:1.4rem}.eduq-reveal p{font-size:1rem}}


/* Standard training attempt: compact hero, instant locked feedback and richer result */
.eduq-compact-hero{padding:14px 20px;border-radius:20px;margin-bottom:15px;box-shadow:0 12px 28px rgba(49,49,193,.13)}
.eduq-compact-hero:before{width:150px;height:150px;left:-58px;top:-75px}.eduq-compact-hero:after{width:118px;height:118px;right:-42px;bottom:-64px}
.eduq-compact-hero .eduq-kicker{padding:4px 10px;font-size:.69rem;margin-bottom:6px}.eduq-compact-hero h1{font-size:clamp(1.04rem,1.8vw,1.32rem);line-height:1.65;margin:0 0 3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.eduq-compact-hero p{font-size:.79rem;line-height:1.7}
.eduq-step-attempt .eduq-attempt-question:not(.is-current){display:none}.eduq-step-attempt .eduq-option{transition:background .18s,border-color .18s,box-shadow .18s;cursor:pointer}.eduq-step-attempt .eduq-attempt-question.is-answered .eduq-option{cursor:default;pointer-events:none}.eduq-step-attempt .eduq-option.is-correct{border-color:#10b981!important;background:#ecfdf5!important;box-shadow:0 0 0 1px rgba(16,185,129,.12)}.eduq-step-attempt .eduq-option.is-wrong{border-color:#ef4444!important;background:#fef2f2!important;color:#991b1b}
.eduq-instant-feedback{display:none;align-items:center;gap:11px;margin:14px 0 4px;padding:13px 15px;border-radius:17px;font-weight:800;position:relative;overflow:hidden}.eduq-attempt-question.is-answered .eduq-instant-feedback{display:flex}.eduq-instant-feedback i{font-size:1.55rem}.eduq-instant-feedback strong{font-size:.95rem}.eduq-instant-feedback span{font-size:.76rem;color:inherit;opacity:.88}.eduq-instant-feedback.is-correct{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.eduq-instant-feedback.is-wrong{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.eduq-instant-feedback.is-locked{color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe}
.eduq-step-attempt .eduq-inline-rating{display:none}.eduq-step-attempt .eduq-attempt-question.is-answered .eduq-inline-rating{display:flex}
.eduq-attempt-controls .eduq-primary:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.eduq-success-burst{position:absolute;z-index:6;top:50%;left:50%;height:1px;width:1px;pointer-events:none}.eduq-success-burst i{position:absolute;display:block;width:9px;height:15px;border-radius:4px;background:#10b981;animation:eduqBurst 1.05s ease-out forwards;animation-delay:var(--d);transform:translate(-50%,-50%)}.eduq-success-burst i:nth-child(3n){background:#f59e0b}.eduq-success-burst i:nth-child(3n+1){background:#2563eb}.eduq-success-burst i:nth-child(4n){width:7px;height:7px;border-radius:50%;background:#ef4444}@keyframes eduqBurst{0%{opacity:1;transform:translate(-50%,-50%) scale(.2) rotate(0)}80%{opacity:1;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1) rotate(var(--r))}100%{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y) + 20px)) scale(.65) rotate(var(--r))}}
.eduq-result-showcase{padding:26px 26px 24px;background:linear-gradient(180deg,#fff,#f8fafc);border-color:#e0e7ff;overflow:hidden}.eduq-result-status{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.eduq-result-status h2{font-size:1.2rem!important;margin:0!important;color:#0f172a}.eduq-result-overview{display:flex;align-items:center;justify-content:center;gap:27px;max-width:690px;margin:22px auto 18px;text-align:right}.eduq-result-ring{--eduq-result-percent:0%;width:152px;height:152px;flex-shrink:0;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:conic-gradient(#3131c1 var(--eduq-result-percent),#e2e8f0 0);position:relative}.eduq-result-ring:before{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff}.eduq-result-ring strong,.eduq-result-ring small{position:relative;z-index:1}.eduq-result-ring strong{font-size:2.3rem;color:#3131c1;line-height:1.2}.eduq-result-ring small{font-size:.75rem;color:#64748b;font-weight:800}.eduq-result-message h3{margin:0 0 8px;font-size:1.3rem;color:#0f172a}.eduq-result-message p{margin:0;color:#64748b;line-height:2;font-weight:700}.eduq-result-message strong{color:#3131c1}.eduq-result-stats{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px;max-width:690px;margin:18px auto 3px}.eduq-result-stats>div{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:14px 9px;border-radius:18px;background:#fff;border:1px solid #e2e8f0}.eduq-result-stats i{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:10px;background:#eef2ff;color:#3131c1}.eduq-result-stats div:first-child i{background:#ecfdf5;color:#047857}.eduq-result-stats div:nth-child(2) i{background:#fef2f2;color:#dc2626}.eduq-result-stats strong{font-size:1.08rem;color:#0f172a}.eduq-result-stats small{display:block;flex-basis:100%;color:#64748b;font-weight:800;font-size:.72rem}.eduq-result-private{max-width:550px;margin:24px auto 8px;padding:26px 18px;border-radius:25px;background:#eef2ff;color:#312e81}.eduq-result-private i{font-size:2.4rem;margin-bottom:10px}.eduq-result-private h3{margin:0 0 8px}.eduq-result-private p{margin:0;line-height:1.9;font-weight:700}.eduq-result-actions{margin-top:20px}
@media(max-width:640px){.eduq-compact-hero{padding:9px 12px;border-radius:15px;margin-bottom:10px}.eduq-compact-hero .eduq-kicker{font-size:.59rem;padding:3px 7px;margin-bottom:3px}.eduq-compact-hero h1{font-size:.82rem;line-height:1.5}.eduq-compact-hero p{font-size:.67rem;line-height:1.45}.eduq-instant-feedback{display:none;flex-direction:column;text-align:center;gap:5px;padding:11px}.eduq-result-showcase{padding:17px 12px 19px}.eduq-result-overview{display:block;text-align:center;margin:18px auto 13px}.eduq-result-ring{width:126px;height:126px;margin:0 auto 15px}.eduq-result-ring strong{font-size:1.9rem}.eduq-result-message h3{font-size:1.05rem}.eduq-result-stats{grid-template-columns:repeat(3,1fr);gap:6px}.eduq-result-stats>div{padding:10px 4px}.eduq-result-stats strong{font-size:.85rem}.eduq-result-stats small{font-size:.61rem}.eduq-result-actions{display:grid;grid-template-columns:1fr;gap:8px}.eduq-result-actions>*{width:100%}}


/* Live background music and contestant sound control */
.eduq-player-sound-toggle{display:inline-flex;align-items:center;gap:5px;border:1px solid #dbeafe;background:#fff;color:#1d4ed8;border-radius:999px;padding:5px 10px;font-family:inherit;font-size:.71rem;font-weight:900;cursor:pointer;white-space:nowrap;transition:background .18s,border-color .18s,color .18s}
.eduq-player-sound-toggle:hover{background:#eff6ff;border-color:#bfdbfe}.eduq-player-sound-toggle.is-muted{background:#f1f5f9;border-color:#e2e8f0;color:#475569}.eduq-player-sound-toggle:focus-visible{outline:3px solid rgba(49,49,193,.18);outline-offset:2px}
.eduq-audio-hint{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:12px auto 0;padding:7px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:800;font-size:.73rem}
@media(max-width:640px){.eduq-player-sound-toggle{padding:4px 7px;font-size:.59rem}.eduq-player-sound-toggle span{display:none}.eduq-player-sound-toggle i{font-size:.72rem}.eduq-audio-hint{font-size:.64rem;padding:6px 9px;line-height:1.6}}

/* Live player compact header restoration and guest reminder polish */
.eduq-player-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 4px}
.eduq-player-meta .eduq-connection{margin:0;padding:5px 10px;font-size:.69rem;line-height:1.15}
.eduq-live-mode-pill{display:inline-flex;align-items:center;gap:5px;background:#eef2ff;color:#3131c1;border:1px solid #c7d2fe;border-radius:999px;padding:5px 10px;font-size:.69rem;font-weight:900;line-height:1.15;white-space:nowrap}
.eduq-live-mode-pill i{font-size:.68rem;color:#3131c1}
.eduq-live-player-page .eduq-player-title h1{font-size:clamp(.9rem,1.55vw,1.12rem);line-height:1.58;margin:4px 0 0}
.eduq-guest-toast{isolation:isolate;max-width:400px;padding:16px 47px 16px 15px;gap:11px;line-height:1.85;border-radius:18px;border-right-width:4px;background:linear-gradient(135deg,#fff,#fffbeb);box-shadow:0 18px 46px rgba(15,23,42,.14)}
.eduq-guest-toast>i{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border-radius:12px;background:#fef3c7;color:#d97706;font-size:1rem}
.eduq-guest-toast span{flex:1;min-width:0;color:#334155}
.eduq-guest-toast a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#3131c1;color:#fff;padding:7px 12px;text-decoration:none;font-size:.75rem;transition:background .16s,transform .16s}
.eduq-guest-toast a:hover{background:#2525a4;transform:translateY(-1px)}
.eduq-toast-close{position:absolute;left:9px;top:9px;z-index:1;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;background:#fff;color:#64748b;height:30px;width:30px;border-radius:10px;font-family:Arial,sans-serif;font-size:1.18rem;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.06);transition:background .16s,color .16s,border-color .16s,transform .16s}
.eduq-toast-close:hover{background:#fef2f2;border-color:#fecaca;color:#dc2626;transform:rotate(90deg)}
.eduq-toast-close:focus-visible{outline:3px solid rgba(49,49,193,.18);outline-offset:2px}
@media(max-width:640px){
 .eduq-player-meta{gap:4px;margin-bottom:2px}
 .eduq-player-meta .eduq-connection,.eduq-live-mode-pill{padding:4px 7px;font-size:.57rem}
 .eduq-live-mode-pill i{font-size:.58rem}
 .eduq-live-player-page .eduq-player-title h1{font-size:.73rem;line-height:1.45;margin:3px 0 0;-webkit-line-clamp:2}
 .eduq-guest-toast{padding:13px 41px 13px 10px;gap:8px;font-size:.73rem;line-height:1.75;border-radius:16px}
 .eduq-guest-toast>i{width:30px;height:30px;border-radius:10px;font-size:.88rem}
 .eduq-guest-toast a{padding:6px 9px;font-size:.68rem}
 .eduq-toast-close{width:27px;height:27px;left:7px;top:7px;border-radius:9px;font-size:1.05rem}
}



/* Live player ultra-compact mobile layout and floating mute button */
@media(max-width:640px){
 .eduq-live-player-page .eduq-wrap{
   padding-top:2px;
   padding-right:7px;
   padding-left:7px;
   padding-bottom:66px;
 }
 .eduq-live-player{
   max-width:none;
 }
 .eduq-player-head{
   gap:4px;
   margin-bottom:3px;
   align-items:flex-start;
 }
 .eduq-player-meta{
   gap:3px;
   margin:0;
 }
 .eduq-player-meta .eduq-connection,
 .eduq-live-mode-pill{
   padding:3px 6px;
   font-size:.52rem;
   line-height:1.05;
   border-radius:999px;
 }
 .eduq-player-meta .eduq-connection i,
 .eduq-live-mode-pill i{
   font-size:.52rem;
 }
 .eduq-live-player-page .eduq-player-title h1{
   font-size:.63rem;
   line-height:1.38;
   margin:2px 0 0;
   -webkit-line-clamp:2;
   max-height:1.76rem;
 }
 .eduq-player-metrics{
   gap:3px;
 }
 .eduq-player-metrics .eduq-score-pill{
   min-width:48px;
   padding:4px 5px;
   border-radius:10px;
   box-shadow:0 5px 12px rgba(49,49,193,.12);
 }
 .eduq-player-metrics .eduq-score-pill small{
   font-size:.49rem;
   line-height:1.15;
 }
 .eduq-player-metrics .eduq-score-pill strong{
   font-size:.86rem;
   line-height:1.05;
 }
 .eduq-player-sound-toggle{
   position:fixed;
   z-index:90;
   right:12px;
   bottom:calc(12px + env(safe-area-inset-bottom, 0px));
   display:flex;
   width:48px;
   height:48px;
   min-width:48px;
   padding:0;
   justify-content:center;
   border-radius:50%;
   border:0;
   background:#3131c1;
   color:#fff;
   box-shadow:0 13px 28px rgba(49,49,193,.34);
 }
 .eduq-player-sound-toggle:hover{
   background:#2525a4;
   border-color:transparent;
 }
 .eduq-player-sound-toggle.is-muted{
   background:#334155;
   color:#fff;
   border-color:transparent;
 }
 .eduq-player-sound-toggle i{
   font-size:1.03rem;
 }
 .eduq-player-sound-toggle span{
   display:none;
 }
 .eduq-guest-toast{
   bottom:calc(70px + env(safe-area-inset-bottom, 0px));
 }
 .eduq-player-stage{
   padding:7px;
   min-height:calc(100vh - 116px);
   border-radius:14px;
   box-shadow:0 5px 16px rgba(15,23,42,.04);
 }
 .eduq-question-live-head{
   font-size:.72rem;
   line-height:1.1;
   padding:0 2px;
 }
 .eduq-question-live-head b{
   width:37px;
   height:37px;
   font-size:.96rem;
 }
 .eduq-question-live h2{
   font-size:.91rem;
   line-height:1.55;
   margin:7px auto 10px;
 }
 .eduq-player-options{
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:6px;
 }
 .eduq-player-options button{
   min-height:55px;
   padding:7px;
   gap:6px;
   border-radius:12px;
   font-size:.72rem;
   line-height:1.45;
 }
 .eduq-player-options strong{
   width:27px;
   height:27px;
   min-width:27px;
   border-radius:8px;
   font-size:.78rem;
 }
 .eduq-player-options span{
   min-width:0;
   overflow-wrap:anywhere;
 }
 .eduq-answer-locked{
   padding:18px 8px;
   border-radius:16px;
   gap:6px;
 }
 .eduq-answer-locked i{
   font-size:1.85rem;
 }
 .eduq-answer-locked strong{
   font-size:.96rem;
 }
 .eduq-ready-screen{
   min-height:270px;
 }
 .eduq-live-loader{
   height:250px;
   font-size:.84rem;
 }
}


/* Balanced correction after ultra-compact rules: compact but readable below site nav */
.eduq-final .eduq-finished-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin:0 auto 14px;
  padding:9px 17px;
  border:1px solid #fde68a;
  border-radius:999px;
  background:linear-gradient(135deg,#fffbeb,#fef3c7);
  color:#b45309;
  font-size:.82rem;
  font-weight:900;
  box-shadow:0 9px 20px rgba(245,158,11,.16);
}
.eduq-final .eduq-finished-kicker i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:29px;
  height:29px;
  border-radius:50%;
  background:#f59e0b;
  color:#fff;
  font-size:.78rem;
}
@media(max-width:640px){
  .eduq-live-player-page .eduq-wrap{
    padding-top:18px;
    padding-right:10px;
    padding-left:10px;
    padding-bottom:72px;
  }
  .eduq-player-head{
    gap:9px;
    margin-bottom:10px;
    align-items:flex-start;
  }
  .eduq-player-meta{
    gap:5px;
    margin-bottom:5px;
  }
  .eduq-player-meta .eduq-connection,
  .eduq-live-mode-pill{
    padding:4px 8px;
    font-size:.61rem;
    line-height:1.2;
  }
  .eduq-player-meta .eduq-connection i,
  .eduq-live-mode-pill i{
    font-size:.61rem;
  }
  .eduq-live-player-page .eduq-player-title h1{
    font-size:.79rem;
    line-height:1.55;
    margin:3px 0 0;
    -webkit-line-clamp:2;
    max-height:2.5rem;
  }
  .eduq-player-metrics{gap:5px}
  .eduq-player-metrics .eduq-score-pill{
    min-width:59px;
    padding:6px 8px;
    border-radius:13px;
  }
  .eduq-player-metrics .eduq-score-pill small{
    font-size:.57rem;
    line-height:1.2;
  }
  .eduq-player-metrics .eduq-score-pill strong{
    font-size:1.02rem;
    line-height:1.12;
  }
  .eduq-player-stage{
    padding:11px;
    min-height:calc(100vh - 182px);
    border-radius:18px;
  }
  .eduq-question-live-head{
    font-size:.76rem;
    line-height:1.18;
  }
  .eduq-question-live-head b{
    width:42px;
    height:42px;
    font-size:1.05rem;
  }
  .eduq-question-live h2{
    font-size:.98rem;
    line-height:1.65;
    margin:10px auto 12px;
  }
  .eduq-player-options{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .eduq-player-options button{
    min-height:62px;
    padding:9px;
    gap:7px;
    border-radius:14px;
    font-size:.81rem;
    line-height:1.55;
  }
  .eduq-player-options strong{
    width:31px;
    height:31px;
    min-width:31px;
    font-size:.88rem;
  }
  .eduq-player-sound-toggle{
    width:50px;
    height:50px;
    min-width:50px;
    right:14px;
    bottom:calc(14px + env(safe-area-inset-bottom,0px));
  }
  .eduq-final .eduq-finished-kicker{
    margin-bottom:11px;
    padding:7px 13px;
    font-size:.7rem;
  }
  .eduq-final .eduq-finished-kicker i{
    width:25px;
    height:25px;
    font-size:.69rem;
  }
}


/* Mobile live room title: fixed, very small and space-conscious without movement */
.eduq-static-live-title{
  margin:0;
}
@media(max-width:640px){
  .eduq-live-player-page .eduq-static-live-title{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
    margin:2px 0 0;
    max-height:2.95rem;
    font-size:clamp(.62rem,2.5vw,.68rem);
    line-height:1.48;
    font-weight:800;
    text-align:right;
    text-wrap:pretty;
  }
}


/* Final live player scaling: intentionally smaller headings without hiding content */
.eduq-live-player-page .eduq-static-live-title,
.eduq-live-player-page .eduq-player-title h1{
  font-size:clamp(.74rem,.95vw,.88rem);
  line-height:1.52;
  font-weight:800;
  max-height:2.75rem;
  margin:3px 0 0;
}
.eduq-top20{
  width:100%;
  max-width:100%;
}
.eduq-leaderboard-scroll{
  display:block;
  width:100%;
}
.eduq-leaderboard-table{
  display:table;
  width:100% !important;
  max-width:none;
  table-layout:fixed;
}
.eduq-leaderboard-table th:nth-child(2),
.eduq-leaderboard-table td:nth-child(2){
  width:auto;
}
@media(max-width:900px){
  .eduq-live-player-page .eduq-static-live-title,
  .eduq-live-player-page .eduq-player-title h1{
    font-size:.71rem;
    line-height:1.5;
    max-height:2.3rem;
  }
}
@media(max-width:640px){
  .eduq-live-player-page .eduq-static-live-title,
  .eduq-live-player-page .eduq-player-title h1{
    font-size:.63rem;
    line-height:1.48;
    max-height:2.85rem;
    -webkit-line-clamp:3;
  }
  .eduq-leaderboard-table{
    min-width:100%;
  }
}

/* Student quiz detail redesign */
.eduq-quiz-detail-page .eduq-wrap,
.eduq-training-list-page .eduq-wrap{max-width:1160px}
.eduq-detail-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:22px;
  align-items:stretch;
  padding:28px;
  margin-bottom:22px;
  border:1px solid #e0e7ff;
  border-radius:30px;
  background:linear-gradient(135deg,#ffffff 0%,#eef2ff 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.05);
}
.eduq-detail-copy{min-width:0}
.eduq-detail-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 13px;
  border-radius:999px;
  background:#eef2ff;
  color:#3131c1;
  font-size:.75rem;
  font-weight:900;
  margin-bottom:12px;
}
.eduq-detail-copy h1{
  color:#0f172a;
  font-size:clamp(1.38rem,2.1vw,1.9rem);
  line-height:1.65;
  font-weight:900;
  margin:0 0 8px;
  overflow-wrap:anywhere;
}
.eduq-detail-copy>p{
  color:#64748b;
  line-height:2;
  font-size:.93rem;
  font-weight:700;
  margin:0 0 17px;
  max-width:700px;
}
.eduq-detail-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.eduq-detail-tags span{
  display:inline-flex;align-items:center;gap:7px;
  background:#fff;border:1px solid #e2e8f0;color:#475569;
  padding:7px 12px;border-radius:999px;font-size:.77rem;font-weight:800
}
.eduq-detail-tags i{color:#3131c1}
.eduq-detail-actions{display:flex;flex-wrap:wrap;gap:9px}
.eduq-detail-overview{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:20px 14px;border-radius:24px;background:#3131c1;color:#fff;text-align:center
}
.eduq-detail-icon{
  display:flex;align-items:center;justify-content:center;
  width:58px;height:58px;border-radius:18px;background:rgba(255,255,255,.14);
  font-size:1.45rem;margin-bottom:10px
}
.eduq-detail-overview>strong{font-size:2.35rem;line-height:1.1;font-weight:900}
.eduq-detail-overview>span{font-size:.78rem;color:rgba(255,255,255,.76);font-weight:800}
.eduq-detail-summary-grid{
  width:100%;display:grid;grid-template-columns:repeat(2,1fr);gap:6px;
  border-top:1px solid rgba(255,255,255,.16);margin-top:17px;padding-top:14px
}
.eduq-detail-summary-grid b{display:block;font-size:1.06rem}
.eduq-detail-summary-grid small{font-size:.63rem;color:rgba(255,255,255,.72);font-weight:800}
.eduq-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}
.eduq-section-heading{align-items:center;margin-bottom:18px}
.eduq-section-heading span{display:block;color:#3131c1;font-size:.71rem;font-weight:900;margin-bottom:5px}
.eduq-section-heading h2{font-size:1.12rem;margin:0}
.eduq-section-heading>i{
  display:flex;align-items:center;justify-content:center;width:45px;height:45px;
  border-radius:15px;background:#eef2ff;color:#3131c1
}
.eduq-coverage-list{display:flex;flex-direction:column;gap:10px}
.eduq-coverage-item{
  display:grid;grid-template-columns:45px minmax(0,1fr) auto;gap:12px;align-items:center;
  border:1px solid #f1f5f9;background:#f8fafc;padding:12px;border-radius:17px
}
.eduq-unit-icon{
  display:flex;align-items:center;justify-content:center;width:45px;height:45px;
  border-radius:14px;background:#fff;color:#3131c1;border:1px solid #e2e8f0
}
.eduq-coverage-item strong{display:block;color:#0f172a;font-size:.91rem;margin-bottom:3px}
.eduq-coverage-item p{margin:0;color:#64748b;font-size:.76rem;line-height:1.8;font-weight:700}
.eduq-coverage-item>b{font-size:.72rem;padding:7px 10px;border-radius:999px;background:#eef2ff;color:#3131c1;white-space:nowrap}
.eduq-detail-empty{text-align:center;padding:36px 12px;color:#64748b}
.eduq-detail-empty i{font-size:2rem;color:#cbd5e1;margin-bottom:9px}
.eduq-detail-empty p{margin:0}
.eduq-start-guide{position:sticky;top:95px}
.eduq-side-label{
  display:inline-flex;align-items:center;gap:6px;color:#b45309;background:#fffbeb;
  border-radius:999px;padding:6px 11px;font-size:.7rem;font-weight:900;margin-bottom:15px
}
.eduq-start-guide h2{font-size:1.14rem;color:#0f172a;margin:0 0 13px}
.eduq-guide-list{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-direction:column;gap:11px}
.eduq-guide-list li{display:flex;align-items:center;gap:9px;color:#475569;font-size:.84rem;font-weight:800}
.eduq-guide-list i{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#ecfdf5;color:#059669;font-size:.67rem}
.eduq-block-btn{width:100%;margin-top:12px}
.eduq-side-note{font-size:.76rem;line-height:1.85;color:#64748b;margin:14px 0 0}

/* Training list redesign */
.eduq-training-hero{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  border-radius:30px;padding:27px 30px;margin-bottom:24px;
  background:#fff;border:1px solid #e0e7ff;box-shadow:0 12px 35px rgba(15,23,42,.05)
}
.eduq-training-hero h1{font-size:clamp(1.55rem,2.4vw,2rem);line-height:1.45;margin:0 0 8px;color:#0f172a;font-weight:900}
.eduq-training-hero p{margin:0;color:#64748b;font-weight:700;line-height:2;max-width:660px}
.eduq-training-total{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-width:145px;min-height:120px;padding:15px;border-radius:24px;background:#3131c1;color:#fff
}
.eduq-training-total strong{font-size:2.2rem;line-height:1.15}
.eduq-training-total small{font-weight:800;color:rgba(255,255,255,.78)}
.eduq-training-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.eduq-training-results-head h2{margin:0 0 5px;color:#0f172a;font-size:1.3rem;font-weight:900}
.eduq-training-results-head p{margin:0;color:#64748b;font-size:.83rem;font-weight:700}
.eduq-training-results-head>span{white-space:nowrap;border-radius:999px;background:#eef2ff;color:#3131c1;padding:8px 13px;font-size:.75rem;font-weight:900}
.eduq-training-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.eduq-training-card{
  display:flex;flex-direction:column;min-width:0;padding:18px;border-radius:24px;background:#fff;
  border:1px solid #e2e8f0;box-shadow:0 6px 22px rgba(15,23,42,.04);transition:.18s ease
}
.eduq-training-card:hover{transform:translateY(-3px);border-color:#c7d2fe;box-shadow:0 14px 30px rgba(49,49,193,.09)}
.eduq-training-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}
.eduq-training-type,.eduq-training-opened{font-size:.68rem;font-weight:900;border-radius:999px;padding:6px 10px}
.eduq-training-type{display:inline-flex;align-items:center;gap:5px;background:#eef2ff;color:#3131c1}
.eduq-training-opened{background:#ecfdf5;color:#047857}
.eduq-training-card h3{
  margin:0 0 9px;color:#0f172a;font-size:1.02rem;line-height:1.9;font-weight:900;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.86rem
}
.eduq-training-subject{display:flex;align-items:center;gap:7px;margin:0 0 13px;color:#3131c1;font-weight:800;font-size:.8rem}
.eduq-training-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:15px}
.eduq-training-chips span{font-size:.69rem;font-weight:800;padding:5px 9px;border-radius:999px;background:#f8fafc;color:#64748b;border:1px solid #f1f5f9}
.eduq-training-data{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px 0;margin-top:auto;margin-bottom:13px;border-block:1px solid #f1f5f9;text-align:center}
.eduq-training-data strong{display:block;font-size:1rem;color:#0f172a}
.eduq-training-data small{display:block;color:#94a3b8;font-size:.64rem;font-weight:800}
.eduq-training-start{width:100%;padding-block:10px}
.eduq-training-empty{text-align:center;border:1px dashed #cbd5e1;border-radius:28px;background:#fff;padding:54px 18px;color:#64748b}
.eduq-training-empty i{font-size:2.5rem;color:#cbd5e1;margin-bottom:13px}
.eduq-training-empty h2{margin:0 0 8px;color:#0f172a;font-size:1.2rem}
.eduq-training-empty p{margin:0}
.eduq-training-pagination-block{margin-top:34px}
.eduq-training-pagination{max-width:100%;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.eduq-training-pagination a{flex:0 0 auto}

@media(max-width:991px){
  .eduq-detail-hero{grid-template-columns:1fr;padding:21px}
  .eduq-detail-overview{display:grid;grid-template-columns:auto 1fr 1fr;gap:12px;text-align:right;padding:15px}
  .eduq-detail-icon{margin:0}
  .eduq-detail-overview>strong{font-size:1.85rem}
  .eduq-detail-summary-grid{grid-column:1/-1;margin-top:2px}
  .eduq-detail-grid{grid-template-columns:1fr}
  .eduq-start-guide{position:static}
  .eduq-training-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .eduq-detail-hero{padding:15px;border-radius:22px;gap:15px}
  .eduq-detail-copy h1{font-size:1.08rem;line-height:1.72}
  .eduq-detail-copy>p{font-size:.8rem;line-height:1.85;margin-bottom:12px}
  .eduq-detail-tags{gap:5px;margin-bottom:14px}
  .eduq-detail-tags span{padding:6px 9px;font-size:.68rem}
  .eduq-detail-actions{display:grid;grid-template-columns:1fr}
  .eduq-detail-overview{grid-template-columns:45px 1fr 1fr;border-radius:18px}
  .eduq-detail-icon{width:45px;height:45px;font-size:1.15rem;border-radius:13px}
  .eduq-detail-overview>strong{font-size:1.48rem}
  .eduq-card.eduq-coverage-card,.eduq-card.eduq-start-guide{padding:15px}
  .eduq-section-heading h2{font-size:.94rem;line-height:1.7}
  .eduq-coverage-item{grid-template-columns:38px minmax(0,1fr);padding:10px;gap:9px}
  .eduq-unit-icon{width:38px;height:38px}
  .eduq-coverage-item>b{grid-column:2;margin-top:4px;justify-self:start}
  .eduq-training-hero{padding:17px 15px;border-radius:22px;display:block}
  .eduq-training-hero h1{font-size:1.3rem}
  .eduq-training-hero p{font-size:.79rem;line-height:1.85}
  .eduq-training-total{min-height:auto;min-width:0;margin-top:15px;flex-direction:row;gap:8px;padding:10px;border-radius:16px}
  .eduq-training-total strong{font-size:1.35rem}
  .eduq-training-results-head{display:block;margin-bottom:14px}
  .eduq-training-results-head h2{font-size:1.12rem}
  .eduq-training-results-head>span{display:inline-flex;margin-top:10px}
  .eduq-training-grid{grid-template-columns:1fr;gap:12px}
  .eduq-training-card{padding:14px;border-radius:20px}
  .eduq-training-card h3{font-size:.94rem;min-height:auto}
  .eduq-training-pagination{justify-content:flex-start!important;flex-wrap:nowrap!important}
}


/* Quiz builder: planned curriculum scope and adaptive OG panel */
.eduq-editor-layout{align-items:start}
.eduq-og-panel{position:sticky;top:85px}
.eduq-og-panel canvas{display:block;width:100%;aspect-ratio:1200/630;border-radius:19px;border:1px solid #e2e8f0;background:#111827}
.eduq-og-status{display:flex;align-items:center;gap:8px;border-radius:13px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-size:.78rem;font-weight:800;line-height:1.7;padding:10px 12px;margin:13px 0}
.eduq-og-status i{color:#3131c1}
.eduq-scope-selector{padding:16px;border-radius:19px;background:#f8fafc;border:1px solid #e2e8f0}
.eduq-scope-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.eduq-scope-title label{display:block;margin-bottom:5px}
.eduq-scope-title small{display:block;color:#64748b;font-size:.75rem;font-weight:700;line-height:1.8}
.eduq-scope-groups{display:grid;gap:11px}
.eduq-scope-unit{border-radius:16px;border:1px solid #e2e8f0;background:#fff;overflow:hidden}
.eduq-scope-unit-all{display:flex;align-items:center;gap:9px;padding:12px 13px;background:#eef2ff;color:#1e293b;cursor:pointer}
.eduq-scope-unit-all input,.eduq-scope-lesson input{accent-color:#3131c1;width:auto;min-height:auto}
.eduq-scope-unit-all strong{font-size:.87rem;flex:1}
.eduq-scope-unit-all small{font-size:.7rem;font-weight:900;color:#3131c1}
.eduq-scope-unit>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:11px}
.eduq-scope-lesson{display:flex;align-items:center;gap:8px;border-radius:12px;border:1px solid #eef2f7;background:#fff;padding:9px 10px;cursor:pointer;font-size:.78rem;font-weight:800;color:#475569}
.eduq-scope-lesson:has(input:checked){background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.eduq-scope-summary strong{min-width:0}
.eduq-scope-summary span{white-space:nowrap}

/* Question builder: progress, random mode and constrained manual selection */
.eduq-builder-progress{margin-bottom:18px}
.eduq-progress-track{height:10px;border-radius:999px;overflow:hidden;background:#e2e8f0;margin:10px 0 17px}
.eduq-progress-track span{display:block;height:100%;border-radius:inherit;background:#3131c1;transition:width .25s ease}
.eduq-selected-scope{display:flex;flex-wrap:wrap;gap:8px}
.eduq-selected-scope>span{display:flex;align-items:center;gap:8px;max-width:100%;background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:8px 11px;color:#475569}
.eduq-selected-scope i{color:#3131c1}
.eduq-selected-scope strong{font-size:.76rem}
.eduq-selected-scope small{font-size:.68rem;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}
.eduq-question-builder-grid{align-items:start}
.eduq-builder-side{display:flex;flex-direction:column;gap:17px}
.eduq-random-builder .eduq-card-head>i{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:#fffbeb;color:#b45309}
.eduq-random-builder .eduq-live-button[disabled],.eduq-manual-builder button[disabled]{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.eduq-manual-builder .eduq-bank-pick-list{max-height:620px}
.eduq-difficulty-mini{display:inline-flex;margin-right:5px;padding:2px 7px;border-radius:999px;font-style:normal;font-size:.64rem;font-weight:900}
.eduq-difficulty-mini.green{background:#ecfdf5;color:#047857}
.eduq-difficulty-mini.warning{background:#fffbeb;color:#b45309}
.eduq-difficulty-mini.danger{background:#fef2f2;color:#b91c1c}
.eduq-difficulty-mini.gray{background:#f1f5f9;color:#64748b}
.eduq-badge.warning{background:#fffbeb;color:#b45309}
.eduq-badge.danger{background:#fef2f2;color:#b91c1c}
.eduq-linked-question .eduq-question-title{min-width:0}
@media(max-width:1100px){
 .eduq-editor-layout .eduq-col-8,.eduq-editor-layout .eduq-col-4,.eduq-question-builder-grid .eduq-col-7,.eduq-question-builder-grid .eduq-col-5{grid-column:span 12}
 .eduq-og-panel{position:static}
}
@media(max-width:640px){
 .eduq-scope-selector{padding:12px}
 .eduq-scope-title{display:block}
 .eduq-scope-title .eduq-badge{margin-top:9px}
 .eduq-scope-unit>div{grid-template-columns:1fr}
 .eduq-selected-scope{display:block}
 .eduq-selected-scope>span{margin-bottom:7px}
 .eduq-selected-scope small{max-width:180px}
}


/* Direct PIN join card */
.eduq-selected-live-room{
  width:min(100%,560px);
  margin:7px auto 3px;
  padding:17px 18px 15px;
  border:1px solid #e0e7ff;
  border-radius:22px;
  background:#f8fafc;
  text-align:right;
}
.eduq-selected-live-room h1{
  margin:11px 0 5px;
  color:#0f172a;
  font-size:1.2rem;
  line-height:1.8;
  font-weight:900;
}
.eduq-selected-live-room p{
  margin:0 0 11px;
  color:#64748b;
  line-height:1.8;
  font-weight:700;
  font-size:.8rem;
}
.eduq-selected-live-room small{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#3131c1;
  background:#eef2ff;
  padding:6px 11px;
  border-radius:999px;
  font-size:.73rem;
  font-weight:900;
}
.eduq-live-entry .eduq-join-form{margin-top:19px}

/* Active live rooms in admin dashboard */
.eduq-active-stat strong{color:#b45309}
.eduq-active-rooms-panel{
  margin:0 0 20px;
  border-color:#fde68a;
  background:linear-gradient(135deg,#fff,#fffbeb);
}
.eduq-active-rooms-panel .eduq-card-head h2{
  display:flex;
  align-items:center;
  gap:9px;
}
.eduq-active-rooms-panel .eduq-card-head h2 i{color:#f59e0b}
.eduq-active-rooms-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}
.eduq-active-room{
  padding:16px;
  border-radius:19px;
  border:1px solid #fde68a;
  background:#fff;
}
.eduq-active-room-head{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:11px;
}
.eduq-live-dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#10b981;
  box-shadow:0 0 0 5px rgba(16,185,129,.13);
  margin-left:4px;
}
.eduq-active-pin{
  margin-right:auto;
  direction:ltr;
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#3131c1;
  font-size:.78rem;
}
.eduq-active-room h3{
  margin:0 0 5px;
  font-size:1rem;
  line-height:1.75;
  color:#0f172a;
}
.eduq-active-room p{
  margin:0 0 12px;
  font-size:.77rem;
  font-weight:700;
  color:#64748b;
}
.eduq-active-room-data{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:14px;
}
.eduq-active-room-data span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border-radius:999px;
  background:#f8fafc;
  color:#475569;
  font-size:.71rem;
  font-weight:900;
}
.eduq-active-room .eduq-live-button,
.eduq-active-room .eduq-secondary{
  padding:9px 12px;
  font-size:.75rem;
}
.eduq-room-return-btn{
  animation:eduq-room-pulse 2.2s ease-in-out infinite;
}
@keyframes eduq-room-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(245,158,11,.08)}
  45%{box-shadow:0 0 0 5px rgba(245,158,11,.14)}
}
@media(max-width:780px){
  .eduq-active-rooms-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .eduq-selected-live-room{padding:13px;border-radius:17px}
  .eduq-selected-live-room h1{font-size:.94rem;line-height:1.7}
  .eduq-active-room{padding:13px;border-radius:16px}
  .eduq-active-room .eduq-actions{display:grid;grid-template-columns:1fr}
  .eduq-active-room .eduq-live-button,.eduq-active-room .eduq-secondary{width:100%}
}


/* Google entry option inside live competition guest screen */
.eduq-google-join-card{
  display:flex;
  align-items:flex-start;
  gap:13px;
  border:1px solid #dbeafe;
  border-radius:19px;
  background:#f8fbff;
  padding:14px;
  text-align:right;
  color:#1e293b;
}
.eduq-google-join-card.members-only{
  background:#fffbeb;
  border-color:#fde68a;
}
.eduq-google-join-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid #e2e8f0;
  background:#fff;
  color:#4285f4;
  font-size:1.2rem;
}
.eduq-google-join-card strong{
  display:block;
  font-size:.79rem;
  line-height:1.95;
  font-weight:900;
}
.eduq-google-join-card p{
  margin:4px 0 11px;
  color:#64748b;
  font-size:.71rem;
  line-height:1.8;
  font-weight:800;
}
.eduq-google-login-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:43px;
  padding:9px 15px;
  border:1px solid #dadce0;
  border-radius:13px;
  background:#fff;
  color:#3c4043 !important;
  font-size:.79rem;
  font-weight:900;
  box-shadow:0 2px 8px rgba(60,64,67,.08);
  transition:transform .16s ease, box-shadow .16s ease;
}
.eduq-google-login-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 9px 20px rgba(66,133,244,.14);
}
.eduq-google-login-btn i{color:#4285f4;font-size:1.05rem}
.eduq-google-unavailable{display:block;color:#b45309;font-weight:800}
@media(max-width:640px){
 .eduq-google-join-card{padding:12px;gap:10px;border-radius:16px}
 .eduq-google-join-icon{width:37px;height:37px;flex-basis:37px}
 .eduq-google-login-btn{width:100%}
}


/* Waiting room: stable content, server countdown and share actions */
.eduq-wait-status{
  margin:6px 0 13px;
  color:#475569;
  font-size:.92rem;
  font-weight:800;
  line-height:1.8;
  user-select:text;
}
.eduq-wait-countdown{
  width:max-content;
  max-width:100%;
  min-width:166px;
  margin:0 auto 14px;
  padding:9px 18px 10px;
  border:1px solid #c7d2fe;
  border-radius:16px;
  background:#eef2ff;
  text-align:center;
}
.eduq-wait-countdown[hidden]{display:none !important}
.eduq-wait-countdown small{
  display:block;
  color:#475569;
  font-size:.65rem;
  font-weight:900;
  margin-bottom:3px;
}
.eduq-wait-countdown strong{
  display:block;
  direction:ltr;
  color:#3131c1;
  font-size:1.22rem;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1.25;
}
.eduq-wait-share{
  max-width:600px;
  margin:16px auto 0;
  padding:14px;
  border-radius:18px;
  border:1px solid #e2e8f0;
  background:#fff;
  text-align:right;
}
.eduq-wait-share h3{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 5px;
  color:#0f172a;
  font-size:.9rem;
  font-weight:900;
}
.eduq-wait-share h3 i{color:#3131c1}
.eduq-wait-share p{
  margin:0 0 11px;
  color:#64748b;
  font-size:.72rem;
  line-height:1.8;
  font-weight:700;
}
.eduq-wait-share-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.eduq-wait-share-actions a,
.eduq-wait-share-actions button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:38px;
  padding:7px 11px;
  border:0;
  border-radius:11px;
  font-family:inherit;
  font-size:.71rem;
  font-weight:900;
  cursor:pointer;
  color:#fff;
  text-decoration:none;
}
.eduq-wait-share-actions .whatsapp{background:#16a34a}
.eduq-wait-share-actions .facebook{background:#1877f2}
.eduq-wait-share-actions .telegram{background:#229ed9}
.eduq-wait-share-actions .native{background:#3131c1}
.eduq-wait-share-actions .copy{background:#475569}
.eduq-wait-share-actions a:hover,
.eduq-wait-share-actions button:hover{filter:brightness(.96);transform:translateY(-1px)}
.eduq-wait-share > small{
  display:block;
  min-height:18px;
  margin-top:7px;
  color:#047857;
  font-size:.68rem;
  font-weight:800;
}
@media(max-width:640px){
  .eduq-wait-panel .eduq-gate-icon{
    width:48px;
    height:48px;
    font-size:1.15rem;
  }
  .eduq-wait-panel h2{
    margin:11px 0 3px;
    font-size:1.03rem;
  }
  .eduq-wait-status{
    margin:3px 0 9px;
    font-size:.74rem;
  }
  .eduq-wait-countdown{
    margin-bottom:9px;
    padding:6px 13px 7px;
    border-radius:13px;
    min-width:143px;
  }
  .eduq-wait-countdown strong{font-size:1rem}
  .eduq-pin.small{
    margin:9px auto;
    font-size:1.36rem;
  }
  .eduq-wait-share{
    padding:10px;
    margin-top:10px;
    border-radius:14px;
  }
  .eduq-wait-share h3{font-size:.78rem}
  .eduq-wait-share p{font-size:.66rem;margin-bottom:8px}
  .eduq-wait-share-actions{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
  }
  .eduq-wait-share-actions a,
  .eduq-wait-share-actions button{
    justify-content:center;
    min-height:35px;
    padding:6px 5px;
    font-size:.62rem;
  }
  .eduq-waiting-users{
    margin-top:10px;
    padding:11px;
    border-radius:15px;
  }
  .eduq-waiting-users h3{font-size:.78rem;margin-bottom:8px}
  .eduq-waiting-users span{font-size:.67rem;padding:5px 8px}
}


/* Live result leaderboard: force full available width in the player final screen */
#player-stage .eduq-final .eduq-top20{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box;
}
#player-stage .eduq-final .eduq-top20 .eduq-leaderboard-scroll{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box;
}
#player-stage .eduq-final .eduq-top20 .eduq-leaderboard-scroll > table.eduq-leaderboard-table{
  display:table !important;
  width:100% !important;
  min-width:100% !important;
  max-width:100% !important;
  table-layout:fixed !important;
  margin:0 !important;
  box-sizing:border-box;
}
#player-stage .eduq-final .eduq-leaderboard-table th:nth-child(2),
#player-stage .eduq-final .eduq-leaderboard-table td:nth-child(2){
  width:auto !important;
}
@media(min-width:641px){
  #player-stage .eduq-final .eduq-leaderboard-scroll{
    overflow-x:hidden;
  }
}
@media(max-width:640px){
  #player-stage .eduq-final .eduq-leaderboard-scroll{
    overflow-x:auto;
  }
}


/* Related educational files below standard quiz pages */
.eduq-related-study-files{
  margin-top:28px;
  padding:22px;
  border-radius:28px;
  border:1px solid #e2e8f0;
  background:#fff;
  box-shadow:0 8px 28px rgba(15,23,42,.045);
}
.eduq-related-study-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:19px;
}
.eduq-related-study-head span{
  display:block;
  color:#3131c1;
  font-size:.7rem;
  font-weight:900;
  margin-bottom:5px;
}
.eduq-related-study-head h2{
  margin:0;
  color:#0f172a;
  font-size:1.16rem;
  font-weight:900;
  line-height:1.7;
}
.eduq-related-study-head>i{
  display:flex;
  align-items:center;
  justify-content:center;
  width:50px;
  height:50px;
  flex-shrink:0;
  border-radius:16px;
  background:#eef2ff;
  color:#3131c1;
  font-size:1.28rem;
}
.eduq-related-study-columns{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.eduq-related-study-group{
  min-width:0;
  padding:15px;
  border-radius:21px;
  background:#f8fafc;
  border:1px solid #eef2f7;
}
.eduq-related-study-group header{
  margin-bottom:12px;
}
.eduq-related-study-group header h3{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 4px;
  color:#0f172a;
  font-size:.94rem;
  font-weight:900;
}
.eduq-related-study-group header h3 i{
  color:#3131c1;
}
.eduq-related-study-group header p{
  margin:0;
  color:#64748b;
  font-size:.71rem;
  font-weight:700;
  line-height:1.8;
}
.eduq-related-files-grid{
  display:grid;
  gap:9px;
}
.eduq-related-file-card{
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  align-items:stretch;
  gap:10px;
  min-width:0;
  padding:8px;
  border:1px solid #edf2f7;
  border-radius:16px;
  background:#fff;
  text-decoration:none !important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.eduq-related-file-card:hover{
  transform:translateY(-2px);
  border-color:#c7d2fe;
  box-shadow:0 9px 19px rgba(49,49,193,.08);
}
.eduq-related-file-cover{
  display:block;
  width:82px;
  height:82px;
  overflow:hidden;
  border-radius:12px;
  background:#e2e8f0;
}
.eduq-related-file-cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.eduq-related-file-content{
  display:block;
  min-width:0;
}
.eduq-related-file-content em{
  display:inline-flex;
  padding:3px 7px;
  margin-bottom:5px;
  border-radius:999px;
  background:#eef2ff;
  color:#3131c1;
  font-size:.59rem;
  line-height:1.35;
  font-style:normal;
  font-weight:900;
}
.eduq-related-file-content strong{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:2.72rem;
  color:#0f172a;
  font-size:.76rem;
  font-weight:900;
  line-height:1.8;
}
.eduq-related-file-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:4px;
}
.eduq-related-file-meta small{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#64748b;
  font-size:.57rem;
  font-weight:800;
}
.eduq-related-file-content time{
  display:block;
  margin-top:5px;
  color:#94a3b8;
  font-size:.57rem;
  font-weight:800;
}
.dark .eduq-related-study-files{background:#1e293b;border-color:#334155}
.dark .eduq-related-study-head h2,
.dark .eduq-related-study-group header h3,
.dark .eduq-related-file-content strong{color:#f8fafc}
.dark .eduq-related-study-group{background:#0f172a;border-color:#334155}
.dark .eduq-related-file-card{background:#1e293b;border-color:#334155}
@media(max-width:900px){
  .eduq-related-study-columns{grid-template-columns:1fr}
}
@media(max-width:640px){
  .eduq-related-study-files{
    margin-top:18px;
    padding:13px;
    border-radius:19px;
  }
  .eduq-related-study-head{
    margin-bottom:12px;
  }
  .eduq-related-study-head h2{
    font-size:.91rem;
  }
  .eduq-related-study-head>i{
    width:40px;height:40px;border-radius:13px;font-size:1.05rem;
  }
  .eduq-related-study-group{
    padding:10px;
    border-radius:16px;
  }
  .eduq-related-file-card{
    grid-template-columns:67px minmax(0,1fr);
    gap:8px;
    padding:6px;
    border-radius:13px;
  }
  .eduq-related-file-cover{
    width:67px;height:67px;border-radius:10px;
  }
  .eduq-related-file-content strong{
    font-size:.69rem;
    line-height:1.65;
    min-height:2.28rem;
  }
  .eduq-related-file-meta small,
  .eduq-related-file-content time{
    font-size:.54rem;
  }
}


/* Channel call-to-action below live question stage */
.eduq-live-channels-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-top:13px;
  padding:12px 14px;
  border:1px solid #e0e7ff;
  border-radius:18px;
  background:#fff;
  box-shadow:0 5px 17px rgba(15,23,42,.035);
}
.eduq-live-channels-cta>div{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.eduq-live-channels-cta>div>i{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:39px;
  height:39px;
  border-radius:13px;
  background:#eef2ff;
  color:#3131c1;
  font-size:.95rem;
}
.eduq-live-channels-cta span{
  display:block;
  min-width:0;
}
.eduq-live-channels-cta strong{
  display:block;
  color:#0f172a;
  font-size:.8rem;
  font-weight:900;
  line-height:1.55;
}
.eduq-live-channels-cta small{
  display:block;
  color:#64748b;
  font-size:.64rem;
  font-weight:800;
  line-height:1.65;
}
.eduq-live-channels-cta nav{
  display:flex;
  align-items:center;
  gap:7px;
  flex-shrink:0;
}
.eduq-live-channels-cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:39px;
  padding:8px 13px;
  border-radius:12px;
  color:#fff !important;
  font-size:.72rem;
  font-weight:900;
  text-decoration:none !important;
  transition:transform .16s ease, filter .16s ease;
}
.eduq-live-channels-cta a:hover{
  transform:translateY(-1px);
  filter:brightness(.96);
}
.eduq-live-channels-cta .telegram{background:#229ed9}
.eduq-live-channels-cta .whatsapp{background:#16a34a}
.dark .eduq-live-channels-cta{
  background:#1e293b;
  border-color:#334155;
}
.dark .eduq-live-channels-cta strong{color:#f8fafc}
@media(max-width:640px){
  .eduq-live-channels-cta{
    margin-top:8px;
    padding:8px;
    border-radius:14px;
    gap:7px;
  }
  .eduq-live-channels-cta>div{
    gap:7px;
    flex:1;
  }
  .eduq-live-channels-cta>div>i{
    width:32px;
    height:32px;
    border-radius:10px;
    font-size:.78rem;
  }
  .eduq-live-channels-cta strong{font-size:.67rem}
  .eduq-live-channels-cta small{display:none}
  .eduq-live-channels-cta nav{gap:5px}
  .eduq-live-channels-cta a{
    width:35px;
    height:35px;
    min-height:35px;
    padding:0;
    border-radius:11px;
    font-size:1rem;
  }
  .eduq-live-channels-cta a:not([aria-label]){font-size:0}
  .eduq-live-channels-cta a i{font-size:.93rem}
}


/* Public quiz presentation */
.eduq-public-quiz-og{
  width:min(100%,920px);
  margin:0 auto 22px;
  padding:8px;
  border:1px solid #e2e8f0;
  border-radius:24px;
  background:#fff;
  box-shadow:0 8px 27px rgba(15,23,42,.045);
}
.eduq-public-quiz-og img{
  display:block;
  width:100%;
  height:auto;
  border-radius:18px;
}
.dark .eduq-public-quiz-og{background:#1e293b;border-color:#334155}

/* Host final board and export action */
.eduq-host-final{
  margin-top:16px;
  padding:14px;
  border-radius:23px;
  background:#fff;
  border:1px solid #e2e8f0;
}
.eduq-host-final .eduq-finished-kicker{
  display:inline-flex;
  margin:0 auto 10px;
}
.eduq-host-final .eduq-top20{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin-top:18px;
}
.eduq-host-final .eduq-leaderboard-scroll,
.eduq-host-final .eduq-leaderboard-table{
  width:100% !important;
  max-width:100% !important;
}
.eduq-host-final .eduq-leaderboard-table{
  display:table !important;
  table-layout:fixed;
}
.eduq-host-export-btn:not(:disabled){
  background:#eef2ff;
  border-color:#c7d2fe;
  color:#3131c1;
}
.eduq-host-export-btn:not(:disabled):hover{
  background:#3131c1;
  color:#fff;
}
.dark .eduq-host-final{background:#1e293b;border-color:#334155}
@media(max-width:640px){
  .eduq-public-quiz-og{padding:5px;border-radius:16px;margin-bottom:15px}
  .eduq-public-quiz-og img{border-radius:12px}
  .eduq-host-final{padding:8px;border-radius:17px}
}


/* Keep podium names inside columns without overflow */
.eduq-podium-item{
  min-width:0;
}
.eduq-podium-item strong{
  width:100%;
  max-width:100%;
  padding-inline:2px;
  text-align:center;
  font-size:clamp(.68rem,.42rem + .6vw,.92rem);
  line-height:1.45;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.eduq-podium-item.first strong{
  font-size:clamp(.72rem,.46rem + .7vw,1rem);
}
@media(max-width:640px){
  .eduq-podium-item strong{
    font-size:clamp(.62rem,.45rem + .9vw,.78rem);
    line-height:1.35;
  }
}


/* Public quizzes route and redesigned public quiz details */
.eduq-quiz-showcase-page .eduq-wrap,
.eduq-public-quizzes-page .eduq-wrap{
  max-width:1220px;
}
.eduq-quiz-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:15px;
  color:#64748b;
  font-size:.77rem;
  font-weight:800;
}
.eduq-quiz-breadcrumb a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#3131c1;
}
.eduq-showcase-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,485px);
  gap:26px;
  align-items:center;
  margin-bottom:24px;
  padding:28px;
  border:1px solid #dbeafe;
  border-radius:32px;
  background:#fff;
  box-shadow:0 14px 38px rgba(15,23,42,.055);
  overflow:hidden;
  position:relative;
}
.eduq-showcase-hero:before{
  content:"";
  position:absolute;
  inset-inline-end:-100px;
  top:-130px;
  width:340px;
  height:340px;
  border-radius:50%;
  background:#eff6ff;
  z-index:0;
}
.eduq-showcase-copy,.eduq-showcase-visual{position:relative;z-index:1}
.eduq-showcase-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 13px;
  margin-bottom:13px;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-size:.74rem;
  font-weight:900;
}
.eduq-showcase-copy h1{
  margin:0 0 10px;
  color:#0f172a;
  font-size:clamp(1.48rem,2.35vw,2.06rem);
  font-weight:900;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.eduq-showcase-copy>p{
  max-width:650px;
  margin:0 0 19px;
  color:#64748b;
  font-size:.91rem;
  font-weight:700;
  line-height:2.05;
}
.eduq-showcase-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:22px;
}
.eduq-showcase-tags span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#475569;
  font-size:.75rem;
  font-weight:900;
}
.eduq-showcase-tags i{color:#3131c1}
.eduq-showcase-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.eduq-hero-start{
  min-height:51px;
  padding-inline:23px;
}
.eduq-showcase-visual{
  padding:9px;
  border:1px solid #e2e8f0;
  border-radius:24px;
  background:#f8fafc;
}
.eduq-showcase-visual img{
  display:block;
  width:100%;
  aspect-ratio:1200/630;
  object-fit:cover;
  border-radius:17px;
}
.eduq-showcase-placeholder{
  display:flex;
  min-height:248px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:13px;
  border-radius:17px;
  background:#eef2ff;
  color:#3131c1;
  font-weight:900;
}
.eduq-showcase-placeholder i{font-size:3rem}
.eduq-showcase-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-top:8px;
}
.eduq-showcase-stats div{
  padding:10px 6px;
  text-align:center;
  border-radius:13px;
  background:#fff;
  border:1px solid #e2e8f0;
}
.eduq-showcase-stats strong{
  display:block;
  color:#0f172a;
  font-size:1.17rem;
  font-weight:900;
  line-height:1.25;
}
.eduq-showcase-stats small{
  color:#64748b;
  font-size:.64rem;
  font-weight:900;
}
.eduq-showcase-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 346px;
  align-items:start;
  gap:19px;
}
.eduq-showcase-content{
  display:flex;
  flex-direction:column;
  gap:17px;
}
.eduq-showcase-section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:13px;
  margin-bottom:18px;
}
.eduq-showcase-section-head span{
  display:block;
  margin-bottom:5px;
  color:#3131c1;
  font-size:.68rem;
  font-weight:900;
}
.eduq-showcase-section-head h2{
  margin:0;
  color:#0f172a;
  font-size:1.08rem;
  line-height:1.75;
  font-weight:900;
}
.eduq-showcase-section-head>i{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:45px;
  height:45px;
  border-radius:14px;
  background:#eef2ff;
  color:#3131c1;
}
.eduq-showcase-units{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.eduq-showcase-units article{
  display:grid;
  grid-template-columns:43px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:17px;
  background:#f8fafc;
  border:1px solid #eef2f7;
}
.eduq-unit-number{
  display:flex;
  align-items:center;
  justify-content:center;
  width:43px;
  height:43px;
  border-radius:13px;
  background:#3131c1;
  color:#fff;
  font-size:.93rem;
  font-weight:900;
}
.eduq-showcase-units strong{
  display:block;
  margin-bottom:3px;
  color:#0f172a;
  font-size:.9rem;
  font-weight:900;
}
.eduq-showcase-units p{
  margin:0;
  color:#64748b;
  font-size:.75rem;
  line-height:1.8;
  font-weight:700;
}
.eduq-showcase-units b{
  white-space:nowrap;
  padding:7px 10px;
  border-radius:999px;
  background:#eef2ff;
  color:#3131c1;
  font-size:.67rem;
  font-weight:900;
}
.eduq-features-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.eduq-features-grid div{
  padding:15px 12px;
  border:1px solid #e2e8f0;
  border-radius:17px;
  background:#fff;
}
.eduq-features-grid i{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  margin-bottom:10px;
  border-radius:12px;
  background:#ecfdf5;
  color:#047857;
}
.eduq-features-grid strong{
  display:block;
  margin-bottom:5px;
  color:#0f172a;
  font-size:.83rem;
  font-weight:900;
}
.eduq-features-grid p{
  margin:0;
  color:#64748b;
  font-size:.7rem;
  font-weight:700;
  line-height:1.85;
}
.eduq-start-panel{
  position:sticky;
  top:92px;
}
.eduq-auth-panel,.eduq-ready-panel{
  border:1px solid #e0e7ff;
  padding:22px;
}
.eduq-ready-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 11px;
  margin-bottom:13px;
  border-radius:999px;
  background:#eef2ff;
  color:#3131c1;
  font-size:.69rem;
  font-weight:900;
}
.eduq-auth-panel h2,.eduq-ready-panel h2{
  margin:0 0 9px;
  color:#0f172a;
  font-size:1.16rem;
  line-height:1.7;
  font-weight:900;
}
.eduq-auth-panel>p,.eduq-ready-panel>p{
  margin:0 0 18px;
  color:#64748b;
  font-size:.79rem;
  line-height:1.9;
  font-weight:700;
}
.eduq-google-preferred{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  min-height:57px;
  padding:10px 14px;
  border:1px solid #dbeafe;
  border-radius:16px;
  background:#fff;
  color:#0f172a !important;
  text-decoration:none !important;
  box-shadow:0 5px 15px rgba(66,133,244,.08);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.eduq-google-preferred:hover{
  transform:translateY(-2px);
  border-color:#93c5fd;
  box-shadow:0 12px 25px rgba(66,133,244,.14);
}
.eduq-google-preferred i{
  flex-shrink:0;
  color:#4285f4;
  font-size:1.28rem;
}
.eduq-google-preferred span{display:block;text-align:right}
.eduq-google-preferred strong{
  display:block;
  color:#0f172a;
  font-size:.79rem;
  line-height:1.5;
}
.eduq-google-preferred small{
  display:block;
  color:#64748b;
  font-size:.64rem;
  font-weight:800;
}
.eduq-auth-separator{
  position:relative;
  text-align:center;
  margin:15px 0;
  color:#94a3b8;
  font-size:.69rem;
  font-weight:900;
}
.eduq-auth-separator:before{
  content:"";
  position:absolute;
  top:50%;
  left:0;
  right:0;
  height:1px;
  background:#e2e8f0;
}
.eduq-auth-separator span{
  position:relative;
  padding:0 10px;
  background:#fff;
}
.eduq-auth-register{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:10px;
  padding:10px;
  color:#3131c1;
  font-size:.78rem;
  font-weight:900;
}
.eduq-return-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:13px;
  color:#64748b;
  font-size:.66rem;
  line-height:1.7;
  font-weight:800;
}

/* Public quizzes listing */
.eduq-quizzes-showcase-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 210px;
  gap:22px;
  align-items:center;
  padding:31px;
  margin-bottom:27px;
  border-radius:32px;
  border:1px solid #dbeafe;
  background:#fff;
  box-shadow:0 14px 38px rgba(15,23,42,.05);
}
.eduq-quizzes-showcase-head h1{
  margin:0 0 10px;
  max-width:750px;
  color:#0f172a;
  font-size:clamp(1.5rem,2.5vw,2.25rem);
  font-weight:900;
  line-height:1.58;
}
.eduq-quizzes-showcase-head p{
  max-width:730px;
  margin:0 0 20px;
  color:#64748b;
  font-size:.91rem;
  line-height:2;
  font-weight:700;
}
.eduq-quizzes-counter{
  display:flex;
  min-height:197px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:18px;
  border-radius:24px;
  background:#3131c1;
  color:#fff;
  text-align:center;
}
.eduq-quizzes-counter i{font-size:1.55rem;color:#bfdbfe}
.eduq-quizzes-counter strong{font-size:2.65rem;line-height:1.2}
.eduq-quizzes-counter span{font-size:.74rem;font-weight:900;color:#dbeafe}
.eduq-quizzes-counter a{
  margin-top:8px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:.67rem;
  font-weight:900;
}
.eduq-google-preferred.compact{
  display:inline-flex;
  width:auto;
  min-height:51px;
  padding-inline:18px;
}
.eduq-public-results-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  margin-bottom:18px;
}
.eduq-public-results-head span{
  display:block;
  color:#3131c1;
  font-size:.69rem;
  font-weight:900;
  margin-bottom:4px;
}
.eduq-public-results-head h2{
  margin:0 0 4px;
  color:#0f172a;
  font-size:1.33rem;
  font-weight:900;
}
.eduq-public-results-head p{
  margin:0;
  color:#64748b;
  font-size:.77rem;
  font-weight:700;
}
.eduq-public-results-head>b{
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  color:#3131c1;
  font-size:.72rem;
}
.eduq-public-quizzes-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.eduq-public-quiz-card{
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e2e8f0;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.045);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.eduq-public-quiz-card:hover{
  transform:translateY(-4px);
  border-color:#bfdbfe;
  box-shadow:0 18px 34px rgba(49,49,193,.1);
}
.eduq-public-card-label{
  position:absolute;
  z-index:2;
  top:12px;
  right:12px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#3131c1;
  font-size:.65rem;
  font-weight:900;
}
.eduq-public-card-image{
  display:block;
  background:#eef2ff;
  aspect-ratio:1200/630;
  overflow:hidden;
}
.eduq-public-card-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.eduq-public-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:16px;
}
.eduq-public-subject{
  display:flex;
  align-items:center;
  gap:6px;
  margin:0 0 8px;
  color:#3131c1;
  font-size:.72rem;
  font-weight:900;
}
.eduq-public-card-body h3{
  margin:0 0 12px;
  min-height:3.7rem;
  color:#0f172a;
  font-size:.94rem;
  font-weight:900;
  line-height:1.95;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.eduq-public-card-body h3 a{color:inherit}
.eduq-public-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:13px;
}
.eduq-public-tags span{
  padding:5px 8px;
  border-radius:999px;
  border:1px solid #f1f5f9;
  background:#f8fafc;
  color:#64748b;
  font-size:.64rem;
  font-weight:900;
}
.eduq-public-numbers{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
  padding:11px 0;
  margin-top:auto;
  margin-bottom:13px;
  border-block:1px solid #f1f5f9;
  text-align:center;
}
.eduq-public-numbers strong{
  display:block;
  color:#0f172a;
  font-size:.95rem;
  font-weight:900;
}
.eduq-public-numbers small{
  display:block;
  color:#94a3b8;
  font-size:.6rem;
  font-weight:900;
}
.eduq-card-open{width:100%}

.dark .eduq-showcase-hero,
.dark .eduq-quizzes-showcase-head,
.dark .eduq-auth-panel,
.dark .eduq-ready-panel,
.dark .eduq-public-quiz-card{
  background:#1e293b;
  border-color:#334155;
}
.dark .eduq-showcase-copy h1,
.dark .eduq-showcase-section-head h2,
.dark .eduq-auth-panel h2,
.dark .eduq-ready-panel h2,
.dark .eduq-quizzes-showcase-head h1,
.dark .eduq-public-results-head h2,
.dark .eduq-public-card-body h3,
.dark .eduq-showcase-units strong,
.dark .eduq-features-grid strong{
  color:#f8fafc;
}
.dark .eduq-showcase-visual,
.dark .eduq-showcase-stats div,
.dark .eduq-features-grid div,
.dark .eduq-google-preferred{
  background:#0f172a;
  border-color:#334155;
}
.dark .eduq-google-preferred strong{color:#f8fafc}
.dark .eduq-auth-separator span{background:#1e293b}

@media(max-width:1020px){
  .eduq-showcase-hero{
    grid-template-columns:1fr;
  }
  .eduq-showcase-visual{max-width:680px}
  .eduq-showcase-layout{grid-template-columns:1fr}
  .eduq-start-panel{position:static}
  .eduq-public-quizzes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .eduq-quiz-breadcrumb{font-size:.67rem;margin-bottom:10px}
  .eduq-showcase-hero{
    padding:14px;
    gap:15px;
    border-radius:21px;
    margin-bottom:13px;
  }
  .eduq-showcase-copy h1{font-size:1.1rem;line-height:1.75}
  .eduq-showcase-copy>p{font-size:.77rem;line-height:1.9;margin-bottom:13px}
  .eduq-showcase-tags{gap:5px;margin-bottom:14px}
  .eduq-showcase-tags span{padding:6px 8px;font-size:.65rem}
  .eduq-showcase-actions{display:grid;grid-template-columns:1fr}
  .eduq-showcase-visual{padding:5px;border-radius:15px}
  .eduq-showcase-visual img{border-radius:11px}
  .eduq-showcase-stats div{padding:8px 4px}
  .eduq-showcase-stats strong{font-size:1rem}
  .eduq-card.eduq-quiz-benefits,.eduq-card.eduq-quiz-features,.eduq-card.eduq-auth-panel,.eduq-card.eduq-ready-panel{padding:14px}
  .eduq-showcase-section-head h2{font-size:.92rem}
  .eduq-showcase-units article{grid-template-columns:37px minmax(0,1fr);padding:9px;gap:8px}
  .eduq-unit-number{width:37px;height:37px;font-size:.8rem}
  .eduq-showcase-units b{grid-column:2;justify-self:start}
  .eduq-features-grid{grid-template-columns:1fr}
  .eduq-quizzes-showcase-head{
    display:block;
    padding:16px;
    border-radius:21px;
    margin-bottom:17px;
  }
  .eduq-quizzes-showcase-head h1{font-size:1.28rem}
  .eduq-quizzes-showcase-head p{font-size:.77rem;line-height:1.9}
  .eduq-quizzes-counter{
    min-height:auto;
    flex-direction:row;
    justify-content:flex-start;
    margin-top:17px;
    border-radius:16px;
    padding:12px 14px;
  }
  .eduq-quizzes-counter strong{font-size:1.35rem}
  .eduq-quizzes-counter a{margin-top:0;margin-right:auto}
  .eduq-public-results-head{display:block;margin-bottom:12px}
  .eduq-public-results-head>b{display:inline-flex;margin-top:9px}
  .eduq-public-quizzes-grid{grid-template-columns:1fr;gap:12px}
  .eduq-public-quiz-card{border-radius:19px}
  .eduq-public-card-body{padding:12px}
  .eduq-public-card-body h3{min-height:auto;font-size:.87rem}
}


/* Text-only monthly related content in live waiting and join screens */
.eduq-related-monthly-articles{
  margin:16px auto 0;
  max-width:760px;
  padding:15px;
  border-radius:21px;
  border:1px solid #e2e8f0;
  background:#fff;
  box-shadow:0 7px 22px rgba(15,23,42,.04);
  text-align:right;
}
.eduq-monthly-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:11px;
}
.eduq-monthly-head>span{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:41px;
  height:41px;
  border-radius:13px;
  background:#fff7ed;
  color:#ea580c;
}
.eduq-monthly-head h2{
  margin:0 0 2px;
  color:#0f172a;
  font-size:.89rem;
  font-weight:900;
}
.eduq-monthly-head p{
  margin:0;
  color:#64748b;
  font-size:.67rem;
  font-weight:800;
}
.eduq-monthly-links{
  display:grid;
  gap:6px;
}
.eduq-monthly-links a{
  display:grid;
  grid-template-columns:31px minmax(0,1fr) 22px;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border-radius:13px;
  border:1px solid #f1f5f9;
  background:#f8fafc;
  text-decoration:none!important;
  transition:background .15s ease,border-color .15s ease;
}
.eduq-monthly-links a:hover{
  background:#eef2ff;
  border-color:#c7d2fe;
}
.eduq-monthly-links a>i:first-child{
  display:flex;
  align-items:center;
  justify-content:center;
  width:31px;
  height:31px;
  border-radius:10px;
  background:#fff;
  color:#3131c1;
  font-size:.8rem;
}
.eduq-monthly-links a>i:last-child{
  color:#94a3b8;
  font-size:.68rem;
}
.eduq-monthly-links span{
  display:block;
  min-width:0;
}
.eduq-monthly-links strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#0f172a;
  font-size:.73rem;
  font-weight:900;
  line-height:1.65;
}
.eduq-monthly-links small{
  display:flex;
  align-items:center;
  gap:5px;
  color:#94a3b8;
  font-size:.59rem;
  font-weight:800;
}
.eduq-monthly-links small b{font-weight:900}
#eduq-live-wait-articles[hidden]{display:none!important}
.dark .eduq-related-monthly-articles{
  background:#1e293b;
  border-color:#334155;
}
.dark .eduq-monthly-head h2,
.dark .eduq-monthly-links strong{color:#f8fafc}
.dark .eduq-monthly-links a{
  background:#0f172a;
  border-color:#334155;
}
.dark .eduq-monthly-links a>i:first-child{background:#1e293b}

/* Standard attempt page: balanced responsive layout on phones */
.eduq-standard-attempt-page .eduq-wrap{
  max-width:980px;
}
.eduq-standard-attempt-page .eduq-attempt-question,
.eduq-standard-attempt-page .eduq-attempt-toolbar,
.eduq-standard-attempt-page .eduq-result-showcase{
  width:100%;
  box-sizing:border-box;
}
.eduq-standard-attempt-page .eduq-question-title{
  min-width:0;
}
.eduq-standard-attempt-page .eduq-question-title>span:last-child,
.eduq-standard-attempt-page .eduq-option span{
  overflow-wrap:anywhere;
  word-break:normal;
}
@media(max-width:640px){
  .eduq-standard-attempt-page .eduq-wrap{
    padding:10px 9px 34px;
  }
  .eduq-standard-attempt-page .eduq-compact-hero{
    padding:10px 11px;
    margin-bottom:9px;
    border-radius:16px;
  }
  .eduq-standard-attempt-page .eduq-compact-hero h1{
    font-size:.86rem;
    line-height:1.65;
    -webkit-line-clamp:3;
  }
  .eduq-standard-attempt-page .eduq-compact-hero p{
    margin-top:3px;
    font-size:.67rem;
    line-height:1.6;
  }
  .eduq-standard-attempt-page .eduq-attempt-toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    padding:9px 10px;
    margin-bottom:9px;
    border-radius:15px;
  }
  .eduq-standard-attempt-page .eduq-attempt-meta strong{
    font-size:.78rem;
    margin:0;
    line-height:1.5;
  }
  .eduq-standard-attempt-page .eduq-countdown{
    min-width:82px;
    width:auto;
    padding:7px 9px;
    border-radius:11px;
    gap:5px;
    font-size:.8rem;
  }
  .eduq-standard-attempt-page .eduq-attempt-progress{
    height:6px;
  }
  .eduq-standard-attempt-page .eduq-question{
    padding:11px 9px;
    margin-bottom:9px;
    border-radius:16px;
  }
  .eduq-standard-attempt-page .eduq-question-head{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    margin-bottom:10px;
  }
  .eduq-standard-attempt-page .eduq-question-title{
    gap:7px;
    margin:0;
    align-items:flex-start;
    font-size:.83rem;
    line-height:1.8;
  }
  .eduq-standard-attempt-page .eduq-question-no{
    width:28px;
    height:28px;
    border-radius:9px;
    font-size:.74rem;
    margin-top:1px;
  }
  .eduq-standard-attempt-page .eduq-question-head .eduq-badge{
    align-self:flex-start;
    padding:5px 8px;
    font-size:.61rem;
  }
  .eduq-standard-attempt-page .eduq-question-media,
  .eduq-standard-attempt-page .eduq-explanation-media{
    max-height:220px;
    margin:8px auto;
    border-radius:12px;
  }
  .eduq-standard-attempt-page .eduq-options{
    grid-template-columns:1fr;
    gap:7px;
  }
  .eduq-standard-attempt-page .eduq-option{
    align-items:flex-start;
    min-height:49px;
    padding:9px;
    gap:7px;
    border-radius:12px;
    font-size:.78rem;
    line-height:1.7;
  }
  .eduq-standard-attempt-page .eduq-option input{
    flex-shrink:0;
    margin-top:5px;
  }
  .eduq-standard-attempt-page .eduq-option-media{
    max-width:100%;
    max-height:128px;
    margin-top:7px;
  }
  .eduq-standard-attempt-page .eduq-instant-feedback{
    margin:9px 0 3px;
    padding:9px;
    border-radius:12px;
  }
  .eduq-standard-attempt-page .eduq-instant-feedback i{
    font-size:1.2rem;
  }
  .eduq-standard-attempt-page .eduq-instant-feedback strong{
    font-size:.8rem;
  }
  .eduq-standard-attempt-page .eduq-instant-feedback span{
    font-size:.68rem;
  }
  .eduq-standard-attempt-page .eduq-inline-rating{
    margin-top:9px;
    padding:9px;
    border-radius:12px;
  }
  .eduq-standard-attempt-page .eduq-inline-rating small{
    margin-bottom:7px;
    font-size:.68rem;
  }
  .eduq-standard-attempt-page .eduq-inline-rating div{
    gap:5px;
  }
  .eduq-standard-attempt-page .eduq-inline-rating button{
    min-height:36px;
    padding:6px 4px;
    font-size:.7rem;
  }
  .eduq-standard-attempt-page .eduq-attempt-controls{
    position:relative;
    margin-top:9px;
    padding:10px;
    border-radius:15px;
    gap:8px;
  }
  .eduq-standard-attempt-page .eduq-attempt-controls p{
    font-size:.68rem;
    line-height:1.7;
  }
  .eduq-standard-attempt-page .eduq-attempt-controls .eduq-primary{
    min-height:44px;
    font-size:.8rem;
  }
  .eduq-standard-attempt-page .eduq-result-showcase{
    padding:13px 9px 14px;
    border-radius:17px;
  }
  .eduq-standard-attempt-page .eduq-result-status h2{
    font-size:.96rem!important;
  }
  .eduq-standard-attempt-page .eduq-result-overview{
    margin:12px auto 10px;
  }
  .eduq-standard-attempt-page .eduq-result-ring{
    width:108px;
    height:108px;
    margin-bottom:10px;
  }
  .eduq-standard-attempt-page .eduq-result-ring strong{
    font-size:1.55rem;
  }
  .eduq-standard-attempt-page .eduq-result-message h3{
    font-size:.92rem;
  }
  .eduq-standard-attempt-page .eduq-result-message p{
    font-size:.72rem;
    line-height:1.8;
  }
  .eduq-standard-attempt-page .eduq-result-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    margin:12px auto 2px;
  }
  .eduq-standard-attempt-page .eduq-result-stats>div:last-child{
    grid-column:1/-1;
  }
  .eduq-standard-attempt-page .eduq-overall-rating{
    margin:13px auto;
    padding:12px 8px;
    border-radius:14px;
  }
  .eduq-standard-attempt-page .eduq-overall-rating strong{
    font-size:.81rem;
  }
  .eduq-standard-attempt-page .eduq-overall-rating p{
    font-size:.68rem;
    line-height:1.7;
  }
  .eduq-standard-attempt-page .eduq-stars button{
    width:38px;
    height:38px;
    font-size:1.3rem;
  }
  .eduq-standard-attempt-page .eduq-result-actions{
    margin-top:12px;
  }
  .eduq-standard-attempt-page .eduq-related-study-files{
    margin-top:13px;
  }
  .eduq-live-player-page .eduq-related-monthly-articles,
  .eduq-live-join-page .eduq-related-monthly-articles{
    margin-top:10px;
    padding:10px;
    border-radius:15px;
  }
  .eduq-monthly-head{
    margin-bottom:8px;
  }
  .eduq-monthly-head>span{
    width:34px;
    height:34px;
    border-radius:10px;
  }
  .eduq-monthly-head h2{
    font-size:.76rem;
  }
  .eduq-monthly-head p{
    font-size:.59rem;
  }
  .eduq-monthly-links{
    gap:5px;
  }
  .eduq-monthly-links a{
    grid-template-columns:27px minmax(0,1fr) 16px;
    padding:7px;
    border-radius:10px;
    gap:6px;
  }
  .eduq-monthly-links a>i:first-child{
    width:27px;
    height:27px;
    border-radius:8px;
    font-size:.69rem;
  }
  .eduq-monthly-links strong{
    font-size:.65rem;
    line-height:1.55;
  }
  .eduq-monthly-links small{
    font-size:.53rem;
  }
}
@media(max-width:380px){
  .eduq-standard-attempt-page .eduq-wrap{padding-inline:6px}
  .eduq-standard-attempt-page .eduq-question{padding-inline:7px}
  .eduq-standard-attempt-page .eduq-result-stats{
    grid-template-columns:1fr;
  }
  .eduq-standard-attempt-page .eduq-result-stats>div:last-child{
    grid-column:auto;
  }
}


/* Waiting room exam code label */
.eduq-player-pin-box{
  width:max-content;
  max-width:100%;
  margin:12px auto 0;
  text-align:center;
}
.eduq-player-pin-box>small{
  display:block;
  margin-bottom:4px;
  color:#64748b;
  font-size:.68rem;
  font-weight:900;
}
.eduq-player-pin-box .eduq-pin.small{
  margin:0 auto;
}

/* Download action clarification in standard result card */
.eduq-standard-attempt-page #download-standard-result{
  min-height:48px;
}
@media(max-width:640px){
  .eduq-player-pin-box{
    margin-top:8px;
  }
  .eduq-player-pin-box>small{
    font-size:.61rem;
    margin-bottom:2px;
  }
  .eduq-standard-attempt-page #download-standard-result{
    width:100%;
    justify-content:center;
  }
}


/* Live channels links are circular icon-only buttons */
.eduq-live-channels-cta nav a{
  width:45px;
  height:45px;
  min-height:45px;
  padding:0 !important;
  border-radius:50%;
  font-size:1.22rem !important;
  gap:0;
}
.eduq-live-channels-cta nav a i{
  margin:0;
  font-size:1.22rem;
  line-height:1;
}
@media(max-width:640px){
  .eduq-live-channels-cta nav a{
    width:35px;
    height:35px;
    min-height:35px;
    font-size:.98rem !important;
  }
  .eduq-live-channels-cta nav a i{
    font-size:.98rem;
  }
}


/* Visible recovery state after reloading a running live competition */
.eduq-live-recover{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:260px;
  padding:28px 16px;
  text-align:center;
  border:1px solid #dbeafe;
  border-radius:23px;
  background:#fff;
}
.eduq-live-recover>i{
  display:flex;
  align-items:center;
  justify-content:center;
  width:55px;
  height:55px;
  border-radius:18px;
  background:#eef2ff;
  color:#3131c1;
  font-size:1.35rem;
}
.eduq-live-recover strong{color:#0f172a;font-size:1.04rem;font-weight:900}
.eduq-live-recover span{color:#64748b;font-size:.8rem;font-weight:700}
.eduq-live-recover .eduq-secondary{margin-top:7px}
.eduq-live-recover.error>i{background:#fef2f2;color:#dc2626}
.dark .eduq-live-recover{background:#1e293b;border-color:#334155}
.dark .eduq-live-recover strong{color:#f8fafc}
@media(max-width:640px){
  .eduq-live-recover{min-height:190px;padding:18px 10px;border-radius:16px}
  .eduq-live-recover>i{width:44px;height:44px;border-radius:13px;font-size:1.05rem}
  .eduq-live-recover strong{font-size:.86rem}
  .eduq-live-recover span{font-size:.68rem}
}


/* Actions inside reconnect/failure panel */
.eduq-live-recover .eduq-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:9px;
}
.eduq-live-recover .eduq-actions .eduq-secondary,
.eduq-live-recover .eduq-actions .eduq-live-button{
  margin-top:0;
  min-height:43px;
}
@media(max-width:640px){
  .eduq-live-recover .eduq-actions{
    display:grid;
    width:100%;
  }
  .eduq-live-recover .eduq-actions .eduq-secondary,
  .eduq-live-recover .eduq-actions .eduq-live-button{
    width:100%;
  }
}


/* Related files section below the standard quiz attempt/results screen */
.eduq-standard-attempt-page .eduq-related-study-files{
  display:block;
  width:100%;
  margin:24px 0 0;
  padding:21px;
  border:1px solid #e2e8f0;
  border-radius:25px;
  background:#ffffff;
  box-shadow:0 9px 28px rgba(15,23,42,.055);
  box-sizing:border-box;
}
.eduq-standard-attempt-page .eduq-related-study-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 18px;
}
.eduq-standard-attempt-page .eduq-related-study-head span{
  display:block;
  margin:0 0 4px;
  color:#3131c1;
  font-size:.7rem;
  font-weight:900;
}
.eduq-standard-attempt-page .eduq-related-study-head h2{
  margin:0;
  color:#0f172a;
  font-size:1.1rem;
  line-height:1.7;
  font-weight:900;
}
.eduq-standard-attempt-page .eduq-related-study-head>i{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  flex-shrink:0;
  border-radius:15px;
  background:#eef2ff;
  color:#3131c1;
  font-size:1.14rem;
}
.eduq-standard-attempt-page .eduq-related-study-columns{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:15px;
}
.eduq-standard-attempt-page .eduq-related-study-group{
  display:block;
  min-width:0;
  padding:14px;
  border:1px solid #eef2f7;
  border-radius:19px;
  background:#f8fafc;
}
.eduq-standard-attempt-page .eduq-related-study-group header{
  margin:0 0 11px;
}
.eduq-standard-attempt-page .eduq-related-study-group header h3{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 4px;
  color:#0f172a;
  font-size:.9rem;
  line-height:1.6;
  font-weight:900;
}
.eduq-standard-attempt-page .eduq-related-study-group header h3 i{
  color:#3131c1;
}
.eduq-standard-attempt-page .eduq-related-study-group header p{
  margin:0;
  color:#64748b;
  font-size:.69rem;
  line-height:1.75;
  font-weight:700;
}
.eduq-standard-attempt-page .eduq-related-files-grid{
  display:grid;
  gap:8px;
}
.eduq-standard-attempt-page .eduq-related-file-card{
  display:grid;
  grid-template-columns:73px minmax(0,1fr);
  gap:9px;
  align-items:center;
  min-width:0;
  padding:7px;
  border:1px solid #edf2f7;
  border-radius:14px;
  background:#fff;
  color:inherit;
  text-decoration:none !important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.eduq-standard-attempt-page .eduq-related-file-card:hover{
  transform:translateY(-2px);
  border-color:#c7d2fe;
  box-shadow:0 9px 20px rgba(49,49,193,.08);
}
.eduq-standard-attempt-page .eduq-related-file-cover{
  display:block;
  width:73px;
  height:73px;
  overflow:hidden;
  border-radius:10px;
  background:#e2e8f0;
}
.eduq-standard-attempt-page .eduq-related-file-cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.eduq-standard-attempt-page .eduq-related-file-content{
  display:block;
  min-width:0;
}
.eduq-standard-attempt-page .eduq-related-file-content em{
  display:inline-flex;
  margin:0 0 4px;
  padding:2px 7px;
  border-radius:999px;
  background:#eef2ff;
  color:#3131c1;
  font-size:.56rem;
  font-style:normal;
  line-height:1.5;
  font-weight:900;
}
.eduq-standard-attempt-page .eduq-related-file-content strong{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  color:#0f172a;
  font-size:.72rem;
  line-height:1.72;
  font-weight:900;
}
.eduq-standard-attempt-page .eduq-related-file-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:5px;
}
.eduq-standard-attempt-page .eduq-related-file-meta small,
.eduq-standard-attempt-page .eduq-related-file-content time{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#64748b;
  font-size:.55rem;
  font-weight:800;
}
.eduq-standard-attempt-page .eduq-related-file-content time{
  margin-top:5px;
}
.dark .eduq-standard-attempt-page .eduq-related-study-files{
  background:#1e293b;
  border-color:#334155;
}
.dark .eduq-standard-attempt-page .eduq-related-study-head h2,
.dark .eduq-standard-attempt-page .eduq-related-study-group header h3,
.dark .eduq-standard-attempt-page .eduq-related-file-content strong{
  color:#f8fafc;
}
.dark .eduq-standard-attempt-page .eduq-related-study-group{
  background:#0f172a;
  border-color:#334155;
}
.dark .eduq-standard-attempt-page .eduq-related-file-card{
  background:#1e293b;
  border-color:#334155;
}
@media(max-width:760px){
  .eduq-standard-attempt-page .eduq-related-study-columns{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .eduq-standard-attempt-page .eduq-related-study-files{
    margin-top:13px;
    padding:11px;
    border-radius:17px;
  }
  .eduq-standard-attempt-page .eduq-related-study-head{
    margin-bottom:10px;
    gap:8px;
  }
  .eduq-standard-attempt-page .eduq-related-study-head h2{
    font-size:.84rem;
    line-height:1.7;
  }
  .eduq-standard-attempt-page .eduq-related-study-head>i{
    width:37px;
    height:37px;
    border-radius:11px;
    font-size:.9rem;
  }
  .eduq-standard-attempt-page .eduq-related-study-group{
    padding:8px;
    border-radius:13px;
  }
  .eduq-standard-attempt-page .eduq-related-study-group header h3{
    font-size:.77rem;
  }
  .eduq-standard-attempt-page .eduq-related-study-group header p{
    font-size:.6rem;
  }
  .eduq-standard-attempt-page .eduq-related-file-card{
    grid-template-columns:60px minmax(0,1fr);
    gap:7px;
    padding:5px;
    border-radius:11px;
  }
  .eduq-standard-attempt-page .eduq-related-file-cover{
    width:60px;
    height:60px;
    border-radius:8px;
  }
  .eduq-standard-attempt-page .eduq-related-file-content strong{
    font-size:.65rem;
    line-height:1.6;
  }
  .eduq-standard-attempt-page .eduq-related-file-content em,
  .eduq-standard-attempt-page .eduq-related-file-meta small,
  .eduq-standard-attempt-page .eduq-related-file-content time{
    font-size:.51rem;
  }
}


/* Question bank vertical workflow and CSV quick import */
.eduq-bank-stack{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.eduq-bank-editor-wide,
.eduq-bank-library-wide{
  display:block;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.eduq-bank-editor-wide{
  position:static !important;
}
.eduq-bank-editor-wide #bank-question-form{
  margin-top:18px;
}
.eduq-bank-library-wide .eduq-filter-bar{
  grid-template-columns:minmax(260px,1.8fr) repeat(3,minmax(135px,.72fr)) auto;
  align-items:center;
}
.eduq-bank-library-wide .eduq-filter-bar button{
  grid-column:auto;
}
.eduq-bank-library-wide .eduq-lesson-filter{
  grid-template-columns:minmax(260px,1fr) 150px auto;
}
.eduq-csv-import-card{
  margin:16px 0 21px;
  padding:17px;
  border:1px solid #bfdbfe;
  border-radius:21px;
  background:#f8fbff;
}
.eduq-csv-import-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:13px;
  margin-bottom:14px;
}
.eduq-csv-import-head h3{
  margin:9px 0 4px;
  color:#0f172a;
  font-size:1rem;
  font-weight:900;
}
.eduq-csv-import-head p{
  margin:0;
  color:#64748b;
  font-size:.75rem;
  font-weight:700;
  line-height:1.8;
}
.eduq-csv-import-form{
  display:grid;
  grid-template-columns:minmax(260px,1.8fr) minmax(155px,.65fr) minmax(175px,.7fr) auto;
  align-items:end;
  gap:10px;
}
.eduq-csv-file{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:64px;
  padding:9px 12px;
  border:1px dashed #93c5fd;
  border-radius:15px;
  background:#fff;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease;
}
.eduq-csv-file:hover{
  border-color:#3131c1;
  background:#eef2ff;
}
.eduq-csv-file>i{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:43px;
  height:43px;
  border-radius:13px;
  background:#eef2ff;
  color:#3131c1;
  font-size:1.06rem;
}
.eduq-csv-file span{
  display:block;
  min-width:0;
}
.eduq-csv-file strong{
  display:block;
  color:#0f172a;
  font-size:.78rem;
  font-weight:900;
}
.eduq-csv-file small{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:.62rem;
  font-weight:700;
}
.eduq-csv-file input{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}
.eduq-csv-import-form .eduq-field label{
  margin-bottom:6px;
  font-size:.72rem;
}
.eduq-csv-import-form .eduq-field input{
  min-height:48px;
}
.eduq-csv-submit{
  min-height:49px;
  white-space:nowrap;
}
.eduq-csv-format{
  margin-top:13px;
  padding:11px 13px;
  border-radius:14px;
  border:1px solid #e2e8f0;
  background:#fff;
}
.eduq-csv-format summary{
  cursor:pointer;
  color:#3131c1;
  font-size:.75rem;
  font-weight:900;
}
.eduq-csv-format code{
  display:block;
  direction:ltr;
  text-align:left;
  margin-top:10px;
  padding:9px 11px;
  border-radius:10px;
  background:#0f172a;
  color:#e2e8f0;
  font-size:.72rem;
  white-space:pre-wrap;
  word-break:break-word;
}
.eduq-csv-format code[dir="rtl"]{
  direction:rtl;
  text-align:right;
}
.eduq-csv-format p{
  margin:9px 0 0;
  color:#64748b;
  font-size:.68rem;
  line-height:1.9;
  font-weight:700;
}
.dark .eduq-csv-import-card{
  background:#0f172a;
  border-color:#334155;
}
.dark .eduq-csv-import-head h3,
.dark .eduq-csv-file strong{
  color:#f8fafc;
}
.dark .eduq-csv-file,
.dark .eduq-csv-format{
  background:#1e293b;
  border-color:#334155;
}
@media(max-width:1100px){
  .eduq-bank-library-wide .eduq-filter-bar{
    grid-template-columns:minmax(200px,1fr) repeat(2,minmax(130px,.7fr));
  }
  .eduq-bank-library-wide .eduq-filter-bar button{
    grid-column:1/-1;
  }
  .eduq-csv-import-form{
    grid-template-columns:1fr 1fr;
  }
  .eduq-csv-file{
    grid-column:1/-1;
  }
  .eduq-csv-submit{
    grid-column:1/-1;
  }
}
@media(max-width:640px){
  .eduq-bank-stack{gap:12px}
  .eduq-csv-import-card{
    margin:12px 0 16px;
    padding:10px;
    border-radius:15px;
  }
  .eduq-csv-import-head{
    display:block;
    margin-bottom:10px;
  }
  .eduq-csv-import-head .eduq-secondary{
    width:100%;
    justify-content:center;
    margin-top:10px;
  }
  .eduq-csv-import-head h3{
    font-size:.84rem;
  }
  .eduq-csv-import-form{
    grid-template-columns:1fr;
    gap:8px;
  }
  .eduq-csv-file,
  .eduq-csv-submit{
    grid-column:auto;
  }
  .eduq-csv-file{
    min-height:59px;
    padding:8px;
  }
  .eduq-csv-file>i{
    width:37px;
    height:37px;
  }
  .eduq-bank-library-wide .eduq-filter-bar,
  .eduq-bank-library-wide .eduq-lesson-filter{
    grid-template-columns:1fr;
  }
  .eduq-csv-format{
    padding:9px;
  }
}


/* Compact question-bank library cards with visible answers */
.eduq-bank-library-wide .eduq-card-head{
  margin-bottom:12px;
}
.eduq-bank-compact-card{
  margin:0 0 8px !important;
  padding:11px 12px !important;
  border-radius:15px !important;
}
.eduq-bank-compact-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.eduq-bank-compact-title{
  display:flex;
  align-items:flex-start;
  gap:8px;
  flex:1;
  min-width:0;
}
.eduq-bank-compact-title .eduq-question-no{
  flex-shrink:0;
  width:auto;
  min-width:41px;
  height:auto;
  padding:5px 7px;
  border-radius:9px;
  font-size:.65rem;
  line-height:1.25;
}
.eduq-bank-compact-title h3{
  margin:0 0 3px;
  color:#0f172a;
  font-size:.82rem;
  line-height:1.75;
  font-weight:900;
  word-break:break-word;
}
.eduq-bank-compact-scope{
  margin:0;
  color:#64748b;
  font-size:.6rem;
  font-weight:700;
  line-height:1.6;
}
.eduq-bank-compact-scope i{
  margin-left:4px;
  color:#3131c1;
}
.eduq-bank-compact-badges{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
  flex-shrink:0;
}
.eduq-bank-compact-badges .eduq-badge{
  padding:5px 7px;
  font-size:.58rem;
}
.eduq-bank-thumb-compact{
  max-width:92px !important;
  max-height:62px !important;
  margin:0 0 8px !important;
  border-radius:8px !important;
}
.eduq-bank-answer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(175px,1fr));
  gap:5px;
  margin:7px 0 9px;
}
.eduq-bank-answer{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  min-height:38px;
  padding:5px 7px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#f8fafc;
}
.eduq-bank-answer>b{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:24px;
  height:24px;
  border-radius:7px;
  background:#e2e8f0;
  color:#475569;
  font-size:.64rem;
  font-weight:900;
}
.eduq-bank-answer>span{
  flex:1;
  min-width:0;
  color:#334155;
  font-size:.67rem;
  line-height:1.5;
  font-weight:800;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.eduq-answer-has-image{
  flex-shrink:0;
  color:#64748b;
  font-size:.68rem;
}
.eduq-bank-answer>em{
  display:inline-flex;
  align-items:center;
  gap:3px;
  flex-shrink:0;
  padding:3px 5px;
  border-radius:999px;
  color:#047857;
  background:#dcfce7;
  font-size:.53rem;
  font-style:normal;
  font-weight:900;
}
.eduq-bank-answer.is-correct{
  border-color:#86efac;
  background:#f0fdf4;
}
.eduq-bank-answer.is-correct>b{
  background:#16a34a;
  color:#fff;
}
.eduq-bank-no-answers{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin:5px 0 8px;
  padding:6px 8px;
  border-radius:9px;
  background:#fef2f2;
  color:#b91c1c;
  font-size:.62rem;
  font-weight:800;
}
.eduq-bank-compact-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding-top:7px;
  border-top:1px solid #f1f5f9;
}
.eduq-bank-small-metrics{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.eduq-bank-small-metrics span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#64748b;
  font-size:.59rem;
  font-weight:900;
}
.eduq-bank-small-metrics i{
  color:#3131c1;
  font-size:.56rem;
}
.eduq-bank-mini-actions{
  display:flex;
  align-items:center;
  gap:4px;
  flex-shrink:0;
}
.eduq-bank-mini-actions form{
  margin:0;
}
.eduq-bank-mini-actions .eduq-icon-btn{
  width:33px;
  height:33px;
  min-width:33px;
  min-height:33px;
  padding:0;
  justify-content:center;
  font-size:.7rem;
}
.dark .eduq-bank-compact-title h3{
  color:#f8fafc;
}
.dark .eduq-bank-answer{
  background:#0f172a;
  border-color:#334155;
}
.dark .eduq-bank-answer>span{
  color:#e2e8f0;
}
.dark .eduq-bank-answer>b{
  background:#334155;
  color:#e2e8f0;
}
.dark .eduq-bank-answer.is-correct{
  background:rgba(5,150,105,.15);
  border-color:#047857;
}
.dark .eduq-bank-compact-footer{
  border-color:#334155;
}
@media(max-width:760px){
  .eduq-bank-compact-card{
    padding:9px !important;
  }
  .eduq-bank-compact-head{
    display:block;
    margin-bottom:7px;
  }
  .eduq-bank-compact-badges{
    margin-top:6px;
  }
  .eduq-bank-answer-grid{
    grid-template-columns:1fr;
    gap:4px;
  }
  .eduq-bank-answer{
    min-height:34px;
    padding:4px 6px;
  }
  .eduq-bank-compact-footer{
    align-items:flex-start;
    flex-direction:column;
  }
  .eduq-bank-mini-actions{
    width:100%;
    justify-content:flex-end;
  }
}


/* Question bank advanced CSV restore + scroll/layout hotfix 2026-06-06
   This keeps the advanced CSV import, repeated lesson workflow and compact answers view,
   while fixing the long editor scroll trap caused by sticky/overflow layout. */
html,body{
  overflow-y:auto!important;
  min-height:100%!important;
  height:auto!important;
}
.eduq-page,
.eduq-wrap{
  overflow:visible!important;
  height:auto!important;
  min-height:0!important;
}
.eduq-bank-stack,
.eduq-bank-layout{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:22px!important;
  overflow:visible!important;
}
.eduq-bank-stack>.eduq-card,
.eduq-bank-layout>.eduq-col-7,
.eduq-bank-layout>.eduq-col-5{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:100%!important;
}
.eduq-bank-editor,
.eduq-bank-editor-wide{
  position:static!important;
  top:auto!important;
  align-self:stretch!important;
  max-height:none!important;
  overflow:visible!important;
  z-index:auto!important;
  order:1!important;
}
.eduq-bank-library,
.eduq-bank-library-wide{
  max-height:none!important;
  overflow:visible!important;
  order:2!important;
}
.eduq-bank-editor .eduq-card-head,
.eduq-bank-library .eduq-card-head{
  position:static!important;
  top:auto!important;
}
#bank-question-form,
.eduq-csv-import-card,
.eduq-bank-editor{
  scroll-margin-top:125px;
}
.eduq-bank-editor,
.eduq-bank-library,
.eduq-bank-editor .eduq-card,
.eduq-bank-library .eduq-card{
  contain:none!important;
}
.eduq-crop-modal:not(.show){
  pointer-events:none!important;
}
.eduq-crop-modal.show{
  pointer-events:auto!important;
}
@media(max-width:1100px){
  #bank-question-form,
  .eduq-csv-import-card,
  .eduq-bank-editor{
    scroll-margin-top:95px;
  }
}
