*{box-sizing:border-box}body{color:#172033;background:#f5f7fb;margin:0;font-family:Inter,Segoe UI,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#fff;background:#635bff;border:0;border-radius:12px;padding:12px 18px;font-weight:800;transition:transform .2s,box-shadow .2s}button:hover{transform:translateY(-1px);box-shadow:0 8px 20px #635bff30}.secondary,.ghost{color:#334155;background:#fff;border:1px solid #dbe2ef}.danger{color:#ef4444}.landing{color:#fff;background:radial-gradient(circle at 80% 10%,#8c7cff55,#0000 28%),linear-gradient(135deg,#111b4b,#5420a0 55%,#1474d4);min-height:100vh}.landing nav{justify-content:space-between;align-items:center;height:76px;padding:0 6vw;display:flex}.brand{font-size:24px;font-weight:950}.brand span{color:#8ff3ff}.hero{grid-template-columns:1.05fr .95fr;align-items:center;gap:70px;max-width:1250px;margin:auto;padding:7vh 5vw;display:grid}.eyebrow{color:#84f3ff;letter-spacing:.16em}.hero h1{margin:18px 0;font-size:64px;line-height:1.03}.hero p{color:#dfe5ff;max-width:620px;font-size:20px}.actions,.pinrow{gap:12px;margin-top:28px;display:flex}.pinrow input,.create input{border:0;border-radius:12px;min-width:220px;padding:14px 16px}.preview{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffff14;border:1px solid #ffffff30;border-radius:28px;padding:34px;animation:4s ease-in-out infinite float;position:relative;box-shadow:0 30px 80px #0005}.preview h2{font-size:30px}.float.score{background:#22c55e;border-radius:18px;padding:15px 20px;font-size:22px;font-weight:900;position:absolute;top:-20px;right:-20px;transform:rotate(6deg)}.grid,.teacher-options{grid-template-columns:1fr 1fr;gap:14px;display:grid}.opt{color:#fff;border-radius:16px;align-items:center;gap:14px;padding:20px;font-size:18px;display:flex}.opt b{font-size:22px}.red{background:#ef4444}.blue{background:#3b82f6}.yellow{background:#f59e0b}.green{background:#10b981}.teacher-shell{grid-template-columns:230px 1fr;min-height:100vh;display:grid}.teacher-shell aside{color:#cad3ef;background:#111936;padding:24px 16px}.logo{color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);border-radius:14px;place-items:center;width:48px;height:48px;margin:0 8px 28px;font-size:20px;font-weight:900;display:grid}.nav{cursor:pointer;border-radius:12px;margin:5px 0;padding:13px 14px}.nav.active,.nav:hover{color:#fff;background:#283358}.teacher-shell main{padding:28px 34px}.teacher-shell header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.teacher-shell header small{letter-spacing:.14em;color:#7c3aed;font-weight:800}.teacher-shell header h1{margin:5px 0;font-size:30px}.toolbar{gap:12px;margin-bottom:20px;display:flex}.search{border:1px solid #d9e0ec;border-radius:12px;min-width:320px;padding:13px}.upload{cursor:pointer;background:#fff;border:1px solid #dbe2ef;border-radius:12px;padding:12px 18px;font-weight:800}.notice,.error{border-radius:10px;padding:12px 14px}.notice{color:#047857;background:#ecfdf5}.error{color:#be123c;background:#fff1f2}.editor,.settings-card,.question-pro,.lobby,.leader,.finish{background:#fff;border:1px solid #e5e9f1;border-radius:20px;padding:24px;box-shadow:0 12px 35px #1e293b0a}.meta-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;display:grid}.editor input,.editor textarea,.editor select,.settings-card input,.settings-card select{border:1px solid #d8deea;border-radius:10px;width:100%;padding:12px}.editor textarea{min-height:80px;margin:12px 0}.qedit{background:#f8fafc;border-radius:16px;margin-top:16px;padding:18px}.qline,.controls,.card-meta,.card-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.qline input{width:90px;margin-left:8px}.opedit{grid-template-columns:20px 38px 1fr;align-items:center;gap:10px;margin:8px 0;display:grid}.opedit span{color:#fff;text-align:center;border-radius:8px;padding:8px;font-weight:900}.testgrid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;display:grid}.testcard{background:#fff;border:1px solid #e4e9f2;border-radius:18px;padding:18px;overflow:hidden}.cover{color:#fff;background:linear-gradient(135deg,#312e81,#7c3aed);justify-content:space-between;margin:-18px -18px 16px;padding:22px;display:flex}.testcard p{color:#64748b;min-height:42px}.card-meta{color:#64748b;margin:16px 0;font-size:13px}.card-actions .icon{color:#4f46e5;background:#eef2ff;padding:10px 12px}.room-layout{grid-template-columns:1fr 1fr;gap:24px;display:grid}.settings-card label{color:#475569;margin:14px 0;font-weight:700;display:block}.mode-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.mode{color:#334155;text-align:left;background:#f8fafc;border:1px solid #dce3ee}.mode span{margin-top:4px;font-size:12px;font-weight:500;display:block}.mode.selected{color:#5b21b6;background:#ede9fe;border-color:#7c3aed}.switch{justify-content:space-between;display:flex!important}.switch input{width:auto}.wide{width:100%;margin-top:10px}.active-list{gap:12px;display:grid}.active-room,.empty{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px}.active-room{gap:6px;display:grid}.active-room span{color:#5b21b6;font-size:24px;font-weight:900}.stats{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px;display:grid}.stat{background:#fff;border:1px solid #e3e8f0;border-radius:17px;padding:20px}.stat b{font-size:28px;display:block}.stat span{color:#64748b}.live-pill{color:#166534;background:#dcfce7;border-radius:999px;margin-bottom:16px;padding:8px 12px;font-weight:800;display:inline-block}.lobby{grid-template-columns:1fr auto;align-items:center;display:grid}.lobby>div>b{letter-spacing:.12em;color:#4f46e5;font-size:72px;display:block}.chips{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.chips span{color:#4338ca;background:#eef2ff;border-radius:999px;padding:8px 12px}.qhead{justify-content:space-between;display:flex}.qhead b{color:#fff;background:#111936;border-radius:50%;place-items:center;width:56px;height:56px;font-size:22px;display:grid}.question-pro h2{font-size:30px}.correct{outline:5px solid #22c55e;transform:scale(1.02)}.leader{margin-top:20px}.rank{border-bottom:1px solid #edf0f5;grid-template-columns:45px 1fr auto;align-items:center;padding:12px;display:grid}.report-table{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden}.tr{cursor:pointer;border-bottom:1px solid #edf1f5;grid-template-columns:2fr 1fr 1fr 1fr 1fr;align-items:center;gap:14px;padding:16px;display:grid}.tr.head{background:#f8fafc;font-weight:800}.tr small{color:#94a3b8;display:block}.status{background:#eef2ff;border-radius:99px;width:max-content;padding:6px 10px}.modal{z-index:20;background:#0f172a88;place-items:center;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:22px;width:min(720px,92vw);max-height:88vh;padding:26px;position:relative;overflow:auto}.close{color:#334155;background:#f1f5f9;position:absolute;top:16px;right:16px}.barrow{grid-template-columns:100px 1fr 50px;align-items:center;gap:12px;margin:12px 0;display:grid}.barrow div{background:#e2e8f0;border-radius:99px;height:10px;overflow:hidden}.barrow i{background:linear-gradient(90deg,#7c3aed,#22c55e);height:100%;display:block}.game-bg,.game{color:#fff;background:radial-gradient(circle at 20% 10%,#8b5cf6,#0000 30%),linear-gradient(145deg,#21104f,#43169a 55%,#1477d4);place-items:center;min-height:100vh;display:grid}.join-card,.waiting,.podium{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);text-align:center;background:#ffffff18;border:1px solid #fff3;border-radius:28px;width:min(460px,90vw);padding:34px}.game-logo,.avatar{color:#6d28d9;background:#fff;border-radius:24px;place-items:center;width:76px;height:76px;margin:auto;font-size:28px;font-weight:950;display:grid}.join-card input{border:0;border-radius:12px;width:100%;margin:18px 0;padding:15px}.join-card button{background:#22c55e;width:100%}.pin-big{font-size:24px;font-weight:900}.dots{letter-spacing:10px;animation:1.2s infinite pulse}.game{display:block}.gamebar{background:#120a35aa;justify-content:space-between;align-items:center;height:74px;padding:0 4vw;display:flex}.gamebar span{color:#4c1d95;background:#fff;border-radius:50%;place-items:center;width:58px;height:58px;font-size:24px;font-weight:950;display:grid}.danger-time{animation:.55s infinite pulse;color:#b91c1c!important;background:#fecaca!important}.game-question{text-align:center;max-width:1100px;margin:auto;padding:5vh 4vw}.game-question h1{font-size:42px}.answer-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.answer-grid button{text-align:left;align-items:center;gap:20px;min-height:130px;font-size:22px;display:flex}.answer-grid button b{font-size:32px}.answer-grid button:disabled{opacity:.65}.answer-grid .win{outline:7px solid #fff;animation:.65s win}.feedback{min-height:32px;margin-top:22px;font-size:22px;font-weight:900}.feedback.success{color:#86efac}.burst{color:#fde047;pointer-events:none;place-items:center;font-size:70px;font-weight:950;animation:1s forwards burst;display:grid;position:fixed;inset:0}.confetti{letter-spacing:14px;color:#facc15;font-size:34px;animation:1s infinite pulse}.center{place-items:center;min-height:100vh;display:grid}.pop{animation:.45s pop}@keyframes pop{0%{opacity:0;transform:scale(.86)}to{opacity:1;transform:scale(1)}}@keyframes float{50%{transform:translateY(-10px)}}@keyframes pulse{50%{opacity:.45;transform:scale(.96)}}@keyframes win{50%{transform:scale(1.04)}}@keyframes burst{0%{opacity:0;transform:scale(.4)}40%{opacity:1;transform:scale(1.2)}to{opacity:0;transform:scale(1.7)}}@media (width<=850px){.hero{grid-template-columns:1fr}.preview{display:none}.hero h1{font-size:44px}.teacher-shell{grid-template-columns:1fr}.teacher-shell aside{z-index:10;padding:10px;display:flex;position:sticky;top:0;overflow:auto}.logo{min-width:44px;margin:0 12px 0 0}.nav{white-space:nowrap}.teacher-shell main{padding:18px}.stats{grid-template-columns:1fr 1fr}.room-layout,.meta-grid{grid-template-columns:1fr}.lobby{text-align:center;grid-template-columns:1fr;gap:20px}.lobby>div>b{font-size:48px}.answer-grid,.teacher-options{grid-template-columns:1fr}.game-question h1{font-size:28px}.answer-grid button{min-height:90px}.tr{grid-template-columns:2fr 1fr 1fr}.tr span:nth-child(2),.tr span:nth-child(5){display:none}.toolbar{flex-wrap:wrap}.search{min-width:100%}}.image-tools{align-items:center;gap:12px;margin:10px 0 16px;display:flex}.question-thumb{object-fit:cover;border:2px solid #e8edf8;border-radius:14px;width:150px;height:90px}.question-image{object-fit:contain;background:#fff;border-radius:22px;max-width:min(620px,90%);max-height:300px;margin:14px auto 22px;padding:8px;display:block;box-shadow:0 14px 40px #2a407826}.player-image{max-height:240px}.teacher-options.two-options,.answer-grid.two-options{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-inline:auto}.advanced-settings{background:#f7f9ff;border-radius:18px;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0;padding:14px;display:grid}.advanced-settings label{flex-direction:column;gap:7px;display:flex}.group-votes{background:linear-gradient(135deg,#fff,#f2f7ff);border-radius:20px;margin-top:20px;padding:18px;box-shadow:0 12px 34px #3256a01f}.group-votes>div{border-bottom:1px solid #e6ebf6;justify-content:space-between;padding:10px;display:flex}.game-question{position:relative;overflow:hidden}.game-question:before,.game-question:after{content:"";filter:blur(2px);opacity:.18;pointer-events:none;border-radius:50%;width:220px;height:220px;animation:9s linear infinite lightOrbit;position:absolute}.game-question:before{background:#fff59d;top:-110px;left:-80px}.game-question:after{background:#b2ebf2;animation-direction:reverse;bottom:-120px;right:-100px}.answer-grid button{transition:transform .18s,filter .18s,box-shadow .18s;position:relative;overflow:hidden}.answer-grid button:before{content:"";background:linear-gradient(110deg,#0000 35%,#ffffff85,#0000 65%);animation:4.5s ease-in-out infinite answerShine;position:absolute;inset:-50%;transform:translate(-70%)rotate(10deg)}.answer-grid button:hover{filter:brightness(1.06);transform:translateY(-5px)scale(1.012);box-shadow:0 18px 36px #0000002e}.danger-time{animation:.55s ease-in-out infinite alternate softPulse}.waiting .dots{animation:1.2s ease-in-out infinite alternate floatDots}.finish,.podium{animation:.65s cubic-bezier(.2,.8,.2,1) lightEntrance}@keyframes answerShine{0%,60%{transform:translate(-75%)rotate(10deg)}85%,to{transform:translate(75%)rotate(10deg)}}@keyframes lightOrbit{to{transform:rotate(360deg)translate(30px)rotate(-360deg)}}@keyframes softPulse{to{filter:drop-shadow(0 0 12px #fffc);transform:scale(1.12)}}@keyframes floatDots{to{letter-spacing:10px;transform:translateY(-8px)}}@keyframes lightEntrance{0%{opacity:0;transform:translateY(18px)scale(.96)}to{opacity:1;transform:none}}@media (width<=700px){.advanced-settings,.teacher-options.two-options,.answer-grid.two-options{grid-template-columns:1fr}.question-image{max-height:210px}.group-votes>div{flex-direction:column;gap:5px}}.danger-stop{color:#c92a43!important;background:#fff0f2!important;border:1px solid #ffd2d9!important}.music-upload{justify-content:center;margin:6px 0;display:inline-flex!important}.music-ready{color:#0f9d72;font-weight:700}.transition-slide{animation:.48s cubic-bezier(.2,.8,.2,1) lqSlide}.transition-zoom{animation:.48s cubic-bezier(.2,.8,.2,1) lqZoom}.transition-flip{transform-origin:top;animation:.62s cubic-bezier(.2,.8,.2,1) lqFlip}.transition-rays{animation:.45s lqZoom;position:relative;overflow:hidden}.transition-rays:before{content:"";pointer-events:none;opacity:.55;z-index:0;background:conic-gradient(#0000,#fff7c7,#0000,#dff7ff,#0000);animation:1.2s ease-out lqRays;position:absolute;inset:-80%}.transition-rays>*{z-index:1;position:relative}.anim-glow{animation:1.8s ease-in-out infinite alternate roomGlow}.anim-portal{position:relative;overflow:hidden}.anim-portal:before{content:"";filter:blur(3px);z-index:0;background:radial-gradient(circle,#fff 0,#dbf3ff 25%,#d9ddff 48%,#0000 70%);border-radius:50%;width:280px;height:280px;animation:2.2s ease-in-out infinite portalPulse;position:absolute;top:10%;right:5%}.anim-portal>*{z-index:1;position:relative}.anim-cards:before,.anim-cards:after{content:"A";color:#5b69d8;background:#fff;border-radius:20px;padding:18px 24px;font-weight:900;animation:3s ease-in-out infinite cardFloat;position:absolute;box-shadow:0 18px 50px #4573b833}.anim-cards:before{top:10%;left:5%}.anim-cards:after{content:"B";animation-delay:-1.4s;bottom:8%;right:8%}.wait-orbits:before,.wait-orbits:after{content:"";pointer-events:none;background:#fff9a8;border-radius:50%;width:22px;height:22px;animation:5s linear infinite orbit;position:fixed;top:44%;left:50%;box-shadow:120px 20px #bcecff,-90px 80px #dbcdff,40px 150px #c5ffd8}.wait-orbits:after{animation-duration:7s;animation-direction:reverse;transform:scale(.7)}.wait-bubbles{background-image:radial-gradient(circle at 15% 30%,#fff9 0 25px,#0000 26px),radial-gradient(circle at 80% 20%,#fff7b3aa 0 38px,#0000 39px),radial-gradient(circle at 65% 80%,#caefffaa 0 50px,#0000 51px);animation:4s ease-in-out infinite alternate bubbleBg}.wait-wave:after{content:"";opacity:.8;pointer-events:none;background:linear-gradient(90deg,#aee8ff,#dfd0ff,#fff3a6,#c9ffdf);border-radius:50% 50% 0 0/30% 30% 0 0;height:38%;animation:3s ease-in-out infinite alternate wave;position:fixed;bottom:-8%;left:-10%;right:-10%}.finish-confetti:before,.finish-confetti:after{content:"✦  ●  ◆  ★  ✧  ■  ✦";word-spacing:55px;color:#ffb23f;pointer-events:none;font-size:30px;animation:3s linear infinite fall;position:fixed;top:-10%;left:5%;right:5%}.finish-confetti:after{color:#69bfff;animation-delay:-1.4s;left:15%}.finish-spotlight:before,.finish-spotlight:after{content:"";filter:blur(20px);pointer-events:none;background:linear-gradient(#fffbd4cc,#0000 70%);width:35%;height:130%;animation:2.2s ease-in-out infinite alternate spot;position:fixed;top:-20%;transform:rotate(18deg)}.finish-spotlight:before{left:5%}.finish-spotlight:after{animation-delay:-1s;right:5%;transform:rotate(-18deg)}.finish-fireworks:before{content:"✦";color:#fff8a8;text-shadow:-180px 70px #bdeaff,170px 90px #dbc9ff,0 180px #c6ffd5;pointer-events:none;font-size:140px;animation:1.8s ease-out infinite firework;position:fixed;top:22%;left:50%}@keyframes lqSlide{0%{opacity:0;filter:blur(5px);transform:translate(45px)}to{opacity:1;filter:none;transform:none}}@keyframes lqZoom{0%{opacity:0;filter:brightness(1.25);transform:scale(.92)}to{opacity:1;filter:none;transform:scale(1)}}@keyframes lqFlip{0%{opacity:0;transform:perspective(900px)rotateX(-18deg)translateY(18px)}to{opacity:1;transform:none}}@keyframes lqRays{0%{opacity:.8;transform:rotate(0)scale(.5)}to{opacity:0;transform:rotate(140deg)scale(1.2)}}@keyframes roomGlow{0%{box-shadow:0 10px 40px #5d71d825}to{box-shadow:0 18px 75px #65c9ff66}}@keyframes portalPulse{50%{opacity:.65;transform:scale(1.2)}}@keyframes cardFloat{50%{transform:translateY(-20px)rotate(6deg)}}@keyframes orbit{to{transform:rotate(360deg)translate(180px)rotate(-360deg)}}@keyframes bubbleBg{to{background-position:30px -20px,-25px 30px,20px -35px}}@keyframes wave{to{transform:translateY(-25px)scaleX(1.07)}}@keyframes fall{to{transform:translateY(120vh)rotate(360deg)}}@keyframes spot{to{opacity:.55;transform:rotate(28deg)translate(70px)}}@keyframes firework{0%{opacity:0;transform:scale(.15)}45%{opacity:1}to{opacity:0;transform:scale(1.4)}}@media (prefers-reduced-motion:reduce){.transition-slide,.transition-zoom,.transition-flip,.transition-rays,.anim-glow,.wait-orbits:before,.wait-orbits:after,.finish-confetti:before,.finish-confetti:after{animation:none!important}}:root{--electric:#6d28d9;--cyan:#00d9ff;--pink:#ff2fa4;--lime:#b7ff3c;--sun:#ffd43b;--ink:#10132c}.student-home{color:#fff;background:radial-gradient(circle at 12% 18%,#00dcff55,#0000 26%),radial-gradient(circle at 88% 14%,#ff42b455,#0000 25%),radial-gradient(circle at 60% 90%,#b9ff3c40,#0000 28%),linear-gradient(135deg,#3514a8 0%,#6d28d9 44%,#d9239d 100%);min-height:100vh;padding:24px;position:relative;overflow:hidden}.student-home nav{z-index:5;justify-content:space-between;align-items:center;max-width:1180px;margin:auto;display:flex;position:relative}.student-home .brand{letter-spacing:-1px;font-size:28px;font-weight:1000}.student-home .brand span{color:#5b21b6;background:#fff;border-radius:9px;margin-left:4px;padding:2px 8px}.teacher-entry{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none!important;background:#ffffff20!important;border:1px solid #fff5!important}.student-entry-card{z-index:4;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);text-align:center;background:linear-gradient(145deg,#ffffff2d,#ffffff13);border:1px solid #ffffff65;border-radius:36px;width:min(620px,100% - 28px);margin:10vh auto 0;padding:52px;position:relative;box-shadow:0 35px 90px #15015366,inset 0 1px #fff8}.student-entry-card h1{text-shadow:0 10px 35px #2a006b;margin:16px 0;font-size:clamp(46px,8vw,88px);line-height:.95}.student-entry-card p{color:#f4edff;max-width:500px;margin:0 auto 28px;font-size:18px}.student-pin-box{background:#fff;border-radius:24px;gap:12px;padding:10px;display:flex;box-shadow:0 18px 45px #1e075b66}.student-pin-box input{letter-spacing:7px;text-align:center;color:#28135d;flex:1;font-weight:1000;background:0 0!important;border:0!important;font-size:34px!important}.student-pin-box button{border-radius:18px;min-width:150px;background:linear-gradient(135deg,#ff3ca7,#ff7a18)!important;box-shadow:0 12px 30px #ff3c8c66!important}.student-safe{color:#dcfff5;margin-top:22px;font-weight:800}.spark-ring{pointer-events:none;border:3px dashed #fff4;border-radius:50%;animation:18s linear infinite ringSpin;position:absolute;inset:-70px}.spark-ring:after,.spark-ring:before{content:"";background:#b7ff3c;border-radius:8px;width:22px;height:22px;position:absolute;top:12%;left:12%;transform:rotate(30deg);box-shadow:0 0 35px #b7ff3c}.spark-ring:after{background:#00e5ff;inset:auto 9% 18% auto;box-shadow:0 0 35px #00e5ff}.fx-cubes i{width:48px;height:48px;animation:cubeFloat calc(5s + var(--n,1)*.3s) ease-in-out infinite;background:linear-gradient(145deg,#fff9,#fff1);border:1px solid #fff8;border-radius:10px;display:block;position:absolute;box-shadow:inset -8px -8px 20px #5000a855,0 18px 35px #18004e44}.fx-cubes i:nth-child(3n){background:linear-gradient(145deg,#b7ff3c,#43e97b)}.fx-cubes i:nth-child(3n+1){background:linear-gradient(145deg,#00ecff,#007cf0)}.fx-cubes i:nth-child(3n+2){background:linear-gradient(145deg,#ffde59,#ff3ca7)}.fx-cubes i:first-child{top:22%;left:5%}.fx-cubes i:nth-child(2){top:75%;left:16%}.fx-cubes i:nth-child(3){top:22%;left:80%}.fx-cubes i:nth-child(4){top:69%;left:90%}.fx-cubes i:nth-child(5){top:8%;left:30%}.fx-cubes i:nth-child(6){top:84%;left:66%}.fx-cubes i:nth-child(7){top:50%;left:8%}.fx-cubes i:nth-child(8){top:42%;left:86%}.fx-cubes i:nth-child(n+9){display:none}.teacher-login-page{background:radial-gradient(circle at 20% 20%,#1bdcff26,#0000 30%),radial-gradient(circle at 80% 80%,#ff3ca733,#0000 30%),#0d1230;place-items:center;min-height:100vh;padding:24px;display:grid}.teacher-login-card{color:#fff;text-align:center;background:#151b42;border:1px solid #ffffff1c;border-radius:30px;width:min(480px,100%);padding:44px;box-shadow:0 35px 80px #0008}.teacher-login-card h1{margin:18px 0 10px;font-size:42px}.teacher-login-card p{color:#aeb8df;line-height:1.6}.teacher-login-card input{width:100%;margin:20px 0 12px;color:#fff!important;background:#0c1130!important;border-color:#303b71!important}.teacher-login-card>button:not(.ghost){width:100%;background:linear-gradient(135deg,#6935ff,#ff36a8)!important}.teacher-badge{color:#111a30;background:linear-gradient(90deg,#00d9ff,#b7ff3c);border-radius:999px;padding:8px 14px;font-weight:1000;display:inline-flex}.header-actions{gap:8px;display:flex}.danger-text{color:#ff7c99!important}.teacher-shell aside{background:linear-gradient(#111736,#171047 55%,#32105b)!important}.teacher-shell main{background:radial-gradient(circle at 85% 5%,#8b5cf61a,#0000 30%),#f5f7ff!important}.stat,.testcard,.settings-card,.question-pro,.leader,.report-table,.editor{border:1px solid #e5e7ff!important;box-shadow:0 18px 50px #5b21b614!important}.live-pill{box-shadow:0 12px 30px #8b3dff44;color:#fff!important;background:linear-gradient(90deg,#6737ff,#ff38a5)!important}.visual-fx{pointer-events:none;z-index:0;position:absolute;inset:0;overflow:hidden}.visual-fx>*{pointer-events:none}.visual-fx i{width:24px;height:24px;left:calc((var(--i) * 47)%100 * 1%);top:calc((var(--i) * 31)%90 * 1%);animation:1.4s cubic-bezier(.16,.8,.25,1) both fxCube;animation-delay:calc(var(--i)*35ms);background:linear-gradient(145deg,#fff,#00d9ff);border-radius:5px;position:absolute;box-shadow:0 0 25px #00d9ff}.visual-fx i:nth-child(3n){background:linear-gradient(145deg,#fff6a2,#ff7b00);box-shadow:0 0 28px #ff9d00}.visual-fx i:nth-child(3n+1){background:linear-gradient(145deg,#ff8fe1,#ff1694);box-shadow:0 0 28px #ff1694}.flash-core{filter:blur(40px);background:#fff!important;border-radius:50%!important;width:auto!important;height:auto!important;animation:.75s ease-out both brightFlash!important;position:absolute!important;inset:30%!important}.fx-neon-tunnel:before,.fx-portal-flash:before{content:"";border:10px solid #00e5ff;border-radius:38%;animation:1.1s ease-out both tunnel;position:absolute;inset:12%;box-shadow:0 0 30px #00e5ff,inset 0 0 45px #ff26bb}.fx-pixel-burst i{border-radius:0}.fx-cube-rain i,.fx-mega-cubes i{animation:2.2s ease-in both cubeRain}.fx-gold-flash .flash-core{box-shadow:0 0 120px #ffb800;background:#ffe66d!important}.fx-champagne .bottle-pop{font-size:84px;animation:1.25s ease-out both bottlePop;position:absolute;bottom:3%;left:50%;transform:translate(-50%)rotate(-18deg)}.fx-champagne .foam{color:#fff6a2;text-shadow:0 0 25px #fff;font-size:48px;animation:1.3s ease-out both foamBurst;position:absolute;bottom:28%;left:51%}.finish,.lobby,.question-pro,.game-question{position:relative;overflow:hidden}.finish>:not(.visual-fx),.lobby>:not(.visual-fx),.question-pro>:not(.visual-fx),.game-question>:not(.visual-fx){z-index:2;position:relative}.finish-champagne{color:#fff!important;background:linear-gradient(135deg,#5e17eb,#ff24a8 50%,#ffb800)!important}.finish-mega-cubes{color:#fff!important;background:linear-gradient(135deg,#051937,#004d7a,#008793,#00bf72,#a8eb12)!important}.transition-flash-cubes{animation:.72s cubic-bezier(.18,.8,.2,1) questionFlash}.transition-neon-tunnel{animation:.85s ease-out neonEnter}.transition-pixel-burst{animation:.6s steps(8,end) pixelEnter}.game-bg{background:radial-gradient(circle at 15% 10%,#19e8ff66,#0000 28%),radial-gradient(circle at 85% 80%,#ff2fa466,#0000 30%),linear-gradient(145deg,#4017b8,#7c21d4 45%,#ee258c)!important}.game-question{border:3px solid #fff;background:linear-gradient(145deg,#fff,#f7f1ff)!important;box-shadow:0 28px 80px #29005788!important}.answer-grid button{transition:all .2s;transform:translateY(0);box-shadow:0 15px #0002,0 20px 35px #37106e33!important}.answer-grid button:hover{filter:saturate(1.25)brightness(1.08);transform:translateY(-6px)scale(1.025)}@keyframes ringSpin{to{transform:rotate(360deg)}}@keyframes cubeFloat{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-26px)rotate(18deg)}}@keyframes fxCube{0%{opacity:0;transform:translate(-50px,60px)rotate(-180deg)scale(.2)}55%{opacity:1}to{opacity:0;transform:translate(70px,-90px)rotate(360deg)scale(1.5)}}@keyframes brightFlash{0%{opacity:0;transform:scale(.1)}35%{opacity:.9}to{opacity:0;transform:scale(4)}}@keyframes cubeRain{0%{opacity:0;transform:translateY(-180px)rotate(0)}35%{opacity:1}to{opacity:0;transform:translateY(650px)rotate(540deg)}}@keyframes tunnel{0%{opacity:0;transform:scale(2.4)rotate(10deg)}to{opacity:0;transform:scale(.2)rotate(-10deg)}}@keyframes bottlePop{0%{opacity:0;transform:translate(-50%)translateY(150px)rotate(-30deg)}50%{opacity:1;transform:translate(-50%)translateY(0)rotate(-18deg)}70%{transform:translate(-50%)rotate(-26deg)}to{transform:translate(-50%)rotate(-18deg)}}@keyframes foamBurst{0%{opacity:0;transform:scale(.1)translateY(80px)}55%{opacity:1;transform:scale(1.8)translateY(-20px)}to{opacity:0;transform:scale(3.5)translateY(-120px)}}@keyframes questionFlash{0%{opacity:0;filter:brightness(2.4);transform:scale(.8)rotateX(10deg)}to{opacity:1;filter:none;transform:none}}@keyframes neonEnter{0%{opacity:0;filter:blur(16px)saturate(2);transform:scale(1.8)}to{opacity:1;filter:none;transform:none}}@keyframes pixelEnter{0%{clip-path:inset(0 100% 100% 0)}to{clip-path:inset(0)}}@media (width<=700px){.student-home{padding:15px}.student-entry-card{border-radius:27px;margin-top:12vh;padding:34px 20px}.student-pin-box{flex-direction:column}.student-pin-box button{width:100%}.student-entry-card h1{font-size:52px}.teacher-entry{padding:10px!important;font-size:12px!important}.fx-cubes i{width:32px;height:32px}.header-actions{flex-wrap:wrap}}.status.sync-ok{color:#166534;background:#dcfce7}.status.sync-warn{color:#9a3412;background:#fff7ed}
