:root{--bg:#f5f3ff;--panel:#fff;--text:#182034;--muted:#68738a;--line:#e6e8ef;--primary:#6d28d9;--primary2:#7c3aed;--blue:#2563eb;--cyan:#06b6d4;--green:#10b981;--orange:#f59e0b;--pink:#ec4899;--red:#ef4444;--nav:#111827;--shadow:0 14px 38px rgba(37,35,70,.09);--r:18px}*{box-sizing:border-box}html{min-height:100%}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(180deg,#f8f7ff 0,#f3f6fb 100%);color:var(--text)}button,input,select,textarea{font:inherit}button,a{cursor:pointer}a{text-decoration:none;color:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.sidebar{background:linear-gradient(180deg,#151329,#111827);color:#fff;padding:22px 17px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:20}.brand-wrap{display:flex;align-items:center;gap:11px;padding:0 8px 22px}.brand-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#8b5cf6,#ec4899);font-size:20px;box-shadow:0 8px 24px rgba(139,92,246,.35)}.brand{font-size:16px;font-weight:900}.brand-sub{font-size:11px;color:#aaa7c8;margin-top:2px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{display:flex;align-items:center;gap:10px;color:#c8c7d8;border-radius:12px;padding:11px 12px;font-size:13px;font-weight:750}.sidebar nav a span{width:22px;text-align:center;color:#a78bfa}.sidebar nav a:hover,.sidebar nav a.active{background:linear-gradient(90deg,rgba(124,58,237,.28),rgba(59,130,246,.08));color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 #a78bfa}.side-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding:15px 5px 0}.user-mini{display:flex;align-items:center;gap:9px}.avatar{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#8b5cf6,#2563eb);display:grid;place-items:center;color:#fff;font-weight:900}.user-mini strong,.user-mini small{display:block}.user-mini strong{font-size:12px}.user-mini small{font-size:10px;color:#aaa7c8;margin-top:2px}.linkbtn{border:0;background:transparent;color:#fca5a5;padding:9px 0 0;font-size:11px}.main{padding:28px;max-width:1500px;width:100%;margin:0 auto}.top,.welcome,.section-head,.actions,.toolbar{display:flex;align-items:center}.top,.welcome{justify-content:space-between;gap:18px;margin-bottom:18px}.top h1,.welcome h1{margin:2px 0 0;font-size:28px;line-height:1.18}.top p,.welcome p{margin:5px 0 0;color:var(--muted)}.page-kicker,.eyebrow,.activity-kicker{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:var(--primary)}.welcome{background:linear-gradient(135deg,#ffffff,#f3e8ff);border:1px solid #e9d5ff;border-radius:24px;padding:24px;box-shadow:var(--shadow)}.actions{gap:8px;flex-wrap:wrap}.btn{border:1px solid var(--line);background:#fff;color:var(--text);padding:9px 13px;border-radius:11px;font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.18s}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(31,41,55,.08)}.btn.primary{background:linear-gradient(135deg,var(--primary2),var(--blue));border-color:transparent;color:#fff}.btn.glow{box-shadow:0 12px 26px rgba(109,40,217,.28)}.btn.success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.btn.danger{background:#fff5f5;color:#dc2626;border-color:#fecaca}.btn.small{padding:6px 9px;font-size:11px}.btn.block{width:100%;margin-top:12px;padding:11px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.wheel-btn{background:linear-gradient(135deg,#fff7ed,#fdf2f8);border-color:#fbcfe8;color:#a21caf}.card,.live-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:18px}.card.narrow{max-width:620px}.section{margin-top:16px}.section-head{justify-content:space-between;gap:10px;margin-bottom:12px}.section-head h2,.card h2{font-size:17px;margin:2px 0}.section-head p{margin:2px 0;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:18px}.stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;box-shadow:var(--shadow);position:relative;overflow:hidden}.stat>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#fff;margin-bottom:10px;font-weight:900}.stat b,.metric b{font-size:27px;display:block}.stat small,.metric small{color:var(--muted);font-size:11px}.stat.violet>span{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.stat.blue>span{background:linear-gradient(135deg,#60a5fa,#2563eb)}.stat.orange>span{background:linear-gradient(135deg,#fbbf24,#f97316)}.stat.green>span{background:linear-gradient(135deg,#34d399,#059669)}.stat.pink>span{background:linear-gradient(135deg,#f472b6,#db2777)}.class-grid,.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.class-card{border:1px solid var(--line);border-radius:15px;padding:15px;background:#fff;display:grid;gap:5px;position:relative;transition:.18s}.class-card.playful:hover{transform:translateY(-3px);border-color:#c4b5fd;box-shadow:0 14px 28px rgba(109,40,217,.11)}.class-card strong{font-size:14px}.class-card span,.class-card small{font-size:11px;color:var(--muted)}.class-dot{position:absolute;right:12px;top:12px;width:9px;height:9px;border-radius:99px;background:linear-gradient(135deg,#8b5cf6,#ec4899)}.course-card{border:1px solid var(--line);border-radius:15px;padding:14px;background:#fbfbfe}.course-title{display:flex;justify-content:space-between;gap:10px}.course-title strong,.course-title span{display:block}.course-title strong{font-size:14px}.course-title span{font-size:10px;color:var(--muted);margin-top:3px}.icon-danger{width:26px;height:26px;border-radius:8px;border:0;background:#fee2e2;color:#dc2626;font-weight:900}.class-chip-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.class-chip{display:flex;align-items:stretch;border:1px solid #ddd6fe;border-radius:10px;overflow:hidden;background:#fff}.class-chip a{padding:7px 9px;display:grid}.class-chip a b{font-size:11px}.class-chip a small{font-size:9px;color:var(--muted)}.class-chip button,.add-class-chip{border:0;background:#f5f3ff;color:#6d28d9;font-size:10px;font-weight:800;padding:6px 8px}.add-class-chip{border-radius:10px;border:1px dashed #c4b5fd}.toolbar{gap:10px;flex-wrap:wrap}.toolbar label{min-width:200px}.grow{flex:1}.activity-strip{background:linear-gradient(135deg,#24144f,#142a63);color:#fff;border-radius:18px;padding:16px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;box-shadow:0 16px 34px rgba(38,26,98,.18)}.activity-copy{display:grid;gap:3px}.activity-kicker{color:#c4b5fd}.activity-title{font-size:16px;font-weight:900}.activity-desc{font-size:12px;color:#dbeafe}.activity-desc b{font-size:15px;color:#fff;letter-spacing:.08em}.activity-button{border:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:11px 9px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}th{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}td{font-size:12px}td strong,td small{display:block}td small{color:var(--muted);margin-top:2px}.star{filter:saturate(1.2)}.badge,.answer-count{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:10px;font-weight:900}.badge.green{background:#ecfdf5;color:#047857}.badge.purple{background:#f3e8ff;color:#7e22ce}.rank{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f3f4f6;font-weight:900}.toprank{background:#fff7ed;color:#b45309}.podium-wrap{display:flex;align-items:flex-end;justify-content:center;gap:12px;margin:20px 0}.podium{width:min(220px,30%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;text-align:center;box-shadow:var(--shadow);display:grid;gap:6px}.podium>span{font-size:30px}.podium strong{font-size:13px}.podium b{color:#b45309}.podium.p1{transform:translateY(-12px);border-color:#fde68a}.status-dot{width:8px;height:8px;border-radius:99px;display:inline-block;margin-right:6px}.status-dot.on{background:#10b981}.status-dot.off{background:#ef4444}label{display:grid;gap:5px;font-size:11px;font-weight:800;margin-bottom:10px}input,select,textarea{width:100%;border:1px solid #d7dce5;border-radius:10px;padding:9px 10px;background:#fff;color:var(--text);outline:none}input:focus,select:focus,textarea:focus{border-color:#a78bfa;box-shadow:0 0 0 3px rgba(167,139,250,.16)}textarea{resize:vertical}.grid2,.form-grid,.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.span2{grid-column:1/-1}.muted,.hint{color:var(--muted)}.hint{font-size:11px}hr{border:0;border-top:1px solid var(--line);margin:18px 0}.empty{text-align:center;color:var(--muted);padding:24px}.empty.compact{padding:14px}.notice{padding:11px 12px;border-radius:11px;margin:12px 0;background:#f8fafc;border:1px solid var(--line);font-size:12px}.notice.success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.notice.danger{background:#fff1f2;color:#be123c;border-color:#fecdd3}.flash-notice{margin-bottom:14px}.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.62);display:none;place-items:center;padding:18px;z-index:60;backdrop-filter:blur(4px)}.modal-backdrop.show{display:grid}.modal{background:#fff;border-radius:20px;padding:20px;max-width:760px;width:100%;max-height:94vh;overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.28)}.modal h3{margin:0 0 14px}.modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.toast{position:fixed;right:20px;bottom:20px;background:#111827;color:#fff;border-radius:12px;padding:11px 14px;opacity:0;transform:translateY(10px);transition:.2s;z-index:90;font-size:12px}.toast.show{opacity:1;transform:none}.login-screen,.install-body{min-height:100vh;display:grid;place-items:center;padding:20px;position:relative;overflow:hidden;background:linear-gradient(135deg,#4c1d95 0,#1d4ed8 55%,#0891b2 100%)}.login-card,.install-card{background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.6);border-radius:26px;padding:28px;max-width:460px;width:100%;box-shadow:0 30px 90px rgba(15,23,42,.28);position:relative;z-index:2}.login-mark,.install-logo{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#8b5cf6,#ec4899);display:grid;place-items:center;font-size:28px;box-shadow:0 12px 28px rgba(139,92,246,.3);margin-bottom:16px}.login-kicker{font-size:11px;color:#7c3aed;font-weight:900;text-transform:uppercase;letter-spacing:.11em}.login-card h1,.install-card h1{margin:4px 0 5px}.login-card>p{margin:0 0 18px;color:var(--muted)}.login-links{display:flex;justify-content:space-between;gap:10px;margin-top:16px;font-size:11px;color:#5b21b6;font-weight:800}.login-orb{position:absolute;border-radius:999px;filter:blur(2px);opacity:.45}.orb-a{width:420px;height:420px;background:#f472b6;left:-130px;top:-130px}.orb-b{width:500px;height:500px;background:#22d3ee;right:-180px;bottom:-180px}.back-public{display:block;text-align:center;margin-top:14px;color:#6d28d9;font-size:11px}.live-body{background:radial-gradient(circle at top left,#312e81 0,#111827 46%,#07111f 100%)}.live-body .sidebar{background:rgba(8,12,28,.92)}.live-body .main{max-width:none}.live-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;color:#fff}.live-top h1{margin:7px 0 2px;font-size:28px}.live-top p{margin:0;color:#cbd5e1}.live-pill{display:inline-flex;padding:5px 8px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}.live-ghost{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}.live-primary{background:linear-gradient(135deg,#8b5cf6,#2563eb)!important;border-color:transparent!important;color:#fff!important}.live-danger{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important}.live-success{background:#10b981!important;border-color:#10b981!important;color:#fff!important}.session-access-card{background:linear-gradient(135deg,#6d28d9,#1d4ed8 58%,#0891b2);color:#fff;border-radius:22px;padding:20px;box-shadow:0 20px 50px rgba(0,0,0,.23);margin-bottom:16px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:26px;align-items:center}.session-qr-side{background:#fff;border-radius:18px;padding:13px;text-align:center;color:var(--text)}.session-qr{max-width:176px;margin:0 auto 8px}.session-qr svg,.qr-large svg{display:block;width:100%;height:auto}.session-qr-side strong{display:block;font-size:13px}.session-qr-side span{display:block;font-size:10px;color:var(--muted);margin-top:2px}.session-code-label{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#c4b5fd;font-weight:900}.session-code-number{display:block;font-size:54px;letter-spacing:.17em;line-height:1.05;margin:6px 0 8px}.session-code-side p{color:#dbeafe;margin:0 0 14px;font-size:12px}.session-link-actions{display:flex;gap:8px;flex-wrap:wrap}.session-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.metric{background:rgba(255,255,255,.96);border-radius:17px;padding:15px;display:grid;grid-template-columns:36px 1fr;column-gap:10px;box-shadow:0 12px 30px rgba(0,0,0,.14)}.metric>span{grid-row:1/3;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;color:#fff}.metric b{font-size:24px}.metric small{font-size:10px}.metric.blue>span{background:#2563eb}.metric.violet>span{background:#7c3aed}.metric.orange>span{background:#f97316}.live-dashboard{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) minmax(250px,.8fr);gap:14px;align-items:start}.live-card{border:1px solid rgba(255,255,255,.12);box-shadow:0 16px 38px rgba(0,0,0,.16)}.hands-card .hand-list{display:grid;gap:8px}.hand-item{width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid #ede9fe;background:#faf7ff;border-radius:12px;padding:10px;text-align:left}.hand-item strong,.hand-item small{display:block}.hand-item small{font-size:10px;color:var(--muted)}.hand-item b{font-size:10px;color:#6d28d9}.selected-student{background:linear-gradient(135deg,#ecfdf5,#eff6ff);border:1px solid #a7f3d0;border-radius:13px;padding:12px;margin-bottom:10px}.selected-student span,.selected-student strong,.selected-student small{display:block}.selected-student span{font-size:9px;text-transform:uppercase;color:#047857;font-weight:900}.selected-student strong{font-size:18px;margin:3px 0}.selected-student small{color:var(--muted);margin-bottom:8px}.question-empty{text-align:center;padding:30px 18px}.question-empty>span{font-size:36px}.question-empty h2{margin:5px 0}.question-empty p{color:var(--muted);font-size:11px}.live-results{display:grid;gap:9px}.answer-result{border-radius:13px;padding:10px;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center;overflow:hidden;position:relative}.answer-label{display:flex;align-items:center;gap:8px;min-width:0}.answer-label b{width:28px;height:28px;background:rgba(255,255,255,.2);border-radius:8px;display:grid;place-items:center}.answer-label span{font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis}.answer-label em{font-style:normal;font-size:9px;background:#fff;color:#047857;padding:3px 6px;border-radius:999px}.answer-bar{grid-column:1/-1;height:5px;background:rgba(255,255,255,.23);border-radius:99px;overflow:hidden}.answer-bar span{display:block;height:100%;background:#fff;border-radius:99px}.opt-a{background:#e11d48}.opt-b{background:#2563eb}.opt-c{background:#d97706}.opt-d{background:#059669}.leader-list{display:grid;gap:7px}.leader-item{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px;border-radius:11px;background:#f8fafc}.leader-item>b{width:27px;height:27px;border-radius:8px;background:#ede9fe;color:#6d28d9;display:grid;place-items:center}.leader-item span,.leader-item span small{display:block}.leader-item span{font-size:11px;font-weight:800}.leader-item span small{font-size:9px;color:var(--muted)}.leader-item>strong{font-size:11px;color:#b45309}.live-loading{text-align:center;color:#c4b5fd;padding:30px}.wheel-modal{max-width:720px;margin:auto}.wheel-head{display:flex;justify-content:space-between;gap:12px;align-items:end}.wheel-head h3{margin:2px 0}.wheel-head label{min-width:210px;margin:0}.wheel-stage{width:min(80vw,520px);aspect-ratio:1;margin:16px auto;position:relative}.wheel-stage canvas{width:100%;height:100%;display:block;filter:drop-shadow(0 18px 26px rgba(15,23,42,.18))}.wheel-pointer{position:absolute;z-index:4;left:50%;top:-4px;transform:translateX(-50%);width:0;height:0;border-left:18px solid transparent;border-right:18px solid transparent;border-top:38px solid #111827;filter:drop-shadow(0 3px 2px rgba(0,0,0,.2))}.wheel-center{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);width:83px;height:83px;border-radius:999px;border:7px solid #fff;background:#111827;color:#fff;font-weight:1000;letter-spacing:.04em;box-shadow:0 8px 20px rgba(0,0,0,.25)}.wheel-center:disabled{opacity:.8}.wheel-result{text-align:center;display:grid;gap:3px;padding:11px;border-radius:14px;background:#f8fafc}.wheel-result>span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#7c3aed;font-weight:900}.wheel-result>strong{font-size:19px}.wheel-result>small{color:var(--muted)}.wheel-result-actions{justify-content:center;margin-top:7px}.confetti-layer{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:100}.confetti-layer i{position:absolute;top:-16px;width:9px;height:14px;border-radius:2px;animation:confetti var(--d) linear forwards;transform:rotate(var(--r))}@keyframes confetti{to{transform:translateY(110vh) rotate(calc(var(--r) + 720deg));opacity:.9}}.qr-modal{text-align:center}.qr-large{width:min(68vw,430px);margin:4px auto 13px}.qr-modal-code{font-size:36px;font-weight:900;letter-spacing:.14em}.student-body{min-height:100vh;background:linear-gradient(145deg,#4c1d95,#2563eb 60%,#0891b2);padding:1px}.student-shell{max-width:610px;margin:0 auto;padding:22px 14px}.student-brand{display:flex;justify-content:center;align-items:center;gap:7px;color:#fff;font-weight:900;font-size:15px;margin:4px 0 14px}.student-brand span{width:32px;height:32px;border-radius:10px;background:rgba(255,255,255,.16);display:grid;place-items:center}.student-card{background:rgba(255,255,255,.98);border-radius:24px;padding:20px;box-shadow:0 26px 60px rgba(17,24,39,.25)}.join-card{text-align:center}.join-emoji{font-size:40px}.join-card h1{margin:5px 0}.join-card>p{margin:0 0 18px;color:var(--muted);font-size:12px}.join-card label{text-align:left}.code-input{text-align:center;font-size:24px;font-weight:900;letter-spacing:.16em}.student-submit{background:linear-gradient(135deg,#7c3aed,#2563eb)!important}.student-session-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.student-session-head h1{font-size:22px;margin:3px 0}.student-session-head p{color:var(--muted);font-size:11px;margin:0}.student-name{display:flex;gap:10px;align-items:center;margin:14px 0;padding:10px;border-radius:13px;background:#f8fafc;font-weight:900}.student-name span{display:block;color:var(--muted);font-size:10px;font-weight:600}.student-avatar{width:40px;height:40px}.student-score-row{display:flex;justify-content:flex-end;margin:2px 0 10px}.student-score-row span{background:#fff7ed;color:#b45309;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900}.student-actions-grid{display:grid;gap:10px}.student-action{width:100%;border:0;border-radius:18px;padding:18px;display:grid;place-items:center;gap:3px;color:#fff;background:linear-gradient(135deg,#7c3aed,#4f46e5);box-shadow:0 12px 24px rgba(79,70,229,.2)}.student-action>span{font-size:32px}.student-action strong{font-size:16px}.student-action small{font-size:10px;color:#e0e7ff}.student-action.active{background:linear-gradient(135deg,#f97316,#e11d48)}.student-action.selected{background:linear-gradient(135deg,#10b981,#059669)}.selected-you{background:linear-gradient(135deg,#dcfce7,#dbeafe);color:#166534;border-radius:13px;padding:12px;text-align:center;font-weight:900;margin-bottom:10px}.selected-other{background:#f8fafc;border-radius:12px;padding:10px;text-align:center;margin-bottom:10px}.selected-other span,.selected-other strong{display:block}.selected-other span{font-size:9px;color:var(--muted);text-transform:uppercase}.student-question{margin-top:15px;border-top:1px solid var(--line);padding-top:15px}.student-question h2{font-size:18px;margin:4px 0 11px}.student-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.student-option{margin:0}.student-option input{display:none}.student-option span{min-height:86px;border-radius:15px;padding:12px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;font-weight:800;font-size:12px;border:3px solid transparent}.student-option span b{width:29px;height:29px;border-radius:8px;background:rgba(255,255,255,.2);display:grid;place-items:center}.student-option input:checked+span{border-color:#111827;box-shadow:0 0 0 3px #fff inset}.student-option.opt-a span{background:#e11d48}.student-option.opt-b span{background:#2563eb}.student-option.opt-c span{background:#d97706}.student-option.opt-d span{background:#059669}.answer-sent{text-align:center;color:#047857;font-size:10px;font-weight:900}.settings-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:1100px){.stats{grid-template-columns:repeat(3,1fr)}.live-dashboard{grid-template-columns:1fr 1fr}.leaderboard-card{grid-column:1/-1}.class-grid,.course-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:820px){.shell{grid-template-columns:1fr}.sidebar{height:auto;position:relative;padding:12px}.brand-wrap{padding-bottom:10px}.sidebar nav{display:flex;overflow:auto}.sidebar nav a{white-space:nowrap}.side-foot{display:none}.main{padding:15px}.top,.welcome,.live-top{flex-direction:column;align-items:stretch}.stats{grid-template-columns:repeat(2,1fr)}.class-grid,.course-grid,.grid2,.form-grid,.option-grid,.live-dashboard{grid-template-columns:1fr}.session-access-card{grid-template-columns:1fr;text-align:center}.session-qr-side{max-width:230px;width:100%;margin:auto}.session-link-actions{justify-content:center}.session-code-number{font-size:44px}.live-body .sidebar{display:none}.live-body .main{padding-top:16px}.leaderboard-card{grid-column:auto}.podium-wrap{gap:7px}.podium{padding:10px}.student-options{grid-template-columns:1fr 1fr}}@media(max-width:480px){.main{padding:11px}.stats{grid-template-columns:1fr 1fr}.stat{padding:12px}.top h1,.welcome h1,.live-top h1{font-size:23px}.session-code-number{font-size:36px}.session-summary{grid-template-columns:1fr 1fr 1fr;gap:7px}.metric{grid-template-columns:1fr;text-align:center;padding:10px}.metric>span{grid-row:auto;margin:auto}.metric b{font-size:21px}.metric small{font-size:9px}.student-options{grid-template-columns:1fr}.wheel-head{flex-direction:column;align-items:stretch}.wheel-head label{min-width:0}.wheel-stage{width:92vw}.login-links{flex-direction:column;text-align:center}}
.prep-questions-card{display:flex;align-items:center;gap:16px}.prep-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#f59e0b,#fb7185);font-size:26px}.prep-copy{flex:1}.prep-copy h2,.prep-copy p{margin:0}.prep-copy p{color:var(--muted);margin-top:4px}.question-workflow{display:flex;align-items:center;gap:10px;margin:0 0 16px}.question-workflow>i{height:2px;background:#dbeafe;flex:1}.workflow-step{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px;font-weight:800}.workflow-step b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e2e8f0}.workflow-step.done b{background:#2563eb;color:#fff}.prepared-list{display:grid;gap:10px}.prepared-question{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:14px;background:#fff}.prepared-question.ready{border-left:5px solid #22c55e}.prepared-question.draft{border-left:5px solid #94a3b8}.prepared-order{width:34px;height:34px;border-radius:10px;background:#f1f5f9;display:grid;place-items:center;font-weight:900}.prepared-main>strong{display:block;font-size:16px;margin:5px 0 8px}.prepared-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.prepared-options{display:flex;gap:8px;flex-wrap:wrap}.prepared-options span{font-size:12px;padding:5px 8px;background:#f8fafc;border-radius:8px;color:#475569}.prepared-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.question-bank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bank-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px;display:flex;flex-direction:column;gap:9px;box-shadow:var(--shadow)}.bank-card>span,.bank-card-top>span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#7c3aed}.bank-card>strong{font-size:15px;line-height:1.4}.bank-card>small,.bank-foot small,.bank-card-top small{color:var(--muted)}.bank-card.full{min-height:220px}.bank-card-top,.bank-foot{display:flex;justify-content:space-between;gap:10px;align-items:center}.bank-options{display:grid;gap:5px;color:#475569;font-size:13px;flex:1}.bank-foot{align-items:end}.bank-picker{display:grid;gap:8px;max-height:55vh;overflow:auto}.bank-pick-item{border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px;text-align:left;display:grid;gap:4px}.bank-pick-item:hover{border-color:#8b5cf6;background:#faf5ff}.bank-pick-item>span{color:#7c3aed;font-size:11px;font-weight:900;text-transform:uppercase}.bank-pick-item small{color:var(--muted)}.check-label{display:flex;align-items:center;gap:8px}.check-label input{width:auto}.question-queue{grid-column:span 1}.queue-list{display:grid;gap:8px}.queue-item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border-radius:12px;background:rgba(255,255,255,.07)}.queue-item>b{width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.12);display:grid;place-items:center}.queue-item span{display:grid}.queue-item small{opacity:.72;margin-top:2px}.question-live-meta{display:flex;align-items:center;gap:8px}.live-timer,.student-timer{font-weight:900;padding:7px 10px;border-radius:999px;background:#fff7ed;color:#c2410c}.live-timer.ended,.student-timer.ended{background:#fee2e2;color:#b91c1c}.student-question-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
@media(max-width:1050px){.question-bank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prepared-question{grid-template-columns:38px 1fr}.prepared-actions{grid-column:2;justify-content:flex-start}}@media(max-width:700px){.question-bank-grid{grid-template-columns:1fr}.prep-questions-card{align-items:flex-start;flex-wrap:wrap}.prep-questions-card .btn{width:100%}.question-workflow{overflow:auto}.workflow-step{white-space:nowrap}.prepared-question{grid-template-columns:34px 1fr}.prepared-options{display:grid}.bank-foot{align-items:flex-start;flex-direction:column}.queue-item{grid-template-columns:28px 1fr}.queue-item .btn{grid-column:2;justify-self:start}}

.nav-caption{display:block;padding:10px 12px 4px;color:#777493;font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.nav-caption.nav-admin{margin-top:9px;padding-top:13px;border-top:1px solid rgba(255,255,255,.07)}
.dashboard-welcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,520px);align-items:center}.focus-class{display:flex;align-items:center;justify-content:space-between;gap:14px;background:rgba(255,255,255,.8);border:1px solid #ddd6fe;border-radius:17px;padding:13px}.focus-class-copy{display:grid;gap:2px;min-width:0}.focus-class-copy>span{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#7c3aed;font-weight:900}.focus-class-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.focus-class-copy small{font-size:10px;color:var(--muted)}.compact-stats{margin-bottom:16px}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:16px}.dashboard-class-list{display:grid;gap:8px}.dashboard-class-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:13px;transition:.18s}.dashboard-class-row:hover{border-color:#c4b5fd;background:#faf8ff;transform:translateX(2px)}.dashboard-class-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#ede9fe,#dbeafe);color:#6d28d9;font-weight:900}.dashboard-class-name{display:grid;min-width:0}.dashboard-class-name strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-class-name span{font-size:10px;color:var(--muted);margin-top:2px}.dashboard-class-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;font-size:9px;color:var(--muted)}.dashboard-class-meta span,.dashboard-class-meta b{padding:4px 6px;border-radius:999px;background:#f8fafc}.dashboard-class-meta b{background:#fee2e2;color:#be123c;letter-spacing:.06em}.dashboard-prep{align-self:start}.prep-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.prep-row>div{display:grid}.prep-row strong{font-size:11px}.prep-row span{font-size:9px;color:var(--muted);margin-top:2px}.dashboard-question-link{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:11px 12px;border-radius:12px;background:#f5f3ff;color:#6d28d9;font-size:11px;font-weight:900}.question-bank-tools{display:grid;grid-template-columns:minmax(240px,1fr) 220px 190px auto;gap:10px;align-items:end;margin-bottom:14px}.question-bank-tools label{margin:0}.bank-count{min-height:39px;padding:7px 12px;border-radius:11px;background:#f5f3ff;color:#6d28d9;display:grid;place-items:center;align-content:center}.bank-count b{font-size:16px;line-height:1}.bank-count span{font-size:8px;text-transform:uppercase;font-weight:900;letter-spacing:.08em;margin-top:2px}.classroom-picker{padding:13px 15px}.meeting-control{background:linear-gradient(145deg,#21164c,#17366e 70%,#155e75);color:#fff;border-radius:22px;padding:20px;box-shadow:0 18px 42px rgba(30,41,100,.2)}.meeting-control-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.meeting-control-head h2{font-size:22px;margin:3px 0}.meeting-control-head p{margin:0;color:#cbd5e1;font-size:11px}.meeting-label{color:#c4b5fd;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.meeting-live-badge,.meeting-ready-badge{border-radius:999px;padding:7px 10px;font-size:9px;font-weight:900;letter-spacing:.06em;white-space:nowrap}.meeting-live-badge{background:#fee2e2;color:#b91c1c}.meeting-ready-badge{background:rgba(255,255,255,.12);color:#dbeafe}.meeting-control-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.meeting-control-stats>div{display:grid;grid-template-columns:30px auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.09);border-radius:14px;padding:10px}.meeting-control-stats span{grid-row:1/3;font-size:22px}.meeting-control-stats b{font-size:19px}.meeting-control-stats small{font-size:9px;color:#cbd5e1}.meeting-control-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.meeting-start-form{display:contents}.meeting-action{border:0;border-radius:15px;padding:13px;color:#fff;display:flex;text-align:left;align-items:center;gap:11px;min-height:70px;width:100%;transition:.18s}.meeting-action:hover{transform:translateY(-2px);filter:brightness(1.05)}.meeting-action>span{font-size:25px}.meeting-action>div{display:grid}.meeting-action strong{font-size:12px}.meeting-action small{font-size:9px;color:rgba(255,255,255,.8);margin-top:2px}.meeting-action.purple{background:linear-gradient(135deg,#7c3aed,#4f46e5)}.meeting-action.orange{background:linear-gradient(135deg,#f59e0b,#ea580c)}.meeting-action.green{background:linear-gradient(135deg,#10b981,#0f766e)}.student-table-tools{display:flex;align-items:center;gap:8px}.student-table-tools input{width:220px;margin:0;padding:7px 9px;font-size:10px}.subtle-danger{color:#9f1239;background:#fff;border-color:#ffe4e6}.live-command-bar{position:sticky;top:10px;z-index:35;margin:-4px 0 14px;padding:7px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;background:rgba(17,24,39,.86);border:1px solid rgba(255,255,255,.12);border-radius:15px;backdrop-filter:blur(14px);box-shadow:0 12px 32px rgba(0,0,0,.2)}.live-command-bar button{border:0;background:transparent;color:#e5e7eb;border-radius:10px;padding:8px 11px;font-size:10px;font-weight:850}.live-command-bar button:hover{background:rgba(255,255,255,.12);color:#fff}.live-command-bar button span{margin-right:5px}.live-body #liveJoin,.live-body #liveHands,.live-body #liveQuestion,.live-body #liveQueue,.live-body #liveLeaderboard{scroll-margin-top:76px}.student-actions-secondary{margin-top:12px}.student-actions-secondary .student-action{padding:12px;border-radius:14px;grid-template-columns:auto 1fr;text-align:left}.student-actions-secondary .student-action>span{font-size:24px}.student-actions-secondary .student-action strong,.student-actions-secondary .student-action small{text-align:left;justify-self:start}
@media(max-width:1100px){.dashboard-welcome{grid-template-columns:1fr}.dashboard-layout{grid-template-columns:1fr}.question-bank-tools{grid-template-columns:1fr 1fr 1fr}.bank-search{grid-column:1/-1}.bank-count{min-height:38px}}
@media(max-width:820px){.nav-caption{display:none}.meeting-control-actions{grid-template-columns:1fr}.meeting-control-stats{grid-template-columns:1fr 1fr 1fr}.question-bank-tools{grid-template-columns:1fr 1fr}.bank-search{grid-column:1/-1}.student-table-tools{width:100%;justify-content:space-between}.section-head:has(.student-table-tools){align-items:flex-start;flex-direction:column}.live-command-bar{top:6px;justify-content:flex-start;overflow:auto;flex-wrap:nowrap}.live-command-bar button{white-space:nowrap}.focus-class{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.meeting-control-stats{grid-template-columns:1fr}.question-bank-tools{grid-template-columns:1fr}.student-table-tools{align-items:stretch;flex-direction:column}.student-table-tools input{width:100%}.dashboard-class-row{grid-template-columns:36px 1fr}.dashboard-class-meta{grid-column:2;justify-content:flex-start}.meeting-control-head{flex-direction:column}.focus-class{min-width:0}}

.poll-live{border-top:3px solid #06b6d4}.poll-results{display:grid;gap:9px}.poll-result{display:grid;grid-template-columns:32px minmax(120px,1fr) minmax(90px,1fr) 32px;align-items:center;gap:9px}.poll-result>b{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#fff}.poll-result.opt-a>b{background:#e11d48}.poll-result.opt-b>b{background:#2563eb}.poll-result.opt-c>b{background:#d97706}.poll-result.opt-d>b{background:#059669}.poll-result>span{font-size:11px}.poll-result>i{height:8px;background:rgba(148,163,184,.18);border-radius:999px;overflow:hidden}.poll-result>i>em{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#06b6d4,#8b5cf6)}.battle-pick-list{display:grid;gap:7px;max-height:42vh;overflow:auto;margin-top:10px}.battle-pick-list label{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--line);padding:9px;border-radius:11px}.battle-pick-list input{width:auto;margin-top:3px}.battle-pick-list span{display:grid}.battle-pick-list b{font-size:11px}.battle-pick-list small{color:var(--muted);font-size:9px;margin-top:2px}.battle-question{border-top:3px solid #f59e0b;background:linear-gradient(145deg,rgba(245,158,11,.12),rgba(124,58,237,.08))}.battle-board{border-top:3px solid #a855f7}.battle-status{font-size:9px;font-weight:900;padding:6px 9px;border-radius:999px;background:rgba(168,85,247,.14);color:#c4b5fd}.battle-leaders{display:grid;gap:6px}.battle-leader{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 9px;background:rgba(255,255,255,.055);border-radius:10px}.battle-leader>b{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.1)}.battle-leader>span{display:grid;font-size:11px;font-weight:800}.battle-leader small{font-size:8px;opacity:.68}.battle-leader>strong{font-size:16px}.battle-leader.top{background:linear-gradient(90deg,rgba(245,158,11,.16),rgba(168,85,247,.09))}.student-poll{background:#fff;border:1px solid #bae6fd;border-radius:20px;padding:16px;margin-bottom:12px;box-shadow:0 10px 26px rgba(14,116,144,.1)}.student-battle-question{border:2px solid #fde68a;background:linear-gradient(145deg,#fffbeb,#faf5ff)}.student-battle-bar{display:flex;align-items:center;gap:8px;margin-bottom:10px;padding:9px 11px;border-radius:12px;background:linear-gradient(135deg,#7c3aed,#db2777);color:#fff}.student-battle-bar span{flex:1;font-size:10px;font-weight:800}.student-battle-bar b{font-size:14px}.student-battle-bar small{font-size:8px;opacity:.85}.analytics-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:14px}.analytics-stats>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;box-shadow:var(--shadow)}.analytics-stats span{grid-row:1/3;font-size:22px}.analytics-stats b{font-size:19px}.analytics-stats small{font-size:8px;color:var(--muted);text-transform:uppercase;font-weight:800;letter-spacing:.05em}.analytics-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.attention-list{display:grid;gap:6px}.attention-list>div{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:7px;border-bottom:1px solid var(--line)}.attention-avatar{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#ede9fe;color:#6d28d9;font-weight:900}.attention-list p{display:grid;margin:0}.attention-list strong{font-size:10px}.attention-list small{font-size:8px;color:var(--muted)}.attention-list>div>b{font-size:9px;color:#be123c;background:#fff1f2;padding:5px 7px;border-radius:999px}.analytic-bars{display:grid;gap:12px}.analytic-bars>div{display:grid;grid-template-columns:1fr auto;gap:4px 8px}.analytic-bars span{font-size:10px;font-weight:800}.analytic-bars b{font-size:10px}.analytic-bars i{grid-column:1/-1;height:8px;background:#eef2ff;border-radius:999px;overflow:hidden}.analytic-bars em{display:block;height:100%;background:linear-gradient(90deg,#7c3aed,#06b6d4);border-radius:999px}.heatmap-wrap{overflow:auto}.activity-heatmap{min-width:620px}.activity-heatmap td:not(:first-child),.activity-heatmap th:not(:first-child){text-align:center}.heat{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;margin:auto;font-size:9px;font-weight:900}.heat.h0{background:#f8fafc;color:#cbd5e1}.heat.h1{background:#dcfce7;color:#15803d}.heat.h2{background:#bbf7d0;color:#166534}.heat.h3{background:#86efac;color:#14532d}.heat.h4{background:#22c55e;color:#fff}
@media(max-width:1100px){.analytics-stats{grid-template-columns:repeat(3,1fr)}.analytics-grid{grid-template-columns:1fr}}@media(max-width:650px){.analytics-stats{grid-template-columns:repeat(2,1fr)}.poll-result{grid-template-columns:30px 1fr 30px}.poll-result>i{grid-column:2/4}}

.poll-people{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.poll-people span{font-size:8px;padding:5px 7px;border-radius:999px;background:rgba(6,182,212,.1);color:#0e7490}.poll-people b{font-weight:900}

.wheel-winner-overlay[hidden]{display:none!important}.wheel-winner-overlay{position:fixed;inset:0;z-index:78;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.58);backdrop-filter:blur(5px);opacity:0;transition:opacity .18s ease}.wheel-winner-overlay.show{opacity:1}.wheel-winner-card{width:min(560px,92vw);position:relative;text-align:center;border-radius:28px;padding:30px 24px 24px;background:linear-gradient(145deg,#ffffff,#faf5ff);border:1px solid rgba(255,255,255,.8);box-shadow:0 34px 90px rgba(15,23,42,.38);transform:scale(.9) translateY(10px);transition:transform .22s cubic-bezier(.2,.8,.2,1)}.wheel-winner-overlay.show .wheel-winner-card{transform:scale(1) translateY(0)}.wheel-winner-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:24px;line-height:1}.wheel-winner-emoji{font-size:44px;line-height:1;margin-bottom:8px}.wheel-winner-card>span{display:block;font-size:11px;letter-spacing:.14em;font-weight:1000;color:#7c3aed}.wheel-winner-card>strong{display:block;font-size:clamp(26px,4vw,42px);line-height:1.08;margin:8px auto 5px;max-width:470px}.wheel-winner-card>small{display:block;color:var(--muted);font-size:13px}.wheel-winner-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:20px}.wheel-winner-actions .btn{min-height:44px}.wheel-award.one{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#86efac;color:#047857}.wheel-award.two{background:linear-gradient(135deg,#fff7ed,#fef3c7);border-color:#fcd34d;color:#b45309}.wheel-skip{background:#f8fafc}.wheel-again{min-width:130px}@media(max-width:520px){.wheel-winner-card{padding:26px 16px 18px;border-radius:22px}.wheel-winner-card>strong{font-size:27px}.wheel-winner-actions{display:grid;grid-template-columns:1fr 1fr}.wheel-winner-actions .btn{width:100%}.wheel-again{grid-column:1/-1}}

.brand-wrap-logo{align-items:flex-start}.brand-logo-image{display:block;width:156px;max-width:100%;height:auto;filter:drop-shadow(0 8px 18px rgba(37,99,235,.22))}.login-brand-image{display:block;width:min(320px,78%);height:auto;margin:0 auto 10px;filter:drop-shadow(0 10px 20px rgba(37,99,235,.16))}.student-brand-logo img{display:block;width:min(240px,80vw);height:auto;filter:drop-shadow(0 10px 18px rgba(17,24,39,.18))}.install-logo-image{display:block;width:min(340px,92%);height:auto;margin:0 auto 10px}.brand-sub{max-width:170px;line-height:1.35}.student-brand{margin:6px 0 16px}.student-brand-logo{background:transparent!important}.student-brand-logo img{margin:0 auto}.login-card{padding-top:28px}.login-kicker{display:block;margin-top:4px}@media(max-width:820px){.brand-wrap-logo{align-items:center}.brand-logo-image{width:128px}.brand-sub{max-width:none}}

.brand-logo-only{display:flex!important;justify-content:center!important;align-items:center!important;padding:4px 0 28px!important;min-height:94px}
.brand-logo-only .brand-logo-image{width:214px!important;max-width:100%!important;height:auto!important;margin:0 auto!important;display:block!important;object-fit:contain!important;filter:drop-shadow(0 8px 18px rgba(37,99,235,.22))}
.sidebar .brand-logo-only + nav{margin-top:0}
@media(max-width:820px){
  .brand-logo-only{justify-content:flex-start!important;min-height:auto;padding:0 4px 10px!important}
  .brand-logo-only .brand-logo-image{width:156px!important;margin:0!important}
}

.login-brand-panel,.install-brand-panel,.student-brand-panel{background:linear-gradient(135deg,#0b123f,#0e1c63 58%,#17338d);border-radius:22px;padding:16px 18px;display:flex;justify-content:center;align-items:center;box-shadow:0 18px 34px rgba(15,23,42,.18);border:1px solid rgba(255,255,255,.08)}
.login-brand-panel{margin:0 0 16px}
.login-brand-panel .login-brand-image{width:min(360px,92%);margin:0 auto;filter:none}
.student-brand-panel{padding:12px 16px;border-radius:18px;margin:6px auto 16px;max-width:320px}
.student-brand-panel img{filter:none;width:min(230px,88vw)!important}
.install-brand-panel{margin:0 auto 12px;max-width:420px}
.install-brand-panel .install-logo-image{margin:0 auto;filter:none;width:min(320px,88%)}
.login-kicker{display:none!important}

.courses-top{margin-bottom:12px}.semester-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:18px}.semester-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.semester-title-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.semester-title-row h2{margin:3px 0 0;font-size:18px}.semester-count{font-size:10px;color:var(--muted)}.course-grid-clean{gap:12px}.course-card-clean{position:relative;min-height:150px;background:#fbfcff;padding:15px;border-color:#e3e7f0}.course-title-clean{align-items:flex-start}.course-name-link{display:grid;gap:3px;min-width:0}.course-name-link strong{font-size:14px;line-height:1.3}.course-name-link span{font-size:10px;color:var(--muted)}.more-btn,.class-more{border:0;background:transparent;color:#7c3aed;border-radius:9px;font-size:20px;font-weight:900;line-height:1;padding:2px 7px}.more-btn:hover,.class-more:hover{background:#f3e8ff}.course-more{margin:-3px -4px 0 5px}.class-chip-list-clean{margin-top:14px;gap:7px}.class-chip-clean{border:1px solid #ddd6fe;border-radius:11px;background:#fff;display:flex;align-items:stretch;overflow:hidden}.class-chip-clean>a{padding:7px 8px 7px 10px;min-width:92px}.class-chip-clean a b{font-size:10px}.class-chip-clean a small{font-size:8px;margin-top:2px}.class-more{border-left:1px solid #ede9fe;border-radius:0;font-size:17px;padding:4px 7px}.add-class-chip-clean{padding:7px 10px;border:1px dashed #c4b5fd;background:#faf8ff}.action-menu-list{display:grid;gap:7px;margin:12px 0}.action-menu-list button,.action-menu-list a{display:flex;width:100%;border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 12px;text-align:left;font-weight:800;font-size:12px;color:var(--text)}.action-menu-list button:hover,.action-menu-list a:hover{background:#f8fafc}.action-menu-list .danger-action{color:#dc2626;background:#fff7f7;border-color:#fecaca}.class-action-summary{font-size:11px;color:var(--muted);margin-top:-4px}.semester-empty{grid-column:1/-1}.semester-head .more-btn{margin-top:-4px}@media(max-width:820px){.semester-head{align-items:stretch;flex-direction:column}.semester-head>.actions{justify-content:flex-start}.course-grid-clean{grid-template-columns:1fr 1fr}}@media(max-width:560px){.course-grid-clean{grid-template-columns:1fr}.semester-card{padding:14px}.semester-title-row{display:grid;gap:2px}}

.group-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.group-activity-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;box-shadow:var(--shadow);display:grid;gap:8px;transition:.18s}.group-activity-card:hover{transform:translateY(-2px);border-color:#c4b5fd}.group-activity-card>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.group-activity-card>strong{font-size:15px}.group-activity-card>small{color:var(--muted)}.group-activity-card footer{display:flex;gap:12px;color:var(--muted);font-size:10px;border-top:1px solid var(--line);padding-top:9px}.group-activity-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.group-activity-summary>div{background:linear-gradient(135deg,#fff,#f8f7ff);border:1px solid var(--line);border-radius:15px;padding:13px;box-shadow:var(--shadow)}.group-activity-summary span,.group-activity-summary b{display:block}.group-activity-summary span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-weight:900}.group-activity-summary b{font-size:22px;margin-top:3px}.group-task-card{background:linear-gradient(135deg,#fff,#faf5ff)}.group-instructions{white-space:normal;color:#475569;font-size:12px;line-height:1.65;padding-top:5px}.activity-groups-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.activity-group-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:14px;display:flex;flex-direction:column;min-height:260px}.activity-group-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--line)}.activity-group-card>header>div{display:grid}.activity-group-card>header strong{font-size:20px}.activity-group-card>header small{color:var(--muted);font-size:9px}.presenter-strip{margin:9px 0 1px;padding:8px 10px;border-radius:11px;background:linear-gradient(135deg,#fff7ed,#fef3c7);display:flex;align-items:center;justify-content:space-between;gap:8px}.presenter-strip span{font-size:9px;color:#b45309;text-transform:uppercase;font-weight:900}.presenter-strip strong{font-size:11px}.activity-member-list{display:grid;gap:5px;padding:9px 0;flex:1}.activity-member{display:grid;grid-template-columns:31px minmax(0,1fr) auto 27px;align-items:center;gap:7px;padding:7px;border-radius:11px;background:#f8fafc}.member-avatar{width:31px;height:31px;border-radius:9px;background:linear-gradient(135deg,#ede9fe,#dbeafe);color:#6d28d9;display:grid;place-items:center;font-size:10px;font-weight:900}.activity-member p{margin:0;min-width:0}.activity-member p strong,.activity-member p small{display:block}.activity-member p strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-member p small{font-size:8px;color:var(--muted)}.contribution{min-width:34px;text-align:center;padding:4px 6px;border-radius:999px;background:#e2e8f0;color:#64748b;font-size:9px;font-weight:900}.contribution.c4{background:#dcfce7;color:#047857}.contribution.c5{background:#fef3c7;color:#b45309}.contribution.c1,.contribution.c2{background:#fee2e2;color:#b91c1c}.contribution.c3{background:#dbeafe;color:#1d4ed8}.member-more{width:26px;height:26px;border:0;border-radius:8px;background:#fff;color:#64748b;font-weight:900}.activity-group-card>footer{display:flex;gap:6px;flex-wrap:wrap;padding-top:9px;border-top:1px solid var(--line)}@media(max-width:1100px){.group-activity-grid,.activity-groups-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.group-activity-grid,.activity-groups-grid{grid-template-columns:1fr}.group-activity-summary{grid-template-columns:1fr 1fr}.group-task-card .section-head{align-items:flex-start;flex-direction:column}}
.student-group-card{margin:10px 0;padding:14px;border-radius:16px;background:linear-gradient(135deg,#f5f3ff,#eff6ff);border:1px solid #ddd6fe}.student-group-card h2{font-size:16px;margin:3px 0 6px}.student-group-card p{font-size:11px;color:#64748b;line-height:1.5;margin:0 0 9px}.student-group-members{display:flex;gap:5px;flex-wrap:wrap}.student-group-members span{padding:5px 8px;border-radius:999px;background:#fff;font-size:9px;font-weight:800;color:#475569}.student-group-members span.presenter{background:#fef3c7;color:#92400e}.meeting-control-actions{grid-template-columns:repeat(4,1fr)}.meeting-action.group-action{background:linear-gradient(135deg,#0ea5e9,#6366f1)}@media(max-width:1100px){.meeting-control-actions{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.meeting-control-actions{grid-template-columns:1fr}}.recap-top{margin-bottom:12px}.recap-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.recap-toolbar label{min-width:240px;flex:1}.recap-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}.recap-stats>div{background:linear-gradient(135deg,#fff,#faf8ff);border:1px solid var(--line);border-radius:15px;padding:13px 14px;box-shadow:var(--shadow)}.recap-stats span,.recap-stats b{display:block}.recap-stats span{font-size:9px;color:var(--muted);font-weight:900;text-transform:uppercase;letter-spacing:.06em}.recap-stats b{font-size:21px;margin-top:4px}.recap-table{min-width:980px}.recap-table th{white-space:nowrap}.recap-table td{vertical-align:middle}.recap-table td small{display:block;color:var(--muted);margin-top:2px}.recap-table td:nth-child(n+3){font-variant-numeric:tabular-nums}.recap-table tbody tr:hover{background:#faf9ff}@media(max-width:1100px){.recap-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.recap-stats{grid-template-columns:1fr 1fr}.recap-toolbar{display:grid}.recap-toolbar label{min-width:0}.recap-top{align-items:flex-start}.recap-top .actions{width:100%}.recap-top .actions .btn{width:100%;justify-content:center}}
.sidebar nav{gap:3px}.sidebar nav a{padding:9px 11px}.nav-caption{padding:8px 11px 3px}.nav-caption.nav-section{margin-top:8px;padding-top:11px;border-top:1px solid rgba(255,255,255,.07)}.classroom-body .main{padding-top:22px}.classroom-body .top{margin-bottom:12px}.classroom-body .classroom-picker{padding:10px 13px;box-shadow:none}.classroom-body .classroom-picker label{margin-bottom:0}.classroom-body .meeting-control{padding:16px 17px;border-radius:20px}.classroom-body .meeting-control-head h2{font-size:20px}.classroom-body .meeting-control-stats{margin:12px 0;gap:7px}.classroom-body .meeting-control-stats>div{padding:8px 10px;border-radius:12px}.classroom-body .meeting-control-stats span{font-size:20px}.classroom-body .meeting-control-stats b{font-size:18px}.classroom-body .meeting-control-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.classroom-body .meeting-action{min-width:0;min-height:62px;padding:10px 11px;border-radius:13px}.classroom-body .meeting-action>span{font-size:22px;flex:0 0 auto}.classroom-body .meeting-action>div{min-width:0}.classroom-body .meeting-action strong{font-size:11px;line-height:1.25}.classroom-body .meeting-action small{font-size:8px;line-height:1.25}.classroom-body .section-head{margin-bottom:9px}.classroom-body .card.section{padding:15px 17px}.student-row-actions{display:flex;align-items:center;gap:6px;justify-content:flex-start;white-space:nowrap}.star-action-btn{min-width:50px}.row-more-btn{width:31px;height:31px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#64748b;font-size:18px;font-weight:900;line-height:1;display:grid;place-items:center}.row-more-btn:hover{background:#f8fafc;color:#6d28d9;border-color:#ddd6fe}.meeting-star-count{display:inline-flex;align-items:center;gap:5px;min-width:44px}.meeting-star-count b,.total-star-count{font-variant-numeric:tabular-nums}.total-star-count{font-size:13px}#studentTable th,#studentTable td{padding:9px 10px}#studentTable tbody tr{transition:background .15s}#studentTable tbody tr:hover{background:#faf9ff}#studentTable td:first-child strong{font-size:11.5px;line-height:1.25}#studentTable td:first-child small{font-size:9.5px}.modal{position:relative;padding:22px 22px 18px;border:1px solid rgba(226,232,240,.9)}.modal h3{padding-right:34px;margin-bottom:16px;font-size:18px}.modal>p{margin:0 0 14px;color:var(--muted)}.modal label{margin-bottom:11px}.modal-foot{padding-top:13px;margin-top:16px;border-top:1px solid var(--line)}.modal-close{position:absolute;right:14px;top:14px;width:31px;height:31px;border:0;border-radius:9px;background:#f8fafc;color:#64748b;font-size:21px;line-height:1;display:grid;place-items:center}.modal-close:hover{background:#f1f5f9;color:#111827}.empty{line-height:1.45}.student-body .student-card{overflow:hidden}@media(max-width:1200px){.classroom-body .meeting-control-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.nav-caption.nav-section{display:none}.classroom-body .main{padding-top:15px}.classroom-body .meeting-control-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.classroom-body .meeting-action{min-height:58px}.classroom-body .card.section{padding:14px}.student-row-actions{gap:5px}#studentTable{min-width:620px}.modal{padding:19px 17px 16px}.modal-close{right:10px;top:10px}}@media(max-width:560px){.classroom-body .meeting-control-actions{grid-template-columns:1fr}.classroom-body .meeting-control{padding:14px}.classroom-body .meeting-control-stats{grid-template-columns:1fr 1fr 1fr}.classroom-body .meeting-control-stats>div{grid-template-columns:24px auto;padding:8px}.classroom-body .meeting-control-stats span{font-size:18px}.classroom-body .meeting-control-stats b{font-size:16px}.classroom-body .meeting-control-stats small{font-size:8px}.student-shell{padding:12px 10px}.student-card{padding:16px;border-radius:20px}.student-session-head h1{font-size:19px}.student-options{gap:7px}.student-option span{min-height:76px;padding:9px}.student-brand-panel{margin-bottom:10px}}

.league-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:24px 26px;border-radius:28px;background:radial-gradient(circle at top left,rgba(129,140,248,.32),transparent 34%),radial-gradient(circle at top right,rgba(250,204,21,.24),transparent 25%),linear-gradient(135deg,#120f3f,#172554 56%,#1d4ed8);color:#fff;box-shadow:0 26px 48px rgba(15,23,42,.18);margin-bottom:14px}.league-tag{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:10px;font-weight:900;letter-spacing:.1em}.league-hero h1{margin:12px 0 4px;font-size:28px;line-height:1.1}.league-hero p{margin:0;color:#dbeafe;font-size:13px}.league-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.league-hero-meta span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.1);font-size:10px;color:#e2e8f0}.league-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.league-toolbar{margin-bottom:14px}.league-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.league-stat{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;padding:14px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 24px rgba(15,23,42,.04)}.league-stat>span{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#eef2ff,#dbeafe);font-size:20px}.league-stat b{display:block;font-size:18px;line-height:1.15}.league-stat small{color:var(--muted);font-size:10px}.league-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:end;margin-bottom:14px}.league-podium-card{position:relative;padding:18px 16px 16px;border-radius:24px;background:linear-gradient(180deg,#ffffff,#f8fafc);border:1px solid #e5e7eb;display:grid;justify-items:center;text-align:center;box-shadow:0 16px 34px rgba(15,23,42,.06)}.league-podium-card.p1{padding-top:22px;background:linear-gradient(180deg,#fff7ed,#ffffff);border-color:#fde68a;transform:translateY(-10px)}.league-podium-card.p2{background:linear-gradient(180deg,#f8fafc,#ffffff);border-color:#cbd5e1}.league-podium-card.p3{background:linear-gradient(180deg,#fff7ed,#ffffff);border-color:#fed7aa}.league-podium-card.empty{opacity:.8;border-style:dashed;background:#fff}.league-podium-place{font-size:12px;font-weight:900;letter-spacing:.06em;color:#4338ca;margin-bottom:8px}.league-podium-card strong{font-size:18px;line-height:1.2}.league-podium-card small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.league-podium-badge{margin:6px 0 10px;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:10px;font-weight:800}.league-score-pill{margin-top:12px;padding:8px 12px;border-radius:999px;background:linear-gradient(135deg,#f59e0b,#facc15);color:#422006;font-weight:900;font-size:12px;box-shadow:0 8px 18px rgba(245,158,11,.28)}.league-board-card{padding:18px}.league-rank-list{display:grid;gap:10px}.league-row{display:grid;grid-template-columns:70px minmax(180px,1.2fr) minmax(120px,1fr) 90px 120px;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;border:1px solid var(--line);background:#fff}.league-row.top{background:linear-gradient(135deg,#fffbeb,#ffffff)}.league-rank-num{font-size:16px;font-weight:900;color:#4338ca}.league-rank-num.one{color:#b45309}.league-rank-num.two{color:#475569}.league-rank-num.three{color:#c2410c}.league-person{display:grid;min-width:0}.league-person strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.league-person small{font-size:10px;color:var(--muted)}.league-progress{height:10px;border-radius:999px;background:#edf2f7;overflow:hidden}.league-progress>div{height:100%;border-radius:999px;background:linear-gradient(135deg,#7c3aed,#2563eb)}.league-score{display:flex;align-items:center;justify-content:flex-end;gap:4px;font-size:14px}.league-score span{font-size:16px}.league-row-badge{justify-self:end;padding:6px 10px;border-radius:999px;background:#f5f3ff;color:#6d28d9;font-size:10px;font-weight:850;text-align:center}.login-links a:last-child,.sidebar nav a[href*="page=public"]{font-weight:800}.top .page-kicker{display:none}@media(max-width:980px){.league-hero{grid-template-columns:1fr}.league-hero-actions{justify-content:flex-start}.league-stats{grid-template-columns:repeat(2,1fr)}.league-podium{grid-template-columns:1fr}.league-podium-card.p1{transform:none}.league-row{grid-template-columns:58px minmax(0,1fr) 82px;grid-template-areas:'rank person score' 'progress progress badge';gap:10px}.league-rank-num{grid-area:rank}.league-person{grid-area:person}.league-score{grid-area:score}.league-progress{grid-area:progress}.league-row-badge{grid-area:badge;justify-self:start}}@media(max-width:640px){.league-hero{padding:18px 18px 16px;border-radius:22px}.league-hero h1{font-size:22px}.league-stats{grid-template-columns:1fr}.league-row{padding:11px}.league-board-card{padding:14px}.league-row-badge{font-size:9px}}

.account-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.account-stats>div{display:grid;grid-template-columns:40px auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:16px;background:#fff}.account-stats span{grid-row:1/3;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f5f3ff;color:#6d28d9;font-size:18px}.account-stats b{font-size:18px;line-height:1.1}.account-stats small{font-size:9px;color:var(--muted)}.account-card{padding:0;overflow:hidden}.account-table td{vertical-align:middle}.role-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.03em}.role-badge.admin{background:#ede9fe;color:#6d28d9}.role-badge.lecturer{background:#dbeafe;color:#1d4ed8}.account-class-count{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#f8fafc;border:1px solid var(--line);font-size:10px;font-weight:850}.account-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:800}.account-status i{width:7px;height:7px;border-radius:50%;display:block}.account-status.active{color:#047857}.account-status.active i{background:#10b981}.account-status.inactive{color:#64748b}.account-status.inactive i{background:#94a3b8}@media(max-width:760px){.account-stats{grid-template-columns:1fr}.account-table{min-width:760px}}
.star-share-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1.2fr);gap:18px;align-items:center;margin-bottom:16px}.star-share-card h2{margin:3px 0}.star-share-card p{margin:4px 0 0}.star-share-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}.star-share-actions input{margin:0;background:#f8fafc}.league-private-empty{display:grid;gap:5px;justify-items:center;padding:34px 20px}.league-private-empty strong{font-size:15px}.league-private-empty span{font-size:11px;color:var(--muted)}.account-actions{flex-wrap:wrap}@media(max-width:900px){.star-share-card{grid-template-columns:1fr}.star-share-actions{grid-template-columns:1fr 1fr}.star-share-actions input{grid-column:1/-1}}@media(max-width:560px){.star-share-actions{grid-template-columns:1fr}}

.game-entry-screen,.game-student-screen{min-height:100vh;position:relative;overflow:hidden;display:grid;place-items:center;padding:34px 22px;background:radial-gradient(circle at 50% 18%,rgba(168,85,247,.42),transparent 34%),radial-gradient(circle at 8% 70%,rgba(37,99,235,.38),transparent 28%),linear-gradient(135deg,#21065a 0%,#4c0ca5 40%,#172554 100%);color:#fff}.game-entry-screen:before,.game-student-screen:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.85) 0 1px,transparent 1.5px);background-size:80px 80px;opacity:.18;pointer-events:none}.game-shape{position:absolute;border-radius:42px;transform:rotate(24deg);background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(99,102,241,.05));border:1px solid rgba(255,255,255,.05)}.game-shape-a{width:420px;height:420px;left:-160px;top:90px}.game-shape-b{width:540px;height:540px;right:-170px;top:-170px;transform:rotate(-18deg)}.game-shape-c{width:340px;height:340px;right:10%;bottom:-230px;transform:rotate(45deg)}.game-spark{position:absolute;color:#facc15;text-shadow:0 0 18px currentColor;animation:gameFloat 4s ease-in-out infinite}.game-spark.s1{left:12%;top:16%;font-size:24px}.game-spark.s2{left:27%;bottom:18%;font-size:15px;color:#93c5fd;animation-delay:.7s}.game-spark.s3{right:16%;top:25%;font-size:22px;color:#f9a8d4;animation-delay:1.2s}.game-spark.s4{right:28%;bottom:15%;font-size:16px;color:#67e8f9;animation-delay:1.8s}.game-spark.s5{left:8%;bottom:28%;font-size:13px;animation-delay:2.2s}@keyframes gameFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-10px) rotate(12deg)}}.game-entry-content,.game-student-content{position:relative;z-index:2;width:min(680px,100%);display:grid;justify-items:center;text-align:center}.game-entry-brand{display:grid;justify-items:center;gap:4px;margin-bottom:18px}.game-entry-brand img{width:min(390px,72vw);max-height:125px;object-fit:contain;filter:drop-shadow(0 16px 30px rgba(0,0,0,.25))}.game-entry-brand span{font-size:12px;color:#bfdbfe;letter-spacing:.03em}.game-entry-brand.compact img{width:min(310px,70vw)}.game-entry-title{margin-bottom:18px}.game-entry-title>span{display:inline-flex;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.1);font-size:9px;font-weight:900;letter-spacing:.14em;color:#fde68a}.game-entry-title h1{margin:9px 0 0;font-size:clamp(34px,6vw,62px);line-height:.98;text-transform:uppercase;letter-spacing:.015em;text-shadow:0 5px 0 rgba(35,17,85,.38),0 18px 38px rgba(0,0,0,.26)}.game-entry-title.compact h1{font-size:clamp(30px,5vw,48px)}.game-entry-title p{margin:9px 0 0;color:#dbeafe}.game-entry-title p b{color:#fde68a;letter-spacing:.12em}.game-entry-card{width:min(610px,100%);padding:22px;border-radius:24px;background:linear-gradient(160deg,rgba(12,19,66,.86),rgba(20,12,64,.78));border:1px solid rgba(196,181,253,.35);box-shadow:0 24px 65px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(12px);text-align:left}.game-entry-card>label{display:block;color:#f8fafc;font-size:12px;font-weight:900;margin:0 0 9px}.game-code-wrap{height:74px;border-radius:17px;background:#fff;display:grid;grid-template-columns:44px minmax(0,1fr) 42px;align-items:center;padding:0 15px;border:3px solid rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px #c4b5fd,0 10px 24px rgba(0,0,0,.16)}.game-code-wrap:focus-within{box-shadow:inset 0 0 0 2px #8b5cf6,0 0 0 4px rgba(168,85,247,.22),0 10px 24px rgba(0,0,0,.16)}.game-code-icon{font-size:22px;color:#7c3aed}.game-code-dots{color:#cbd5e1;font-size:18px;letter-spacing:2px}.game-code-wrap input{border:0!important;box-shadow:none!important;background:transparent!important;padding:0 8px!important;font-size:23px!important;font-weight:850!important;letter-spacing:.09em;color:#172554!important;height:100%}.game-code-wrap input::placeholder{color:#9ca3af;font-weight:650;letter-spacing:0}.game-entry-button{margin-top:14px;width:100%;height:67px;border:0;border-radius:16px;background:linear-gradient(100deg,#c026d3,#7c3aed 45%,#2563eb);color:#fff;font-size:19px;font-weight:950;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 12px 28px rgba(124,58,237,.38),inset 0 1px rgba(255,255,255,.28);transition:.18s}.game-entry-button:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 17px 34px rgba(124,58,237,.45)}.game-entry-button span{font-size:18px}.game-lecturer-link,.game-back-home{position:absolute;z-index:4;top:24px;padding:10px 14px;border-radius:999px;background:rgba(9,14,48,.42);border:1px solid rgba(255,255,255,.18);color:#e9d5ff;font-size:11px;font-weight:850;backdrop-filter:blur(9px)}.game-lecturer-link{right:26px}.game-back-home{left:26px}.game-lecturer-link:hover,.game-back-home:hover{background:rgba(255,255,255,.12);color:#fff}.game-entry-note{margin-top:18px;color:#cbd5e1;font-size:11px}.game-entry-note span{color:#facc15;margin-right:5px}.game-trophy{position:absolute;z-index:1;right:7%;bottom:5%;width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#6d28d9 0 38%,rgba(109,40,217,.2) 39% 60%,transparent 61%);filter:drop-shadow(0 16px 26px rgba(0,0,0,.25));opacity:.92}.game-trophy b{font-size:56px}.game-trophy>span{position:absolute;right:8px;top:8px;color:#facc15;font-size:21px}.student-stage-card{display:grid;gap:13px}.student-stage-card>label{margin:0}.student-stage-card .game-code-wrap{margin-top:7px}.student-stage-card .nim-wrap{grid-template-columns:44px minmax(0,1fr)}.game-student-body{background:#21065a}.game-student-screen{padding-top:65px}.game-student-content{width:min(630px,100%)}
@media(max-width:760px){.game-entry-screen,.game-student-screen{padding:72px 16px 28px;align-items:start}.game-entry-brand{margin-top:10px;margin-bottom:12px}.game-entry-title h1{font-size:38px}.game-entry-card{padding:16px;border-radius:20px}.game-code-wrap{height:64px;grid-template-columns:36px minmax(0,1fr) 30px;padding:0 11px}.game-code-wrap input{font-size:20px!important}.game-entry-button{height:59px;font-size:17px}.game-trophy{display:none}.game-lecturer-link,.game-back-home{top:14px}.game-lecturer-link{right:14px}.game-back-home{left:14px}.game-spark.s1{left:6%;top:19%}.game-spark.s3{right:7%;top:22%}}@media(max-width:420px){.game-entry-brand span{font-size:10px}.game-entry-title h1{font-size:32px}.game-entry-title{margin-bottom:14px}.game-code-wrap input{font-size:18px!important}.game-entry-note{font-size:10px}.game-lecturer-link{font-size:10px;padding:9px 11px}}

.game-entry-brand:not(.compact){margin-bottom:8px}.game-entry-title:not(.compact){margin-bottom:14px}.game-entry-title:not(.compact) h1{text-transform:uppercase}.game-entry-content{transform:translateY(-12px)}@media(max-width:640px){.game-entry-content{transform:none}.game-entry-brand:not(.compact){margin-bottom:4px}}
.email-migration{display:grid;gap:10px;margin:14px 0}.email-migration h3{margin:0}.email-migration p{margin:0 0 4px}.email-migration label small{float:right;color:var(--muted);font-weight:700}.account-table td:nth-child(2){min-width:220px}

.dashboard-game-launch{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,#312e81,#6d28d9 55%,#2563eb);color:#fff;box-shadow:0 14px 32px rgba(79,70,229,.2)}.dashboard-game-launch>div{display:flex;align-items:center;gap:12px}.dashboard-game-launch>div>span{font-size:28px}.dashboard-game-launch strong,.dashboard-game-launch small{display:block}.dashboard-game-launch small{color:#ddd6fe;margin-top:2px}.quick-game-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;margin-bottom:16px;border-radius:20px;background:linear-gradient(135deg,#1e1b4b,#312e81);color:#fff}.quick-game-intro>div{display:flex;align-items:center;gap:12px}.quick-game-intro>div>span{font-size:30px}.quick-game-intro strong,.quick-game-intro small{display:block}.quick-game-intro small{color:#c4b5fd;margin-top:2px}.quick-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quick-game-card{padding:17px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 25px rgba(15,23,42,.05)}.quick-game-card.active{border-color:#86efac}.quick-game-card.lobby{border-color:#c4b5fd}.quick-game-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.quick-game-card-head h2{font-size:17px;margin:8px 0 0}.quick-game-pin{font-size:21px;font-weight:950;letter-spacing:.08em;color:#6d28d9}.quick-game-meta{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.quick-game-meta span{padding:6px 8px;border-radius:999px;background:#f8fafc;color:#64748b;font-size:10px}.quick-game-card-actions{display:flex;gap:7px;flex-wrap:wrap}.quick-game-empty{grid-column:1/-1;display:grid;justify-items:center;gap:10px}.quick-game-empty>span{font-size:40px}.quick-game-pick{display:grid;gap:7px;max-height:340px;overflow:auto;margin-top:8px}.quick-game-pick label{display:flex;gap:8px;align-items:flex-start;padding:10px;border:1px solid var(--line);border-radius:12px;margin:0}.quick-game-pick input{width:auto;margin-top:3px}.quick-game-pick span{display:grid}.quick-game-pick b{font-size:11px}.quick-game-pick small{font-size:9px;color:var(--muted);margin-top:3px}.quick-host-page{max-width:1180px;margin:0 auto}.quick-host-top{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-bottom:14px}.quick-host-top>div:nth-child(2)>span{font-size:10px;color:#6d28d9;font-weight:900;letter-spacing:.1em}.quick-host-top h1{margin:3px 0}.quick-host-pin{text-align:right;padding:9px 14px;border-radius:15px;background:#1e1b4b;color:#fff}.quick-host-pin small,.quick-host-pin b{display:block}.quick-host-pin b{font-size:20px;letter-spacing:.1em}.quick-host-lobby{display:grid;gap:14px}.quick-host-code{text-align:center;padding:34px;border-radius:28px;background:radial-gradient(circle at top,#6d28d9,#1e1b4b 65%);color:#fff;box-shadow:0 20px 45px rgba(49,46,129,.22)}.quick-host-code span{font-size:11px;font-weight:900;letter-spacing:.15em}.quick-host-code b{display:block;font-size:64px;letter-spacing:.13em;line-height:1.15;margin:8px 0}.quick-host-code small{color:#ddd6fe}.quick-host-lobby-actions{display:flex;justify-content:center;gap:8px}.quick-host-player-box{padding:18px;border-radius:20px;background:#fff;border:1px solid var(--line)}.quick-host-player-cloud{display:flex;gap:8px;flex-wrap:wrap}.quick-host-player-cloud>span{padding:9px 12px;border-radius:999px;background:linear-gradient(135deg,#ede9fe,#dbeafe);font-weight:800;font-size:11px}.quick-host-running{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px}.quick-host-round{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;padding:10px 14px;border-radius:14px;background:#1e1b4b;color:#fff}.quick-host-round span{margin-right:auto;font-weight:800}.quick-host-round b{font-size:30px}.quick-host-question{padding:20px;border-radius:22px;background:#fff;border:1px solid var(--line)}.quick-host-question h2{font-size:24px;line-height:1.25;margin:0 0 18px}.quick-host-results{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-host-results>div{padding:12px;border-radius:16px;color:#fff;position:relative;overflow:hidden}.quick-host-results .opt-a{background:#dc2626}.quick-host-results .opt-b{background:#2563eb}.quick-host-results .opt-c{background:#d97706}.quick-host-results .opt-d{background:#16a34a}.quick-host-results>div.correct{outline:4px solid #facc15}.quick-host-results>div>span{display:flex;gap:7px;align-items:center}.quick-host-results>div>strong{position:absolute;right:12px;top:12px;font-size:19px}.quick-host-results i{display:block;height:5px;background:rgba(255,255,255,.22);border-radius:99px;margin-top:10px;overflow:hidden}.quick-host-results em{display:block;height:100%;background:#fff}.quick-host-answer-count{text-align:center;margin-top:12px;color:var(--muted);font-size:11px}.quick-host-side{display:grid;gap:10px;align-content:start}.quick-host-board{padding:16px}.quick-host-rank{display:grid;grid-template-columns:36px 1fr auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.quick-host-rank:last-child{border-bottom:0}.quick-host-rank>b{color:#6d28d9}.quick-host-rank span{font-weight:800}.quick-host-controls{display:grid;gap:7px}.quick-host-finished{text-align:center}.game-finish-tag{display:inline-block;padding:7px 11px;border-radius:999px;background:#fef3c7;color:#92400e;font-weight:900;font-size:10px}.quick-host-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:end;max-width:760px;margin:24px auto}.qhp{padding:20px;border-radius:22px;background:#fff;border:1px solid var(--line);display:grid;justify-items:center}.qhp.p1{transform:translateY(-12px);border-color:#fde68a;background:#fffbeb}.qhp>span{font-size:34px}.qhp strong{font-size:16px;margin:7px 0}.qhp b{font-size:20px;color:#6d28d9}.quick-game-player-body{margin:0;background:radial-gradient(circle at top,#5b21b6,#172554 52%,#0f172a);min-height:100vh;color:#fff}.quick-game-player-shell{min-height:100vh;padding:18px}.quick-player-top{max-width:980px;margin:0 auto 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.quick-player-top img{width:145px}.quick-player-top>div{display:grid}.quick-player-top>div span{font-size:9px;color:#c4b5fd}.quick-player-top>div b{font-size:12px}.quick-player-top button{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;border-radius:10px;padding:8px 10px}.quick-game-player-root{max-width:980px;margin:0 auto}.quick-game-wait,.quick-game-finish{min-height:65vh;display:grid;place-items:center;align-content:center;text-align:center;gap:8px}.quick-game-wait>span{font-size:58px}.quick-game-wait small{font-weight:900;letter-spacing:.12em;color:#facc15}.quick-game-wait h1,.quick-game-finish h1{font-size:34px;margin:4px}.quick-game-wait p{color:#cbd5e1}.pulse-game{animation:quickPulse 1.8s ease-in-out infinite}@keyframes quickPulse{50%{transform:scale(1.12);filter:drop-shadow(0 0 18px #a78bfa)}}.player-score-chip{padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.12);font-weight:900}.quick-player-scorebar{display:flex;align-items:center;gap:10px;padding:10px 14px;margin-bottom:12px;border-radius:14px;background:rgba(255,255,255,.1)}.quick-player-scorebar span{margin-right:auto}.quick-player-scorebar b{font-size:18px}.quick-player-question{position:relative;padding:20px;border-radius:24px;background:#fff;color:#0f172a;box-shadow:0 20px 45px rgba(0,0,0,.22)}.quick-player-question h1{text-align:center;font-size:24px;max-width:760px;margin:16px auto 22px}.quick-player-timer{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#4f46e5;color:#fff;font-size:22px;font-weight:950}.quick-player-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qgo{border:0;border-radius:18px;min-height:100px;padding:14px;color:#fff;display:flex;align-items:center;gap:12px;text-align:left;font-weight:800}.qgo b{font-size:24px;width:36px}.qgo span{font-size:14px}.qgo.opt-a{background:#dc2626}.qgo.opt-b{background:#2563eb}.qgo.opt-c{background:#d97706}.qgo.opt-d{background:#16a34a}.qgo:disabled{opacity:.72}.qgo.selected{outline:4px solid #facc15;opacity:1}.quick-answer-wait,.quick-answer-result{margin-top:13px;padding:12px;border-radius:14px;text-align:center;font-weight:850}.quick-answer-wait{background:#eef2ff;color:#4338ca}.quick-answer-result.correct{background:#dcfce7;color:#166534}.quick-answer-result.wrong{background:#fee2e2;color:#991b1b}.player-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;align-items:end;width:min(720px,92vw);margin:20px auto}.player-podium-item{padding:18px;border-radius:20px;background:rgba(255,255,255,.12);display:grid;justify-items:center}.player-podium-item.p1{transform:translateY(-12px);background:rgba(250,204,21,.2)}.player-podium-item span{font-size:32px}.player-podium-item strong{margin:6px 0}.player-podium-item b{font-size:20px}.your-final-score{display:grid;gap:3px;margin:10px 0 18px}.your-final-score b{font-size:34px;color:#facc15}.quick-back{display:inline-flex;width:auto;text-decoration:none}.quick-game-join .game-entry-title p{color:#dbeafe}@media(max-width:900px){.quick-game-grid{grid-template-columns:1fr}.quick-host-running{grid-template-columns:1fr}.quick-host-results{grid-template-columns:1fr}.quick-host-top{grid-template-columns:1fr}.quick-host-pin{text-align:left}.quick-host-podium,.player-podium{grid-template-columns:1fr}.qhp.p1,.player-podium-item.p1{transform:none}.quick-player-options{grid-template-columns:1fr}.dashboard-game-launch,.quick-game-intro{align-items:flex-start;flex-direction:column}}

.quick-host-tools{display:flex;align-items:center;gap:8px;justify-content:flex-end}.quick-sound-btn{border:1px solid #ddd6fe;background:#fff;color:#5b21b6;border-radius:12px;padding:9px 11px;font-size:10px;font-weight:900;white-space:nowrap}.quick-sound-btn.active{background:#ede9fe;border-color:#a78bfa}.game-show-lobby{position:relative;overflow:hidden}.game-show-lobby:before,.game-show-lobby:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.game-show-lobby:before{width:220px;height:220px;right:-90px;top:20px;background:rgba(99,102,241,.12)}.game-show-lobby:after{width:180px;height:180px;left:-70px;top:170px;background:rgba(250,204,21,.09)}.quick-lobby-stars{font-size:18px;letter-spacing:.55em;color:#facc15;animation:qgTwinkle 1.8s ease-in-out infinite}.game-show-lobby .quick-host-code{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 0,#8b5cf6,#4338ca 38%,#1e1b4b 78%);border:1px solid rgba(255,255,255,.12)}.game-show-lobby .quick-host-code:after{content:"";position:absolute;inset:auto -10% -55% -10%;height:180px;background:radial-gradient(ellipse,#2563eb55,transparent 68%);animation:qgGlow 2.2s ease-in-out infinite}.game-show-lobby .quick-host-code b{text-shadow:0 0 28px rgba(250,204,21,.25)}.game-start-big{font-size:13px!important;padding:12px 24px!important;box-shadow:0 0 0 0 rgba(124,58,237,.45);animation:qgStartPulse 1.8s infinite}.game-show-players{position:relative;z-index:1}.quick-live-dot{padding:5px 8px;border-radius:999px;background:#dcfce7;color:#166534;font-size:9px;font-weight:950;letter-spacing:.08em}.quick-host-player-cloud>span{animation:qgPlayerPop .35s both;animation-delay:calc(var(--i,0)*.03s)}.quick-host-countdown{min-height:68vh;border-radius:30px;display:grid;place-items:center;align-content:center;text-align:center;color:#fff;background:radial-gradient(circle at center,#7c3aed 0,#312e81 42%,#111827 78%);box-shadow:0 24px 54px rgba(49,46,129,.24);overflow:hidden;position:relative}.quick-host-countdown:before{content:"";position:absolute;width:520px;height:520px;border:2px solid rgba(255,255,255,.08);border-radius:50%;animation:qgOrbit 3s linear infinite}.quick-host-countdown small{font-size:13px;font-weight:950;letter-spacing:.18em;color:#ddd6fe}.quick-host-countdown>span{font-size:148px;line-height:1;font-weight:1000;color:#facc15;text-shadow:0 0 38px rgba(250,204,21,.35);animation:qgCountPop .48s ease-out}.quick-host-countdown h2{font-size:32px;margin:5px 0}.quick-host-countdown p{color:#cbd5e1}.countdown-stars{font-size:24px;letter-spacing:.45em;color:#facc15;margin-bottom:12px}.game-show-running .quick-host-round{min-height:70px;background:linear-gradient(135deg,#312e81,#1e3a8a);border-radius:18px;padding:10px 18px}.game-show-running .quick-host-round.urgent{background:linear-gradient(135deg,#b91c1c,#ea580c);animation:qgUrgentBg .62s ease-in-out infinite alternate}.quick-round-timer{display:flex;align-items:baseline;gap:8px}.quick-round-timer b{font-size:40px!important;line-height:1}.quick-round-timer small{font-size:11px;font-weight:900;letter-spacing:.08em}.game-show-running .quick-host-question{position:relative;overflow:hidden}.game-show-running .quick-host-question h2{font-size:27px}.quick-host-results>div .answer-hidden{opacity:.65;font-size:20px}.quick-host-question.revealed{border-color:#fde68a;box-shadow:0 18px 40px rgba(245,158,11,.1)}.quick-result-reveal{margin:-20px -20px 18px;padding:11px 14px;background:linear-gradient(135deg,#f59e0b,#facc15);color:#422006;font-weight:950;text-align:center;letter-spacing:.04em}.quick-host-progress-card{padding:22px;border-radius:22px;background:linear-gradient(145deg,#111827,#312e81);color:#fff;text-align:center;box-shadow:0 16px 32px rgba(15,23,42,.18)}.quick-host-progress-card>span{font-size:10px;font-weight:950;letter-spacing:.12em;color:#c4b5fd}.quick-host-progress-card>b{display:block;font-size:54px;line-height:1.05;margin:10px 0}.quick-host-progress-card>b small{font-size:18px;color:#cbd5e1}.quick-host-progress-card p{font-size:11px;color:#cbd5e1}.quick-host-progress-card>div{height:8px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:12px}.quick-host-progress-card i{display:block;height:100%;background:linear-gradient(90deg,#a78bfa,#38bdf8);border-radius:999px;transition:width .35s}.game-show-board .quick-host-rank.top{background:#faf5ff;border-radius:10px;padding-left:8px;padding-right:8px}.game-next-big{font-weight:950!important;min-height:44px}.game-show-host-finish{position:relative;overflow:hidden;min-height:72vh;padding:30px;border-radius:28px;background:radial-gradient(circle at 50% 8%,#4f46e5 0,#312e81 38%,#111827 78%);color:#fff}.game-show-host-finish>h2{font-size:34px;margin:10px 0 2px}.game-show-host-finish>p{color:#c4b5fd}.quick-host-podium.show-mode{position:relative;z-index:2}.quick-host-podium.show-mode .qhp{background:rgba(255,255,255,.94);color:#111827;box-shadow:0 18px 40px rgba(0,0,0,.18);animation:qgPodiumUp .7s both}.quick-host-podium.show-mode .qhp.p1{animation-delay:.55s}.quick-host-podium.show-mode .qhp.p2{animation-delay:.25s}.quick-host-podium.show-mode .qhp.p3{animation-delay:.4s}.qhp small{font-size:9px;color:#64748b;font-weight:900}.qg-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}.qg-confetti i{position:absolute;left:var(--x);top:-8%;width:9px;height:16px;background:#facc15;animation:qgConfettiFall 3.2s linear infinite;animation-delay:var(--d);transform:rotate(var(--r))}.qg-confetti i:nth-child(3n){border-radius:50%;width:10px;height:10px;background:#38bdf8}.qg-confetti i:nth-child(4n){background:#a78bfa}.qg-confetti i:nth-child(5n){background:#fb7185}.quick-player-tools{display:flex;gap:7px}.quick-player-ready-gate{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.86);backdrop-filter:blur(12px)}.quick-player-ready-gate.hidden{display:none}.quick-player-ready-gate>div{width:min(440px,92vw);padding:28px;border-radius:26px;text-align:center;background:linear-gradient(160deg,#312e81,#6d28d9 60%,#2563eb);color:#fff;box-shadow:0 28px 70px rgba(0,0,0,.35)}.quick-player-ready-gate>div>span{font-size:58px}.quick-player-ready-gate small{display:block;margin-top:8px;color:#facc15;font-weight:950;letter-spacing:.16em}.quick-player-ready-gate h1{font-size:34px;margin:7px 0}.quick-player-ready-gate p{color:#ddd6fe}.quick-ready-silent{border:0;background:transparent;color:#ddd6fe;font-weight:800;margin-top:10px}.quick-player-countdown{min-height:72vh;display:grid;place-items:center;align-content:center;text-align:center;border-radius:28px;background:radial-gradient(circle,#7c3aed,#312e81 50%,#111827 90%);overflow:hidden;position:relative}.quick-player-countdown small{font-weight:950;letter-spacing:.16em;color:#c4b5fd}.quick-player-countdown>span{font-size:130px;font-weight:1000;line-height:1;color:#facc15;text-shadow:0 0 30px rgba(250,204,21,.35);animation:qgCountPop .48s ease-out}.quick-player-countdown h1{font-size:32px;margin:8px 0}.quick-player-countdown p{color:#cbd5e1}.quick-player-question.urgent{box-shadow:0 0 0 4px rgba(239,68,68,.16),0 20px 45px rgba(0,0,0,.22)}.quick-player-timer.urgent{background:linear-gradient(135deg,#dc2626,#f97316);animation:qgTimerPulse .6s ease-in-out infinite alternate}.qgo.answer-correct{outline:5px solid #facc15!important;opacity:1!important;filter:brightness(1.08)}.qgo.answer-wrong{outline:5px solid #111827!important;opacity:.78!important}.quick-answer-result{display:grid;justify-items:center;gap:3px;font-size:12px}.quick-answer-result>span{font-size:32px}.quick-answer-result>strong{font-size:20px}.quick-answer-result>small{font-size:11px}.quick-answer-result.missed{background:#fef3c7;color:#92400e}.quick-rank-move{display:inline-block;margin-top:4px;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:950}.quick-rank-move.up{background:#dcfce7;color:#166534}.quick-rank-move.down{background:#fee2e2;color:#991b1b}.game-show-wait{position:relative}.game-show-finish{position:relative;overflow:hidden}.game-show-finish>*:not(.qg-confetti){position:relative;z-index:2}@keyframes qgTwinkle{50%{opacity:.45;transform:scale(1.08)}}@keyframes qgGlow{50%{transform:scale(1.08);opacity:.6}}@keyframes qgStartPulse{70%{box-shadow:0 0 0 15px rgba(124,58,237,0)}}@keyframes qgPlayerPop{from{opacity:0;transform:translateY(8px) scale(.9)}to{opacity:1;transform:none}}@keyframes qgOrbit{to{transform:rotate(360deg)}}@keyframes qgCountPop{from{opacity:.25;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@keyframes qgUrgentBg{to{filter:brightness(1.16);transform:scale(1.002)}}@keyframes qgTimerPulse{to{transform:scale(1.12);box-shadow:0 0 20px rgba(239,68,68,.4)}}@keyframes qgPodiumUp{from{opacity:0;transform:translateY(45px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes qgConfettiFall{0%{transform:translateY(-10vh) rotate(var(--r));opacity:1}100%{transform:translateY(110vh) rotate(calc(var(--r) + 620deg));opacity:.1}}@media(max-width:900px){.quick-host-tools{justify-content:flex-start;flex-wrap:wrap}.quick-host-countdown>span,.quick-player-countdown>span{font-size:100px}.game-show-host-finish{padding:20px}.quick-player-tools{justify-content:flex-end;flex-wrap:wrap}.quick-player-top{grid-template-columns:auto 1fr}.quick-player-tools{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.quick-host-countdown:before,.game-start-big,.quick-lobby-stars,.quick-host-player-cloud>span,.quick-player-timer.urgent,.qg-confetti i{animation:none!important}}

.quick-game-page-head{margin-bottom:16px}.quick-game-section{margin-top:14px}.quick-game-section>.section-head{margin-bottom:9px;padding:0 2px}.quick-game-list,.quick-game-history-list{display:grid;gap:9px}.quick-game-row,.quick-history-row{display:grid;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.035)}.quick-game-row{grid-template-columns:130px minmax(0,1fr) auto}.quick-game-row.active{border-color:#bfdbfe;background:linear-gradient(135deg,#eff6ff,#fff)}.quick-game-row.lobby{border-color:#ddd6fe;background:linear-gradient(135deg,#f5f3ff,#fff)}.quick-game-row-status{display:grid;gap:6px}.quick-game-row-status>strong{font-size:19px;letter-spacing:.08em;color:#312e81}.quick-game-state{width:max-content;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:950;letter-spacing:.07em;text-transform:uppercase;background:#f1f5f9;color:#475569}.quick-game-state.lobby{background:#ede9fe;color:#6d28d9}.quick-game-state.active{background:#dcfce7;color:#166534}.quick-game-row-main,.quick-history-main{min-width:0}.quick-game-row-main h3,.quick-history-main h3{margin:0 0 5px;font-size:14px}.quick-game-row-main>div,.quick-history-main>div{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:9px}.quick-game-row-actions,.quick-history-actions{display:flex;gap:7px;justify-content:flex-end}.quick-history-row{grid-template-columns:42px minmax(0,1fr) auto}.quick-history-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#fff7ed;font-size:20px}.quick-game-section.history{margin-top:24px}.quick-game-section-empty{min-height:90px;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px dashed #cbd5e1;border-radius:17px;background:rgba(255,255,255,.55)}.quick-game-section-empty>span{font-size:27px}.quick-game-section-empty>div{display:grid;flex:1}.quick-game-section-empty strong{font-size:12px}.quick-game-section-empty small{font-size:9px;color:var(--muted);margin-top:2px}.quick-game-empty-state{min-height:320px;display:grid;place-items:center;align-content:center;text-align:center;gap:9px}.quick-game-empty-icon{font-size:62px;filter:drop-shadow(0 12px 22px rgba(79,70,229,.16))}.quick-game-empty-state h2{margin:0 0 8px;font-size:22px}.quick-host-access{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:stretch;margin-bottom:14px}.quick-host-access .quick-host-code{min-height:270px;display:grid;place-items:center;align-content:center;text-align:center;padding:22px;border-radius:24px;background:radial-gradient(circle at top,#5b21b6,#312e81 58%,#172554);color:#fff;overflow:hidden}.quick-host-access .quick-host-code>span{font-size:11px;font-weight:950;letter-spacing:.18em;color:#ddd6fe}.quick-host-access .quick-host-code>b{font-size:70px;line-height:1.05;letter-spacing:.08em;color:#facc15;text-shadow:0 7px 24px rgba(0,0,0,.24);margin:8px 0}.quick-host-access .quick-host-code>small{color:#cbd5e1;font-size:11px}.quick-host-access-links{margin-top:14px}.quick-host-qr-card{min-height:270px;padding:16px;border-radius:24px;background:#fff;display:grid;place-items:center;align-content:center;text-align:center;box-shadow:0 14px 30px rgba(15,23,42,.08)}.quick-host-qr{width:220px;height:220px;display:grid;place-items:center;padding:8px;border-radius:16px;background:#fff}.quick-host-qr canvas,.quick-host-qr img{max-width:100%;height:auto}.quick-host-qr-card strong{font-size:13px;margin-top:8px}.quick-host-qr-card small{font-size:9px;color:var(--muted);margin-top:2px}.quick-host-lobby-actions{margin-bottom:14px}.quick-host-top .quick-host-tools{align-items:center}.quick-host-top .quick-host-tools .btn{white-space:nowrap}@media(max-width:900px){.quick-game-row{grid-template-columns:105px minmax(0,1fr)}.quick-game-row-actions{grid-column:1/-1;justify-content:flex-start}.quick-history-row{grid-template-columns:42px minmax(0,1fr)}.quick-history-actions{grid-column:1/-1;justify-content:flex-start}.quick-host-access{grid-template-columns:1fr}.quick-host-qr-card{min-height:auto}.quick-host-access .quick-host-code{min-height:230px}.quick-host-access .quick-host-code>b{font-size:56px}}@media(max-width:600px){.quick-game-row{grid-template-columns:1fr}.quick-game-row-status{grid-template-columns:auto 1fr;align-items:center}.quick-history-row{grid-template-columns:1fr}.quick-history-icon{display:none}.quick-host-access .quick-host-code>b{font-size:45px}}

/* v1.7.4 Quick Game Lobby Player Wall */
.quick-host-player-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:14px}.quick-player-card{position:relative;display:grid;justify-items:center;gap:8px;padding:16px 12px;border-radius:22px;color:#fff;min-height:142px;box-shadow:0 18px 32px rgba(30,41,59,.12);animation:qghPop .42s ease both;animation-delay:calc(var(--i,0)*.04s)}.quick-player-card strong{font-size:18px;line-height:1.2;text-align:center;word-break:break-word}.quick-player-card small{padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.18);font-weight:900;font-size:10px;letter-spacing:.12em}.quick-player-avatar{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;font-size:24px;font-weight:950;background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 3px rgba(255,255,255,.18)}.quick-player-card.v0{background:linear-gradient(135deg,#7c3aed,#2563eb)}.quick-player-card.v1{background:linear-gradient(135deg,#ec4899,#8b5cf6)}.quick-player-card.v2{background:linear-gradient(135deg,#0ea5e9,#14b8a6)}.quick-player-card.v3{background:linear-gradient(135deg,#f97316,#ef4444)}.quick-player-card.v4{background:linear-gradient(135deg,#22c55e,#16a34a)}.quick-player-card.v5{background:linear-gradient(135deg,#f59e0b,#d97706)}.quick-player-card.v6{background:linear-gradient(135deg,#6366f1,#4338ca)}.quick-player-card.v7{background:linear-gradient(135deg,#06b6d4,#3b82f6)}.quick-player-join-note,.quick-player-waiting{display:grid;justify-items:center;text-align:center;gap:4px;margin-top:10px;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,#eef2ff,#f5f3ff);color:#4338ca}.quick-player-join-note{font-weight:900;font-size:15px}.quick-player-waiting span{font-weight:900;font-size:15px}.quick-player-waiting small{color:#64748b}.quick-live-dot.open{background:#dcfce7;color:#166534}.quick-live-dot.locked{background:#fee2e2;color:#991b1b}.quick-host-player-box.game-show-players{background:linear-gradient(180deg,#fff,#faf7ff)}@keyframes qghPop{0%{opacity:0;transform:translateY(10px) scale(.92)}100%{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:900px){.quick-host-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-player-card{min-height:128px;padding:14px 10px}.quick-player-card strong{font-size:16px}}@media(max-width:560px){.quick-host-player-grid{grid-template-columns:1fr 1fr}.quick-player-avatar{width:54px;height:54px;font-size:20px}.quick-player-card strong{font-size:15px}}

.quick-live-side-stack{display:grid;gap:10px}.quick-live-top3-card,.quick-answer-feed-card{padding:14px}.quick-live-top3{display:grid;gap:7px}.quick-live-top3-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 10px;border-radius:13px;background:#f8fafc;border:1px solid #e5e7eb;animation:qghAnswerIn .28s ease both}.quick-live-top3-row.p1{background:linear-gradient(135deg,#fff7ed,#fffbeb);border-color:#fde68a}.quick-live-top3-row>span{font-size:20px}.quick-live-top3-row>div{display:grid}.quick-live-top3-row b{font-size:11px}.quick-live-top3-row small{font-size:8px;color:#64748b}.quick-live-top3-row>strong{font-size:12px;color:#6d28d9}.quick-host-progress-card.enhanced{padding:16px;border-radius:20px;background:linear-gradient(145deg,#111827,#312e81);color:#fff}.quick-host-progress-card.enhanced>span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#c4b5fd}.quick-answer-numbers{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.quick-answer-numbers b{display:grid;padding:11px;border-radius:14px;background:rgba(255,255,255,.1);font-size:24px}.quick-answer-numbers small{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#cbd5e1;margin-top:2px}.quick-answer-progress{height:10px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden}.quick-answer-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#a855f7,#22d3ee);transition:width .35s ease}.quick-host-progress-card.enhanced p{font-size:9px;color:#dbeafe;margin:9px 0 0}.quick-answer-feed{display:grid;gap:7px}.quick-answer-feed>div{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px 9px;border-radius:12px;background:linear-gradient(135deg,#f5f3ff,#eef2ff);animation:qghAnswerIn .32s ease both;animation-delay:calc(var(--i,0)*.04s)}.quick-answer-feed>div>span{font-size:14px}.quick-answer-feed b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-answer-feed small{font-size:8px;color:#7c3aed;font-weight:900;text-transform:uppercase}.quick-answer-feed-empty{display:block!important;text-align:center;color:#94a3b8;background:#f8fafc!important;font-size:10px}.quick-host-answer-count{font-weight:900;color:#4338ca}@keyframes qghAnswerIn{0%{opacity:0;transform:translateY(6px) scale(.97)}100%{opacity:1;transform:none}}@media(max-width:900px){.quick-live-side-stack{grid-template-columns:1fr}.quick-answer-numbers b{font-size:20px}}
.game-show-host-finish .quick-host-board{color:#111827;text-align:left}.quick-host-podium.show-mode.count-1{grid-template-columns:minmax(260px,430px);justify-content:center;max-width:520px}.quick-host-podium.show-mode.count-2{grid-template-columns:minmax(230px,360px) minmax(260px,410px);justify-content:center;max-width:820px}.quick-host-podium.show-mode.count-2 .qhp.p1{min-height:255px;transform:translateY(-18px);border:2px solid #facc15;background:linear-gradient(180deg,#fffdf3,#fff)}.quick-host-podium.show-mode.count-2 .qhp.p2{min-height:220px}.quick-host-podium.show-mode.count-3 .qhp.p1{min-height:265px;border:2px solid #facc15;background:linear-gradient(180deg,#fffdf3,#fff)}.quick-host-podium.show-mode .qhp>span{font-size:46px}.quick-host-podium.show-mode .qhp strong{font-size:22px}.quick-host-podium.show-mode .qhp b{font-size:26px}.quick-champion-callout{position:relative;z-index:2;display:grid;justify-items:center;gap:3px;width:min(620px,92%);margin:8px auto 22px;padding:14px 18px;border-radius:18px;background:linear-gradient(135deg,rgba(250,204,21,.22),rgba(255,255,255,.12));border:1px solid rgba(250,204,21,.48);color:#fff}.quick-champion-callout>span{font-size:24px}.quick-champion-callout strong{font-size:18px;letter-spacing:.04em}.quick-champion-callout small{color:#fde68a;font-weight:850}.final-ranking-card{position:relative;z-index:2;max-width:980px;margin:0 auto 18px;background:rgba(255,255,255,.97)}.final-ranking-card .quick-host-rank span,.final-ranking-card .quick-host-rank strong{color:#111827}.final-rank-list{display:grid}.quick-final-actions{position:relative;z-index:2;display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}.quick-final-actions .btn{min-width:150px}.game-show-host-finish .game-finish-tag,.game-show-host-finish>h2,.game-show-host-finish>p{position:relative;z-index:2}@media(max-width:760px){.quick-host-podium.show-mode.count-2,.quick-host-podium.show-mode.count-1{grid-template-columns:1fr}.quick-host-podium.show-mode.count-2 .qhp.p1{transform:none}.quick-champion-callout strong{font-size:15px}}

.game-pulse-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:stretch}
.game-pulse-layout .quick-host-question{display:flex;flex-direction:column;min-height:500px}
.game-pulse-layout .quick-host-question h2{font-size:30px;margin-bottom:22px}
.game-pulse-layout .quick-host-results{flex:1;grid-auto-rows:minmax(112px,1fr);align-content:stretch}
.game-pulse-layout .quick-host-results>div{display:flex;align-items:center;min-height:112px;padding:20px 18px;font-size:18px}
.game-pulse-layout .quick-host-results>div>span{font-size:18px;gap:12px}
.game-pulse-layout .quick-host-results>div>span>b{font-size:20px}
.game-pulse-layout .quick-host-answer-count{margin-top:16px;padding:9px 12px;border-radius:12px;background:#f5f3ff;color:#5b21b6;font-size:12px}
.quick-game-pulse-card{padding:17px;border-radius:22px;background:linear-gradient(155deg,#111827,#1e1b4b 60%,#312e81);color:#fff;box-shadow:0 18px 38px rgba(15,23,42,.18)}
.quick-game-pulse-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.quick-game-pulse-head>div{display:grid;gap:2px}
.quick-game-pulse-head>div>span{font-size:9px;font-weight:950;letter-spacing:.14em;color:#c4b5fd}
.quick-game-pulse-head h3{margin:0;font-size:18px}
.quick-join-state{border:0;border-radius:999px;padding:7px 9px;font-size:8px;font-weight:950;letter-spacing:.06em;cursor:pointer}
.quick-join-state.open{background:#dcfce7;color:#166534}
.quick-join-state.locked{background:#fee2e2;color:#991b1b}
.quick-game-pulse-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:15px 0 11px}
.quick-game-pulse-stats>div{display:grid;justify-items:center;gap:2px;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.08);text-align:center}
.quick-game-pulse-stats span{font-size:16px}
.quick-game-pulse-stats b{font-size:24px;line-height:1}
.quick-game-pulse-stats small{font-size:7px;text-transform:uppercase;letter-spacing:.08em;color:#cbd5e1}
.quick-game-pulse-progress{height:10px;border-radius:999px;background:rgba(255,255,255,.11);overflow:hidden}
.quick-game-pulse-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#a855f7,#22d3ee);transition:width .32s ease}
.quick-game-pulse-card>p{margin:8px 0 0;font-size:9px;color:#dbeafe;text-align:center}
.quick-pulse-activity,.quick-pulse-ranking{margin-top:13px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}
.quick-pulse-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:7px}
.quick-pulse-title span{font-size:8px;font-weight:950;letter-spacing:.12em;color:#c4b5fd}
.quick-pulse-title small{font-size:9px;color:#e2e8f0}
.quick-game-pulse-card .quick-answer-feed{gap:5px}
.quick-game-pulse-card .quick-answer-feed>div{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.05);padding:7px 8px}
.quick-game-pulse-card .quick-answer-feed b{color:#fff}
.quick-game-pulse-card .quick-answer-feed small{color:#c4b5fd}
.quick-game-pulse-card .quick-answer-feed-empty{background:rgba(255,255,255,.06)!important;color:#94a3b8}
.quick-pulse-ranking{display:none}
.quick-pulse-ranking.show{display:block}
.quick-game-pulse-card .quick-live-top3-row{padding:7px 8px;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.08);color:#fff}
.quick-game-pulse-card .quick-live-top3-row.p1{background:rgba(250,204,21,.13);border-color:rgba(250,204,21,.24)}
.quick-game-pulse-card .quick-live-top3-row small{color:#cbd5e1}
.quick-game-pulse-card .quick-live-top3-row>strong{color:#facc15}
.quick-host-controls-quiet{margin-top:8px}
.quick-host-controls-quiet .subtle-danger{opacity:.78;background:#fff;border-color:#fecaca}
@media(max-width:900px){.game-pulse-layout{grid-template-columns:1fr}.game-pulse-layout .quick-host-question{min-height:auto}.game-pulse-layout .quick-host-results{grid-auto-rows:minmax(90px,auto)}}

.quick-game-presentation{overflow:hidden;background:#f6f7fb}.quick-game-presentation .shell{display:block;min-height:100vh}.quick-game-presentation .sidebar{display:none!important}.quick-game-presentation .main{max-width:none;width:100%;height:100vh;padding:14px 18px;margin:0;overflow:auto}.quick-game-presentation .quick-host-page{max-width:none;width:100%;margin:0}.quick-game-presentation .quick-host-top{grid-template-columns:minmax(0,1fr) auto;margin-bottom:10px}.quick-game-presentation .quick-host-top>a{display:none}.quick-game-presentation .quick-host-top>div:nth-child(2){min-width:0}.quick-game-presentation .quick-host-top h1{font-size:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-game-presentation .quick-host-tools{justify-content:flex-end}.quick-game-presentation #quickGameHost{width:100%}.quick-game-presentation .quick-host-access{min-height:calc(100vh - 120px)}.quick-game-presentation .game-pulse-layout{min-height:calc(100vh - 112px)}.quick-game-presentation .game-pulse-layout .quick-host-question{min-height:calc(100vh - 230px)}.quick-game-presentation .quick-host-finished{min-height:calc(100vh - 118px)}@media(max-width:900px){.quick-game-presentation .main{padding:10px}.quick-game-presentation .quick-host-top{grid-template-columns:1fr}.quick-game-presentation .quick-host-tools{justify-content:flex-start}.quick-game-presentation .game-pulse-layout .quick-host-question{min-height:auto}}

.student-focus-shell{margin-top:8px}
.student-focus-shell .student-question,.student-focus-shell .student-poll,.student-focus-shell .student-group-card{margin:0;border:0;border-radius:20px;padding:17px;background:linear-gradient(145deg,#f8f7ff,#eef2ff);box-shadow:inset 0 0 0 1px #ddd6fe}
.student-focus-shell .student-question.student-battle-question{background:linear-gradient(145deg,#fffbeb,#faf5ff);box-shadow:inset 0 0 0 2px #fde68a}
.student-focus-shell .student-question h2,.student-focus-shell .student-poll h2,.student-focus-shell .student-group-card h2{font-size:21px;line-height:1.3;margin:9px 0 15px}
.student-focus-shell .student-options{gap:10px}
.student-focus-shell .student-option span{min-height:104px;border-radius:17px;padding:13px;font-size:13px;box-shadow:0 10px 20px rgba(15,23,42,.08)}
.student-focus-shell .student-option span b{width:34px;height:34px;font-size:14px}
.student-focus-shell .student-option input:checked+span{border-color:#111827;transform:translateY(-2px);box-shadow:0 0 0 3px #fff inset,0 12px 24px rgba(15,23,42,.15)}
.student-focus-shell .student-submit{margin-top:12px;padding:13px;font-size:14px}
.student-focus-shell .answer-sent{text-align:center;margin:9px 0 0;padding:7px 10px;border-radius:999px;background:#dcfce7;color:#166534;font-size:10px;font-weight:900}
.student-focus-tag{padding:5px 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:8px;font-weight:950;letter-spacing:.08em}
.student-focus-wait{min-height:300px;display:grid;place-items:center;align-content:center;text-align:center;gap:6px;border-radius:20px;background:linear-gradient(145deg,#1e1b4b,#312e81);color:#fff}
.student-focus-wait>span{font-size:52px}
.student-focus-wait small{color:#fde68a;font-size:9px;font-weight:950;letter-spacing:.14em}
.student-focus-wait h2{margin:5px 0 0;font-size:22px}
.student-focus-wait p{margin:0;color:#cbd5e1;font-size:11px}
.student-idle-label{margin:12px 0 7px;color:#6d28d9;font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.1em}
.student-group-focus .student-group-members{gap:7px}
.student-group-focus .student-group-members span{padding:7px 10px;font-size:10px}
.student-focus-shell+.student-actions-grid{display:none}
@media(max-width:480px){.student-focus-shell .student-question,.student-focus-shell .student-poll,.student-focus-shell .student-group-card{padding:14px}.student-focus-shell .student-question h2,.student-focus-shell .student-poll h2,.student-focus-shell .student-group-card h2{font-size:19px}.student-focus-shell .student-option span{min-height:82px}.student-focus-wait{min-height:240px}}

.session-access-card{grid-template-columns:150px minmax(0,1fr);gap:18px;padding:14px;border-radius:18px}
.session-qr-side{padding:9px;border-radius:14px}
.session-qr{max-width:116px;margin-bottom:5px}
.session-qr-side strong{font-size:10px}
.session-qr-side span{font-size:8px}
.session-code-number{font-size:42px;margin:3px 0 7px}
.live-command-bar button.active{background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;box-shadow:0 7px 18px rgba(79,70,229,.28)}
body.live-focus-active .session-access-card{grid-template-columns:1fr;padding:9px 12px;background:linear-gradient(135deg,#312e81,#1d4ed8);margin-bottom:10px}
body.live-focus-active .session-qr-side{display:none}
body.live-focus-active .session-code-side{display:flex;align-items:center;gap:12px;min-width:0}
body.live-focus-active .session-code-label{white-space:nowrap}
body.live-focus-active .session-code-number{font-size:24px;letter-spacing:.12em;margin:0 auto 0 0}
body.live-focus-active .session-link-actions{flex-wrap:nowrap}
body.live-focus-active .session-link-actions .btn{padding:6px 8px;font-size:9px}
.adaptive-live-center{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:13px;align-items:start}
.adaptive-live-stage{min-width:0}
.adaptive-live-side{display:grid;gap:10px;position:sticky;top:72px}
.live-class-pulse{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:11px;border-radius:18px;background:linear-gradient(145deg,#111827,#1e1b4b);color:#fff}
.live-class-pulse>div{display:grid;justify-items:center;gap:1px;padding:8px 4px;border-radius:12px;background:rgba(255,255,255,.07)}
.live-class-pulse span{font-size:15px}
.live-class-pulse b{font-size:21px}
.live-class-pulse small{font-size:7px;color:#cbd5e1;text-transform:uppercase;letter-spacing:.06em}
.live-side-card{padding:12px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 24px rgba(15,23,42,.05)}
.live-side-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.live-side-title span{font-size:8px;font-weight:950;letter-spacing:.09em;color:#6d28d9}
.live-side-title>b{padding:4px 7px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:9px}
.live-selected-mini{display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center;padding:8px;border-radius:11px;background:#ecfdf5;margin-bottom:7px}
.live-selected-mini span{font-size:7px;color:#047857;text-transform:uppercase}
.live-selected-mini strong{font-size:11px}
.live-selected-mini button{grid-column:2;grid-row:1/3;border:0;border-radius:8px;background:#059669;color:#fff;padding:6px 7px;font-size:8px}
.live-hands-compact .hand-item{padding:7px 8px;border-radius:10px;margin-top:5px}
.live-hands-compact .hand-item strong{font-size:10px}
.live-hands-compact .hand-item small,.live-hands-compact .hand-item b{font-size:8px}
.live-side-empty{padding:10px;border-radius:10px;background:#f8fafc;color:#94a3b8;text-align:center;font-size:9px}
.live-more-count{display:block;margin-top:6px;text-align:center;color:#7c3aed;font-size:8px;font-weight:800}
.live-queue-mini{display:grid;grid-template-columns:20px minmax(0,1fr);gap:6px;align-items:start;padding:7px 0;border-bottom:1px solid var(--line)}
.live-queue-mini:last-child{border-bottom:0}
.live-queue-mini>b{width:20px;height:20px;border-radius:7px;background:#ede9fe;color:#6d28d9;display:grid;place-items:center;font-size:8px}
.live-queue-mini span{font-size:9px;line-height:1.3}
.live-mini-rank{display:grid;grid-template-columns:22px 1fr auto;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line)}
.live-mini-rank:last-child{border-bottom:0}
.live-mini-rank>b{width:22px;height:22px;border-radius:8px;background:#f5f3ff;color:#6d28d9;display:grid;place-items:center;font-size:8px}
.live-mini-rank.first>b{background:#fef3c7;color:#92400e}
.live-mini-rank span{font-size:10px;font-weight:850}
.live-mini-rank span small{display:block;color:var(--muted);font-size:7px;font-weight:500}
.live-mini-rank strong{font-size:9px;color:#7c3aed}
.live-focus-stage{padding:20px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 18px 38px rgba(15,23,42,.08);min-height:560px;display:flex;flex-direction:column}
.live-focus-stage.battle-mode{background:linear-gradient(180deg,#fffbeb,#fff)}
.live-focus-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.live-focus-head>div>span{font-size:9px;font-weight:950;letter-spacing:.11em;color:#7c3aed}
.live-focus-head h2{font-size:28px;line-height:1.22;margin:7px 0 18px}
.live-focus-timer{min-width:74px;height:74px;border-radius:22px;background:#312e81;color:#fff;display:grid;place-items:center;font-size:30px;font-weight:950}
.live-focus-timer.ended{background:#dc2626}
.live-focus-count{min-width:72px;height:72px;border-radius:20px;background:#ede9fe;color:#5b21b6;display:grid;place-items:center;align-content:center;font-size:26px;font-weight:950}
.live-focus-count small{font-size:8px;text-transform:uppercase}
.live-focus-options{display:grid;grid-template-columns:1fr 1fr;gap:11px;flex:1;align-content:stretch}
.live-focus-option{position:relative;display:grid;grid-template-columns:1fr auto;align-content:center;gap:12px;min-height:145px;border-radius:19px;padding:18px;color:#fff;overflow:hidden}
.live-focus-option.opt-a{background:#e11d48}.live-focus-option.opt-b{background:#2563eb}.live-focus-option.opt-c{background:#d97706}.live-focus-option.opt-d{background:#059669}
.live-focus-option.correct{outline:5px solid #facc15}
.live-focus-option>div{display:flex;align-items:center;gap:11px;min-width:0}
.live-focus-option>div>b{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.2);display:grid;place-items:center;font-size:16px}
.live-focus-option>div>span{font-size:17px;font-weight:850}
.live-focus-option em{padding:4px 7px;border-radius:999px;background:#fff;color:#166534;font-size:8px;font-style:normal;font-weight:900}
.live-focus-option>strong{font-size:24px;align-self:center}
.live-focus-option>i{grid-column:1/-1;height:7px;border-radius:999px;background:rgba(255,255,255,.22);overflow:hidden}
.live-focus-option>i>span{display:block;height:100%;border-radius:999px;background:#fff;transition:width .3s ease}
.live-answer-progress{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;margin-top:14px;padding:10px 12px;border-radius:14px;background:#f5f3ff}
.live-answer-progress>div{display:flex;align-items:baseline;gap:4px;white-space:nowrap}
.live-answer-progress b{font-size:16px;color:#5b21b6}
.live-answer-progress span{font-size:9px;color:#6d28d9}
.live-answer-progress>i{height:8px;border-radius:999px;background:#ddd6fe;overflow:hidden}
.live-answer-progress>i>span{display:block;height:100%;background:linear-gradient(90deg,#7c3aed,#2563eb);border-radius:999px}
.live-focus-actions{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px}
.battle-focus-board{display:grid;gap:8px;max-width:760px;width:100%;margin:auto}
.battle-focus-board>div{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:13px 15px;border-radius:14px;background:#f8fafc}
.battle-focus-board>div.top{background:#fff7ed;border:1px solid #fde68a}
.battle-focus-board span{font-weight:850}.battle-focus-board span small{display:block;color:var(--muted);font-size:9px}
.battle-focus-board strong{font-size:18px;color:#6d28d9}
.live-idle-stage{display:grid;gap:13px}
.live-idle-head{padding:17px 18px;border-radius:20px;background:linear-gradient(135deg,#21164c,#17366e);color:#fff}
.live-idle-head span{font-size:8px;font-weight:950;letter-spacing:.12em;color:#c4b5fd}
.live-idle-head h2{margin:5px 0 0;font-size:23px}
.live-idle-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.live-idle-actions button{border:0;border-radius:17px;padding:15px 12px;min-height:112px;color:#fff;display:grid;justify-items:start;align-content:center;text-align:left;background:linear-gradient(135deg,#7c3aed,#2563eb);cursor:pointer}
.live-idle-actions button:nth-child(2){background:linear-gradient(135deg,#0891b2,#2563eb)}
.live-idle-actions button:nth-child(3){background:linear-gradient(135deg,#d97706,#ea580c)}
.live-idle-actions button:nth-child(4){background:linear-gradient(135deg,#059669,#0f766e)}
.live-idle-actions button>span{font-size:25px}.live-idle-actions strong{font-size:12px;margin-top:6px}.live-idle-actions small{font-size:8px;color:rgba(255,255,255,.8);margin-top:2px}
.live-idle-hands{padding:16px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.mode-idle .adaptive-live-side{position:static}
@media(max-width:1050px){.adaptive-live-center{grid-template-columns:minmax(0,1fr) 270px}.live-focus-option{min-height:125px}.live-idle-actions{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.adaptive-live-center{grid-template-columns:1fr}.adaptive-live-side{position:static}.live-focus-stage{min-height:auto}.live-focus-options{grid-template-columns:1fr}.live-idle-actions{grid-template-columns:1fr 1fr}body.live-focus-active .session-code-side{flex-wrap:wrap}body.live-focus-active .session-link-actions{flex-wrap:wrap}.session-access-card{grid-template-columns:1fr}.session-qr-side{max-width:180px}}

.live-command-focus{animation:liveCommandFocus 1.25s ease both;position:relative;z-index:5}
@keyframes liveCommandFocus{0%,100%{box-shadow:0 10px 24px rgba(15,23,42,.05)}25%{box-shadow:0 0 0 4px rgba(124,58,237,.22),0 16px 36px rgba(79,70,229,.18);transform:translateY(-2px)}55%{box-shadow:0 0 0 7px rgba(37,99,235,.12),0 16px 36px rgba(79,70,229,.14)}}

.live-question-result{background:linear-gradient(180deg,#fff,#faf8ff);min-height:540px}
.live-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.live-result-head>div>span{font-size:9px;font-weight:950;letter-spacing:.12em;color:#7c3aed}
.live-result-head h2{font-size:26px;line-height:1.25;margin:7px 0 15px}
.live-result-score{min-width:92px;height:82px;border-radius:20px;background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;display:grid;place-items:center;align-content:center}
.live-result-score b{font-size:30px;line-height:1}
.live-result-score small{font-size:8px;margin-top:4px;color:#e0e7ff}
.live-correct-answer{padding:15px 17px;border-radius:18px;background:#ecfdf5;border:1px solid #a7f3d0}
.live-correct-answer>span{font-size:8px;font-weight:950;letter-spacing:.12em;color:#047857}
.live-correct-answer>div{display:flex;align-items:center;gap:11px;margin:7px 0 3px}
.live-correct-answer>div>b{width:36px;height:36px;border-radius:10px;background:#059669;color:#fff;display:grid;place-items:center;font-size:16px}
.live-correct-answer>div>strong{font-size:18px;color:#064e3b}
.live-correct-answer>small{font-size:9px;color:#047857}
.live-responders-wrap{margin-top:15px;padding:15px;border-radius:18px;background:#fff;border:1px solid var(--line)}
.live-responders-wrap .section-head h3{font-size:17px;margin:3px 0 0}
.live-responder-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px;align-items:end}
.live-responder-card{display:grid;justify-items:center;text-align:center;gap:4px;padding:15px 10px;border-radius:17px;background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid var(--line)}
.live-responder-card.p1{transform:translateY(-7px);background:linear-gradient(180deg,#fffbeb,#fff);border-color:#fde68a}
.live-responder-card.p2{border-color:#cbd5e1}.live-responder-card.p3{border-color:#fed7aa}
.live-responder-card>span{font-size:28px}
.live-responder-card>strong{font-size:13px}
.live-responder-card>small{font-size:8px;color:var(--muted)}
.live-responder-card>b{margin-top:3px;padding:5px 8px;border-radius:999px;background:#f5f3ff;color:#6d28d9;font-size:10px}
.live-no-correct{grid-column:1/-1;padding:28px;border-radius:15px;background:#f8fafc;color:#94a3b8;text-align:center;font-size:11px}
.live-result-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:15px}
.live-awarded-chip{display:inline-flex;align-items:center;padding:9px 11px;border-radius:11px;background:#dcfce7;color:#166534;font-size:9px;font-weight:900}
.mode-result .live-class-pulse>div:nth-child(3){background:rgba(34,197,94,.16)}
@media(max-width:760px){.live-result-head{display:grid;grid-template-columns:1fr auto}.live-responder-grid{grid-template-columns:1fr}.live-responder-card.p1{transform:none}}

.quick-music-btn,.quick-music-preset{border:1px solid #ddd6fe;background:#fff;color:#4c1d95;border-radius:12px;padding:8px 10px;font-size:10px;font-weight:850;min-height:38px}.quick-music-btn{cursor:pointer}.quick-music-btn.active{background:#f5f3ff;border-color:#a78bfa;color:#6d28d9;box-shadow:0 7px 18px rgba(124,58,237,.12)}.quick-music-preset{appearance:auto;cursor:pointer;max-width:120px}.quick-game-presentation .quick-host-tools{gap:7px}.quick-game-presentation .quick-music-btn,.quick-game-presentation .quick-music-preset,.quick-game-presentation .quick-sound-btn{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.24);color:#fff}.quick-game-presentation .quick-music-btn.active,.quick-game-presentation .quick-sound-btn.active{background:rgba(124,58,237,.3);border-color:#c4b5fd}@media(max-width:760px){.quick-host-tools{flex-wrap:wrap}.quick-music-preset{max-width:110px}}

.quick-stars-theme-badge{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(124,58,237,.1);border:1px solid rgba(124,58,237,.18);color:#6d28d9;font-size:9px;font-weight:950;letter-spacing:.08em;white-space:nowrap}
body.qg-presentation .quick-stars-theme-badge{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);color:#ede9fe}

.sidebar{overflow:hidden}
.sidebar nav{min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:3px;scrollbar-width:thin;scrollbar-color:rgba(167,139,250,.28) transparent}
.sidebar nav::-webkit-scrollbar{width:5px}
.sidebar nav::-webkit-scrollbar-track{background:transparent}
.sidebar nav::-webkit-scrollbar-thumb{background:rgba(167,139,250,.26);border-radius:999px}
.side-foot{flex:0 0 auto;margin-top:13px;padding:14px 5px 2px;border-top:1px solid rgba(255,255,255,.1);background:linear-gradient(180deg,rgba(17,24,39,0),rgba(17,24,39,.96) 18%)}
.side-account{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;padding:5px 6px 10px}
.side-account-avatar{width:44px;height:44px;border-radius:14px;font-size:17px;box-shadow:0 8px 20px rgba(37,99,235,.23)}
.side-account-copy{min-width:0}
.side-account-copy strong,.side-account-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-account-copy strong{font-size:12px;line-height:1.25;color:#fff}
.side-account-copy small{font-size:9px;color:#aaa7c8;margin-top:3px}
.side-logout{width:100%;min-height:42px;border:1px solid rgba(248,113,113,.16);border-radius:12px;background:rgba(239,68,68,.075);color:#fca5a5;padding:9px 11px;display:flex;align-items:center;gap:9px;text-align:left;transition:background .16s,border-color .16s,color .16s,transform .16s}
.side-logout span{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:rgba(239,68,68,.12);font-size:15px;line-height:1}
.side-logout strong{font-size:10.5px;font-weight:850}
.side-logout:hover{background:rgba(239,68,68,.15);border-color:rgba(248,113,113,.32);color:#fecaca;transform:translateY(-1px)}
.side-logout:focus-visible{outline:2px solid #fca5a5;outline-offset:2px}
.side-login{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:11px;background:rgba(124,58,237,.16);color:#ddd6fe;font-size:11px;font-weight:850}
.linkbtn{cursor:pointer}
@media(max-width:820px){
  .sidebar{overflow:visible}
  .sidebar nav{overflow-x:auto;overflow-y:hidden;padding-right:0;padding-bottom:4px}
  .side-foot{display:flex;margin-top:8px;padding:9px 4px 0;align-items:center;justify-content:space-between;gap:10px;background:transparent}
  .side-account{display:flex;min-width:0;flex:1;padding:0}
  .side-account-avatar{width:34px;height:34px;border-radius:10px;font-size:13px}
  .side-account-copy strong{font-size:10px}
  .side-account-copy small{font-size:8px}
  .side-logout{width:auto;min-height:34px;padding:6px 9px;flex:0 0 auto}
  .side-logout span{width:20px;height:20px;font-size:12px}
  .side-logout strong{font-size:9px}
}
@media(max-width:480px){
  .side-account-copy{display:none}
  .side-foot{justify-content:flex-end}
  .side-account{flex:0 0 auto}
  .side-logout strong{display:none}
  .side-logout{width:34px;height:34px;min-height:34px;padding:0;justify-content:center;border-radius:10px}
  .side-logout span{background:transparent}
}

.lecturer-login-screen{min-height:100vh;display:grid;place-items:center;padding:80px 22px 42px;position:relative;overflow:hidden;background:
radial-gradient(circle at 16% 17%,rgba(168,85,247,.28) 0 12%,transparent 34%),
radial-gradient(circle at 86% 84%,rgba(6,182,212,.24) 0 12%,transparent 34%),
linear-gradient(135deg,#171139 0%,#2828a7 43%,#146fd1 100%);color:#fff;isolation:isolate}
.lecturer-login-screen:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.025),transparent 38%,rgba(34,211,238,.035));pointer-events:none;z-index:-1}
.lecturer-login-shape{position:absolute;pointer-events:none;filter:blur(.2px);opacity:.82}
.lecturer-login-shape.shape-a{width:390px;height:390px;left:-175px;top:-155px;background:linear-gradient(135deg,#d946ef,#a855f7);border-radius:50%}
.lecturer-login-shape.shape-b{width:480px;height:480px;right:-220px;bottom:-205px;background:linear-gradient(135deg,#06b6d4,#22d3ee);border-radius:50%}
.lecturer-login-shape.shape-c{width:150px;height:150px;right:12%;top:12%;background:rgba(99,102,241,.2);border:1px solid rgba(255,255,255,.08);border-radius:42px;transform:rotate(22deg)}
.lecturer-spark{opacity:.55}
.lecturer-login-home{position:absolute;top:22px;left:25px;z-index:4;display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(8,12,35,.24);backdrop-filter:blur(12px);color:#e9e7ff;font-size:10px;font-weight:850;transition:.16s}
.lecturer-login-home:hover{background:rgba(255,255,255,.1);color:#fff;transform:translateY(-1px)}
.lecturer-login-card{position:relative;z-index:3;width:min(430px,100%);padding:25px;border:1px solid rgba(255,255,255,.17);border-radius:28px;background:linear-gradient(160deg,rgba(12,19,56,.88),rgba(14,23,65,.75));box-shadow:0 34px 90px rgba(5,10,35,.44),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(24px)}
.lecturer-login-card:after{content:"";position:absolute;inset:1px;border-radius:27px;background:linear-gradient(145deg,rgba(255,255,255,.035),transparent 36%);pointer-events:none}
.lecturer-login-brand{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;max-width:285px;margin:0 auto 19px;padding:10px 13px;border-radius:17px;background:rgba(7,15,55,.64);border:1px solid rgba(129,140,248,.16);box-shadow:0 13px 30px rgba(0,0,0,.17)}
.lecturer-login-brand img{display:block;width:min(245px,86vw);height:auto}
.lecturer-login-heading{position:relative;z-index:1;text-align:center;margin-bottom:19px}
.lecturer-login-heading>span{font-size:8px;font-weight:950;letter-spacing:.16em;color:#c4b5fd}
.lecturer-login-heading h1{margin:7px 0 4px;color:#fff;font-size:27px;line-height:1.15;letter-spacing:-.02em}
.lecturer-login-heading p{margin:0;color:#aeb9dc;font-size:10px}
.lecturer-login-form{position:relative;z-index:1;display:grid;gap:12px}
.lecturer-login-form>label{display:grid;gap:6px;color:#e8eaff;font-size:9px;font-weight:850}
.lecturer-login-field{min-height:48px;display:grid;grid-template-columns:28px minmax(0,1fr) 35px;align-items:center;padding:0 8px 0 10px;border-radius:14px;background:rgba(255,255,255,.075);border:1px solid rgba(196,181,253,.18);transition:.16s}
.lecturer-login-field:focus-within{background:rgba(255,255,255,.105);border-color:#a78bfa;box-shadow:0 0 0 3px rgba(139,92,246,.14)}
.lecturer-login-field>span{color:#c4b5fd;font-size:12px;text-align:center}
.lecturer-login-field input{width:100%;height:45px;padding:0 7px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#fff!important;font-size:12px}
.lecturer-login-field input::placeholder{color:#8390b5}
.lecturer-login-field input:-webkit-autofill,.lecturer-login-field input:-webkit-autofill:hover,.lecturer-login-field input:-webkit-autofill:focus{-webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 1000px #20284f inset!important;transition:background-color 9999s ease-out}
.lecturer-login-form label:first-child .lecturer-login-field{grid-template-columns:28px minmax(0,1fr)}
.login-password-toggle{width:31px;height:31px;border:0;border-radius:9px;background:transparent;color:#c4b5fd;display:grid;place-items:center;cursor:pointer;font-size:13px;transition:.15s}
.login-password-toggle:hover{background:rgba(255,255,255,.1);color:#fff}
.login-password-toggle:focus-visible{outline:2px solid #a78bfa;outline-offset:1px}
.lecturer-login-submit{min-height:48px;margin-top:4px;border:0;border-radius:14px;background:linear-gradient(135deg,#8b5cf6,#3b82f6 62%,#0ea5e9);color:#fff;display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;font-weight:950;letter-spacing:.02em;box-shadow:0 15px 28px rgba(59,130,246,.21);cursor:pointer;transition:.16s}
.lecturer-login-submit span{width:23px;height:23px;border-radius:8px;background:rgba(255,255,255,.14);display:grid;place-items:center}
.lecturer-login-submit:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 18px 34px rgba(59,130,246,.27)}
.lecturer-login-submit:active{transform:translateY(0)}
.lecturer-login-back{position:relative;z-index:1;display:block;width:max-content;max-width:100%;margin:17px auto 0;color:#aeb9dc;font-size:9px;font-weight:750;text-align:center}
.lecturer-login-back:hover{color:#fff}
.lecturer-login-mark{position:absolute;z-index:1;left:calc(50% + 225px);top:calc(50% - 235px);width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;display:grid;place-items:center;font-size:24px;transform:rotate(10deg);box-shadow:0 16px 34px rgba(245,158,11,.22);opacity:.8}
@media(max-width:620px){
  .lecturer-login-screen{padding:72px 16px 28px;place-items:start center}
  .lecturer-login-card{padding:21px 18px;border-radius:23px}
  .lecturer-login-brand{max-width:250px;margin-bottom:16px}
  .lecturer-login-brand img{width:min(215px,82vw)}
  .lecturer-login-heading h1{font-size:24px}
  .lecturer-login-home{top:16px;left:16px}
  .lecturer-login-mark{display:none}
  .lecturer-login-shape.shape-a{width:250px;height:250px;left:-120px;top:-100px}
  .lecturer-login-shape.shape-b{width:320px;height:320px;right:-170px;bottom:-120px}
}
@media(max-height:650px) and (min-width:621px){
  .lecturer-login-screen{padding:56px 18px 24px}
  .lecturer-login-card{padding:19px 22px}
  .lecturer-login-brand{margin-bottom:12px;padding:7px 11px}
  .lecturer-login-brand img{width:210px}
  .lecturer-login-heading{margin-bottom:13px}
  .lecturer-login-heading h1{font-size:23px}
  .lecturer-login-field{min-height:43px}
  .lecturer-login-field input{height:40px}
  .lecturer-login-submit{min-height:43px}
}

.lecturer-login-heading>span{color:#c4b5fd}
.lecturer-login-heading h1{margin-top:8px}
.lecturer-login-heading p{margin-top:5px}

.lecturer-course-empty{grid-column:1/-1;min-height:86px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:18px;border:1px dashed #d8d5e8;border-radius:16px;background:linear-gradient(135deg,#fbfbff,#f7f5ff);color:#77738d;font-size:11px}
.lecturer-course-empty .btn{margin:0}
.course-name-static{cursor:default}
.course-assigned-note{display:inline-flex;align-items:center;min-height:31px;padding:6px 9px;border:1px dashed #ddd6fe;border-radius:10px;background:#faf8ff;color:#7c6f9b;font-size:8px;font-weight:750}
.semester-master-empty{padding:24px;text-align:center;color:var(--muted)}

.group-mode-help{margin-top:10px;padding:10px 12px;border-radius:12px;background:#f8f7ff;border:1px solid #ede9fe;color:#6b6482;font-size:10px;line-height:1.45}
.team-mode-note{margin-top:8px!important;font-size:9px!important}
.team-up-host{padding:17px;border-radius:21px;background:linear-gradient(145deg,#17133a,#262267 60%,#1d4ed8);color:#fff;box-shadow:0 18px 38px rgba(30,41,59,.18)}
.team-up-host-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.team-up-host-head .eyebrow{color:#c4b5fd}.team-up-host-head h2{margin:4px 0 0;font-size:20px}.team-up-host-head .btn{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);color:#fff}.team-up-host-head .btn.primary{background:linear-gradient(135deg,#8b5cf6,#3b82f6)}
.team-up-pulse{display:flex;align-items:center;gap:9px;margin-bottom:11px}
.team-up-pulse>div{display:flex;align-items:baseline;gap:4px;padding:8px 11px;border-radius:12px;background:rgba(255,255,255,.085)}
.team-up-pulse b{font-size:17px}.team-up-pulse span{font-size:8px;color:#d7ddf7}
.team-up-timer{margin-left:auto!important;color:#fff}.team-up-timer.urgent{background:#b91c1c!important;animation:qgTimerPulse .6s ease-in-out infinite alternate}
.team-up-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px}
.team-up-group{min-height:135px;padding:11px;border-radius:15px;background:rgba(255,255,255,.96);color:#1f2937;border-top:4px solid #8b5cf6}
.team-up-group.blue{border-color:#3b82f6}.team-up-group.green{border-color:#10b981}.team-up-group.orange{border-color:#f59e0b}.team-up-group.pink{border-color:#ec4899}.team-up-group.cyan{border-color:#06b6d4}
.team-up-group.full{opacity:.82}
.team-up-group header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.team-up-group header span{font-size:10px;font-weight:950}.team-up-group header b{font-size:9px;padding:4px 6px;border-radius:999px;background:#f3f4f6}
.team-up-group>div{display:flex;flex-wrap:wrap;gap:5px}.team-up-group>div>small{color:#9ca3af;font-size:8px}
.team-person{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:999px;background:#f5f3ff;font-size:8px;font-weight:800}.team-person i{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#7c3aed;color:#fff;font-size:7px;font-style:normal}
.team-unassigned{margin-top:11px;padding:11px;border-radius:15px;background:rgba(255,255,255,.08)}.team-unassigned .eyebrow{color:#facc15}.team-unassigned h3{margin:3px 0 0;font-size:14px}
.team-unassigned-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px;margin-top:8px}.team-unassigned-list>div{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:7px 8px;border-radius:10px;background:rgba(255,255,255,.08)}.team-unassigned-list strong,.team-unassigned-list small{display:block}.team-unassigned-list strong{font-size:9px}.team-unassigned-list small{font-size:7px;color:#cbd5e1}
.student-team-up{padding:3px}
.student-team-up-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:13px}.student-team-up-head>div>span{font-size:9px;font-weight:950;letter-spacing:.12em;color:#7c3aed}.student-team-up-head h2{margin:5px 0 3px!important;font-size:22px!important}.student-team-up-head p{margin:0;color:#64748b;font-size:10px;line-height:1.4}
.student-team-timer{min-width:66px;height:58px;border-radius:17px;background:#312e81;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:950}
.student-team-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.student-team-card{min-height:155px;border-radius:17px;padding:11px;background:#fff;border:2px solid #ddd6fe;display:flex;flex-direction:column;overflow:hidden}.student-team-card.team-c0{border-color:#a78bfa}.student-team-card.team-c1{border-color:#60a5fa}.student-team-card.team-c2{border-color:#34d399}.student-team-card.team-c3{border-color:#fbbf24}.student-team-card.team-c4{border-color:#f472b6}.student-team-card.team-c5{border-color:#22d3ee}
.student-team-card.chosen{box-shadow:0 0 0 3px rgba(124,58,237,.13);background:#faf5ff}.student-team-card.full:not(.chosen){opacity:.62}
.student-team-card header{display:flex;align-items:center;justify-content:space-between;gap:6px}.student-team-card header strong{font-size:11px}.student-team-card header b{font-size:8px;padding:4px 6px;border-radius:999px;background:#f3f4f6}
.student-team-people{display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px;flex:1;margin:9px 0}.student-team-people span{padding:4px 6px;border-radius:999px;background:#f3f4f6;font-size:8px}.student-team-people small{color:#9ca3af;font-size:8px}
.student-team-card>button{min-height:35px;border:0;border-radius:10px;background:#6d28d9;color:#fff;font-size:9px;font-weight:900}.student-team-card>button:disabled{background:#d1d5db;color:#6b7280}.student-team-card.chosen>button{background:#059669}
.team-wait{background:linear-gradient(145deg,#172554,#312e81)!important}
.group-activity-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){.team-up-host-head{display:grid}.team-up-host-head .actions{justify-content:flex-start}.team-up-grid{grid-template-columns:1fr 1fr}.student-team-grid{grid-template-columns:1fr}.group-activity-summary{grid-template-columns:1fr 1fr}.team-up-pulse{flex-wrap:wrap}.team-up-timer{margin-left:0!important}}
@media(max-width:480px){.team-up-grid{grid-template-columns:1fr}}

.team-live-hint{display:block;margin-top:4px;color:#cbd5e1;font-size:8px;font-weight:650}

.rubric-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
.rubric-modal-head h3{margin:4px 0 3px;font-size:19px}.rubric-modal-head p{margin:0;color:var(--muted);font-size:9px}
.rubric-final{min-width:116px;padding:10px 12px;border-radius:15px;background:linear-gradient(145deg,#1e1b4b,#312e81);color:#fff;text-align:center;box-shadow:0 10px 22px rgba(49,46,129,.18)}
.rubric-final span,.rubric-final small{display:block;font-size:7px;color:#c7d2fe}.rubric-final b{display:block;margin:2px 0;font-size:25px;line-height:1}
.rubric-criteria{display:grid;gap:8px;margin:11px 0}
.rubric-criterion{display:block!important;padding:11px 12px!important;border:1px solid #e7e5f4;border-radius:14px;background:#fbfaff}
.rubric-criterion>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.rubric-criterion strong{font-size:10px}.rubric-criterion>div>span{padding:3px 6px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:7px;font-weight:900}
.rubric-criterion p{margin:4px 0 8px;color:#77738d;font-size:8px;line-height:1.4}.rubric-criterion select{margin:0!important;background:#fff}
.group-rubric-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:8px 0}.group-rubric-mini>span{display:grid;grid-template-columns:1fr auto;gap:1px 5px;padding:6px 7px;border-radius:10px;background:#f8f7ff;color:#716b87;font-size:7px}.group-rubric-mini b{color:#2f2a47;font-size:9px}.group-rubric-mini small{grid-column:1/-1;color:#9b95ac;font-size:6px}
@media(max-width:520px){.rubric-modal-head{display:grid}.rubric-final{width:100%;box-sizing:border-box}.group-rubric-mini{grid-template-columns:1fr}}

button.is-busy,button:disabled.is-busy{cursor:wait!important;opacity:.72!important;pointer-events:none!important}

/* v1.8.27 Quick Game Fullscreen Lobby */
.quick-lobby-control-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:11px 14px;border:1px solid #e7e5f4;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 10px 24px rgba(30,41,59,.06)}
.quick-lobby-ready{display:flex;align-items:center;gap:10px;min-width:0}.quick-lobby-ready>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#ede9fe;font-size:18px}.quick-lobby-ready>div{display:grid}.quick-lobby-ready b{font-size:20px;line-height:1}.quick-lobby-ready small{font-size:8px;color:var(--muted);margin-top:3px}.quick-lobby-ready em{margin-left:8px;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:950;font-style:normal;letter-spacing:.06em}.quick-lobby-ready em.open{background:#dcfce7;color:#166534}.quick-lobby-ready em.locked{background:#fee2e2;color:#991b1b}.quick-lobby-control-bar .quick-host-lobby-actions{margin:0;flex:0 0 auto}
.quick-game-presentation .main{padding:10px 16px;overflow:auto}
.quick-game-presentation .quick-host-top{min-height:64px;margin-bottom:8px}
.quick-game-presentation .quick-host-top h1{font-size:28px}
.quick-game-presentation .quick-host-lobby{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px;min-height:calc(100vh - 92px)}
.quick-game-presentation .quick-host-access{min-height:0!important;height:clamp(350px,52vh,500px);grid-template-columns:minmax(0,1fr) minmax(250px,300px);gap:14px;margin-bottom:0}
.quick-game-presentation .quick-host-access .quick-host-code{min-height:0;height:100%;padding:18px}
.quick-game-presentation .quick-host-access .quick-host-code>b{font-size:clamp(62px,7vw,98px);margin:7px 0}
.quick-game-presentation .quick-host-qr-card{min-height:0;height:100%;padding:12px;box-sizing:border-box}
.quick-game-presentation .quick-host-qr{width:min(220px,19vw);height:min(220px,19vw);min-width:160px;min-height:160px}
.quick-game-presentation .quick-lobby-control-bar{margin:0;padding:9px 13px;position:sticky;top:0;z-index:8;box-shadow:0 12px 28px rgba(15,23,42,.1)}
.quick-game-presentation .quick-lobby-ready b{font-size:23px}
.quick-game-presentation .quick-host-lobby-actions .btn{min-width:120px}
.quick-game-presentation .game-start-big{min-width:170px}
.quick-game-presentation .quick-host-player-box.game-show-players{min-height:0;max-height:230px;overflow:auto;padding:12px 14px;border-radius:18px}
.quick-game-presentation .quick-host-player-box .section-head{margin-bottom:3px}
.quick-game-presentation .quick-host-player-box .section-head h2{font-size:17px}
.quick-game-presentation .quick-player-waiting,.quick-game-presentation .quick-player-join-note{margin-top:5px;padding:7px 10px}
.quick-game-presentation .quick-player-waiting span,.quick-game-presentation .quick-player-join-note{font-size:11px}
.quick-game-presentation .quick-host-player-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:7px;margin-top:7px}
.quick-game-presentation .quick-player-card{min-height:74px;padding:7px 8px;border-radius:14px;gap:4px;grid-template-columns:34px minmax(0,1fr);justify-items:start;align-items:center}
.quick-game-presentation .quick-player-avatar{width:34px;height:34px;font-size:13px;grid-row:1/3}
.quick-game-presentation .quick-player-card strong{font-size:10px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.quick-game-presentation .quick-player-card small{font-size:6px;padding:3px 6px}
@media(max-height:760px) and (min-width:901px){
  .quick-game-presentation .quick-host-top{min-height:54px}
  .quick-game-presentation .quick-host-top h1{font-size:23px}
  .quick-game-presentation .quick-host-access{height:45vh;min-height:290px}
  .quick-game-presentation .quick-host-player-box.game-show-players{max-height:175px}
  .quick-game-presentation .quick-host-qr{width:150px;height:150px;min-width:140px;min-height:140px}
}
@media(max-width:900px){
  .quick-lobby-control-bar{align-items:stretch;flex-direction:column}
  .quick-lobby-control-bar .quick-host-lobby-actions{justify-content:stretch}
  .quick-lobby-control-bar .quick-host-lobby-actions .btn{flex:1}
  .quick-game-presentation .quick-host-lobby{display:block}
  .quick-game-presentation .quick-host-access{height:auto;grid-template-columns:1fr}
  .quick-game-presentation .quick-host-qr-card{height:auto}
  .quick-game-presentation .quick-host-qr{width:180px;height:180px}
  .quick-game-presentation .quick-host-player-box.game-show-players{max-height:none}
}

/* v1.8.27 Quick Game QR Focus Mode */
.quick-host-qr-click{display:grid;place-items:center;padding:0;border:0;background:transparent;border-radius:16px;cursor:zoom-in}
.quick-host-qr-click:focus-visible{outline:3px solid #8b5cf6;outline-offset:4px}
.quick-qr-enlarge-btn{margin-top:9px;border:1px solid #ddd6fe;background:#f5f3ff;color:#5b21b6;border-radius:10px;padding:7px 10px;font-size:8px;font-weight:900;cursor:pointer}
.quick-qr-enlarge-btn:hover{background:#ede9fe;border-color:#a78bfa}
body.quick-qr-focus-open{overflow:hidden!important}
.quick-qr-focus{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:24px;background:rgba(10,10,30,.88);backdrop-filter:blur(12px);animation:quickQrFade .18s ease}
.quick-qr-focus-card{position:relative;width:min(720px,94vw);max-height:94vh;overflow:auto;display:grid;justify-items:center;text-align:center;padding:28px 30px 24px;border-radius:30px;background:#fff;box-shadow:0 34px 90px rgba(0,0,0,.42);animation:quickQrPop .2s ease}
.quick-qr-focus-close{position:absolute;right:16px;top:14px;width:40px;height:40px;border:0;border-radius:50%;background:#f1f5f9;color:#111827;font-size:26px;line-height:1;cursor:pointer}
.quick-qr-focus-label{margin-bottom:12px;color:#6d28d9;font-size:12px;font-weight:950;letter-spacing:.14em}
.quick-qr-focus-canvas{width:min(520px,68vh,78vw);height:min(520px,68vh,78vw);display:grid;place-items:center;padding:12px;border-radius:22px;background:#fff;box-shadow:inset 0 0 0 1px #e5e7eb}
.quick-qr-focus-canvas canvas,.quick-qr-focus-canvas img{width:100%!important;height:auto!important;max-width:100%;display:block}
.quick-qr-focus-pin{display:grid;justify-items:center;margin-top:12px}.quick-qr-focus-pin small{font-size:9px;font-weight:950;letter-spacing:.15em;color:#64748b}.quick-qr-focus-pin b{font-size:42px;line-height:1.1;letter-spacing:.12em;color:#312e81}
.quick-qr-focus-card p{margin:8px 0 14px;color:#64748b;font-size:11px}
.quick-qr-focus-done{min-width:120px}
@keyframes quickQrFade{from{opacity:0}to{opacity:1}}
@keyframes quickQrPop{from{opacity:0;transform:scale(.96) translateY(10px)}to{opacity:1;transform:none}}
@media(max-height:760px) and (min-width:700px){
  .quick-qr-focus-card{grid-template-columns:minmax(320px,1fr) 210px;grid-template-areas:"label label" "qr pin" "qr text" "qr close";column-gap:20px;align-items:center;width:min(800px,94vw)}
  .quick-qr-focus-label{grid-area:label}
  .quick-qr-focus-canvas{grid-area:qr;width:min(430px,62vh);height:min(430px,62vh)}
  .quick-qr-focus-pin{grid-area:pin;margin-top:0}
  .quick-qr-focus-pin b{font-size:34px}
  .quick-qr-focus-card p{grid-area:text}
  .quick-qr-focus-done{grid-area:close}
}
@media(max-width:560px){
  .quick-qr-focus{padding:12px}
  .quick-qr-focus-card{padding:24px 16px 18px;border-radius:22px}
  .quick-qr-focus-canvas{width:min(360px,82vw);height:min(360px,82vw);padding:8px}
  .quick-qr-focus-pin b{font-size:32px}
  .quick-qr-focus-close{right:10px;top:10px;width:34px;height:34px;font-size:22px}
}

/* v1.8.27 Quick Game Show Polish */
.quick-game-summary{margin-top:5px;color:#64748b;font-size:9px;font-weight:750;letter-spacing:.01em}
.quick-host-top>div:nth-child(2) .quick-game-summary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-start-big.is-waiting,.game-start-big:disabled{background:#e2e8f0!important;color:#64748b!important;box-shadow:none!important;animation:none!important;cursor:not-allowed!important;opacity:1!important}
.quick-host-player-grid.few{grid-template-columns:repeat(auto-fit,minmax(185px,245px));justify-content:start}
.quick-host-player-grid.few .quick-player-card{min-height:155px;padding:18px 15px}
.quick-host-player-grid.few .quick-player-avatar{width:68px;height:68px;font-size:26px}
.quick-host-player-grid.few .quick-player-card strong{font-size:19px}
.quick-game-presentation .quick-game-summary{font-size:8px}
.quick-game-presentation .quick-host-player-grid.few{grid-template-columns:repeat(auto-fit,minmax(155px,210px))}
.quick-game-presentation .quick-host-player-grid.few .quick-player-card{min-height:88px;padding:9px 10px}
.quick-game-presentation .quick-host-player-grid.few .quick-player-avatar{width:40px;height:40px;font-size:15px}
.quick-game-presentation .quick-host-player-grid.few .quick-player-card strong{font-size:11px}
@media(max-width:700px){.quick-host-player-grid.few{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-host-player-grid.few .quick-player-card{min-height:130px}}

/* v1.8.27 Quick Game Result Screen Polish */
.quick-host-results>div.correct{outline:4px solid #facc15;box-shadow:0 0 0 3px rgba(255,255,255,.72) inset,0 10px 24px rgba(250,204,21,.18)}
.quick-correct-badge{position:absolute;right:12px;bottom:12px;display:inline-flex!important;align-items:center;gap:4px;height:auto!important;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.94)!important;color:#166534!important;font-size:8px!important;font-weight:950;font-style:normal;letter-spacing:.06em;line-height:1!important;box-shadow:0 4px 12px rgba(15,23,42,.12);z-index:2}
.quick-host-answer-count.revealed{margin-top:14px;padding:10px 12px;border-radius:13px;background:#f5f3ff;color:#5b21b6;font-size:13px;font-weight:900;letter-spacing:.01em}
.quick-host-round.revealed{align-items:center}
.quick-round-timer.time-up{min-width:150px;display:flex;align-items:center;justify-content:flex-end}
.quick-time-up-text{font-size:18px!important;line-height:1!important;letter-spacing:.04em;color:#fff;white-space:nowrap}
.quick-game-presentation .quick-host-answer-count.revealed{font-size:14px;padding:10px 14px}
.quick-game-presentation .quick-correct-badge{font-size:9px!important;padding:6px 9px}
.quick-game-presentation .quick-time-up-text{font-size:20px!important}
@media(max-width:700px){
  .quick-correct-badge{right:8px;bottom:8px;font-size:7px!important}
  .quick-host-answer-count.revealed{font-size:11px}
  .quick-round-timer.time-up{min-width:112px}
  .quick-time-up-text{font-size:14px!important}
}

/* v1.8.27 150 Player Capacity & Lobby Rush */
.quick-capacity-rush{display:inline-flex;margin-top:8px;padding:7px 11px;border-radius:999px;background:#f5f3ff;color:#5b21b6;font-size:12px;font-weight:900}
.quick-capacity-rush.warm{background:#fff7ed;color:#9a3412}
.quick-capacity-rush.hot,.quick-capacity-rush.last{background:#fff1f2;color:#be123c;animation:qgRushPulse 1s ease-in-out infinite alternate}
.quick-capacity-rush.full{background:#dcfce7;color:#166534}
.quick-join-capacity{display:inline-flex;margin-top:10px;padding:7px 10px;border-radius:999px;background:#f5f3ff;color:#5b21b6;font-size:12px;font-weight:900}
.quick-lobby-full-card{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.quick-lobby-full-card strong{font-size:28px}
.quick-lobby-full-card span{padding:8px 12px;border-radius:999px;background:#fff1f2;color:#be123c;font-weight:950}
@keyframes qgRushPulse{from{transform:scale(1)}to{transform:scale(1.025)}}

/* v1.8.62 Organized Question Bank & Bulk MCQ Paste */
.question-bank-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.question-bank-overview h2{margin:4px 0 2px}
.bank-topic-strip{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px;scrollbar-width:thin}
.bank-topic-strip button{border:1px solid var(--border,#e5e7eb);background:#fff;border-radius:999px;padding:8px 12px;white-space:nowrap;font-weight:800;color:#4b5563;cursor:pointer}
.bank-topic-strip button span{display:inline-flex;margin-left:5px;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:#f3f4f6;font-size:11px}
.bank-topic-strip button.active{background:#ede9fe;border-color:#c4b5fd;color:#5b21b6}
.bank-modal-tools{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) minmax(150px,1fr);gap:8px;margin:10px 0 12px}
.bank-modal-tools input,.bank-modal-tools select{margin:0}
.bulk-mcq-modal{min-width:min(760px,86vw)}
.bulk-mcq-head h3{margin:4px 0}
.bulk-mcq-head p{margin:0 0 14px;color:#6b7280}
.bulk-mcq-text{min-height:320px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;line-height:1.55}
.bulk-format-hint{margin-top:8px;padding:10px 12px;border-radius:10px;background:#f8fafc;color:#475569;font-size:12px}
.bulk-format-hint code{background:#e2e8f0;padding:2px 5px;border-radius:5px}
.bulk-preview-summary{display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding:11px 12px;border-radius:10px;font-size:13px}
.bulk-preview-summary.ok{background:#ecfdf5;color:#166534}.bulk-preview-summary.has-error{background:#fff7ed;color:#9a3412}
.bulk-preview-list{max-height:280px;overflow:auto;margin-top:8px;border:1px solid #e5e7eb;border-radius:12px}
.bulk-preview-list article{display:flex;gap:10px;padding:10px 12px;border-bottom:1px solid #f1f5f9}
.bulk-preview-list article:last-child{border-bottom:0}.bulk-preview-list article>span{font-weight:900}
.bulk-preview-list article.valid>span{color:#16a34a}.bulk-preview-list article.invalid>span{color:#ea580c}
.bulk-preview-list strong{display:block;font-size:13px}.bulk-preview-list small{display:block;margin-top:3px;color:#64748b}
@media(max-width:760px){.question-bank-overview{align-items:flex-start;flex-direction:column}.bank-modal-tools{grid-template-columns:1fr}.bulk-mcq-modal{min-width:0}.bulk-mcq-text{min-height:260px}}

/* v1.8.62 Bulk Import Visibility Hotfix */
.bank-bulk-main-btn{display:inline-flex!important;align-items:center;gap:7px;min-width:190px;justify-content:center}
.bank-bulk-secondary-btn{display:inline-flex!important;align-items:center;gap:7px}
@media(max-width:760px){.bank-bulk-main-btn{min-width:0}}

/* v1.8.62 Question Bank UI Polish */
.question-bank-overview{
  min-height:0;
  padding-top:18px!important;
  padding-bottom:18px!important;
  margin-bottom:14px;
}
.question-bank-overview>div{max-width:820px}
.question-bank-overview h2{margin:3px 0 0}
.question-bank-overview .muted{margin:5px 0 0;line-height:1.45}
.question-bank-tools{margin-top:0}
.bank-count span{text-transform:none}
.bank-topic-label{text-transform:capitalize}
#bankCategoryFilter,#bankCategoryFilter option{text-transform:capitalize}
.bank-topic-strip{padding-top:0}
@media(max-width:760px){
  .question-bank-overview{padding-top:15px!important;padding-bottom:15px!important}
}

/* v1.8.62 Quick Game Bank Filter Fix */
.quick-game-pick label.hidden,
.quick-game-pick label[hidden]{display:none!important}
.quick-game-bank-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 6px;color:#64748b}
.quick-game-bank-status span{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#f5f3ff;color:#6d28d9;font-size:11px;font-weight:900}
.quick-game-bank-status small{font-size:10px}
@media(max-width:760px){.quick-game-bank-status{align-items:flex-start;flex-direction:column;gap:5px}}

/* v1.8.62 Quick Game Question Picker Refinement */
.quick-game-builder-modal{
  max-width:940px;
  height:min(820px,calc(100vh - 48px));
  max-height:calc(100vh - 48px);
  overflow:hidden;
  padding:0;
  border-radius:24px;
}
.quick-game-builder-modal>.modal-close{
  z-index:3;
  top:16px;
  right:16px;
}
.quick-game-builder{
  height:100%;
  min-height:0;
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr) auto;
}
.qg-builder-head{
  padding:22px 26px 8px;
}
.qg-builder-head span{
  display:block;
  color:#7c3aed;
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
}
.qg-builder-head h3{
  margin:4px 0 2px;
  font-size:23px;
}
.qg-builder-head p{
  margin:0;
  color:#64748b;
  font-size:11px;
}
.qg-builder-config{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(220px,.7fr);
  gap:12px;
  padding:8px 26px 14px;
}
.qg-builder-config label{margin:0}
.qg-bank-panel{
  min-height:0;
  display:grid;
  grid-template-rows:auto auto auto minmax(0,1fr);
  margin:0 26px;
  border:1px solid #e5e7eb;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}
.qg-bank-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 15px 9px;
}
.qg-bank-title strong{
  display:block;
  font-size:13px;
}
.qg-bank-title small{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:10px;
}
.qg-bank-counts{
  display:flex;
  gap:7px;
  flex-shrink:0;
}
.qg-bank-counts span{
  padding:6px 9px;
  border-radius:999px;
  background:#f5f3ff;
  color:#6d28d9;
  font-size:10px;
  font-weight:800;
}
.qg-bank-counts b{font-size:12px}
.qg-filter-grid{
  display:grid;
  grid-template-columns:minmax(180px,1.25fr) minmax(170px,.85fr) minmax(160px,.8fr);
  gap:8px;
  padding:0 15px 10px;
}
.qg-filter-grid label{
  gap:4px;
  margin:0;
}
.qg-filter-grid label>span{
  color:#475569;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.qg-filter-grid input,.qg-filter-grid select{
  min-height:40px;
  padding:8px 10px;
  border-radius:10px;
  font-size:12px;
}
.qg-selection-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 15px;
  border-top:1px solid #f1f5f9;
  border-bottom:1px solid #e5e7eb;
  background:#f8fafc;
}
.qg-selection-toolbar>small{
  color:#64748b;
  font-size:10px;
}
.qg-selection-toolbar>div{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.qg-selection-toolbar .btn{
  padding:6px 9px;
  font-size:9px;
}
.quick-game-builder .quick-game-pick{
  min-height:0;
  max-height:none;
  overflow:auto;
  padding:8px;
  display:grid;
  gap:6px;
  align-content:start;
  scrollbar-gutter:stable;
}
.quick-game-builder .quick-game-pick label{
  margin:0;
  min-height:0;
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  transition:border-color .15s,background .15s,box-shadow .15s;
}
.quick-game-builder .quick-game-pick label:hover{
  border-color:#c4b5fd;
  background:#faf8ff;
}
.quick-game-builder .quick-game-pick label.selected{
  border-color:#a78bfa;
  background:#f7f4ff;
  box-shadow:0 0 0 2px rgba(139,92,246,.08);
}
.quick-game-builder .quick-game-pick label.hidden,
.quick-game-builder .quick-game-pick label[hidden]{display:none!important}
.quick-game-builder .qg-pick{
  width:18px;
  height:18px;
  margin:0;
  accent-color:#7c3aed;
}
.qg-pick-copy{
  min-width:0;
}
.qg-pick-copy>b{
  display:block;
  color:#172033;
  font-size:11px;
  line-height:1.35;
  font-weight:850;
}
.qg-pick-copy>small{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:5px;
  color:#64748b;
  font-size:9px;
  font-weight:700;
}
.qg-pick-copy>small em{
  font-style:normal;
  padding:3px 6px;
  border-radius:999px;
  background:#f3e8ff;
  color:#7e22ce;
  font-weight:900;
}
.qg-builder-foot{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:14px 26px 18px;
  border-top:1px solid #e5e7eb;
  background:#fff;
}
.qg-builder-foot .btn{
  min-width:104px;
}
.qg-builder-foot .btn.primary{
  min-width:170px;
}
.qg-builder-foot .btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}
@media(max-width:760px){
  .quick-game-builder-modal{
    width:calc(100vw - 20px);
    height:calc(100vh - 20px);
    max-height:calc(100vh - 20px);
    border-radius:18px;
  }
  .qg-builder-head{padding:18px 16px 6px}
  .qg-builder-config{grid-template-columns:1fr;padding:8px 16px 12px}
  .qg-bank-panel{margin:0 16px}
  .qg-filter-grid{grid-template-columns:1fr;padding:0 10px 10px}
  .qg-bank-title{align-items:flex-start;flex-direction:column;padding:11px 10px 8px}
  .qg-selection-toolbar{align-items:flex-start;flex-direction:column;padding:8px 10px}
  .qg-selection-toolbar>div{justify-content:flex-start}
  .qg-builder-foot{padding:11px 16px 14px}
  .qg-builder-foot .btn.primary{min-width:0}
}

/* v1.8.62 Quick Game Selected Questions Workflow */
.quick-game-builder-modal{max-width:1080px}
.qg-builder-main{
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);
  gap:12px;
  padding:0 26px;
}
.qg-builder-main .qg-bank-panel{margin:0}
.quick-game-builder .quick-game-pick{
  padding:10px;
  gap:8px;
}
.quick-game-builder .quick-game-pick label{
  min-height:74px;
  padding:12px 13px;
  align-items:flex-start;
}
.qg-pick-copy>b{
  font-size:12px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.qg-pick-copy>small{margin-top:7px;gap:7px}
.qg-filter-empty{
  padding:32px 16px;
  text-align:center;
  color:#64748b;
  font-size:11px;
}
.qg-selected-panel{
  min-height:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}
.qg-selected-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:13px 14px;
  border-bottom:1px solid #e5e7eb;
}
.qg-selected-head strong,.qg-selected-head small{display:block}
.qg-selected-head strong{font-size:13px}
.qg-selected-head small{margin-top:2px;color:#64748b;font-size:9px}
.qg-selected-head button{
  border:0;
  background:transparent;
  color:#dc2626;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.qg-selected-empty{
  align-self:center;
  justify-self:center;
  text-align:center;
  padding:24px;
  color:#64748b;
}
.qg-selected-empty>span{
  width:42px;height:42px;margin:0 auto 8px;border-radius:14px;
  display:grid;place-items:center;background:#f5f3ff;color:#7c3aed;font-size:18px;font-weight:900
}
.qg-selected-empty strong,.qg-selected-empty small{display:block}
.qg-selected-empty strong{color:#334155;font-size:11px}
.qg-selected-empty small{margin-top:4px;font-size:9px}
.qg-selected-list{
  min-height:0;
  overflow:auto;
  padding:8px;
  display:grid;
  gap:6px;
  align-content:start;
}
.qg-selected-row{
  display:grid;
  grid-template-columns:26px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:9px;
  border:1px solid #e5e7eb;
  border-radius:11px;
  background:#fafafa;
}
.qg-selected-no{
  width:26px;height:26px;border-radius:8px;
  display:grid;place-items:center;
  background:#ede9fe;color:#6d28d9;
  font-size:10px;font-weight:950;
}
.qg-selected-row strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:10px;
  line-height:1.35;
}
.qg-selected-row small{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:8px;
}
.qg-selected-actions{
  display:flex;
  gap:3px;
}
.qg-selected-actions button{
  width:24px;height:24px;padding:0;border:1px solid #e5e7eb;border-radius:7px;
  background:#fff;color:#475569;cursor:pointer;font-size:11px;font-weight:900;
}
.qg-selected-actions button:disabled{opacity:.28;cursor:not-allowed}
.qg-selected-actions button.remove{color:#dc2626}
@media(max-width:900px){
  .qg-builder-main{grid-template-columns:1fr}
  .qg-selected-panel{max-height:230px}
}
@media(max-width:760px){
  .qg-builder-main{padding:0 16px}
  .quick-game-builder .quick-game-pick label{min-height:70px}
}

/* v1.8.62 Event */
.event-page-head p,.event-editor-head p{margin:4px 0 0;color:var(--muted)}
.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.event-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 14px 34px rgba(15,23,42,.07)}
.event-card-top,.event-meta,.event-card-actions{display:flex;align-items:center;gap:8px}
.event-card-top{justify-content:space-between;color:var(--muted);font-size:10px}
.event-status{padding:5px 8px;border-radius:999px;font-weight:900}
.event-status.draft{background:#f1f5f9;color:#475569}.event-status.ready{background:#dcfce7;color:#166534}.event-status.running{background:#ede9fe;color:#6d28d9}.event-status.completed{background:#dbeafe;color:#1d4ed8}
.event-card h2{margin:12px 0 6px}.event-card p{min-height:34px;margin:0;color:var(--muted);font-size:11px}
.event-meta{margin:14px 0;color:#64748b;font-size:10px}.event-card-actions{flex-wrap:wrap}
.event-empty{text-align:center;padding:42px}.event-empty>div{font-size:38px;color:#7c3aed}.event-empty h2{margin:6px}.event-empty p{color:var(--muted)}
.event-back{display:block;margin-bottom:5px;color:#6d28d9;font-size:10px;font-weight:900}
.event-tabs{display:flex;gap:7px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.event-tabs a{padding:10px 13px;color:#64748b;font-size:11px;font-weight:900;border-bottom:2px solid transparent}.event-tabs a.active{color:#6d28d9;border-bottom-color:#7c3aed}
.event-summary-grid{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(120px,.5fr));gap:12px}
.event-summary-main h2{margin:6px 0}.event-summary-main p{color:var(--muted)}
.event-summary-metric{display:grid;place-items:center;text-align:center}.event-summary-metric b{font-size:32px;color:#6d28d9}.event-summary-metric span{font-size:10px;color:var(--muted);font-weight:800}
.event-section-head{margin-bottom:10px}.event-rundown{display:grid;gap:8px}
.event-rundown-row{display:grid;grid-template-columns:34px 42px minmax(0,1fr) auto;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:11px 12px}
.event-order{width:30px;height:30px;border-radius:9px;background:#f5f3ff;color:#6d28d9;display:grid;place-items:center;font-weight:950}
.event-type-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eef2ff;font-size:18px}.event-type-icon.quick_game{background:#f3e8ff}.event-type-icon.poll{background:#e0f2fe}.event-type-icon.interaction{background:#fef3c7}
.event-rundown-main>div{display:flex;gap:8px;color:#64748b;font-size:9px;font-weight:900;text-transform:uppercase}.event-rundown-main h3{margin:3px 0;font-size:13px}.event-rundown-main p{margin:0;color:var(--muted);font-size:10px}
.event-rundown-actions{display:flex;gap:5px}
.event-content-list{display:grid;gap:10px}.event-content-card{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px}.event-content-number{width:34px;height:34px;border-radius:10px;background:#ede9fe;color:#6d28d9;display:grid;place-items:center;font-weight:950}.event-content-card h3{margin:4px 0}.event-content-card p{margin:0;color:var(--muted)}
.event-poll-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.event-poll-options span{display:flex;gap:7px;padding:8px;border-radius:10px;background:#f8fafc}.event-poll-options b{color:#6d28d9}
.event-item-extra{padding:10px;border-radius:12px;background:#f8fafc;margin:8px 0 10px}.event-bank-picker{max-height:260px;overflow:auto;display:grid;gap:6px}.event-bank-picker label{display:grid;grid-template-columns:20px 1fr;gap:8px;align-items:start;padding:8px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;margin:0}.event-bank-picker label[hidden]{display:none!important}.event-bank-picker input{width:16px;height:16px}.event-bank-picker b,.event-bank-picker small{display:block}.event-bank-picker b{font-size:10px}.event-bank-picker small{margin-top:3px;color:var(--muted);font-size:8px}
.event-runner{max-width:1080px;margin:0 auto}.event-runner-top{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;margin-bottom:12px}.event-runner-top>div:nth-child(2) span{font-size:9px;color:#7c3aed;font-weight:950;letter-spacing:.12em}.event-runner-top h1{margin:3px 0}.event-runner-progress{text-align:right}.event-runner-progress b,.event-runner-progress span{display:block}.event-runner-progress b{font-size:24px}.event-runner-progress span{font-size:9px;color:var(--muted)}
.event-progress-bar{height:7px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin-bottom:14px}.event-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#7c3aed,#2563eb);border-radius:999px}
.event-run-card{min-height:420px;border-radius:28px;background:linear-gradient(145deg,#fff,#f8fafc);border:1px solid var(--line);box-shadow:0 25px 60px rgba(15,23,42,.1);padding:46px;display:grid;align-content:center;justify-items:center;text-align:center}.event-run-card.quick_game{background:linear-gradient(145deg,#faf5ff,#eff6ff)}.event-run-card.poll{background:linear-gradient(145deg,#eff6ff,#ecfeff)}
.event-run-kicker{font-size:10px;color:#7c3aed;font-weight:950;letter-spacing:.12em}.event-run-card h2{font-size:36px;max-width:820px;margin:12px auto}.event-run-card>p{max-width:720px;color:#64748b;font-size:14px;line-height:1.65}
.event-run-action{margin-top:20px;display:flex;align-items:center;gap:20px;padding:15px 18px;border-radius:18px;background:#fff;border:1px solid #ddd6fe}.event-run-action>div{display:grid;grid-template-columns:34px 1fr;column-gap:8px;text-align:left}.event-run-action>div>span{grid-row:1/3;font-size:28px}.event-run-action strong,.event-run-action small{display:block}.event-run-action small{color:var(--muted)}
.event-run-poll{width:min(760px,100%);display:grid;gap:9px;margin-top:20px}.event-run-poll h3{font-size:22px}.event-run-poll>div{display:grid;grid-template-columns:38px 1fr;align-items:center;text-align:left;padding:12px;border-radius:14px;background:#fff;border:1px solid #dbeafe}.event-run-poll b{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#2563eb;color:#fff}
.event-runner-controls{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-top:14px}.event-runner-controls>div{text-align:center}.event-runner-controls small,.event-runner-controls strong{display:block}.event-runner-controls small{color:var(--muted);font-size:9px}.event-runner-controls strong{font-size:11px}
@media(max-width:900px){.event-grid{grid-template-columns:1fr}.event-summary-grid{grid-template-columns:1fr 1fr}.event-summary-main{grid-column:1/-1}.event-rundown-row{grid-template-columns:32px 38px 1fr}.event-rundown-actions{grid-column:3;justify-content:flex-end}.event-runner-top{grid-template-columns:1fr auto}.event-runner-top>a{grid-column:1/-1}.event-run-card{min-height:360px;padding:28px}.event-run-card h2{font-size:28px}}
@media(max-width:620px){.event-summary-grid{grid-template-columns:1fr}.event-rundown-row{grid-template-columns:30px 1fr}.event-type-icon{display:none}.event-rundown-actions{grid-column:2}.event-runner-controls{grid-template-columns:1fr 1fr}.event-runner-controls>div{grid-column:1/-1;grid-row:1}.event-run-action{flex-direction:column}.event-poll-options{grid-template-columns:1fr}}

.event-import-or{display:flex;align-items:center;gap:8px;margin:2px 0 10px;color:#94a3b8;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.event-import-or:before,.event-import-or:after{content:"";height:1px;background:#e2e8f0;flex:1}

/* v1.8.62 Live Event QR */
.event-live-host-page{max-width:1280px;margin:0 auto}.event-live-host-top{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-bottom:14px}.event-live-host-top>div:nth-child(2)>span{font-size:9px;font-weight:950;color:#7c3aed;letter-spacing:.12em}.event-live-host-top h1{margin:3px 0}
.event-live-lobby{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.65fr);gap:16px}.event-live-lobby-main{min-height:610px;border-radius:28px;padding:32px;display:grid;justify-items:center;align-content:center;text-align:center;background:linear-gradient(145deg,#4c1d95,#1d4ed8 58%,#0891b2);color:#fff;box-shadow:0 24px 60px rgba(30,41,59,.22)}.event-live-host-badge{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:9px;font-weight:950;letter-spacing:.12em}.event-live-lobby-main h2{font-size:34px;margin:10px 0}.event-live-lobby-code small,.event-live-lobby-code strong{display:block}.event-live-lobby-code small{font-size:9px;color:#c4b5fd;font-weight:900}.event-live-lobby-code strong{font-size:54px;letter-spacing:.12em}.event-live-qr{width:240px;max-width:70vw;margin:14px auto;background:#fff;padding:12px;border-radius:18px}.event-live-qr svg{display:block;width:100%;height:auto}.event-live-lobby-main>p{max-width:540px;word-break:break-all;color:#dbeafe;font-size:10px}.event-live-lobby-actions{display:flex;gap:8px;margin-top:8px}.event-live-player-wall{min-height:610px;border:1px solid var(--line);border-radius:28px;background:#fff;padding:20px;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.event-live-player-wall>div:first-child span,.event-live-player-wall>div:first-child strong{display:block}.event-live-player-wall>div:first-child span{font-size:9px;color:#7c3aed;font-weight:950;letter-spacing:.12em}.event-live-player-wall>div:first-child strong{font-size:22px;margin-top:3px}.event-live-player-cloud,.event-live-running-people{display:flex;gap:7px;flex-wrap:wrap;align-content:flex-start;overflow:auto;padding:14px 0}.event-live-player-cloud span,.event-live-running-people span{padding:8px 10px;border-radius:999px;background:#f5f3ff;color:#5b21b6;font-size:10px;font-weight:850;transition:.2s}.event-live-player-cloud span.picked,.event-live-running-people span.picked{background:#fef3c7;color:#92400e;transform:scale(1.08);box-shadow:0 0 0 3px #fde68a}
.event-live-running-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.event-live-running-top>div:first-child span,.event-live-running-top>div:first-child strong{display:block}.event-live-running-top span{font-size:9px;color:#7c3aed;font-weight:950}.event-live-running-top strong{font-size:15px}.event-live-mini-code{font-size:10px;color:#64748b}.event-live-mini-code b{font-size:18px;color:#6d28d9;margin-left:5px}
.event-live-host-current{min-height:430px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(145deg,#fff,#f8fafc);padding:36px;display:grid;align-content:center;justify-items:center;text-align:center;box-shadow:0 20px 50px rgba(15,23,42,.08)}.event-live-host-current.quick_game{background:linear-gradient(145deg,#faf5ff,#eff6ff)}.event-live-host-current.poll{background:linear-gradient(145deg,#eff6ff,#ecfeff)}.event-live-host-current>small{font-size:9px;color:#7c3aed;font-weight:950;letter-spacing:.1em}.event-live-host-current>h2{font-size:34px;max-width:900px;margin:10px auto}.event-live-host-current>p{max-width:850px;color:#64748b;line-height:1.6}
.event-live-host-controls{display:grid;grid-template-columns:auto 1fr auto;gap:8px;margin-top:12px}.event-live-host-controls>button:nth-child(2){justify-self:center}.event-live-running-people{max-height:90px;padding:10px 0}
.event-live-host-extra,.event-live-host-game{width:min(820px,100%);margin-top:16px;padding:14px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.event-live-host-extra-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.event-live-host-extra-head span{font-size:10px;color:#64748b}.event-live-host-poll{display:grid;gap:7px}.event-live-host-poll>div{display:grid;grid-template-columns:30px minmax(0,1fr) 40px;gap:8px;align-items:center;text-align:left;padding:8px;border-radius:11px;background:#f8fafc}.event-live-host-poll>div>b{width:28px;height:28px;border-radius:8px;background:#2563eb;color:#fff;display:grid;place-items:center}.event-live-host-poll strong{text-align:right}.event-live-host-poll i{grid-column:2/4;height:5px;background:#e2e8f0;border-radius:999px;overflow:hidden}.event-live-host-poll em{display:block;height:100%;background:#7c3aed}.event-live-host-game{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left}.event-live-host-game>div{display:grid;grid-template-columns:38px 1fr}.event-live-host-game>div>span{grid-row:1/3;font-size:30px}.event-live-host-game strong,.event-live-host-game small{display:block}.event-live-host-game small{color:#64748b}.event-live-hand-list{display:flex;gap:7px;flex-wrap:wrap}.event-live-hand-list button{border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:8px 10px;display:flex;gap:6px;align-items:center;cursor:pointer}.event-live-hand-list button.selected{background:#fef3c7;border-color:#facc15}
.event-live-host-finish{min-height:620px;border-radius:28px;background:linear-gradient(145deg,#4c1d95,#1d4ed8);color:#fff;display:grid;place-items:center;align-content:center;text-align:center}.event-live-host-finish>span{font-size:60px}.event-live-host-finish>small{font-weight:950;letter-spacing:.13em;color:#fde68a}.event-live-host-finish h2{font-size:42px;margin:8px}.event-live-host-finish p{color:#dbeafe}.event-live-host-finish>div{display:flex;gap:8px;margin-top:10px}
.event-live-player-body{margin:0;min-height:100vh;background:radial-gradient(circle at top,#5b21b6,#172554 55%,#0f172a);color:#fff}.event-live-player-shell{min-height:100vh;padding:16px}.event-live-player-top{max-width:920px;margin:0 auto 14px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center}.event-live-player-top img{width:130px}.event-live-player-top div span,.event-live-player-top div b{display:block}.event-live-player-top div span{font-size:8px;color:#c4b5fd}.event-live-player-top div b{font-size:11px}.event-live-player-top button{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;border-radius:10px;padding:8px 10px}.event-live-player-root{max-width:920px;margin:0 auto}.event-live-wait,.event-live-finish{min-height:72vh;display:grid;place-items:center;align-content:center;text-align:center}.event-live-wait>span,.event-live-finish>span{font-size:58px}.event-live-wait>small,.event-live-finish>small{color:#fde68a;font-weight:950;letter-spacing:.12em}.event-live-wait h1,.event-live-finish h1{font-size:32px;margin:8px}.event-live-wait p,.event-live-finish p{color:#cbd5e1}.event-live-step{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 12px;margin-bottom:10px;border-radius:13px;background:rgba(255,255,255,.1)}.event-live-step span{font-size:9px;color:#fde68a;font-weight:950}.event-live-step b{font-size:10px}.event-live-card{min-height:70vh;border-radius:26px;background:#fff;color:#172033;padding:28px;display:grid;place-items:center;align-content:center;text-align:center;box-shadow:0 24px 55px rgba(0,0,0,.25)}.event-live-card>small{font-size:9px;color:#7c3aed;font-weight:950;letter-spacing:.12em}.event-live-card h1{font-size:30px;max-width:760px;margin:10px}.event-live-card>p{max-width:690px;color:#64748b;line-height:1.6}.event-live-big-icon{font-size:54px}.event-live-poll{width:min(680px,100%);display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.event-live-poll button{min-height:78px;border:0;border-radius:15px;padding:12px;color:#fff;background:#2563eb;display:flex;align-items:center;gap:10px;text-align:left;font-weight:800}.event-live-poll button:nth-child(2){background:#7c3aed}.event-live-poll button:nth-child(3){background:#d97706}.event-live-poll button:nth-child(4){background:#059669}.event-live-poll button:nth-child(5){background:#e11d48}.event-live-poll button.selected{outline:4px solid #facc15}.event-live-poll button b{font-size:22px}.event-live-sent{margin-top:12px;padding:8px 12px;border-radius:999px;background:#dcfce7;color:#166534;font-weight:900}.event-live-hand{margin-top:14px;border:0;border-radius:999px;padding:12px 18px;background:#ede9fe;color:#6d28d9;font-weight:950}.event-live-hand.active{background:#fef3c7;color:#92400e}
@media(max-width:850px){.event-live-lobby{grid-template-columns:1fr}.event-live-player-wall{min-height:300px}.event-live-lobby-main{min-height:520px}.event-live-host-current{min-height:380px}.event-live-host-current>h2{font-size:28px}}
@media(max-width:620px){.event-live-host-top{grid-template-columns:1fr auto}.event-live-host-top>a{grid-column:1/-1}.event-live-host-controls{grid-template-columns:1fr 1fr}.event-live-host-controls>button:nth-child(2){display:none}.event-live-host-current{padding:24px}.event-live-poll{grid-template-columns:1fr}.event-live-card{padding:20px}.event-live-card h1{font-size:25px}.event-live-player-top img{width:105px}}

/* v1.8.62 Live Event Wheel */
.event-live-interaction-grid{width:min(1040px,100%);display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:14px;margin-top:14px;align-items:stretch}
.event-live-wheel-card{border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:15px;min-width:0}
.event-live-wheel-card .event-live-host-extra-head>div strong,.event-live-wheel-card .event-live-host-extra-head>div small{display:block}.event-live-wheel-card .event-live-host-extra-head>div small{margin-top:3px;color:#64748b;font-size:9px}
.event-wheel-stage{position:relative;width:min(540px,100%);aspect-ratio:1/1;margin:4px auto;display:grid;place-items:center}
.event-wheel-stage canvas{display:block;width:100%;height:auto;max-width:100%}
.event-wheel-winner{min-height:48px;display:grid;place-items:center;align-content:center;text-align:center;margin:4px auto 9px;border-radius:13px;background:#f8fafc;color:#64748b;opacity:.6}
.event-wheel-winner.show{background:linear-gradient(135deg,#fef3c7,#fff7ed);color:#92400e;opacity:1;border:1px solid #fde68a}
.event-wheel-winner span,.event-wheel-winner strong,.event-wheel-winner small{display:block}.event-wheel-winner span{font-size:8px;font-weight:950;letter-spacing:.09em}.event-wheel-winner strong{font-size:18px;margin-top:2px}.event-wheel-winner small{font-size:8px;margin-top:2px}
.event-wheel-actions{display:flex;justify-content:center;gap:8px}.event-wheel-spin{min-width:160px;font-size:13px;font-weight:950;letter-spacing:.08em}
.event-live-hands-card{margin-top:0!important;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr)}
.event-live-hands-card .event-live-hand-list{align-content:start;overflow:auto;max-height:470px}
.event-live-wheel-result{margin:8px 0 4px;padding:12px 18px;border-radius:16px;background:#fef3c7;color:#92400e;border:1px solid #fde68a}
.event-live-wheel-result span,.event-live-wheel-result strong{display:block}.event-live-wheel-result span{font-size:9px;font-weight:950;letter-spacing:.1em}.event-live-wheel-result strong{font-size:24px;margin-top:3px}.event-live-wheel-result.mine{background:linear-gradient(135deg,#fde68a,#fef3c7);box-shadow:0 0 0 4px rgba(250,204,21,.2)}
@media(max-width:980px){.event-live-interaction-grid{grid-template-columns:1fr}.event-live-hands-card .event-live-hand-list{max-height:220px}}
@media(max-width:620px){.event-wheel-spin{min-width:120px}.event-live-wheel-card{padding:10px}}

/* v1.8.62 Event Stage Screen */
.event-stage-body{margin:0;min-height:100vh;overflow:hidden;background:#070b17;color:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.event-stage-shell{height:100vh;display:grid;grid-template-rows:74px minmax(0,1fr);background:radial-gradient(circle at 20% 0,#312e81 0,#0f172a 42%,#070b17 100%)}
.event-stage-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:14px 28px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(7,11,23,.72);backdrop-filter:blur(14px);z-index:4}
.event-stage-top img{width:150px;filter:brightness(1.15)}
.event-stage-mini{justify-self:end;display:flex;align-items:center;gap:10px;color:#cbd5e1;font-size:11px}.event-stage-mini span{padding:5px 9px;border-radius:999px;background:rgba(124,58,237,.2);color:#ddd6fe;font-weight:900}.event-stage-mini b{font-weight:800}
.event-stage-fullscreen{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);color:#fff;border-radius:10px;padding:8px 11px;font-weight:800;cursor:pointer}
.event-stage-root{min-height:0;display:grid;place-items:center;padding:36px 54px;overflow:hidden}
.event-stage-loading,.event-stage-error,.stage-wait{display:grid;place-items:center;align-content:center;text-align:center;min-height:70vh}.event-stage-loading span,.event-stage-error span,.stage-wait span{font-size:72px}.event-stage-loading h1,.event-stage-error h1,.stage-wait h1{font-size:42px;margin:12px}
.stage-kicker{font-size:18px;font-weight:950;letter-spacing:.16em;color:#fde68a}
.stage-lobby{width:min(1200px,100%);height:100%;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto 1fr;column-gap:60px;align-content:center;align-items:center}
.stage-lobby .stage-kicker{grid-column:1}.stage-lobby>h1{grid-column:1;font-size:76px;line-height:.95;margin:12px 0 24px;letter-spacing:-.03em}.stage-qr{grid-column:2;grid-row:1/5;width:min(360px,31vw);background:#fff;padding:18px;border-radius:28px;box-shadow:0 28px 70px rgba(0,0,0,.32)}.stage-qr svg{display:block;width:100%;height:auto}.stage-code{grid-column:1}.stage-code span,.stage-code strong{display:block}.stage-code span{font-size:14px;font-weight:900;letter-spacing:.15em;color:#a5b4fc}.stage-code strong{font-size:82px;letter-spacing:.15em;line-height:1;margin-top:4px}.stage-participants{grid-column:1;margin-top:26px;display:inline-flex;width:max-content;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.08);font-size:16px;font-weight:900;color:#dbeafe}
.stage-material,.stage-closing,.stage-game-ready,.stage-game-finish,.stage-interaction{width:min(1250px,100%);min-height:70vh;display:grid;place-items:center;align-content:center;text-align:center}
.stage-material>span,.stage-closing>span,.stage-game-ready>span{font-size:82px;filter:drop-shadow(0 12px 30px rgba(124,58,237,.35))}.stage-material>small,.stage-closing>small,.stage-game-ready>small,.stage-game-finish>small,.stage-interaction>small,.stage-poll>small{font-size:16px;font-weight:950;letter-spacing:.18em;color:#fde68a}.stage-material>h1,.stage-closing>h1,.stage-game-ready>h1,.stage-game-finish>h1{max-width:1100px;font-size:68px;line-height:1.04;margin:16px auto;letter-spacing:-.035em}.stage-material .stage-subtitle,.stage-closing .stage-subtitle{max-width:980px;font-size:24px;line-height:1.5;color:#cbd5e1}.stage-bullets{width:min(1000px,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;text-align:left}.stage-bullets>div{padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);font-size:19px;line-height:1.35}
.stage-poll{width:min(1250px,100%);min-height:70vh;display:grid;align-content:center}.stage-poll>h1{font-size:54px;line-height:1.08;text-align:center;max-width:1100px;margin:12px auto 28px}.stage-poll-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stage-poll-row{position:relative;overflow:hidden;display:grid;grid-template-columns:48px minmax(0,1fr) 72px;gap:10px;align-items:center;padding:17px 20px;border-radius:18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.09)}.stage-poll-row>b{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#2563eb;font-size:20px}.stage-poll-row.p2>b{background:#7c3aed}.stage-poll-row.p3>b{background:#d97706}.stage-poll-row.p4>b{background:#059669}.stage-poll-row.p5>b{background:#e11d48}.stage-poll-row>span{font-size:21px;font-weight:850}.stage-poll-row>strong{text-align:right;font-size:28px}.stage-poll-row>small{grid-column:2;color:#94a3b8}.stage-poll-row>i{grid-column:2/4;height:7px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden}.stage-poll-row>i>em{display:block;height:100%;background:#a78bfa;border-radius:99px;transition:width .35s ease}
.stage-wheel-idle>span{font-size:120px}.stage-wheel-idle h1{font-size:72px;margin:4px}.stage-wheel-idle p{font-size:24px;color:#cbd5e1}.stage-wheel-winner{display:grid;place-items:center;align-content:center;min-height:440px}.stage-wheel-winner>span{font-size:20px;font-weight:950;letter-spacing:.16em;color:#fde68a}.stage-wheel-winner>strong{font-size:100px;line-height:1;margin:18px auto;text-transform:uppercase;filter:drop-shadow(0 14px 30px rgba(250,204,21,.2))}.stage-wheel-winner>b{font-size:28px;color:#c4b5fd}.stage-hands{margin-top:18px;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.09);font-size:18px;font-weight:900}
.stage-game-ready>p{font-size:24px;color:#cbd5e1}.stage-game-ready>strong{margin-top:18px;padding:12px 20px;border-radius:999px;background:#facc15;color:#713f12;font-size:22px;letter-spacing:.08em}
.stage-game-question{width:min(1300px,100%);display:grid;align-content:center}.stage-round{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.stage-round>span{font-size:18px;font-weight:950;letter-spacing:.12em;color:#fde68a}.stage-round>b{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#7c3aed;font-size:34px;box-shadow:0 12px 30px rgba(124,58,237,.35)}.stage-game-question>h1{font-size:52px;line-height:1.08;text-align:center;max-width:1100px;margin:0 auto 28px}.stage-game-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stage-opt{display:grid;grid-template-columns:54px minmax(0,1fr) 60px;gap:12px;align-items:center;padding:18px;border-radius:18px;background:#dc2626}.stage-opt.opt-b{background:#2563eb}.stage-opt.opt-c{background:#d97706}.stage-opt.opt-d{background:#059669}.stage-opt>b{font-size:28px}.stage-opt>span{font-size:22px;font-weight:850}.stage-opt>strong{text-align:right;font-size:24px}.stage-opt>i{grid-column:2/4;height:7px;background:rgba(255,255,255,.2);border-radius:99px;overflow:hidden}.stage-opt>i>em{display:block;height:100%;background:#fff}
.stage-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:end;width:min(1000px,100%);margin:36px auto}.stage-podium-card{min-height:210px;padding:24px;border-radius:24px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);display:grid;justify-items:center;align-content:center}.stage-podium-card.p1{min-height:300px;transform:translateY(-18px);background:linear-gradient(145deg,rgba(250,204,21,.22),rgba(255,255,255,.09));border-color:rgba(250,204,21,.45)}.stage-podium-card>span{font-size:54px}.stage-podium-card>strong{font-size:28px;margin:8px}.stage-podium-card>b{font-size:24px;color:#fde68a}
.stage-closing>p{font-size:28px;color:#c4b5fd}
@media(max-width:900px){.event-stage-top{padding:12px 16px}.event-stage-root{padding:24px}.stage-lobby{grid-template-columns:1fr;grid-template-rows:auto}.stage-lobby>*{grid-column:1!important;grid-row:auto!important}.stage-qr{width:min(260px,60vw);margin:12px auto}.stage-lobby>h1{font-size:50px}.stage-code strong{font-size:56px}.stage-material>h1,.stage-closing>h1,.stage-game-ready>h1{font-size:48px}.stage-poll-options,.stage-game-options,.stage-bullets{grid-template-columns:1fr}.stage-wheel-winner>strong{font-size:64px}}

/* v1.8.62 Event Stage Game Show */
.event-stage-body.event-stage-game-active .event-stage-shell{background:radial-gradient(circle at 16% 7%,rgba(124,58,237,.38),transparent 34%),radial-gradient(circle at 85% 7%,rgba(37,99,235,.32),transparent 30%),linear-gradient(145deg,#080c1d,#111a3d 56%,#061221)}
.event-stage-body.event-stage-game-active .event-stage-top{padding:8px 24px;background:rgba(7,11,23,.68)}
.event-stage-body.event-stage-game-active .event-stage-top img{width:126px}
.event-stage-body.event-stage-game-active .event-stage-shell{grid-template-rows:58px minmax(0,1fr)}
.event-stage-body.event-stage-game-active .event-stage-root{padding:16px 28px 24px}
.stage-game-show{position:relative;isolation:isolate}
.stage-game-show-tag{display:inline-flex;padding:7px 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.08);color:#ddd6fe;font-size:13px;font-weight:950;letter-spacing:.14em}
.stage-game-ready{min-height:78vh}
.stage-game-ready-icon{width:130px;height:130px;border-radius:38px;margin:24px auto 10px;display:grid;place-items:center;font-size:76px;background:linear-gradient(145deg,#7c3aed,#2563eb);box-shadow:0 25px 70px rgba(79,70,229,.38);animation:stageReadyFloat 1.8s ease-in-out infinite}
.stage-game-ready>h1{font-size:72px;max-width:1100px;margin:12px auto}.stage-game-ready>p{font-size:25px;margin:4px;color:#cbd5e1}.stage-game-ready>strong{margin-top:22px;padding:13px 24px;border-radius:999px;background:#facc15;color:#713f12;font-size:24px;letter-spacing:.12em}
.stage-game-ready-pulse{position:absolute;width:240px;height:240px;border-radius:50%;border:2px solid rgba(167,139,250,.25);z-index:-1;animation:stageReadyPulse 1.8s ease-out infinite}
@keyframes stageReadyFloat{50%{transform:translateY(-8px) rotate(3deg)}}@keyframes stageReadyPulse{0%{transform:scale(.5);opacity:.9}100%{transform:scale(1.6);opacity:0}}
.stage-game-countdown{width:100%;min-height:78vh;display:grid;place-items:center;align-content:center;text-align:center}.stage-game-round-label{font-size:16px;font-weight:950;letter-spacing:.16em;color:#fde68a}.stage-game-countdown>span{width:210px;height:210px;border-radius:50%;margin:24px auto 10px;display:grid;place-items:center;font-size:128px;line-height:1;font-weight:1000;color:#fff;background:linear-gradient(145deg,#7c3aed,#2563eb);box-shadow:0 30px 90px rgba(79,70,229,.45);animation:stageCountPop .55s cubic-bezier(.2,.9,.2,1)}.stage-game-countdown>small{font-size:20px;font-weight:950;letter-spacing:.2em;color:#c4b5fd}.stage-game-countdown>h1{max-width:900px;font-size:34px;line-height:1.15;color:#cbd5e1;margin:18px auto 0}
@keyframes stageCountPop{0%{transform:scale(.72);opacity:.25}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.stage-game-question{width:min(1380px,100%);height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}.stage-round{margin:0 0 8px}.stage-round>div small,.stage-round>div span{display:block}.stage-round>div small{font-size:10px;color:#a5b4fc;font-weight:950;letter-spacing:.15em}.stage-round>div span{font-size:22px;font-weight:950}.stage-round>b{width:82px;height:82px;background:linear-gradient(145deg,#7c3aed,#4f46e5);font-size:38px;border:3px solid rgba(255,255,255,.14);box-shadow:0 12px 34px rgba(124,58,237,.35)}.stage-round>b.urgent{background:linear-gradient(145deg,#ef4444,#dc2626);animation:stageUrgent .7s ease-in-out infinite}@keyframes stageUrgent{50%{transform:scale(1.08);box-shadow:0 0 0 12px rgba(239,68,68,.12)}}
.stage-game-question>h1,.stage-game-result>h1{max-width:1200px;margin:5px auto 16px;text-align:center;font-size:clamp(34px,4vw,62px);line-height:1.06;letter-spacing:-.035em}
.stage-game-options{min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:13px}
.stage-opt{min-height:126px;position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr auto;gap:8px 12px;align-items:center;padding:20px 22px;border:3px solid rgba(255,255,255,.09);border-radius:22px;box-shadow:0 13px 32px rgba(0,0,0,.14);transition:.28s}
.stage-opt-main{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center}.stage-opt-main>b{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:25px}.stage-opt-main>span{font-size:clamp(19px,2vw,30px);font-weight:900;line-height:1.16}.stage-opt-main>em{padding:6px 9px;border-radius:999px;background:#fff;color:#166534;font-style:normal;font-size:10px;font-weight:1000;letter-spacing:.06em}
.stage-opt-result{text-align:right;min-width:58px}.stage-opt-result strong,.stage-opt-result small{display:block}.stage-opt-result strong{font-size:34px}.stage-opt-result small{font-size:12px;font-weight:900;color:rgba(255,255,255,.82)}
.stage-opt>i{grid-column:1/3;height:7px;background:rgba(255,255,255,.22);border-radius:999px;overflow:hidden}.stage-opt>i>u{display:block;height:100%;background:#fff;border-radius:999px;text-decoration:none;transition:width .35s ease}
.stage-opt.correct{transform:scale(1.025);border-color:#facc15;box-shadow:0 0 0 5px rgba(250,204,21,.20),0 18px 42px rgba(0,0,0,.22)}.stage-opt.dimmed{opacity:.34;filter:saturate(.55)}
.stage-answer-progress{width:100%;margin-top:11px;padding:10px 14px;border-radius:15px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.07)}.stage-answer-progress>div{display:flex;justify-content:space-between;margin-bottom:7px}.stage-answer-progress span{font-size:14px;font-weight:900;color:#ddd6fe}.stage-answer-progress b{font-size:15px;color:#fde68a}.stage-answer-progress>i{display:block;height:7px;background:rgba(255,255,255,.12);border-radius:999px;overflow:hidden}.stage-answer-progress>i>em{display:block;height:100%;background:linear-gradient(90deg,#8b5cf6,#3b82f6,#22d3ee);border-radius:999px;transition:width .3s ease}
.stage-game-result{width:min(1400px,100%);height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr)}.stage-game-result-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:6px}.stage-game-result-head>div span,.stage-game-result-head>div strong{display:block}.stage-game-result-head>div span{font-size:11px;color:#c4b5fd;font-weight:950;letter-spacing:.14em}.stage-game-result-head>div strong{font-size:30px;margin-top:2px}.stage-correct-chip{padding:10px 15px;border-radius:999px;background:#facc15;color:#713f12;font-size:15px;font-weight:1000;letter-spacing:.05em;box-shadow:0 10px 28px rgba(250,204,21,.2)}
.stage-game-result-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px}.stage-mini-board{border-radius:22px;background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.09);padding:18px}.stage-mini-board>span{display:block;font-size:11px;color:#c4b5fd;font-weight:1000;letter-spacing:.14em;margin-bottom:13px}.stage-mini-board>div{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:8px;align-items:center;padding:13px 9px;border-bottom:1px solid rgba(255,255,255,.08)}.stage-mini-board>div:last-child{border-bottom:0}.stage-mini-board>div>b{color:#fde68a}.stage-mini-board>div>strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-mini-board>div>em{font-style:normal;font-weight:900;color:#c4b5fd}
.stage-game-finish{min-height:78vh;overflow:hidden}.stage-game-finish>h1{font-size:54px;margin:10px auto 4px}.stage-game-finish>p{font-size:20px;color:#cbd5e1}.stage-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.stage-confetti i{position:absolute;left:var(--x);top:-8%;width:var(--s);height:calc(var(--s)*1.8);border-radius:2px;background:#facc15;transform:rotate(var(--r));animation:stageConfetti 3.4s linear infinite;animation-delay:var(--d)}.stage-confetti i:nth-child(3n){background:#60a5fa}.stage-confetti i:nth-child(4n){background:#a78bfa}.stage-confetti i:nth-child(5n){background:#34d399}.stage-confetti i:nth-child(7n){background:#fb7185}@keyframes stageConfetti{to{transform:translateY(110vh) rotate(calc(var(--r) + 600deg))}}
.event-stage-body.event-stage-game-active .stage-podium{margin:24px auto 12px}.event-stage-body.event-stage-game-active .stage-podium-card{min-height:185px}.event-stage-body.event-stage-game-active .stage-podium-card.p1{min-height:260px}
@media(max-width:1050px){.stage-game-result-grid{grid-template-columns:1fr}.stage-mini-board{display:none}.stage-opt{min-height:108px;padding:15px}.stage-opt-main>span{font-size:20px}}
@media(max-width:760px){.event-stage-body.event-stage-game-active .event-stage-root{padding:12px}.stage-game-options{grid-template-columns:1fr;grid-template-rows:repeat(4,auto)}.stage-opt{min-height:82px}.stage-game-question>h1,.stage-game-result>h1{font-size:32px}.stage-game-result-head{align-items:flex-start;flex-direction:column}.stage-correct-chip{font-size:12px}.stage-game-countdown>span{width:150px;height:150px;font-size:88px}}

/* v1.8.62 Event Stage Audio Show */
.event-stage-top-actions{display:flex;gap:8px;align-items:center}.event-stage-sound{border:1px solid rgba(250,204,21,.36);background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(124,58,237,.18));color:#fde68a;border-radius:10px;padding:8px 11px;font-weight:900;cursor:pointer;box-shadow:0 0 0 0 rgba(250,204,21,.18);animation:stageSoundPulse 2.2s ease-in-out infinite}.event-stage-sound.active{color:#bbf7d0;border-color:rgba(34,197,94,.34);background:rgba(34,197,94,.10);animation:none}.event-stage-sound.remembered{border-color:rgba(167,139,250,.35)}@keyframes stageSoundPulse{50%{box-shadow:0 0 0 8px rgba(250,204,21,0)}}@media(max-width:760px){.event-stage-top-actions{gap:5px}.event-stage-sound,.event-stage-fullscreen{padding:7px 8px;font-size:10px}}

/* Event information note */
.event-info-note{margin:10px 0;padding:10px 12px;border-radius:12px;background:#f5f3ff;color:#5b21b6;border:1px solid #ddd6fe;font-size:10px;font-weight:750;line-height:1.45}
.event-section-head>div>p{margin:4px 0 0}.event-poll-five{grid-template-columns:repeat(5,minmax(0,1fr))}
body.event-activity-present{overflow:hidden;background:#0b1020}
body.event-activity-present .sidebar,body.event-activity-present .event-live-host-top,body.event-activity-present .event-live-host-controls,body.event-activity-present .event-live-running-people,body.event-activity-present .side-foot{display:none!important}
body.event-activity-present .shell{display:block;min-height:100vh}
body.event-activity-present .main{margin:0!important;padding:0!important;max-width:none!important;width:100vw!important;height:100vh!important;overflow:hidden;background:radial-gradient(circle at 12% 0,#312e81 0,#111827 46%,#07101f 100%)}
body.event-activity-present .event-live-host-page{max-width:none;width:100%;height:100%;padding:24px;box-sizing:border-box}
body.event-activity-present #eventLiveHost{height:100%}
body.event-activity-present .event-live-lobby{height:100%;grid-template-columns:minmax(0,1fr) minmax(360px,.55fr)}
body.event-activity-present .event-live-lobby-main,body.event-activity-present .event-live-player-wall{min-height:calc(100vh - 48px);border:0}
body.event-activity-present .event-live-running-top{color:#fff;margin:0 auto 8px;max-width:1320px}
body.event-activity-present .event-live-running-top span{color:#c4b5fd}body.event-activity-present .event-live-running-top strong{color:#fff}
body.event-activity-present .event-live-mini-code{color:#cbd5e1}body.event-activity-present .event-live-mini-code b{color:#fde68a}
body.event-activity-present .event-progress-bar{max-width:1320px;margin:0 auto 12px;background:rgba(255,255,255,.12)}
body.event-activity-present .event-live-host-current{max-width:1320px;height:calc(100vh - 115px);min-height:0;margin:0 auto;border:0;border-radius:28px;padding:38px;box-sizing:border-box;box-shadow:0 28px 80px rgba(0,0,0,.28)}
body.event-activity-present .event-live-host-current>small{font-size:12px;letter-spacing:.15em}
body.event-activity-present .event-live-host-current>h2{font-size:clamp(40px,5vw,72px);line-height:1.03;max-width:1150px}
body.event-activity-present .event-live-host-current>p{font-size:18px;max-width:1000px}
body.event-activity-present .event-live-host-extra,body.event-activity-present .event-live-host-game{width:min(1050px,100%)}
body.event-activity-present .event-live-host-poll>div{padding:13px 15px}body.event-activity-present .event-live-host-poll>div>span{font-size:18px;font-weight:800}
body.event-activity-present .event-live-interaction-grid{width:min(1200px,100%);grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr)}
body.event-activity-present .event-wheel-stage{width:min(620px,58vh)}body.event-activity-present .event-live-hands-card{max-height:68vh}
@media(max-width:1000px){.event-poll-five{grid-template-columns:1fr 1fr}.event-poll-five label:last-child{grid-column:1/-1}}

/* v1.8.62 Event Activity Launcher */
.event-activity-manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.event-activity-manage-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:start;padding:17px}.event-activity-manage-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:24px;background:#f5f3ff}.event-activity-manage-card.quick_game .event-activity-manage-icon{background:#ede9fe}.event-activity-manage-card.poll .event-activity-manage-icon{background:#dbeafe}.event-activity-manage-card.interaction .event-activity-manage-icon{background:#fef3c7}.event-activity-manage-main h3{margin:3px 0 5px}.event-activity-manage-main p{margin:7px 0 0;color:#64748b;font-size:10px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.event-activity-group-label{display:block;color:#7c3aed;font-weight:900;font-size:8px;letter-spacing:.05em;margin-bottom:2px}.event-activity-manage-meta{display:flex;gap:9px;flex-wrap:wrap;font-size:9px;color:#64748b}.event-activity-manage-actions{display:flex;gap:5px}
.event-launcher-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px;padding:19px 21px;border-radius:22px;background:linear-gradient(135deg,#f5f3ff,#eff6ff);border:1px solid #e5e7eb}.event-launcher-head>div:first-child>span{font-size:9px;font-weight:950;letter-spacing:.12em;color:#7c3aed}.event-launcher-head h2{margin:3px 0 4px;font-size:26px}.event-launcher-head p{margin:0;color:#64748b}.event-launcher-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.event-launcher-status>span{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #e5e7eb;font-size:9px;font-weight:850}.event-launcher-status b{color:#6d28d9;font-size:13px;margin-left:3px}
.event-launcher-groups{display:grid;gap:15px}.event-launcher-group{border:1px solid #e5e7eb;border-radius:20px;background:#fff;padding:15px}.event-launcher-group-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.event-launcher-group-title>span{font-weight:950;font-size:13px}.event-launcher-group-title>small{font-size:9px;color:#64748b}.event-launcher-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.event-launch-card{min-height:140px;border:1px solid #e5e7eb;border-radius:16px;padding:13px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr auto;gap:9px;background:#fafafa}.event-launch-card.quick_game{background:linear-gradient(145deg,#faf5ff,#f5f3ff)}.event-launch-card.poll{background:linear-gradient(145deg,#eff6ff,#f8fafc)}.event-launch-card.interaction{background:linear-gradient(145deg,#fffbeb,#fff)}.event-launch-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:22px;background:#fff;box-shadow:0 6px 15px rgba(15,23,42,.06)}.event-launch-card>div:nth-child(2)>span{font-size:8px;font-weight:950;color:#7c3aed;text-transform:uppercase}.event-launch-card h3{font-size:13px;line-height:1.2;margin:3px 0 5px}.event-launch-card small{font-size:8px;color:#64748b}.event-launch-card>button{grid-column:1/3;width:100%}.launcher-active-controls{grid-template-columns:1fr auto}.launcher-active-controls .btn:first-child{justify-self:start}
.quick-score-multiplier,.quick-player-multiplier{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:1000;letter-spacing:.07em}.quick-score-multiplier{margin:0 auto 8px;padding:7px 12px;background:#facc15;color:#713f12;font-size:11px;box-shadow:0 8px 22px rgba(250,204,21,.2)}.quick-score-multiplier.x3{background:linear-gradient(135deg,#f97316,#ef4444);color:#fff}.quick-player-multiplier{margin:0 auto 8px;padding:6px 10px;background:#facc15;color:#713f12;font-size:10px}.quick-player-multiplier.x3{background:#ef4444;color:#fff}.quick-event-return-note{margin:12px auto 8px;color:#c4b5fd;font-size:10px;font-weight:800}#eventLiveSoundBtn.active{background:#dcfce7;border-color:#86efac;color:#166534}
body.event-activity-present .event-live-host-current{height:calc(100vh - 82px)}body.event-activity-present .event-live-running-top{display:none}body.event-activity-present .launcher-active-controls{position:fixed;right:18px;bottom:18px;z-index:20;opacity:.16;transition:opacity .2s}body.event-activity-present .launcher-active-controls:hover{opacity:1}body.event-activity-present .launcher-active-controls .btn:first-child{display:none}
@media(max-width:1050px){.event-launcher-cards{grid-template-columns:1fr 1fr}.event-activity-manage-grid{grid-template-columns:1fr}}@media(max-width:680px){.event-launcher-head{display:block}.event-launcher-status{justify-content:flex-start;margin-top:10px}.event-launcher-cards{grid-template-columns:1fr}.event-activity-manage-card{grid-template-columns:auto 1fr}.event-activity-manage-actions{grid-column:1/3}.launcher-active-controls{grid-template-columns:1fr}}

/* v1.8.62 Event Name Safety */
.event-name-safety-hint{display:block;margin-top:7px;color:#64748b;font-size:9px;line-height:1.4}
.event-participant-manager-head{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:7px 0 12px}.event-participant-manager-head>span{padding:5px 8px;border-radius:999px;background:#f5f3ff;color:#6d28d9;font-size:9px;font-weight:850}.event-participant-manager-head>small{width:100%;color:#64748b}
.event-participant-manager{display:grid;gap:7px;max-height:min(55vh,520px);overflow:auto;padding-right:3px}.event-participant-manage-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid #e5e7eb;border-radius:13px;background:#fff}.event-participant-manage-row.is-hidden{background:#f8fafc;border-style:dashed;opacity:.76}.event-participant-manage-row>div:first-child{min-width:0}.event-participant-manage-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-participant-manage-row small{display:block;color:#64748b;font-size:8px;margin-top:2px}.event-participant-manage-row>div:last-child{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:650px){.event-participant-manage-row{align-items:flex-start;display:block}.event-participant-manage-row>div:last-child{justify-content:flex-start;margin-top:8px}}

/* v1.8.62 Quick Game Name Safety */
.quick-name-safety-hint{display:block;margin-top:7px;color:rgba(255,255,255,.72);font-size:9px;line-height:1.4}

/* v1.8.62 Event Activity Order */
.event-activity-manage-side{display:flex;flex-direction:column;align-items:center;gap:7px}
.event-activity-order{min-width:31px;height:23px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#ede9fe;color:#6d28d9;border:1px solid #ddd6fe;font-size:9px;font-weight:950;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.event-activity-manage-card.poll .event-activity-order{background:#eff6ff;color:#2563eb;border-color:#dbeafe}
.event-activity-manage-card.interaction .event-activity-order{background:#fffbeb;color:#b45309;border-color:#fde68a}
.event-activity-manage-actions{align-items:center;flex-wrap:wrap;justify-content:flex-end}
.event-order-controls{display:inline-flex;gap:4px;padding-right:2px}
.event-order-controls .icon-btn{width:31px;min-width:31px;padding:0;height:31px;border-radius:10px;font-size:14px;font-weight:900}
.event-order-controls .icon-btn:disabled{opacity:.32;cursor:not-allowed}
@media(max-width:680px){
  .event-activity-manage-side{align-items:flex-start}
  .event-activity-manage-actions{justify-content:flex-start}
}

/* v1.8.62 Event Single Join Flow */
.event-game-lobby .quick-lobby-control-bar{margin-top:14px}
.event-game-sync-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:22px 24px;border:1px solid #ddd6fe;border-radius:22px;background:linear-gradient(135deg,#faf5ff,#eff6ff);box-shadow:0 18px 45px rgba(91,33,182,.08)}
.event-game-sync-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#6d28d9;color:#fff;font-size:25px;font-weight:950;box-shadow:0 12px 28px rgba(109,40,217,.22)}
.event-game-sync-card span{font-size:9px;font-weight:950;letter-spacing:.12em;color:#7c3aed}.event-game-sync-card h2{margin:4px 0 4px;font-size:24px}.event-game-sync-card p{margin:0;color:#64748b;font-size:10px;line-height:1.45}
.event-game-sync-count{min-width:118px;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #e5e7eb;text-align:center}.event-game-sync-count b{display:block;font-size:30px;line-height:1;color:#4c1d95}.event-game-sync-count small{display:block;margin-top:5px;color:#64748b;font-size:8px;font-weight:850}
@media(max-width:700px){.event-game-sync-card{grid-template-columns:auto 1fr}.event-game-sync-count{grid-column:1/3;width:100%}}

/* v1.8.62 Event Lobby Show */
.event-show-lobby{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);grid-template-rows:minmax(0,1fr) auto;gap:16px;min-height:650px}
.event-show-join,.event-show-participants{border:1px solid #e5e7eb;border-radius:28px;background:linear-gradient(145deg,#fff,#fafaff);box-shadow:0 20px 55px rgba(15,23,42,.08)}
.event-show-join{padding:34px 36px;display:grid;align-content:center}
.event-show-title>span{font-size:9px;font-weight:950;letter-spacing:.14em;color:#7c3aed}.event-show-title h2{font-size:clamp(38px,4.4vw,62px);line-height:.98;margin:8px 0 8px;letter-spacing:-.035em}.event-show-title h2 em{font-style:normal;background:linear-gradient(135deg,#7c3aed,#2563eb);-webkit-background-clip:text;background-clip:text;color:transparent}.event-show-title p{margin:0;color:#64748b;font-size:13px}
.event-show-access{display:grid;grid-template-columns:300px minmax(0,1fr);gap:26px;align-items:center;margin-top:26px}.event-show-qr-wrap{border:1px solid #ddd6fe;border-radius:24px;background:#fff;padding:14px;cursor:pointer;box-shadow:0 16px 40px rgba(91,33,182,.12);transition:.18s}.event-show-qr-wrap:hover{transform:translateY(-2px);box-shadow:0 20px 45px rgba(91,33,182,.16)}.event-show-qr{width:100%;aspect-ratio:1;background:#fff;border-radius:15px;display:grid;place-items:center}.event-show-qr svg{display:block;width:100%;height:auto}.event-show-qr-wrap>small{display:block;margin-top:7px;text-align:center;color:#7c3aed;font-size:8px;font-weight:850}
.event-show-code>span{display:block;color:#7c3aed;font-size:10px;font-weight:950;letter-spacing:.12em}.event-show-code>strong{display:block;margin:8px 0 9px;font-size:clamp(48px,5vw,76px);line-height:1;font-weight:1000;letter-spacing:.08em;font-variant-numeric:tabular-nums;background:linear-gradient(135deg,#9333ea,#2563eb);-webkit-background-clip:text;background-clip:text;color:transparent}.event-show-code>p{max-width:430px;margin:0 0 12px;color:#64748b;line-height:1.5;font-size:10px}
.event-show-join-note{display:flex;align-items:center;gap:11px;margin-top:20px;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,#faf5ff,#eff6ff);border:1px solid #ede9fe}.event-show-join-note>span{font-size:22px;color:#7c3aed}.event-show-join-note b,.event-show-join-note small{display:block}.event-show-join-note b{font-size:10px}.event-show-join-note small{margin-top:2px;color:#64748b;font-size:8px;line-height:1.4}
.event-show-participants{padding:25px;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.event-show-count{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px}.event-show-count>span{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#f5f3ff;font-size:22px}.event-show-count>strong{font-size:44px;line-height:1;color:#5b21b6;font-variant-numeric:tabular-nums}.event-show-count>div b,.event-show-count>div small{display:block}.event-show-count>div b{font-size:15px}.event-show-count>div small{margin-top:3px;color:#64748b;font-size:8px}
.event-show-latest{min-height:42px;margin:16px 0 12px;padding:9px 12px;border:1px solid #ede9fe;border-radius:13px;background:#faf5ff;display:flex;align-items:center;gap:8px;color:#7c3aed;opacity:.74}.event-show-latest.show{animation:eventJoinFlash .8s ease both}.event-show-latest span{font-size:14px}.event-show-latest b{font-size:9px}
.event-show-player-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-content:start;overflow:auto;padding:2px}.event-lobby-player-card{min-width:0;min-height:86px;padding:10px 6px;border:1px solid #e5e7eb;border-radius:15px;background:#fff;display:grid;justify-items:center;align-content:center;gap:6px;box-shadow:0 8px 20px rgba(15,23,42,.04);animation:eventPlayerIn .28s ease both;animation-delay:min(calc(var(--i)*.018s),.22s)}.event-lobby-player-card.just-joined{border-color:#c4b5fd;box-shadow:0 0 0 3px #ede9fe,0 10px 24px rgba(91,33,182,.10)}.event-lobby-player-avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:950;background:#7c3aed}.event-lobby-player-avatar.v1{background:#2563eb}.event-lobby-player-avatar.v2{background:#0891b2}.event-lobby-player-avatar.v3{background:#d97706}.event-lobby-player-avatar.v4{background:#059669}.event-lobby-player-avatar.v5{background:#e11d48}.event-lobby-player-avatar.v6{background:#4f46e5}.event-lobby-player-avatar.v7{background:#9333ea}.event-lobby-player-card>b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.event-lobby-more{min-height:86px;border:1px dashed #c4b5fd;border-radius:15px;background:#faf5ff;color:#6d28d9;display:grid;place-items:center;align-content:center;font-size:18px;font-weight:950}.event-lobby-more small{font-size:7px;color:#7c3aed}.event-show-empty{grid-column:1/-1;min-height:240px;display:grid;place-items:center;align-content:center;text-align:center;color:#64748b}.event-show-empty>span{font-size:38px}.event-show-empty b{font-size:13px;color:#334155}.event-show-empty small{font-size:8px;margin-top:4px}
.event-show-controls{grid-column:1/-1;display:grid;grid-template-columns:minmax(280px,.42fr) minmax(420px,.58fr);gap:12px}.event-show-lock,.event-show-start{min-height:78px;border-radius:20px;padding:14px 18px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;transition:.18s}.event-show-lock{border:1px solid #e5e7eb;background:#fff;color:#172033}.event-show-lock:hover{border-color:#c4b5fd}.event-show-lock.locked{background:#fff7ed;border-color:#fed7aa}.event-show-lock>span{font-size:25px}.event-show-lock>div{flex:1}.event-show-lock b,.event-show-lock small{display:block}.event-show-lock b{font-size:12px}.event-show-lock small{font-size:8px;color:#64748b;margin-top:2px}.event-show-lock em{font-style:normal;font-size:8px;font-weight:950;color:#7c3aed}
.event-show-start{border:0;background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;box-shadow:0 15px 35px rgba(79,70,229,.24);justify-content:center}.event-show-start:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 20px 42px rgba(79,70,229,.3)}.event-show-start:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.5;box-shadow:none}.event-show-start>span{font-size:23px}.event-show-start b,.event-show-start small{display:block}.event-show-start b{font-size:17px;letter-spacing:.02em}.event-show-start small{font-size:8px;color:#e0e7ff;margin-top:2px}
@keyframes eventPlayerIn{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
@keyframes eventJoinFlash{0%{transform:translateY(-4px);opacity:0}45%{transform:translateY(0);opacity:1;box-shadow:0 0 0 4px rgba(196,181,253,.25)}100%{box-shadow:none}}
@media(max-width:1050px){.event-show-lobby{grid-template-columns:1fr}.event-show-controls{grid-column:1;grid-template-columns:1fr 1fr}.event-show-player-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:760px){.event-show-join{padding:24px}.event-show-access{grid-template-columns:1fr}.event-show-qr-wrap{width:min(300px,100%);justify-self:center}.event-show-code{text-align:center}.event-show-code>p{margin-left:auto;margin-right:auto}.event-show-player-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.event-show-controls{grid-template-columns:1fr}.event-show-count>strong{font-size:36px}}

/* v1.8.62 Event New Session Flow */
.event-card-actions{align-items:center;flex-wrap:wrap}
.event-card-actions .btn.primary+button.btn{border-color:#c4b5fd;color:#6d28d9;background:#faf5ff}
.event-editor-head .actions{flex-wrap:wrap}

/* v1.8.62 Event 150 Participant Limit */
.event-show-count>strong{display:flex;align-items:flex-end;gap:5px}.event-show-count>strong em{font-style:normal;font-size:14px;line-height:1.15;color:#94a3b8;font-weight:850}
.event-show-count.almost>strong,.event-show-capacity.almost span{color:#b45309}.event-show-count.full>strong,.event-show-capacity.full span{color:#dc2626}
.event-show-capacity{margin:10px 0 2px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.event-show-capacity i{height:6px;border-radius:999px;background:#eef2ff;overflow:hidden}.event-show-capacity i>em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c3aed,#2563eb);transition:width .25s ease}.event-show-capacity.almost i>em{background:#d97706}.event-show-capacity.full i>em{background:#dc2626}.event-show-capacity span{font-size:8px;color:#64748b;font-weight:850;white-space:nowrap}
.event-show-lock.full{background:#fef2f2;border-color:#fecaca}.event-show-lock.full>div>b{color:#b91c1c}

/* v1.8.62 Event Lobby Copy Polish */
.event-show-code>p{margin-bottom:10px}
.event-show-access{margin-bottom:4px}

/* v1.8.62 Event Lobby Final Polish */
body.event-session-lobby .event-top-qr,
body.event-session-lobby .event-top-activity{display:none!important}
.event-show-lobby.final{min-height:620px}
.event-show-lobby.final .event-show-join{padding:30px 34px}
.event-show-lobby.final .event-show-title h2{margin-top:0}
.event-show-lobby.final .event-show-access{grid-template-columns:minmax(290px,360px) minmax(320px,1fr);gap:30px;margin-top:24px;align-items:center}
.event-show-lobby.final .event-show-code{min-width:0}
.event-show-lobby.final .event-show-code>strong{white-space:nowrap;word-break:keep-all;overflow-wrap:normal;display:block;max-width:100%;font-size:clamp(50px,5.2vw,80px);letter-spacing:.035em;line-height:1}
.event-show-lobby.final .event-show-code>span{margin-bottom:8px}
.event-show-lobby.final .event-show-code>.btn{margin-top:16px}
.event-show-lobby.final .event-show-participants{grid-template-rows:auto auto auto minmax(0,1fr)}
.event-show-lobby.final .event-show-latest{margin:12px 0 8px}
.event-show-lobby.final .event-show-player-grid.top-aligned{align-content:start;justify-content:start;padding-top:0}
.event-show-lobby.final .event-show-empty{min-height:150px}
.event-show-lobby.final .event-lobby-player-card{align-self:start}
@media(max-width:760px){.event-show-lobby.final .event-show-access{grid-template-columns:1fr}.event-show-lobby.final .event-show-code>strong{font-size:clamp(46px,13vw,66px)}}

/* v1.8.62 Event Code Two Line */
.event-show-lobby.final .event-show-code{
  text-align:left;
}
.event-show-lobby.final .event-show-code>strong.event-code-two-line{
  display:grid;
  gap:0;
  width:max-content;
  max-width:100%;
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
  line-height:.84;
  letter-spacing:.035em;
  margin:10px 0 18px;
  font-size:clamp(68px,7vw,104px);
}
.event-show-lobby.final .event-show-code>strong.event-code-two-line>b{
  display:block;
  font:inherit;
  line-height:inherit;
  color:inherit;
  letter-spacing:inherit;
}
.event-show-lobby.final .event-show-code>.btn{
  margin-top:0;
}
@media(max-width:760px){
  .event-show-lobby.final .event-show-code{
    text-align:center;
  }
  .event-show-lobby.final .event-show-code>strong.event-code-two-line{
    margin-left:auto;
    margin-right:auto;
    font-size:clamp(62px,18vw,88px);
  }
}

/* v1.8.62 Q&A / Spin & Hands Up Polish */
.event-live-interaction-grid.polished{
  width:min(1120px,100%);
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  gap:16px;
  align-items:stretch;
}
.event-live-interaction-grid.polished .event-live-wheel-card{
  padding:18px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  box-shadow:0 12px 35px rgba(15,23,42,.05);
}
.event-interaction-card-head,.event-side-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.event-interaction-kicker,.event-side-head>span,.event-side-head>div>span{
  display:block;
  color:#7c3aed;
  font-size:8px;
  font-weight:950;
  letter-spacing:.11em;
}
.event-interaction-card-head h3{
  margin:3px 0 0;
  font-size:18px;
}
.event-interaction-stats{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.event-interaction-stats>span{
  padding:6px 9px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  color:#64748b;
  font-size:8px;
  font-weight:800;
}
.event-interaction-stats b{color:#172033;font-size:10px}
.event-live-interaction-grid.polished .event-wheel-stage{
  width:min(500px,100%);
  margin:8px auto 4px;
}
.event-wheel-actions.polished{
  display:grid;
  grid-template-columns:auto minmax(180px,260px);
  justify-content:center;
  gap:8px;
  margin-top:8px;
}
.event-wheel-actions.polished .event-wheel-spin{
  min-height:42px;
  border-radius:12px;
  font-size:13px;
  box-shadow:0 10px 24px rgba(79,70,229,.18);
}
.event-wheel-actions.polished .event-wheel-reset{
  min-width:72px;
  border-radius:12px;
}
.event-wheel-actions.polished button:disabled{opacity:.42;cursor:not-allowed}
.event-live-interaction-side{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:14px;
  min-width:0;
}
.event-selected-panel,.event-live-hands-card.polished{
  border:1px solid #e5e7eb;
  border-radius:20px;
  background:#fff;
  padding:16px;
  min-width:0;
  box-shadow:0 12px 35px rgba(15,23,42,.04);
}
.event-side-head>div>strong{
  display:block;
  margin-top:3px;
  font-size:15px;
}
.event-side-head>b{
  padding:5px 8px;
  border-radius:999px;
  background:#f5f3ff;
  color:#6d28d9;
  font-size:8px;
  white-space:nowrap;
}
.event-wheel-winner.premium{
  min-height:124px;
  margin:12px 0 0;
  padding:15px;
  border:1px dashed #ddd6fe;
  border-radius:17px;
  background:linear-gradient(145deg,#faf5ff,#f8fafc);
  color:#64748b;
  opacity:1;
}
.event-wheel-winner.premium.show{
  border:1px solid #fde68a;
  background:linear-gradient(145deg,#fff7ed,#fefce8);
  color:#92400e;
  box-shadow:0 10px 26px rgba(217,119,6,.08);
}
.event-wheel-winner.premium>span{
  font-size:8px;
  letter-spacing:.12em;
  font-weight:950;
}
.event-wheel-winner.premium>strong{
  max-width:100%;
  margin:7px 0 3px;
  font-size:24px;
  line-height:1.05;
  overflow:hidden;
  text-overflow:ellipsis;
}
.event-wheel-winner.premium>small{font-size:8px}
.event-pick-history{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #eef2f7;
}
.event-pick-history>span{
  display:block;
  margin-bottom:6px;
  color:#94a3b8;
  font-size:7px;
  font-weight:950;
  letter-spacing:.1em;
}
.event-pick-history>div{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:7px;
  align-items:center;
  min-height:30px;
}
.event-pick-history>div>b{
  width:22px;height:22px;border-radius:7px;
  display:grid;place-items:center;
  background:#f5f3ff;color:#7c3aed;font-size:8px;
}
.event-pick-history>div>span{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:9px;font-weight:800;
}
.event-live-hands-card.polished{
  margin-top:0!important;
  height:auto;
  min-height:260px;
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr);
  align-content:start;
}
.event-hand-selected{
  margin-top:10px;
  padding:11px 12px;
  border-radius:14px;
  background:#fef3c7;
  border:1px solid #fde68a;
}
.event-hand-selected span,.event-hand-selected strong{display:block}
.event-hand-selected span{font-size:7px;font-weight:950;letter-spacing:.1em;color:#b45309}
.event-hand-selected strong{margin-top:3px;font-size:16px;color:#92400e}
.event-live-hands-card.polished .event-live-hand-list{
  display:grid;
  gap:7px;
  align-content:start;
  margin-top:10px;
  overflow:auto;
  max-height:340px;
}
.event-live-hands-card.polished .event-live-hand-list button{
  width:100%;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  text-align:left;
  padding:9px 10px;
  border-radius:12px;
}
.event-live-hands-card.polished .event-live-hand-list button>b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.event-live-hands-card.polished .event-live-hand-list button>small{
  color:#94a3b8;
  font-size:7px;
  font-weight:800;
}
.event-live-hands-card.polished .event-live-hand-list button.selected>small{color:#92400e}
.event-hands-empty{
  min-height:150px;
  display:grid;
  place-items:center;
  align-content:center;
  text-align:center;
  color:#94a3b8;
}
.event-hands-empty>span{font-size:32px;filter:grayscale(.25)}
.event-hands-empty>b{margin-top:6px;font-size:10px;color:#64748b}
@media(max-width:980px){
  .event-live-interaction-grid.polished{grid-template-columns:1fr}
  .event-live-interaction-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}
}
@media(max-width:700px){
  .event-live-interaction-side{grid-template-columns:1fr}
  .event-interaction-card-head{display:block}
  .event-interaction-stats{justify-content:flex-start;margin-top:8px}
  .event-wheel-actions.polished{grid-template-columns:auto minmax(150px,1fr)}
}

/* v1.8.62 Event Operator */
.role-badge.event-operator{background:#ede9fe;color:#6d28d9}
.event-assigned-owner{display:block;margin:-5px 0 8px;color:#7c3aed;font-size:8px;font-weight:850}
.event-operator-list{display:grid;gap:8px;max-height:430px;overflow:auto}
.event-operator-row{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px!important;border:1px solid #e5e7eb;border-radius:14px;background:#fff;cursor:pointer}
.event-operator-row:hover{border-color:#c4b5fd;background:#faf5ff}
.event-operator-row>span:nth-child(2) b,.event-operator-row>span:nth-child(2) small{display:block}
.event-operator-row>span:nth-child(2) b{font-size:10px}.event-operator-row>span:nth-child(2) small{margin-top:2px;color:#64748b;font-size:8px}
.event-operator-row input{width:18px;height:18px;accent-color:#7c3aed}
.event-operator-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#ede9fe;color:#6d28d9;font-weight:950;font-size:10px}

/* v1.8.62 Question Bank Filter Fix */
#questionBankGrid .bank-filter-item[hidden],
#bankNoResult[hidden]{display:none!important}
.bank-topic-strip button.active{border-color:#c4b5fd;background:#f5f3ff;color:#6d28d9}


/* v1.8.63 Live Class Canonical Wheel */
.modal.wheel-show-modal{
    max-width:min(1480px,96vw);
    width:min(1480px,96vw);
    padding:24px;
    overflow:auto;
}
.canonical-wheel{max-width:none;margin:0}
.canonical-wheel-grid{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);
    gap:22px;
    align-items:stretch;
}
.canonical-wheel-main,.wheel-side-card{
    border:1px solid #e6e8ef;
    border-radius:24px;
    background:#fff;
}
.canonical-wheel-main{padding:20px 22px 18px}
.wheel-show-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}
.wheel-show-head>div:first-child>span,.wheel-side-head>span,.wheel-side-head>div>span{
    display:block;
    color:#7c3aed;
    font-size:10px;
    font-weight:1000;
    letter-spacing:.12em;
}
.wheel-show-head h3{
    margin:5px 0 0;
    font-size:25px;
    line-height:1.1;
}
.wheel-show-meta{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.wheel-show-meta b,.wheel-side-head>b{
    border:1px solid #e6e8ef;
    border-radius:999px;
    padding:7px 11px;
    background:#fafafa;
    font-size:11px;
    white-space:nowrap;
}
.wheel-show-meta b:last-child,.wheel-side-head>b{background:#f5f3ff;color:#6d28d9;border-color:#ede9fe}
.wheel-filter-row{display:flex;justify-content:flex-end;margin-top:6px}
.wheel-filter-row label{width:min(260px,100%);margin:0;font-size:10px;color:var(--muted)}
.wheel-filter-row select{margin-top:4px}
.canonical-wheel-stage{
    width:min(68vw,650px);
    max-width:100%;
    margin:8px auto 0;
    isolation:isolate;
}
.canonical-wheel-stage canvas{
    position:relative;
    z-index:2;
    filter:drop-shadow(0 22px 34px rgba(15,23,42,.16));
}
.wheel-flare{
    position:absolute;
    z-index:0;
    inset:-5%;
    border-radius:50%;
    background:
      conic-gradient(from 0deg,
        transparent 0 7%,
        rgba(124,58,237,.52) 10%,
        transparent 17% 28%,
        rgba(37,99,235,.45) 33%,
        transparent 40% 55%,
        rgba(236,72,153,.40) 62%,
        transparent 69% 82%,
        rgba(245,158,11,.42) 88%,
        transparent 94% 100%);
    filter:blur(17px);
    opacity:.26;
    transform:scale(.97);
    animation:canonicalWheelFlare 9s linear infinite;
    pointer-events:none;
}
.canonical-wheel-stage::after{
    content:'';
    position:absolute;
    z-index:1;
    inset:5%;
    border-radius:50%;
    box-shadow:0 0 42px rgba(124,58,237,.10),0 0 80px rgba(37,99,235,.08);
    pointer-events:none;
}
.canonical-wheel-stage.is-spinning .wheel-flare{
    opacity:.82;
    filter:blur(20px);
    animation-duration:1.15s;
}
.canonical-wheel-stage.is-spinning::after{
    box-shadow:0 0 52px rgba(124,58,237,.30),0 0 100px rgba(37,99,235,.22),0 0 135px rgba(236,72,153,.14);
}
.canonical-wheel-stage.is-winner .wheel-flare{
    animation:canonicalWheelWinnerFlare 1.25s ease-out both;
}
@keyframes canonicalWheelFlare{to{transform:scale(.97) rotate(360deg)}}
@keyframes canonicalWheelWinnerFlare{
    0%{opacity:.35;transform:scale(.97) rotate(0)}
    32%{opacity:1;transform:scale(1.08) rotate(24deg)}
    100%{opacity:.25;transform:scale(.97) rotate(70deg)}
}
.canonical-spin{
    width:108px;
    height:108px;
    border:9px solid #fff;
    background:linear-gradient(135deg,#7c3aed,#2563eb);
    color:#fff;
    font-size:18px;
    box-shadow:0 12px 30px rgba(109,40,217,.34),0 0 0 8px rgba(124,58,237,.10);
    transition:transform .18s ease,box-shadow .18s ease;
}
.canonical-spin:hover:not(:disabled){
    transform:translate(-50%,-50%) scale(1.045);
    box-shadow:0 16px 36px rgba(109,40,217,.42),0 0 0 12px rgba(124,58,237,.11);
}
.canonical-wheel-stage.is-spinning .canonical-spin{
    box-shadow:0 14px 36px rgba(109,40,217,.45),0 0 0 14px rgba(124,58,237,.14);
}
.canonical-wheel-side{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;min-width:0}
.wheel-side-card{padding:18px;min-width:0}
.wheel-side-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    padding-bottom:14px;
    border-bottom:1px solid #eef0f5;
}
.wheel-side-head>div>strong{display:block;margin-top:4px;font-size:18px}
.canonical-wheel-result{
    min-height:178px;
    margin-top:16px;
    padding:24px 16px;
    display:grid;
    place-items:center;
    align-content:center;
    text-align:center;
    border:1px solid #fde68a;
    border-radius:22px;
    background:linear-gradient(145deg,#fffaf0,#fffdf6);
}
.canonical-wheel-result>span{font-size:10px;font-weight:1000;letter-spacing:.1em;color:#b45309}
.canonical-wheel-result>strong{margin:7px 0 2px;font-size:clamp(24px,2.6vw,38px);line-height:1.05}
.canonical-wheel-result>small{color:#a16207}
.wheel-result-awards{display:flex;gap:7px;justify-content:center;margin-top:13px}
.canonical-wheel-history{margin-top:16px}
.canonical-wheel-history>span{display:block;text-align:center;font-size:9px;font-weight:1000;letter-spacing:.12em;color:#94a3b8;margin-bottom:8px}
.canonical-wheel-history>div{
    display:grid;
    grid-template-columns:32px 1fr;
    gap:8px;
    align-items:center;
    padding:8px 0;
    border-top:1px solid #f1f5f9;
}
.canonical-wheel-history>div>b{
    width:28px;height:28px;border-radius:8px;background:#f5f3ff;color:#7c3aed;display:grid;place-items:center;font-size:10px
}
.canonical-wheel-history>div>strong{text-align:center;font-size:12px;padding-right:32px}
.wheel-hands-panel{overflow:hidden}
.wheel-hand-selected{
    margin:14px 0 10px;
    padding:12px;
    border-radius:15px;
    background:linear-gradient(135deg,#ecfdf5,#eff6ff);
    border:1px solid #a7f3d0;
}
.wheel-hand-selected>span{display:block;color:#047857;font-size:9px;font-weight:1000;letter-spacing:.08em}
.wheel-hand-selected>strong{display:block;font-size:18px;margin:4px 0 8px}
.wheel-hand-list{display:grid;gap:8px;margin-top:12px}
.wheel-hand-list>button{
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:32px minmax(0,1fr) auto;
    gap:9px;
    align-items:center;
    border:1px solid #e6e8ef;
    border-radius:14px;
    padding:10px 11px;
    background:#fff;
    text-align:left;
}
.wheel-hand-list>button:hover{border-color:#c4b5fd;background:#faf7ff}
.wheel-hand-list>button>span{font-size:20px}
.wheel-hand-list>button>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wheel-hand-list>button>small{color:#7c3aed;font-size:9px;font-weight:900}
.wheel-hands-empty{padding:26px 8px;text-align:center;color:var(--muted);font-size:11px}
.wheel-hands-more{text-align:center;color:var(--muted);font-size:10px;margin-top:9px}
@media(max-width:1050px){
    .modal.wheel-show-modal{width:min(900px,96vw)}
    .canonical-wheel-grid{grid-template-columns:1fr}
    .canonical-wheel-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}
    .canonical-wheel-stage{width:min(78vw,610px)}
}
@media(max-width:700px){
    .modal.wheel-show-modal{padding:18px 14px}
    .canonical-wheel-main{padding:16px 12px}
    .wheel-show-head{flex-direction:column}
    .wheel-show-meta{justify-content:flex-start}
    .wheel-filter-row{justify-content:stretch}
    .wheel-filter-row label{width:100%}
    .canonical-wheel-stage{width:88vw}
    .canonical-spin{width:86px;height:86px;border-width:7px;font-size:14px}
    .canonical-wheel-side{grid-template-columns:1fr}
}


/* v1.8.64 Event Live Wheel — Center SPIN + Flare */
.event-wheel-stage-premium{
    isolation:isolate;
    overflow:visible;
}
.event-wheel-stage-premium canvas{
    position:relative;
    z-index:2;
    filter:drop-shadow(0 18px 28px rgba(15,23,42,.14));
}
.event-wheel-flare{
    position:absolute;
    z-index:0;
    inset:-5.5%;
    border-radius:50%;
    pointer-events:none;
    opacity:.24;
    filter:blur(16px);
    transform:scale(.96);
    background:
      conic-gradient(
        from 0deg,
        transparent 0 7%,
        rgba(124,58,237,.58) 10%,
        transparent 16% 28%,
        rgba(37,99,235,.48) 33%,
        transparent 39% 53%,
        rgba(6,182,212,.42) 58%,
        transparent 65% 75%,
        rgba(236,72,153,.46) 81%,
        transparent 88% 94%,
        rgba(245,158,11,.48) 97%,
        transparent 100%
      );
    animation:eventWheelFlareIdle 10s linear infinite;
}
.event-wheel-stage-premium::after{
    content:'';
    position:absolute;
    z-index:1;
    inset:4%;
    border-radius:50%;
    pointer-events:none;
    box-shadow:
      0 0 34px rgba(124,58,237,.11),
      0 0 72px rgba(37,99,235,.08);
    transition:box-shadow .2s ease;
}
.event-wheel-center-spin{
    position:absolute;
    z-index:5;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:102px;
    height:102px;
    border-radius:50%;
    border:8px solid #fff;
    background:linear-gradient(135deg,#7c3aed 0%,#4f46e5 48%,#2563eb 100%);
    color:#fff;
    font-size:17px;
    font-weight:1000;
    letter-spacing:.055em;
    cursor:pointer;
    box-shadow:
      0 13px 28px rgba(79,70,229,.34),
      0 0 0 7px rgba(124,58,237,.10);
    transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.event-wheel-center-spin:hover:not(:disabled){
    transform:translate(-50%,-50%) scale(1.055);
    box-shadow:
      0 16px 34px rgba(79,70,229,.42),
      0 0 0 11px rgba(124,58,237,.12);
}
.event-wheel-center-spin:disabled{
    cursor:not-allowed;
    opacity:.68;
    filter:saturate(.72);
}
.event-wheel-stage-premium.is-spinning .event-wheel-flare{
    opacity:.86;
    filter:blur(20px);
    animation-duration:1.1s;
}
.event-wheel-stage-premium.is-spinning::after{
    box-shadow:
      0 0 48px rgba(124,58,237,.34),
      0 0 92px rgba(37,99,235,.24),
      0 0 128px rgba(236,72,153,.15);
}
.event-wheel-stage-premium.is-spinning .event-wheel-center-spin{
    box-shadow:
      0 15px 36px rgba(79,70,229,.46),
      0 0 0 13px rgba(124,58,237,.15);
}
.event-wheel-stage-premium.is-winner .event-wheel-flare{
    animation:eventWheelFlareWinner .72s ease-out both;
}
.event-wheel-stage-premium.is-winner::after{
    box-shadow:
      0 0 62px rgba(245,158,11,.38),
      0 0 106px rgba(124,58,237,.28),
      0 0 142px rgba(37,99,235,.18);
}
.event-wheel-actions.polished.center-spin-layout{
    grid-template-columns:auto;
    margin-top:10px;
}
.event-wheel-actions.polished.center-spin-layout .event-wheel-reset{
    min-width:92px;
    background:#fff;
}
@keyframes eventWheelFlareIdle{
    to{transform:scale(.96) rotate(360deg)}
}
@keyframes eventWheelFlareWinner{
    0%{opacity:.35;transform:scale(.96) rotate(0deg)}
    38%{opacity:1;transform:scale(1.09) rotate(28deg)}
    100%{opacity:.22;transform:scale(.97) rotate(72deg)}
}
@media(max-width:700px){
    .event-wheel-center-spin{
        width:84px;
        height:84px;
        border-width:7px;
        font-size:14px;
    }
}


/* v1.8.70 Classroom Wheel — winner popup restored */
.wheel-modal .wheel-winner-overlay{
    z-index:40;
}
.wheel-modal .wheel-winner-card{
    position:relative;
    z-index:41;
}


/* v1.8.70 Event Wheel Winner Popup */
.event-wheel-popup-overlay{z-index:88}
.event-wheel-popup-card{width:min(520px,92vw)}
.event-wheel-popup-card>strong{text-transform:none}
.event-wheel-popup-card>small{margin-top:6px;font-size:14px}
.event-wheel-popup-card .wheel-winner-actions{margin-top:18px}


/* v1.8.70 Event Live Word Cloud */
.event-launch-card.word_cloud .event-launch-icon{background:linear-gradient(145deg,#ecfeff,#e0e7ff);color:#4f46e5}
.event-live-host-current.word_cloud{overflow:hidden}
.event-wordcloud-host{margin-top:18px;border:1px solid #e5e7eb;border-radius:24px;background:linear-gradient(145deg,#fff,#fbfbff);padding:18px;box-shadow:0 20px 50px rgba(15,23,42,.06)}
.event-wordcloud-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:2px 4px 14px}
.event-wordcloud-head>div:first-child>span{display:block;font-size:10px;font-weight:1000;letter-spacing:.13em;color:#6366f1}
.event-wordcloud-head>div:first-child>strong{display:block;margin-top:5px;font-size:clamp(18px,2vw,27px);line-height:1.15}
.event-wordcloud-head>div:last-child{min-width:94px;text-align:right}.event-wordcloud-head>div:last-child>b{display:block;font-size:28px;line-height:1;color:#4f46e5}.event-wordcloud-head>div:last-child>small{font-size:10px;color:var(--muted)}
.event-wordcloud-stage{min-height:390px;border-radius:22px;background:radial-gradient(circle at 50% 45%,#fff 0,#fafaff 52%,#f5f3ff 100%);display:grid;place-items:center;overflow:hidden;padding:26px;position:relative}
.event-wordcloud-cloud{width:100%;min-height:330px;display:flex;align-content:center;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 18px;padding:18px;line-height:.94}
.wc-term{display:inline-flex;align-items:center;gap:5px;transform:rotate(var(--wc-rot));font-size:var(--wc-size);font-weight:950;letter-spacing:-.035em;animation:eventWordCloudPop .4s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--wc-delay);white-space:nowrap;max-width:92%}
.wc-term b{overflow:hidden;text-overflow:ellipsis}.wc-term small{font-size:10px;line-height:1;padding:4px 6px;border-radius:999px;background:rgba(255,255,255,.7);opacity:.68;letter-spacing:0}
.wc-term.t0{color:#5b21b6}.wc-term.t1{color:#2563eb}.wc-term.t2{color:#0891b2}.wc-term.t3{color:#059669}.wc-term.t4{color:#d97706}.wc-term.t5{color:#db2777}.wc-term.t6{color:#7c3aed}.wc-term.t7{color:#334155}
.event-wordcloud-empty,.event-wordcloud-hidden{display:grid;place-items:center;text-align:center;color:#94a3b8;gap:8px}.event-wordcloud-empty span,.event-wordcloud-hidden span{font-size:54px;opacity:.52}.event-wordcloud-empty strong,.event-wordcloud-hidden strong{font-size:20px;color:#64748b}
.event-wordcloud-controls{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}.event-wordcloud-controls .btn{min-width:132px}
@keyframes eventWordCloudPop{from{opacity:0;transform:rotate(var(--wc-rot)) scale(.72) translateY(8px)}to{opacity:1;transform:rotate(var(--wc-rot)) scale(1) translateY(0)}}
body.event-activity-present .event-live-host-current.word_cloud>h2,body.event-activity-present .event-live-host-current.word_cloud>p{display:none}
body.event-activity-present .event-wordcloud-host{margin-top:6px;border:0;box-shadow:none;background:transparent;padding:6px}
body.event-activity-present .event-wordcloud-stage{min-height:68vh;background:radial-gradient(circle at center,#fff,#f8f7ff 68%,#f1efff)}
body.event-activity-present .event-wordcloud-cloud{min-height:64vh;gap:15px 28px}
body.event-activity-present .event-wordcloud-controls{display:none}
body.event-activity-present .event-wordcloud-head>div:first-child>strong{font-size:clamp(28px,3.2vw,46px)}
@media(max-width:700px){.event-wordcloud-host{padding:12px}.event-wordcloud-head{flex-direction:column}.event-wordcloud-head>div:last-child{text-align:left}.event-wordcloud-stage{min-height:300px;padding:12px}.event-wordcloud-cloud{min-height:275px;gap:8px 12px}.wc-term{font-size:min(var(--wc-size),42px)}}

/* Participant Word Cloud */
.event-live-card.word-cloud{max-width:760px}
.event-wordcloud-player-form{display:grid;gap:10px;margin:22px auto 14px;max-width:560px}.event-wordcloud-player-form input{min-height:54px;border-radius:15px;border:2px solid #e2e8f0;padding:0 16px;font-size:17px;font-weight:750;outline:none}.event-wordcloud-player-form input:focus{border-color:#8b5cf6;box-shadow:0 0 0 4px rgba(139,92,246,.10)}.event-wordcloud-player-form button{min-height:54px;border:0;border-radius:15px;background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;font-size:16px;font-weight:950}.event-wordcloud-player-form button:disabled{opacity:.55}
.event-player-wordcloud-cloud{margin:20px auto 0;max-width:690px;min-height:170px;padding:18px;border-radius:20px;background:#f8fafc;display:flex;align-content:center;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 13px}.event-player-wordcloud-cloud>span{font-size:var(--pwc-size);font-weight:900;color:#6d28d9;animation:eventWordCloudPop .35s ease both;animation-delay:var(--pwc-delay)}.event-player-wordcloud-cloud>span:nth-child(3n+2){color:#2563eb}.event-player-wordcloud-cloud>span:nth-child(3n){color:#0f766e}.event-player-wordcloud-cloud small{font-size:8px;margin-left:3px;opacity:.6}.event-player-wordcloud-empty,.event-player-wordcloud-hidden{margin-top:18px;padding:22px;border-radius:18px;background:#f8fafc;color:#64748b;text-align:center}


/* v1.8.70 Word Cloud — one word per box */
.event-wordcloud-input-hint{margin:0 2px -2px;color:#64748b;font-size:11px;font-weight:800;letter-spacing:.01em}

/* v1.8.74 Quick Game countdown distribution buffer */
.quick-countdown-ready>span{
    font-size:clamp(38px,7vw,76px)!important;
    line-height:1;
    animation:qgReadyPulse 1s ease-in-out infinite alternate;
}
@keyframes qgReadyPulse{
    from{opacity:.45;transform:scale(.92)}
    to{opacity:1;transform:scale(1.06)}
}


/* v1.8.75 Group Peer Assessment */
.group-peer-section{overflow:hidden}
.peer-live-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;align-items:center;padding:18px;border:1px solid #ddd6fe;border-radius:18px;background:linear-gradient(135deg,#faf5ff,#eff6ff)}
.peer-live-card h3{margin:4px 0 3px;font-size:24px}.peer-live-card p{margin:0;color:var(--muted)}
.peer-live-badge{font-size:9px;font-weight:1000;letter-spacing:.12em;color:#7c3aed}
.peer-live-score{display:flex;align-items:baseline;gap:4px;text-align:center}.peer-live-score span{font-size:10px;color:var(--muted)}.peer-live-score b{font-size:34px}.peer-live-score small{color:var(--muted)}
.peer-criteria-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:10px 0 16px}.peer-criteria-summary span{padding:10px;border-radius:12px;background:#f8fafc;text-align:center;font-size:10px;color:#64748b}.peer-criteria-summary b{display:block;margin-top:3px;font-size:16px;color:#0f172a}
.peer-idle{display:flex;gap:12px;align-items:center;padding:14px 2px 16px}.peer-idle>span{width:42px;height:42px;border-radius:13px;background:#f5f3ff;color:#7c3aed;display:grid;place-items:center;font-size:20px}.peer-idle strong,.peer-idle small{display:block}.peer-idle small{margin-top:3px;color:var(--muted)}
.peer-group-list{display:grid;gap:8px}.peer-group-row{display:grid;grid-template-columns:minmax(0,1fr) 70px auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid #e5e7eb;border-radius:14px}.peer-group-row.active{border-color:#c4b5fd;background:#faf7ff}.peer-group-row strong,.peer-group-row small{display:block}.peer-group-row small{margin-top:2px;color:var(--muted);font-size:10px}.peer-group-result{text-align:center}.peer-group-result b,.peer-group-result small{display:block}.peer-group-result b{font-size:18px}.peer-group-result small{font-size:9px;color:var(--muted)}
.student-peer-assessment h2{margin:8px 0 4px}.student-peer-assessment>p{margin:0 0 14px;color:var(--muted)}
.student-peer-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.student-peer-grid label{margin:0;padding:10px;border:1px solid #e5e7eb;border-radius:13px;background:#fff;font-size:11px}.student-peer-grid select{margin-top:6px}
.student-peer-comment{display:block;margin-top:10px}.student-peer-comment small{color:var(--muted)}
.peer-own-group span{font-size:48px}
@media(max-width:760px){.peer-live-card{grid-template-columns:1fr auto}.peer-live-card .btn{grid-column:1/-1}.peer-criteria-summary{grid-template-columns:repeat(2,1fr)}.peer-group-row{grid-template-columns:minmax(0,1fr) 58px}.peer-group-row .btn,.peer-group-row .badge{grid-column:1/-1;width:100%}.student-peer-grid{grid-template-columns:1fr}}


/* v1.8.76 Group Peer Weighted Score Matching */
.peer-weight-config{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-bottom:14px;border:1px solid #e5e7eb;border-radius:15px;background:#fff}
.peer-weight-config>div:first-child>span{display:block;font-size:9px;font-weight:1000;letter-spacing:.12em;color:#7c3aed}.peer-weight-config strong,.peer-weight-config small{display:block}.peer-weight-config small{margin-top:2px;color:var(--muted);font-size:10px}
.peer-weight-control{display:flex;align-items:center;gap:7px}.peer-weight-control input{width:76px;margin:0;text-align:right;font-weight:900}.peer-weight-control>span{font-weight:900;color:#64748b}
.peer-match-row{grid-template-columns:minmax(0,1fr) minmax(190px,auto) auto}.peer-match-values{display:grid;grid-template-columns:repeat(3,minmax(48px,1fr));gap:6px}.peer-match-values span{padding:6px 8px;border-radius:10px;background:#f8fafc;text-align:center;font-size:8px;color:#64748b}.peer-match-values b{display:block;margin-top:2px;font-size:13px;color:#0f172a}
.group-score-match{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:9px 0}.group-score-match span{padding:7px 5px;border-radius:9px;background:#f8fafc;text-align:center;font-size:8px;color:#64748b}.group-score-match b{display:block;margin-top:2px;font-size:12px;color:#0f172a}
.rubric-peer-match{display:flex;align-items:baseline;gap:8px;margin:-6px 0 14px;padding:10px 12px;border:1px solid #e9d5ff;border-radius:13px;background:#faf5ff}.rubric-peer-match span{font-size:10px;font-weight:900;color:#7c3aed}.rubric-peer-match strong{font-size:18px}.rubric-peer-match small{margin-left:auto;color:#64748b}
@media(max-width:760px){.peer-weight-config{align-items:flex-start;flex-direction:column}.peer-weight-control{width:100%}.peer-weight-control input{flex:1}.peer-match-row{grid-template-columns:1fr}.peer-match-values{grid-template-columns:repeat(3,1fr)}.group-score-match{grid-template-columns:repeat(2,1fr)}}


/* v1.8.77 Member Contribution Peer Assessment */
.member-peer-control{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-bottom:12px;border:1px solid #e5e7eb;border-radius:15px;background:#fff}
.member-peer-control>div:first-child>span{display:block;font-size:9px;font-weight:1000;letter-spacing:.12em;color:#0f766e}.member-peer-control strong,.member-peer-control small{display:block}.member-peer-control small{margin-top:2px;color:var(--muted);font-size:10px}
.member-peer-adjust{display:flex;align-items:center;gap:7px}.member-peer-adjust input{width:76px;margin:0;text-align:right;font-weight:900}.member-peer-adjust>span{font-weight:900;color:#64748b}
.member-peer-live{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:14px;border:1px solid #99f6e4;border-radius:16px;background:#f0fdfa}.member-peer-live h3{margin:4px 0 2px;font-size:16px}.member-peer-live p{margin:0;color:var(--muted);font-size:11px}
.member-peer-groups{display:grid;gap:12px}.member-peer-group{border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}.member-peer-group-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;background:#f8fafc}.member-peer-group-head strong,.member-peer-group-head small{display:block}.member-peer-group-head small{margin-top:2px;color:var(--muted);font-size:10px}.member-peer-group-head>div:last-child{text-align:right}.member-peer-group-head>div:last-child span{display:block;font-size:8px;color:#64748b}.member-peer-group-head>div:last-child b{font-size:18px}
.member-peer-members{display:grid}.member-peer-member{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(68px,.7fr));gap:8px;align-items:center;padding:10px 14px;border-top:1px solid #f1f5f9}.member-peer-member:first-child{border-top:0}.member-peer-member strong,.member-peer-member small{display:block}.member-peer-member small{margin-top:2px;color:var(--muted);font-size:9px}.member-peer-member>span{text-align:center;font-size:8px;color:#64748b}.member-peer-member>span b{display:block;margin-top:2px;font-size:12px;color:#0f172a}
.student-member-peer>p{margin:4px 0 14px;color:var(--muted)}.member-peer-student-card{margin:12px 0;padding:13px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.member-peer-student-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.member-peer-student-head strong,.member-peer-student-head small{display:block}.member-peer-student-head small{margin-top:2px;color:var(--muted);font-size:10px}
@media(max-width:760px){.member-peer-control,.member-peer-live{align-items:flex-start;flex-direction:column}.member-peer-adjust{width:100%}.member-peer-adjust input{flex:1}.member-peer-live .btn{width:100%}.member-peer-member{grid-template-columns:1fr 1fr 1fr}.member-peer-member>div:first-child{grid-column:1/-1}}


/* v1.8.78 Group assessment control stability & polish */
.peer-weight-config{align-items:center}
.peer-config-copy{min-width:210px}
.peer-weight-editor{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.peer-presets{display:flex;gap:5px;flex-wrap:wrap}
.peer-presets button{appearance:none;border:1px solid #e2e8f0;background:#fff;border-radius:9px;padding:7px 9px;font:inherit;font-size:10px;font-weight:800;color:#475569;cursor:pointer}
.peer-presets button:hover{border-color:#c4b5fd;background:#faf5ff;color:#6d28d9}
.peer-weight-control{min-width:190px}
.peer-weight-control input,.member-peer-adjust input{height:38px;border-radius:10px}
.assessment-schema-warning{display:flex;flex-direction:column;gap:3px;padding:14px 16px}
.assessment-schema-warning strong{font-size:13px}.assessment-schema-warning span{font-size:11px}
.group-peer-section,.group-member-peer-section{border-top-width:3px}
.group-peer-section{border-top-color:#8b5cf6}.group-member-peer-section{border-top-color:#14b8a6}
@media(max-width:760px){
  .peer-weight-config{align-items:stretch}
  .peer-config-copy{min-width:0}
  .peer-weight-editor{width:100%;justify-content:stretch}
  .peer-presets{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}
  .peer-presets button{width:100%}
  .peer-weight-control{width:100%;min-width:0}
  .peer-weight-control input{flex:1;min-width:0}
}


/* v1.8.79 Flexible Group Assessment Sources */
.group-assessment-sources{border-top:3px solid #2563eb}
.assessment-source-presets{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}
.assessment-source-presets button{appearance:none;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:10px;padding:8px 10px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
.assessment-source-presets button:hover{background:#dbeafe}
.assessment-source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.assessment-source-grid label{padding:13px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.assessment-source-grid label>span{display:block;font-size:11px;font-weight:900;margin-bottom:7px}
.assessment-source-grid label>div{display:flex;align-items:center;gap:7px}
.assessment-source-grid input{margin:0;text-align:right;font-size:20px;font-weight:1000}
.assessment-source-grid label>div b{font-size:15px;color:#64748b}
.assessment-source-grid small{display:block;margin-top:6px;color:#64748b;font-size:9px;line-height:1.35}
.assessment-source-grid input[readonly]{background:#f8fafc;color:#475569}
.assessment-source-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #f1f5f9}
.assessment-source-foot>span{font-size:11px;font-weight:800;color:#475569}.assessment-source-foot>span.danger{color:#b91c1c}
.assessment-weight-note{margin:0 0 12px;padding:8px 11px;border-radius:10px;background:#f8fafc;color:#64748b;font-size:10px}.assessment-weight-note b{color:#0f172a}
.peer-match-values{grid-template-columns:repeat(4,minmax(48px,1fr))}
.source-match span small{display:block;margin-top:1px;font-size:7px;color:#94a3b8}
.member-peer-member.direct-source{grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(72px,.72fr))}
.rubric-source-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-4px 0 14px}
.rubric-source-summary span{padding:9px 10px;border-radius:11px;background:#f8fafc;font-size:9px;color:#64748b;text-align:center}
.rubric-source-summary b,.rubric-source-summary small{display:block}.rubric-source-summary b{margin-top:2px;font-size:15px;color:#0f172a}.rubric-source-summary small{margin-top:2px}
@media(max-width:760px){
 .assessment-source-grid{grid-template-columns:1fr}
 .assessment-source-presets{display:grid;grid-template-columns:1fr 1fr}
 .assessment-source-foot{align-items:stretch;flex-direction:column}
 .assessment-source-foot .btn{width:100%}
 .peer-match-values{grid-template-columns:repeat(2,1fr)}
 .member-peer-member.direct-source{grid-template-columns:1fr 1fr}
 .member-peer-member.direct-source>div:first-child{grid-column:1/-1}
 .rubric-source-summary{grid-template-columns:1fr 1fr 1fr}
}


/* v1.8.80 Recap & Analytics Assessment Alignment */
.assessment-summary{grid-template-columns:repeat(7,minmax(0,1fr))}
.assessment-recap-stats{grid-template-columns:repeat(6,minmax(0,1fr))}
.assessment-recap-stats small{display:block;margin-top:3px;font-size:9px;color:#64748b}
.assessment-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900;white-space:nowrap}
.assessment-status.ready{background:#dcfce7;color:#166534}
.assessment-status.waiting{background:#fef3c7;color:#92400e}
.assessment-analytics-stats{grid-template-columns:repeat(9,minmax(0,1fr))}
@media(max-width:1100px){
  .assessment-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
  .assessment-recap-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .assessment-analytics-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:760px){
  .assessment-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .assessment-recap-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .assessment-analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* v1.8.86 Quick Game Builder UX Refinement */
.qg-builder-config label small{display:block;margin-top:6px;color:#64748b;font-size:12px;line-height:1.35}.quick-class-roster-note{display:flex;flex-direction:column;gap:4px;padding:12px 14px;margin-bottom:12px;border:1px solid #ddd6fe;border-radius:14px;background:#f5f3ff}.quick-class-roster-note strong{color:#5b21b6}.quick-class-roster-note small{color:#64748b}

/* v1.8.86 Quick Game Builder UX Refinement */
.qg-builder-config{grid-template-columns:minmax(0,1.6fr) minmax(220px,.7fr)}
.qg-builder-config .qg-title-field{grid-column:1/-1}
.qg-builder-config label>small.qg-access-note{min-height:17px}
.qg-builder-config label>small.qg-access-note.warning{color:#b45309;font-weight:800}
.qg-selected-empty.hidden{display:none!important}
@media(max-width:760px){.qg-builder-config .qg-title-field{grid-column:auto}}

/* v1.8.89 Live Class QUESTION launcher */
.live-question-launcher-head{margin-bottom:14px}.live-question-launcher-head h3{font-size:25px;margin:3px 0 4px}.live-question-launcher-head p{margin:0;color:var(--muted);font-size:12px}.live-question-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.live-question-choice{border:1px solid #e5e7eb;background:#fff;border-radius:17px;padding:16px;display:grid;grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:12px;text-align:left;color:var(--text);transition:.18s}.live-question-choice:hover{transform:translateY(-2px);border-color:#c4b5fd;box-shadow:0 13px 28px rgba(76,29,149,.1)}.live-question-choice>span{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:22px}.live-question-choice.quick>span{background:#fff7ed;color:#ea580c}.live-question-choice.bank>span{background:#f3e8ff;color:#7c3aed}.live-question-choice strong,.live-question-choice small{display:block}.live-question-choice strong{font-size:14px;margin-bottom:4px}.live-question-choice small{font-size:10px;line-height:1.45;color:var(--muted)}.live-question-choice>b{font-size:20px;color:#7c3aed}.live-prepared-shortcut{margin-top:16px;padding:14px;border:1px solid #e0e7ff;border-radius:16px;background:#f8faff}.live-prepared-shortcut-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:9px}.live-prepared-shortcut-head>div{display:grid;gap:2px}.live-prepared-shortcut-head span{font-size:9px;letter-spacing:.09em;font-weight:900;color:#6366f1}.live-prepared-shortcut-head strong{font-size:13px}.live-prepared-shortcut-head small,.live-prepared-more{font-size:9px;color:var(--muted)}.live-prepared-shortcut-list{display:grid;gap:7px}.live-prepared-shortcut-list>div{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;background:#fff;border:1px solid #e5e7eb;border-radius:11px;padding:8px}.live-prepared-shortcut-list>div>b{width:26px;height:26px;border-radius:8px;background:#eef2ff;color:#4338ca;display:grid;place-items:center;font-size:10px}.live-prepared-shortcut-list span{min-width:0}.live-prepared-shortcut-list span strong,.live-prepared-shortcut-list span small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-prepared-shortcut-list span strong{font-size:11px}.live-prepared-shortcut-list span small{font-size:9px;color:var(--muted);margin-top:2px}.live-prepared-more{display:block;margin-top:7px}.live-bank-tools{display:grid;grid-template-columns:minmax(0,1.5fr) 1fr 1fr;gap:8px;margin-bottom:12px}.live-bank-list{display:grid;gap:8px;max-height:56vh;overflow:auto;padding-right:2px}.live-bank-list article{border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.live-bank-list article[hidden],#liveBankNoResult[hidden]{display:none!important}.live-bank-list article:hover{border-color:#c4b5fd;background:#fdfbff}.live-bank-question-copy{min-width:0}.live-bank-question-copy>span,.live-bank-question-copy>strong,.live-bank-question-copy>small{display:block}.live-bank-question-copy>span{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#7c3aed}.live-bank-question-copy>strong{font-size:12px;line-height:1.35;margin:3px 0}.live-bank-question-copy>small{font-size:9px;color:var(--muted)}@media(max-width:680px){.live-question-choice-grid{grid-template-columns:1fr}.live-question-choice{grid-template-columns:44px minmax(0,1fr) 18px;padding:13px}.live-question-choice>span{width:44px;height:44px}.live-bank-tools{grid-template-columns:1fr}.live-bank-list{max-height:52vh}.live-prepared-shortcut-head{align-items:flex-start;flex-direction:column}.live-bank-list article{grid-template-columns:1fr}.live-bank-list article>.btn{width:100%}}

/* v1.8.91 Live Class Question Result Next-Question Fix */

/* v1.8.92 Mobile Answer Tap Reliability */
.student-option,.student-option span,.student-submit,.quick-player-options .qgo,.event-live-poll button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.student-option{position:relative;cursor:pointer;-webkit-user-select:none;user-select:none}
.student-option input{display:block!important;position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;inset:auto!important;margin:0!important;padding:0!important}
.student-option span,.quick-player-options .qgo,.event-live-poll button{-webkit-user-select:none;user-select:none}
.quick-player-options .qgo:active,.event-live-poll button:active,.student-option:active span{transform:scale(.985)}

/* v1.8.95 Live Class Question Release Tracking */
.live-bank-session-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;margin-bottom:10px;border:1px solid #e0e7ff;border-radius:13px;background:#f8faff}.live-bank-session-bar>div{display:grid;gap:2px}.live-bank-session-bar span{font-size:9px;letter-spacing:.08em;font-weight:900;color:#6366f1}.live-bank-session-bar b{font-size:12px;color:#1e293b}.live-bank-session-bar small{font-size:9px;color:var(--muted)}.live-bank-usage-tabs{display:flex;gap:7px;margin:-2px 0 10px}.live-bank-usage-tabs button{border:1px solid #e5e7eb;background:#fff;color:#475569;border-radius:999px;padding:7px 10px;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;cursor:pointer}.live-bank-usage-tabs button small{min-width:20px;height:20px;border-radius:999px;background:#f1f5f9;display:grid;place-items:center;font-size:9px}.live-bank-usage-tabs button.active{border-color:#8b5cf6;background:#f5f3ff;color:#6d28d9}.live-bank-usage-tabs button.active small{background:#ede9fe;color:#6d28d9}.live-bank-list article.is-used{background:#f8fafc;border-color:#dbe3ef}.live-bank-list article.is-used:hover{background:#f8fafc;border-color:#cbd5e1}.live-bank-used-badge{display:inline-flex!important;width:max-content;max-width:100%;margin-top:6px;padding:4px 7px;border-radius:999px;background:#ecfdf5;color:#047857!important;font-style:normal;font-size:9px!important;font-weight:900}.live-bank-question-actions{display:flex;align-items:center;justify-content:flex-end}.live-bank-question-actions .btn{white-space:nowrap}@media(max-width:680px){.live-bank-session-bar{align-items:flex-start;flex-direction:column}.live-bank-usage-tabs{overflow:auto;padding-bottom:2px}.live-bank-usage-tabs button{flex:0 0 auto}.live-bank-question-actions{justify-content:stretch}.live-bank-question-actions .btn{width:100%}}

/* v1.8.96 Student Star Reward Celebration */
.student-star-reward{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;pointer-events:none;opacity:0;transition:opacity .22s ease;background:radial-gradient(circle at center,rgba(124,58,237,.12),transparent 55%)}.student-star-reward.show{opacity:1}.student-star-reward-card{position:relative;z-index:2;min-width:min(330px,82vw);padding:24px 28px;border-radius:26px;background:linear-gradient(145deg,#fff7d6,#fff);border:2px solid #fde68a;box-shadow:0 24px 70px rgba(15,23,42,.24);text-align:center;transform:scale(.78) translateY(12px);animation:studentStarPop 1.45s ease both}.student-star-reward-card>span{display:block;font-size:52px;filter:drop-shadow(0 8px 12px rgba(245,158,11,.25))}.student-star-reward-card>strong{display:block;margin-top:4px;font-size:29px;line-height:1.1;color:#5b21b6}.student-star-reward-card>small{display:block;margin-top:8px;font-size:12px;font-weight:850;color:#64748b}.student-star-confetti{position:absolute;inset:0;overflow:hidden}.student-star-confetti i{position:absolute;left:var(--x);top:-8%;width:9px;height:15px;border-radius:3px;background:#facc15;transform:rotate(var(--r));animation:studentStarFall 1.55s linear var(--d) both}.student-star-confetti i:nth-child(3n){background:#8b5cf6}.student-star-confetti i:nth-child(4n){background:#38bdf8;border-radius:50%;width:10px;height:10px}.student-star-confetti i:nth-child(5n){background:#fb7185}@keyframes studentStarFall{0%{transform:translateY(-10vh) rotate(var(--r));opacity:0}10%{opacity:1}100%{transform:translateY(110vh) rotate(calc(var(--r) + 540deg));opacity:.9}}@keyframes studentStarPop{0%{transform:scale(.72) translateY(14px);opacity:0}18%{transform:scale(1.06) translateY(0);opacity:1}32%,82%{transform:scale(1) translateY(0);opacity:1}100%{transform:scale(.96) translateY(-8px);opacity:0}}@media (prefers-reduced-motion:reduce){.student-star-confetti{display:none}.student-star-reward-card{animation:none;transform:none}}

/* v1.8.98 Combined Live Class */
.combined-session-primary{display:grid;gap:4px;padding:12px 14px;border:1px solid #ddd6fe;border-radius:14px;background:linear-gradient(135deg,#faf5ff,#f5f3ff);margin-bottom:12px}.combined-session-primary span{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#7c3aed}.combined-session-primary strong{font-size:14px}.combined-session-box{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}.combined-session-box>div:first-child{display:flex;align-items:end;justify-content:space-between;gap:10px}.combined-session-box>div:first-child strong{font-size:12px}.combined-session-box>div:first-child small{font-size:9px;color:var(--muted)}.combined-class-option{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:10px 11px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa;cursor:pointer}.combined-class-option:hover{border-color:#c4b5fd;background:#faf5ff}.combined-class-option input{width:18px;height:18px;margin:0}.combined-class-option span{display:grid;gap:2px}.combined-class-option strong{font-size:11px}.combined-class-option small{font-size:9px;color:var(--muted)}.combined-session-pill{display:inline-flex;margin-left:7px;padding:4px 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:8px;font-weight:950;letter-spacing:.06em;vertical-align:middle}
/* v1.8.98 Combined Session conflict recovery */
.combined-session-conflicts{display:grid;gap:10px;margin:14px 0}.combined-session-conflict{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #e4e7f2;border-radius:16px;background:#f8f9fd}.combined-session-conflict>div{display:grid;gap:3px;min-width:0}.combined-session-conflict strong{color:#172036}.combined-session-conflict small{display:block;color:#68738b;line-height:1.35}.notice.warning{background:#fff8df;border-color:#f1db8d;color:#735a00}
@media(max-width:700px){.combined-session-conflict{align-items:flex-start;flex-direction:column}.combined-session-conflict .btn{width:100%}}

/* v1.8.99 Normal-first Live Class launch */
.meeting-live-launch{display:grid;gap:6px;min-width:0}.meeting-live-launch>.meeting-action{width:100%;min-width:0}.meeting-live-combine{border:1px solid rgba(221,214,254,.28);background:rgba(124,58,237,.16);color:#ede9fe;font-size:10px;font-weight:900;line-height:1.2;padding:7px 9px;cursor:pointer;text-align:center;border-radius:10px;transition:.18s}.meeting-live-combine:hover{background:rgba(139,92,246,.28);border-color:rgba(221,214,254,.48);color:#fff}.meeting-live-combine:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}@media(max-width:560px){.meeting-live-combine{padding:8px 10px;font-size:10px;background:rgba(124,58,237,.2);color:#f5f3ff}}

/* v1.9.00 Normal-first + friendly session recovery */

/* v1.9.01 Combined-session launcher contrast fix */

/* v1.9.05 — Live Class direct Stars */
.live-star-award-modal{max-width:860px}.live-star-modal-head{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:end}.live-star-modal-head h3{margin:3px 0 5px}.live-star-modal-head p{margin:0;color:var(--muted);font-size:11px}.live-star-reason-wrap label{margin:0}.live-star-search{display:flex;align-items:center;gap:10px;margin:14px 0 10px}.live-star-search input{margin:0}.live-star-search span{white-space:nowrap;font-size:10px;font-weight:900;color:#6d28d9;background:#f3e8ff;border-radius:999px;padding:6px 9px}.live-star-list{display:grid;gap:8px;max-height:min(52vh,540px);overflow:auto;padding-right:4px}.live-star-student{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:14px;background:#fff}.live-star-person{min-width:0;display:grid;gap:2px}.live-star-person strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-star-person small{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-star-score{display:flex;gap:8px;color:var(--muted);font-size:9px}.live-star-score span{display:grid;text-align:center}.live-star-score b{font-size:12px;color:var(--text)}.live-star-actions{display:flex;gap:6px}.live-star-two{background:#fff7ed!important;color:#b45309!important;border-color:#fde68a!important}.live-command-bar [data-live-command="stars"]{background:rgba(250,204,21,.10);color:#fef3c7}.live-command-bar [data-live-command="stars"]:hover{background:rgba(250,204,21,.18);color:#fff}.live-star-student button:disabled{opacity:.55}@media(max-width:700px){.live-star-modal-head{grid-template-columns:1fr}.live-star-student{grid-template-columns:minmax(0,1fr) auto}.live-star-score{display:none}.live-star-actions{grid-column:2;grid-row:1}.live-star-actions .btn{padding:8px 9px}.live-star-search{align-items:stretch;flex-direction:column}.live-star-search span{align-self:flex-start}}
