*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}body:has(.container){background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:20px}.container{max-width:1200px;margin:0 auto;background:white;border-radius:15px;box-shadow:0 10px 40px rgba(0,0,0,.2);padding:30px}.container h1{color:#333;margin-bottom:30px;text-align:center}.tabs{display:flex;gap:10px;margin-bottom:30px;border-bottom:2px solid #e0e0e0}.tab{padding:12px 24px;background:none;cursor:pointer;font-size:16px;color:#666;border:none;border-bottom:3px solid transparent;transition:all .3s}.tab.active{color:#667eea;border-bottom-color:#667eea}.tab-content{display:none}.tab-content.active{display:block}.form-group{margin-bottom:20px}label{display:block;margin-bottom:8px;font-weight:600;color:#333}input,select,textarea{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;transition:border-color .3s;font-family:inherit}input:focus,select:focus,textarea:focus{outline:none;border-color:#667eea}.btn{padding:12px 24px;border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:600;transition:all .3s;margin-right:10px}.btn-primary{background:#667eea;color:white}.btn-primary:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 5px 15px rgba(102,126,234,.4)}.btn-secondary{background:#f0f0f0;color:#333}.btn-secondary:hover{background:#e0e0e0}.question-list{border:2px solid #e0e0e0;border-radius:8px;padding:20px;margin-top:20px}.question-item{background:#f8f9fa;padding:15px;border-radius:8px;margin-block:15px;border-left:4px solid #667eea}.question-item strong{line-height:30px}.session-item{background:#f8f9fa;padding:20px;border-radius:8px;margin-bottom:15px;display:flex;justify-content:space-between;align-items:center}.session-info{flex:1 1}.session-actions{display:flex;gap:10px}.status-badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}.status-waiting{background:#ffeaa7;color:#d63031}.status-active{background:#55efc4;color:#00b894}.status-finished{background:#dfe6e9;color:#2d3436}.student-details,.student-response{background:white;border-radius:8px}.student-details{margin-bottom:15px;border:2px solid #e0e0e0}.student-summary{padding:15px 20px;cursor:pointer;list-style:none;display:grid;grid-template-columns:auto 1fr auto;grid-gap:15px;gap:15px;align-items:center;background:#f8f9fa;border-radius:6px;transition:background .2s}.student-summary:hover{background:#e9ecef}.student-summary::-webkit-details-marker{display:none}.student-summary:before{content:"▶";font-size:12px;transition:transform .3s;color:#667eea}details[open] .student-summary:before{transform:rotate(90deg)}.summary-left{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.summary-right{font-size:18px;color:#667eea;font-weight:700;text-align:right}.student-content{padding:15px 20px}.response-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:15px;border-bottom:2px solid #e0e0e0}.cheat-warning{background:#ff7675;color:white;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:600}.cheat-warning ul{padding-left:20px}.response-item{background:#f8f9fa;padding:15px;border-radius:8px;margin-bottom:10px}.checkbox-container{display:flex;align-items:center;gap:10px;margin-top:10px;padding:15px;background:#6C69CD}.checkbox-container>input[type=checkbox]{width:auto!important}.checkbox-container>label{color:#fff;margin-bottom:0}.url-display{background:#f0f0f0;padding:15px;border-radius:8px;margin-top:20px;font-family:monospace;word-break:break-all}.loader{border:5px solid #f3f3f3;border-top-color:#667eea;border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.modal-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);z-index:10000;justify-content:center;align-items:center}.modal-overlay.open{display:flex}.modal{background:white;border-radius:12px;padding:30px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.3)}.modal h3{margin-bottom:20px;color:#333}.modal-actions{display:flex;gap:10px;margin-top:20px}.student-container{width:100vw;min-height:100vh;display:flex;justify-content:center;align-items:flex-start;padding:20px;background:linear-gradient(135deg,#667eea,#764ba2);overflow-y:auto}.student-card{background:white;border-radius:20px;padding:40px;max-width:800px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:slideIn .5s ease-out;margin:auto}@keyframes slideIn{0%{opacity:0;transform:translateY(-50px)}to{opacity:1;transform:translateY(0)}}.student-card h1{color:#333;margin-bottom:30px;text-align:center}.loading{text-align:center;padding:60px 20px}.spinner{border:5px solid #f3f3f3;border-top-color:#667eea;border-radius:50%;width:60px;height:60px;animation:spin 1s linear infinite;margin:0 auto 20px}.student-btn{width:100%;padding:15px;background:#667eea;color:white;border:none;border-radius:8px;font-size:18px;font-weight:600;cursor:pointer;transition:all .3s}.student-btn:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 5px 15px rgba(102,126,234,.4)}.student-btn:disabled{background:#aaa;cursor:not-allowed;transform:none}.rules{text-align:left;padding:20px}.rules h2{color:#667eea;margin-bottom:20px}.rules ol{line-height:2;padding-left:20px}.rules li{margin-bottom:10px}.timer{background:#ff7675;color:white;padding:15px;border-radius:10px;text-align:center;font-size:24px;font-weight:700}.progress,.timer{margin-bottom:20px}.progress{background:#e0e0e0;height:10px;border-radius:5px;overflow:hidden}.progress-bar{background:#667eea;height:100%;transition:width .3s}.question{font-size:20px;font-weight:600;color:#333;margin-bottom:30px;line-height:1.6}.question-image{max-width:100%;height:auto;margin:20px 0;border-radius:8px}.question-container{min-height:300px}.end-screen{text-align:center;padding:40px}.end-screen h2{color:#667eea;margin-bottom:20px}.cheat-warning-toast{position:fixed;top:20px;right:20px;background:#ff7675;color:white;padding:20px;border-radius:10px;font-weight:700;z-index:10000;animation:shake .5s}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}