:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}html,body{overflow-x:hidden;width:100%;max-width:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;margin:0;padding:0}#root{width:100%;max-width:100%;overflow-x:hidden}.app{min-height:100vh;width:100%;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.app .dashboard-container{width:100%;max-width:1200px;min-height:100vh;margin:0;border-radius:12px}@media (max-width: 768px){.app{padding:0}.app .dashboard-container{border-radius:0;max-width:100%}}.welcome-container{width:100%;display:flex;align-items:center;justify-content:center}.welcome-content{text-align:center;max-width:600px;padding:40px 20px}.site-title{font-size:48px;color:#fff;margin-bottom:20px;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.1)}.site-description{font-size:18px;color:#ffffffe6;line-height:1.6;margin-bottom:40px;max-width:500px;margin-left:auto;margin-right:auto}.enter-button{background:#fff;color:#667eea;border:none;padding:16px 40px;border-radius:50px;font-size:18px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #0003}.enter-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000040}.self-assessment-container{width:90%;max-width:900px;background:#fff;border-radius:12px;min-height:600px;box-shadow:0 20px 25px -5px #0000001a;margin-left:auto!important;margin-right:auto!important}.assessment-header{padding:30px;border-bottom:1px solid #e5e7eb}.header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.header-top h1{font-size:28px;color:#1f2937;margin:0}.survey-tabs{display:flex;gap:10px;margin-bottom:20px;overflow-x:auto;padding-bottom:5px}.survey-tab{background:#f3f4f6;border:2px solid #d1d5db;border-radius:8px;padding:15px 20px;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:150px;position:relative;color:#374151;outline:none}.survey-tab:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a;background:#e5e7eb}.survey-tab:focus{outline:none;box-shadow:0 0 0 3px #667eea33}.survey-tab.active{background:#667eea;border-color:#667eea;color:#fff;outline:none}.survey-tab.active:focus{outline:none;box-shadow:0 0 0 3px #667eea4d}.survey-tab.completed{background:#f0fdf4;border-color:#10b981;color:#065f46}.survey-tab.completed.active{background:#667eea;border-color:#667eea;color:#fff}.tab-number{font-size:12px;font-weight:600;opacity:.7}.survey-tab.active .tab-number{opacity:1}.tab-title{font-size:14px;font-weight:500;text-align:center}.tab-checkmark{position:absolute;top:5px;right:5px;background:#10b981;color:#fff;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:12px}.survey-tab.active .tab-checkmark{background:#fff;color:#667eea}.progress-info{text-align:center}.progress-info p{color:#6b7280;margin:10px 0 0;font-size:14px}.assessment-content{padding:30px;display:flex;flex-direction:column;align-items:center}.survey-intro{text-align:center;max-width:800px;margin-bottom:30px}.survey-intro h2{font-size:24px;color:#1f2937;margin-bottom:10px}.survey-intro p{color:#6b7280;margin-bottom:10px}.survey-intro .instruction{font-style:italic;color:#667eea;margin-top:15px}.completed-surveys{padding:20px 30px;border-top:1px solid #e5e7eb}.completed-surveys h3{font-size:18px;color:#1f2937;margin-bottom:10px}.completed-surveys ul{list-style:none;padding:0}.completed-surveys li{color:#10b981;margin:5px 0}.dashboard-container{width:100%;max-width:1200px;background:#fff;border-radius:12px;min-height:600px;box-shadow:0 20px 25px -5px #0000001a;margin:0 auto}.dashboard-header{display:flex;justify-content:space-between;align-items:center;padding:30px;border-bottom:1px solid #e5e7eb}.dashboard-header h1{font-size:28px;color:#1f2937}.dashboard-header .header-actions{display:flex;gap:15px;align-items:center}.dashboard-header .header-actions span{color:#6b7280;font-weight:500}.back-button{background:#fff;border:1px solid #d1d5db;color:#6b7280;padding:8px 16px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.back-button:hover{background:#f9fafb;border-color:#9ca3af;color:#4b5563}.dashboard-content{padding:30px}.dashboard-card{background:#f9fafb;border-radius:8px;padding:30px;text-align:center}.dashboard-card h2{font-size:24px;color:#1f2937;margin-bottom:10px}.dashboard-card p{color:#6b7280;margin-bottom:30px}.next-steps-section{text-align:left}.next-steps-section h3{font-size:20px;color:#1f2937;margin-bottom:20px}.steps-buttons{display:flex;gap:16px;justify-content:space-between}.step-button{flex:1;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:20px;cursor:pointer;transition:all .2s;text-align:center}.step-button:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.step-button h4{font-size:16px;color:#1f2937;margin-bottom:8px}.step-button p{font-size:14px;color:#6b7280;margin:0}.assessment-center{background:#f9fafb;border-radius:8px;padding:30px;margin-top:30px;border:1px solid #e5e7eb}.assessment-center h3{font-size:20px;color:#1f2937;margin-bottom:10px}.assessment-center p{color:#6b7280;margin:0}.loading-state,.no-surveys{text-align:center;padding:40px;color:#6b7280;font-style:italic}.survey-tabs-container{margin-top:20px;display:flex;flex-direction:column;align-items:center}.survey-tabs{display:flex;border-bottom:2px solid #e5e7eb;margin-bottom:20px;width:100%;max-width:800px}.tab-button{background:none;border:none;padding:12px 20px;cursor:pointer;border-bottom:2px solid transparent;color:#6b7280;font-weight:500;transition:all .2s}.tab-button:hover{color:#667eea}.tab-button.active{color:#667eea;border-bottom-color:#667eea}.survey-container{background:#fff;border-radius:8px;padding:20px;border:1px solid #e5e7eb;width:100%;max-width:800px;margin:0 auto}.survey-header h4{font-size:18px;color:#1f2937;margin-bottom:8px}.survey-header p{color:#6b7280;margin-bottom:20px}.scale-legend{background:#f0f4ff;border:1px solid #667eea;border-radius:8px;padding:12px 16px;margin:16px 0;color:#374151;font-size:14px;line-height:1.6}.scale-legend strong{color:#667eea;margin-right:8px}.survey-question{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #f3f4f6}.survey-question:last-child{border-bottom:none}.survey-question h5{font-size:16px;color:#1f2937;margin-bottom:8px}.question-description{color:#6b7280;margin-bottom:15px}.question-inputs{display:flex;flex-direction:column;gap:15px}.survey-input{display:flex;flex-direction:column}.survey-label{font-weight:500;color:#374151;margin-bottom:8px}.question-number{font-weight:700;color:#667eea;margin-right:6px;font-size:1.05em}.scale-container{display:flex;align-items:center;gap:10px}.scale-input{flex:1;height:6px;background:#e5e7eb;border-radius:3px;outline:none}.scale-input::-webkit-slider-thumb{appearance:none;width:20px;height:20px;border-radius:50%;background:#667eea;cursor:pointer}.scale-min,.scale-max{font-size:12px;color:#6b7280;min-width:20px;text-align:center}.scale-value{background:#667eea;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;min-width:30px;text-align:center}.multiple-choice-container{display:flex;flex-direction:row;gap:16px;margin-top:8px;align-items:center}.choice-option{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer;transition:all .2s;padding:4px 0}.choice-option:hover{opacity:.8}.choice-option input[type=radio]{cursor:pointer;width:18px;height:18px;accent-color:#667eea;flex-shrink:0;margin:0}.choice-option input[type=radio]:checked~.choice-label{color:#667eea;font-weight:600}.choice-label{display:flex;align-items:center;cursor:pointer;text-align:left}.choice-text{color:#374151;font-size:12px;line-height:1.3;word-wrap:break-word;max-width:100px}.choice-value{color:#9ca3af;font-size:11px;margin-top:2px}.number-input{border:1px solid #d1d5db;border-radius:6px;padding:8px 12px;font-size:14px;width:120px}.unit-label{font-size:12px;color:#6b7280;margin-left:8px}.help-text{font-size:12px;color:#6b7280;margin-top:5px;font-style:italic}.survey-submit{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:6px;font-weight:500;cursor:pointer;margin-top:20px;transition:background-color .2s}.survey-submit:hover:not(:disabled){background:#5a67d8}.survey-submit:disabled,.survey-submit.disabled{background:#9ca3af;cursor:not-allowed;opacity:.7}.results-container{background:#fff;border-radius:8px;padding:20px;border:1px solid #e5e7eb;width:100%;max-width:800px;margin:0 auto}.results-container h4{font-size:18px;color:#1f2937;margin-bottom:8px}.results-container>p{color:#6b7280;margin-bottom:20px}.no-results{text-align:center;padding:40px;color:#6b7280;font-style:italic}.game-description{text-align:left;max-width:800px;margin:0 auto 40px}.how-it-works,.game-features{background:#ffffff1a;padding:20px;border-radius:10px;margin:20px 0}.how-it-works h3,.game-features h3{color:#fff;margin-bottom:15px}.how-it-works ol,.game-features ul{color:#ffffffe6;margin-left:20px}.how-it-works li,.game-features li{margin:8px 0}.login-container{width:100%;display:flex;align-items:center;justify-content:center}.login-content{background:#fff;padding:40px;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;width:100%;max-width:400px}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:500;color:#374151;margin-bottom:5px}.form-group input{border:1px solid #d1d5db;border-radius:6px;padding:12px;font-size:14px}.form-group input.readonly-input{background-color:#f3f4f6;color:#6b7280;cursor:not-allowed}.email-locked-notice{font-size:12px;color:#6b7280;margin-top:4px;font-style:italic}.login-button{background:#667eea;color:#fff;border:none;padding:14px;border-radius:6px;font-weight:500;cursor:pointer;transition:background-color .2s}.login-button:hover{background:#5a67d8}.invitation-notice{background:#dbeafe;color:#1e40af;padding:12px;border-radius:8px;margin-bottom:20px;text-align:center;border:1px solid #93c5fd;font-size:14px}.invitation-notice strong{color:#667eea;font-weight:600}.game-invite-notice{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#78350f;padding:16px;border-radius:10px;margin-bottom:20px;border:1px solid #f59e0b}.game-invite-notice h3{margin:0 0 8px;font-size:1rem;color:#92400e}.game-invite-notice p{margin:0 0 12px;font-size:.9rem}.game-invite-notice .required-surveys-list{margin:0;padding-left:20px}.game-invite-notice .required-surveys-list li{font-weight:500;margin-bottom:4px}.error-message{background:#fee2e2;color:#dc2626;padding:12px;border-radius:6px;margin-bottom:20px;font-size:14px;border:1px solid #fecaca}.toggle-button{background:none;border:none;color:#667eea;cursor:pointer;text-decoration:underline}.auth-mode-toggle{margin:20px 0;padding:15px;background:#f9fafb;border-radius:6px;font-size:14px;border:1px solid #e5e7eb}.auth-mode-toggle label{display:flex;align-items:center;cursor:pointer;color:#374151;-webkit-user-select:none;user-select:none}.auth-mode-toggle input[type=checkbox]{margin-right:10px;cursor:pointer;width:18px;height:18px;accent-color:#667eea}.auth-mode-toggle:hover{background:#f3f4f6;border-color:#d1d5db}.input-with-status{position:relative}.username-status{margin-top:6px;font-size:13px;font-weight:500}.status-checking{color:#6b7280;font-style:italic}.status-available{color:#059669;display:flex;align-items:center;gap:4px}.status-taken{color:#dc2626;display:flex;align-items:center;gap:4px}input.username-available{border-color:#059669!important;background-color:#f0fdf4}input.username-taken{border-color:#dc2626!important;background-color:#fef2f2}input.username-checking{border-color:#6b7280!important}.login-button:disabled{background:#9ca3af;cursor:not-allowed;opacity:.6}.login-toggle{text-align:center;margin-top:20px}.login-toggle p{color:#6b7280;font-size:14px}.game-progress{margin-bottom:30px}.progress-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:20px}.stat-card{background:#f9fafb;padding:20px;border-radius:8px;text-align:center;border:1px solid #e5e7eb}.stat-card h3{font-size:14px;color:#6b7280;margin-bottom:10px;text-transform:uppercase;letter-spacing:.5px}.stat-card p{font-size:18px;font-weight:600;color:#1f2937;margin:0}.action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:20px}.action-button{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px;cursor:pointer;transition:all .2s;text-align:left}.action-button:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26}.action-button.primary{background:#667eea;color:#fff;border-color:#667eea}.action-button.primary:hover{background:#5a67d8}.action-button h3{margin:0 0 8px;font-size:16px;color:#1f2937}.action-button p{margin:0;font-size:14px;color:#6b7280}.action-button.primary h3{color:#fff}.action-button.primary p{color:#ffffffe6}.action-button.locked{opacity:.6;cursor:not-allowed;background:#f3f4f6;border-color:#d1d5db}.action-button.locked:hover{border-color:#d1d5db;box-shadow:none}.step-status{display:inline-block;margin-top:12px;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500}.step-status.locked{background:#fef3c7;color:#92400e}.progress-bar{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin:10px 0}.progress-fill{height:100%;background:#667eea;transition:width .3s ease}.friends-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-top:20px}.friend-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px;text-align:center}.friend-card h3{color:#1f2937;margin-bottom:5px}.friend-card p{color:#6b7280;font-size:14px;margin-bottom:15px}.rate-friend-button{background:#667eea;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:500;width:100%}.rankings-list{max-width:500px;margin:0 auto}.ranking-item{display:flex;align-items:center;padding:15px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:10px}.ranking-item.current-user{background:#f0f4ff;border-color:#667eea}.rank-number{font-size:24px;margin-right:15px;min-width:40px}.player-info h4{margin:0 0 5px;color:#1f2937}.player-info p{margin:0;color:#6b7280;font-size:14px}.settings-container{width:100%;max-width:1200px;background:#fff;border-radius:12px;min-height:600px;box-shadow:0 20px 25px -5px #0000001a;margin:0 auto}.settings-header{display:flex;justify-content:space-between;align-items:center;padding:30px;border-bottom:1px solid #e5e7eb}.settings-header h1{font-size:28px;color:#1f2937}.settings-header .header-actions{display:flex;gap:15px;align-items:center}.settings-header .header-actions span{color:#6b7280;font-weight:500}.settings-content{padding:30px}.settings-tabs{display:flex;border-bottom:2px solid #e5e7eb;margin-bottom:30px;gap:10px}.settings-panel{max-width:800px;margin:0 auto}.profile-settings,.security-settings,.friends-settings{background:#f9fafb;padding:30px;border-radius:8px}.profile-settings h2,.security-settings h2,.friends-settings h2{font-size:24px;color:#1f2937;margin-bottom:20px}.section-description{color:#6b7280;margin-bottom:20px}.settings-section{margin-bottom:25px}.settings-section label{display:block;font-weight:500;color:#374151;margin-bottom:8px}.settings-input{width:100%;border:1px solid #d1d5db;border-radius:6px;padding:12px;font-size:14px}.settings-input:disabled{background-color:#f3f4f6;cursor:not-allowed}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper .password-input{padding-right:45px}.password-toggle{position:absolute;right:10px;background:transparent;border:none;cursor:pointer;font-size:18px;padding:5px;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.password-toggle:hover{opacity:.7}.settings-actions{display:flex;gap:15px;margin-top:30px}.edit-button,.save-button,.cancel-button,.primary-button,.secondary-button{padding:12px 24px;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s}.edit-button,.primary-button{background:#667eea;color:#fff;border:none}.edit-button:hover,.primary-button:hover{background:#5a67d8}.secondary-button{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.secondary-button:hover{background:#e5e7eb;border-color:#9ca3af}.save-button{background:#10b981;color:#fff;border:none}.save-button:hover{background:#059669}.cancel-button{background:#fff;color:#6b7280;border:1px solid #d1d5db}.cancel-button:hover{border-color:#9ca3af;color:#4b5563}.admin-button,.settings-button,.logout-button{background:none;border:1px solid #d1d5db;color:#6b7280;padding:8px 16px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.admin-button{border-color:#f59e0b;color:#f59e0b;font-weight:500}.admin-button:hover{background-color:#f59e0b;color:#fff;border-color:#f59e0b}.settings-button:hover,.logout-button:hover{border-color:#9ca3af;color:#4b5563}.header-actions{display:flex;gap:15px;align-items:center}.friends-list{display:flex;flex-direction:column;gap:15px}.friend-item{background:#fff;padding:20px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;border:1px solid #e5e7eb}.friend-info h4{margin:0 0 5px;color:#1f2937}.friend-info p{margin:0 0 8px;color:#6b7280;font-size:14px}.friend-status{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500}.friend-status.active{background:#d1fae5;color:#065f46}.friend-status.pending{background:#fef3c7;color:#92400e}.warning-badge{display:inline-block;padding:6px 12px;background:#fef3c7;color:#92400e;border-radius:6px;font-size:13px;font-weight:500;margin-top:8px}.remove-friend-button{background:#ef4444;color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;transition:background .2s}.remove-friend-button:hover{background:#dc2626}.no-friends{text-align:center;padding:40px;color:#6b7280;font-style:italic}.preferences-settings{background:#f9fafb;padding:30px;border-radius:8px}.preferences-settings h2{font-size:24px;color:#1f2937;margin-bottom:20px}.preference-section{margin-bottom:30px}.preference-section h3{font-size:18px;color:#1f2937;margin-bottom:15px}.auth-mode-preference{display:flex;flex-direction:column;gap:20px}.preference-option{background:#fff;padding:20px;border-radius:8px;border:2px solid #e5e7eb}.switch-label{display:flex;align-items:flex-start;cursor:pointer;gap:12px}.preference-checkbox{margin-top:2px;width:20px;height:20px;cursor:pointer;accent-color:#667eea;flex-shrink:0}.preference-text{display:flex;flex-direction:column;gap:5px}.preference-text strong{color:#1f2937;font-size:16px}.preference-text small{color:#6b7280;font-size:14px}.preference-info{background:#fff;padding:20px;border-radius:8px;border:1px solid #e5e7eb}.preference-info p{color:#1f2937;font-weight:600;margin:15px 0 10px}.preference-info p:first-child{margin-top:0}.preference-info ul{list-style:none;padding:0;margin:0 0 15px}.preference-info li{color:#6b7280;padding:5px 0;font-size:14px}.photo-upload-section{flex:1;display:flex;flex-direction:column;gap:15px}.upload-button{display:inline-block;background:#667eea;color:#fff;padding:12px 24px;border-radius:6px;cursor:pointer;transition:background .2s;font-weight:500;text-align:center;width:fit-content}.upload-button:hover{background:#5a67d8}.upload-button.disabled{background:#9ca3af;cursor:not-allowed;pointer-events:none}.remove-photo-button{background:#ef4444;color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;transition:background .2s;font-weight:500;width:fit-content}.remove-photo-button:hover:not(:disabled){background:#dc2626}.remove-photo-button:disabled{background:#9ca3af;cursor:not-allowed}.upload-hint{font-size:12px;color:#6b7280;font-style:italic;margin:0}.admin-auth-container{width:100%;display:flex;align-items:center;justify-content:center}.admin-container{width:100%;max-width:1200px;background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;min-height:90vh}.admin-header{display:flex;justify-content:space-between;align-items:center;padding:30px;border-bottom:2px solid #e5e7eb}.admin-header h1{color:#1f2937;font-size:28px}.admin-header .header-actions{display:flex;gap:15px;align-items:center}.admin-header .header-actions span{color:#6b7280;font-weight:500}.admin-navigation{display:flex;gap:10px;padding:20px 30px;border-bottom:1px solid #e5e7eb;flex-wrap:wrap}.nav-button{background:none;border:1px solid #d1d5db;color:#6b7280;padding:10px 20px;border-radius:6px;cursor:pointer;transition:all .2s;font-size:14px}.admin-content{padding:30px}.overview-section h2,.users-section h2,.games-section h2,.data-section h2,.surveys-section h2{color:#1f2937;margin-bottom:25px;font-size:24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:40px}.stat-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px;text-align:center}.stat-card h3{color:#6b7280;font-size:14px;font-weight:600;margin-bottom:10px;text-transform:uppercase;letter-spacing:.5px}.stat-number{color:#1f2937;font-size:36px;font-weight:700}.recent-activity{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px}.recent-activity h3{color:#1f2937;font-size:18px;margin-bottom:15px}.activity-list{display:flex;flex-direction:column;gap:10px}.activity-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.activity-item p{color:#374151;margin:0;font-size:14px}.activity-item .timestamp{color:#9ca3af;font-size:12px}.results-summary{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px;margin-bottom:20px}.results-summary p{color:#374151;margin:8px 0;font-size:14px;font-weight:500}.survey-results-section h2{color:#1f2937;margin-bottom:20px;font-size:24px}.survey-results-table{overflow-x:auto}.survey-results-table table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.survey-results-table thead{background:#f9fafb}.survey-results-table th{padding:15px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;font-size:14px}.survey-results-table td{padding:15px;border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:14px}.survey-results-table tbody tr:hover{background:#f9fafb}.result-type-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.result-type-badge.self{background:#dbeafe;color:#1e40af}.result-type-badge.peer{background:#fef3c7;color:#92400e}.games-section h2,.data-section h2{color:#1f2937}.games-list{display:grid;gap:20px}.game-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px}.game-card h3{color:#1f2937;margin-bottom:12px;font-size:18px}.game-card p{color:#6b7280;margin:8px 0;font-size:14px}.game-card strong{color:#374151}.data-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.action-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px;text-align:center}.action-card h3{color:#1f2937;margin-bottom:10px;font-size:18px}.action-card p{color:#6b7280;margin-bottom:20px;font-size:14px}.export-button,.danger-button{padding:12px 24px;border-radius:6px;border:none;cursor:pointer;font-weight:500;font-size:14px;transition:all .2s}.export-button{background:#667eea;color:#fff}.export-button:hover{background:#5568d3}.export-card-full{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px;margin-bottom:24px}.export-card-full h3{margin:0 0 8px;color:#1f2937}.export-card-full>p{margin:0 0 20px;color:#6b7280}.export-options-row{display:flex;gap:40px;margin-bottom:20px}.export-checkboxes{display:flex;flex-direction:column;gap:10px;margin-top:8px}.checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;color:#374151}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#667eea}.checkbox-label span{-webkit-user-select:none;user-select:none}.export-option-group{flex:1}.export-option-group label{display:block;font-size:13px;font-weight:500;color:#374151;margin-bottom:6px}.export-select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#1f2937;background:#fff;cursor:pointer}.export-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.export-note{font-size:12px;color:#6b7280;background:#f3f4f6;padding:8px 12px;border-radius:6px;margin-bottom:12px}.data-summary{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px}.data-summary h3{color:#1f2937;margin-bottom:15px;font-size:18px}.data-summary ul{list-style:none;padding:0}.data-summary li{color:#6b7280;padding:8px 0;border-bottom:1px solid #e5e7eb;font-size:14px}.data-summary li:last-child{border-bottom:none}.surveys-section h2{color:#1f2937}.survey-actions{margin-bottom:20px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.add-survey-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-weight:500;font-size:14px;transition:all .2s}.add-survey-button:hover{background:#5568d3}.csv-upload-wrapper{display:inline-block}.csv-upload-wrapper .csv-upload-input{display:none}.csv-upload-button{background:#f3f4f6;color:#374151;border:1px solid #d1d5db;padding:12px 24px;border-radius:6px;cursor:pointer;font-weight:500;font-size:14px;transition:all .2s;display:inline-block}.csv-upload-button:hover{background:#e5e7eb;border-color:#9ca3af}.integration-instructions{background:#f0f9ff;border:1px solid #7dd3fc;border-radius:8px;padding:20px;margin-bottom:24px}.integration-instructions h4{color:#0369a1;margin:0 0 12px;font-size:16px}.integration-instructions ol{margin:0;padding-left:20px;color:#374151}.integration-instructions li{margin-bottom:10px;line-height:1.5}.integration-instructions li:last-child{margin-bottom:0}.integration-instructions code{background:#e0f2fe;padding:2px 6px;border-radius:4px;font-family:monospace;font-size:13px;color:#0c4a6e}.integration-instructions pre{background:#e0f2fe;padding:8px 12px;border-radius:4px;font-family:monospace;font-size:12px;color:#0c4a6e;margin:8px 0 0;overflow-x:auto}.integration-instructions .integration-note{margin-top:12px;padding:8px 12px;background:#dbeafe;border-radius:4px;font-size:13px;color:#1e40af;font-weight:500}.survey-item.inactive{opacity:.6}.inactive-badge{background:#fef3c7;color:#92400e;font-size:11px;padding:2px 8px;border-radius:4px;margin-left:8px;font-weight:500}.available-surveys{margin-bottom:30px}.available-surveys h3{color:#1f2937;margin-bottom:15px;font-size:18px}.survey-list{display:grid;gap:15px}.survey-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:16px 20px;display:flex;align-items:center;gap:15px}.survey-item h4{color:#1f2937;margin:0 0 5px;font-size:16px}.survey-item p{color:#6b7280;margin:0;font-size:14px}.edit-button{background:#f3f4f6;border:1px solid #d1d5db;color:#6b7280;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s}.edit-button:hover{background:#e5e7eb;border-color:#9ca3af}.survey-item-info{flex:1;min-width:0}.survey-item-info h4,.survey-item-info p{margin:0 0 4px}.survey-item-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.delete-survey-btn{background:#fee2e2;border:1px solid #fca5a5;color:#dc2626;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s}.delete-survey-btn:hover{background:#fecaca;border-color:#f87171}.drag-handle{cursor:grab;color:#9ca3af;font-size:14px;padding:4px 6px;-webkit-user-select:none;user-select:none;letter-spacing:-3px;flex-shrink:0}.drag-handle:hover{color:#667eea}.drag-handle:active{cursor:grabbing}.survey-item.dragging,.question-editor-simple.dragging{opacity:.5;background:#e5e7eb;border-style:dashed}.survey-order-badge{background:#667eea;color:#fff;padding:6px 12px;border-radius:6px;font-size:14px;font-weight:600;min-width:20px;text-align:center;flex-shrink:0}.reorder-hint{color:#6b7280;font-size:13px;margin:0 0 12px;font-style:italic}.no-surveys{color:#9ca3af;text-align:center;padding:30px;font-style:italic}.survey-note{background:#fef3c7;border:1px solid #fbbf24;border-radius:8px;padding:20px}.survey-note p{color:#92400e;margin:0 0 10px;font-size:14px}.survey-note strong{color:#78350f}.survey-note ul{margin:10px 0 0 20px}.survey-note li{color:#92400e;margin:5px 0;font-size:14px}.survey-id{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;color:#9ca3af;background:#f3f4f6;padding:2px 8px;border-radius:4px}.survey-builder-select{max-width:800px}.survey-builder-select h3{color:#1f2937;margin-bottom:10px}.survey-builder-select>p{color:#6b7280;margin-bottom:25px}.builder-options{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:30px}.builder-option{background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;padding:25px;cursor:pointer;transition:all .2s;text-align:center}.builder-option:hover{border-color:#667eea;background:#f5f3ff}.option-icon{font-size:36px;margin-bottom:12px}.builder-option h4{color:#1f2937;margin:0 0 8px;font-size:18px}.builder-option p{color:#6b7280;margin:0;font-size:14px;line-height:1.5}.csv-upload-input{display:none}.csv-upload-label{display:inline-block;margin-top:15px;padding:8px 16px;background:#667eea;color:#fff;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.csv-upload-label:hover{background:#5568d3}.csv-format-info{background:#f0fdf4;border:1px solid #86efac;border-radius:8px;padding:20px;margin-bottom:20px}.csv-format-info h4{color:#166534;margin:0 0 10px;font-size:16px}.csv-format-info>p{color:#15803d;margin:0 0 15px;font-size:14px}.csv-format-table{width:100%;border-collapse:collapse;font-size:13px}.csv-format-table th,.csv-format-table td{padding:8px 12px;text-align:left;border-bottom:1px solid #86efac}.csv-format-table th{background:#dcfce7;color:#166534;font-weight:600}.csv-format-table td{color:#374151}.cancel-button{background:#f3f4f6;border:1px solid #d1d5db;color:#6b7280;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s}.cancel-button:hover{background:#e5e7eb;border-color:#9ca3af}.survey-builder-manual{max-width:1400px}.builder-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:15px;border-bottom:1px solid #e5e7eb}.builder-header h3{color:#1f2937;margin:0}.builder-actions{display:flex;gap:10px}.preview-toggle-btn{background:#f3f4f6;border:1px solid #d1d5db;color:#374151;padding:10px 18px;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s}.preview-toggle-btn:hover{background:#e5e7eb}.save-survey-btn{background:#10b981;border:none;color:#fff;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.save-survey-btn:hover{background:#059669}.csv-errors{background:#fef2f2;border:1px solid #fca5a5;border-radius:8px;padding:15px 20px;margin-bottom:20px}.csv-errors h4{color:#b91c1c;margin:0 0 10px;font-size:14px}.csv-errors ul{margin:0;padding-left:20px}.csv-errors li{color:#dc2626;font-size:13px;margin:5px 0}.builder-content{display:block}.builder-content.with-preview{display:grid;grid-template-columns:1fr 1fr;gap:30px}.builder-form{background:#fff}.form-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px;margin-bottom:20px}.form-section h4{color:#1f2937;margin:0 0 15px;font-size:16px}.form-row.compact{grid-template-columns:1fr 80px 80px}.form-group{margin-bottom:15px}.form-group.small{margin-bottom:0}.form-group label{display:block;color:#374151;font-size:13px;font-weight:500;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:all .2s;box-sizing:border-box}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;min-height:80px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-header h4{margin:0}.add-question-btn{background:#667eea;border:none;color:#fff;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s}.add-question-btn:hover{background:#5568d3}.add-question-btn-bottom{background:#667eea;border:none;color:#fff;padding:12px 20px;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s;width:100%;margin-top:15px}.add-question-btn-bottom:hover{background:#5568d3}.no-questions{text-align:center;padding:40px 20px;color:#9ca3af}.no-questions p{margin:0}.questions-list{display:flex;flex-direction:column;gap:10px}.question-editor{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:15px}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.question-num{background:#667eea;color:#fff;padding:4px 10px;border-radius:4px;font-size:13px;font-weight:600}.remove-question-btn{background:#fee2e2;border:none;color:#dc2626;width:28px;height:28px;border-radius:6px;cursor:pointer;font-size:18px;line-height:1;transition:all .2s}.remove-question-btn:hover{background:#fecaca}.question-fields .form-group{margin-bottom:12px}.question-fields .form-group:last-child{margin-bottom:0}.question-editor-simple{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px 15px}.question-editor-simple .drag-handle{margin-right:-4px}.question-editor-simple .question-num{background:#667eea;color:#fff;padding:4px 10px;border-radius:4px;font-size:13px;font-weight:600;min-width:28px;text-align:center}.question-label-input{flex:1;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:all .2s}.question-label-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-section-note{color:#6b7280;font-size:13px;margin:0 0 15px;font-style:italic}.builder-preview{position:sticky;top:20px;align-self:start}.builder-preview h4{color:#1f2937;margin:0 0 15px;font-size:16px}.preview-container{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px;max-height:calc(100vh - 200px);overflow-y:auto}.preview-survey{background:#fff;border-radius:8px;padding:25px;box-shadow:0 1px 3px #0000001a}.preview-header{margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e5e7eb}.preview-header h5{color:#1f2937;margin:0 0 10px;font-size:18px}.preview-description{color:#6b7280;margin:0;font-size:14px;line-height:1.5}.preview-scale-legend{margin-top:15px;padding:10px 15px;background:#f3f4f6;border-radius:6px;font-size:13px;color:#374151}.preview-section-prompt{color:#4b5563;font-style:italic;margin:0 0 20px;font-size:15px}.preview-questions{display:flex;flex-direction:column;gap:20px}.preview-question{padding-bottom:15px;border-bottom:1px solid #f3f4f6}.preview-question:last-child{border-bottom:none;padding-bottom:0}.preview-label{display:block;color:#374151;font-size:14px;margin-bottom:10px}.preview-num{color:#667eea;font-weight:600;margin-right:6px}.preview-scale{display:flex;gap:15px}.preview-option{display:flex;align-items:center;gap:6px;cursor:not-allowed}.preview-option input{margin:0}.preview-option span{color:#6b7280;font-size:14px}.preview-empty{text-align:center;color:#9ca3af;font-style:italic;padding:30px}.user-search{display:flex;gap:10px;margin-bottom:25px;align-items:center}.search-input{flex:1;padding:12px 16px;border:1px solid #d1d5db;border-radius:6px;font-size:16px;transition:all .2s}.search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.clear-search-button{background:#f3f4f6;border:1px solid #d1d5db;color:#6b7280;padding:12px 20px;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s}.clear-search-button:hover{background:#e5e7eb;border-color:#9ca3af}.users-table{overflow-x:auto}.users-table table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.users-table thead{background:#f9fafb}.users-table th{padding:15px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;font-size:14px}.users-table td{padding:15px;border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:14px}.users-table tbody tr:hover{background:#f9fafb}.uid-cell{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;color:#9ca3af;cursor:help}.you-indicator{color:#667eea;font-size:12px;font-weight:500}.role-badge{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600}.role-badge.admin{background:#fef3c7;color:#92400e}.role-badge.user{background:#e5e7eb;color:#6b7280}.actions-cell{display:flex;gap:8px}.action-btn-text{padding:6px 12px;border:none;border-radius:6px;cursor:pointer;font-size:12px;font-weight:500;transition:all .2s;white-space:nowrap}.action-btn-text.promote{background:#dbeafe;color:#1d4ed8}.action-btn-text.promote:hover{background:#bfdbfe}.action-btn-text.demote{background:#e5e7eb;color:#4b5563}.action-btn-text.demote:hover{background:#d1d5db}.action-btn-text.delete{background:#fee2e2;color:#dc2626}.action-btn-text.delete:hover{background:#fca5a5}.no-results{padding:40px;text-align:center;color:#6b7280;font-size:16px;background:#f9fafb;border-radius:8px;margin-top:20px}.advanced-search-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px;margin:20px 0}.advanced-search-panel h3{margin:0 0 16px;font-size:16px;color:#374151}.search-row{margin-bottom:16px}.search-input-wrapper{width:100%}.search-input.full-width{width:100%;box-sizing:border-box}.filter-row{display:flex;gap:16px;flex-wrap:wrap}.filter-group{flex:1;min-width:150px}.filter-group label{display:block;font-size:13px;font-weight:500;color:#374151;margin-bottom:6px}.filter-select,.filter-date{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#1f2937;background:#fff;box-sizing:border-box}.filter-select:focus,.filter-date:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.filter-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.results-count{font-size:14px;color:#6b7280}.clear-filters-btn{padding:8px 16px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;font-size:13px;color:#374151;cursor:pointer;transition:all .2s}.clear-filters-btn:hover{background:#e5e7eb}.uid-fallback{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;color:#9ca3af}.game-results-section{padding:20px 0}.game-results-table{overflow-x:auto}.game-results-table table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:8px}.game-results-table thead{background:#f9fafb}.game-results-table th{padding:15px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;font-size:14px}.game-results-table td{padding:15px;border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:14px}.game-results-table tbody tr:hover{background:#f9fafb}.game-code-cell{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-weight:600;color:#667eea!important;letter-spacing:1px}.participant-count{cursor:help}.game-status-badge{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600}.game-status-badge.in_progress{background:#dbeafe;color:#1d4ed8}.game-status-badge.completed{background:#d1fae5;color:#065f46}.auth-form{background:#fff;padding:40px;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;width:100%;max-width:400px;text-align:center}.admin-key-input{width:100%;border:1px solid #d1d5db;border-radius:6px;padding:12px;margin-bottom:15px;font-size:16px}.auth-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-weight:500;width:100%}.demo-info{margin:20px 0;padding:15px;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.demo-info p{margin:0;font-size:14px;color:#6b7280}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.login-prompt-modal{background:#fff;padding:40px;border-radius:12px;box-shadow:0 20px 25px -5px #0000004d;max-width:400px;text-align:center}.login-prompt-modal h2{color:#1f2937;margin-bottom:15px;font-size:24px}.login-prompt-modal p{color:#6b7280;margin-bottom:30px;line-height:1.6}.modal-actions{display:flex;gap:15px;justify-content:center}.invite-friends-container{width:90%;max-width:1000px;background:#fff;border-radius:12px;min-height:600px;box-shadow:0 20px 25px -5px #0000001a;margin:0 auto}.invite-friends-container .page-header{display:flex;justify-content:space-between;align-items:center;padding:30px;border-bottom:1px solid #e5e7eb}.invite-friends-container .page-header h1{font-size:28px;color:#1f2937}.invite-content{padding:30px}.invite-section{margin-bottom:40px}.invite-section h2{font-size:22px;color:#1f2937;margin-bottom:25px}.invite-methods{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:30px}.method-card{border:2px solid #e5e7eb;border-radius:8px;transition:all .2s}.method-card.active{border-color:#667eea;background:#f0f4ff}.method-button{width:100%;padding:24px;background:transparent;border:none;cursor:pointer;text-align:center}.method-button h3{font-size:18px;color:#1f2937;margin-bottom:8px}.method-button p{font-size:14px;color:#6b7280;margin:0}.email-invite-section,.game-code-section{background:#f9fafb;padding:30px;border-radius:8px;margin-top:20px}.email-invite-section h3,.game-code-section h3{font-size:18px;color:#1f2937;margin-bottom:15px}.email-invite-section p,.game-code-section p{color:#6b7280;margin-bottom:15px}.email-input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-family:inherit;margin-bottom:15px;box-sizing:border-box}.email-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.send-invites-button,.share-code-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s}.send-invites-button:hover,.share-code-button:hover{background:#5a67d8}.game-code-display{display:flex;gap:15px;align-items:center;margin-bottom:20px}.code-box{flex:1;background:#fff;border:2px solid #667eea;border-radius:8px;padding:20px;text-align:center;display:flex;align-items:center;justify-content:center;gap:15px}.code-box .code{font-size:32px;font-weight:700;color:#667eea;letter-spacing:4px}.copy-code-button{background:#667eea;color:#fff;border:none;padding:10px 16px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s;white-space:nowrap;font-weight:500}.copy-code-button:hover{background:#5a67d8;transform:translateY(-1px)}.copy-code-button:active{transform:translateY(0)}.code-instructions{background:#fff;padding:20px;border-radius:8px;border:1px solid #e5e7eb}.code-instructions h4{font-size:16px;color:#1f2937;margin-bottom:12px}.code-instructions ol{margin-left:20px;color:#6b7280}.code-instructions li{margin:8px 0}.friends-list-section{margin-bottom:40px;padding:30px;background:#f9fafb;border-radius:8px}.friends-list-section h2{font-size:22px;color:#1f2937;margin-bottom:20px}.add-sample-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s}.add-sample-button:hover{background:#5a67d8}.status{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500;margin-top:8px}.status.joined{background:#d1fae5;color:#065f46}.status.invited{background:#fef3c7;color:#92400e}.next-steps{background:#f9fafb;padding:30px;border-radius:8px}.next-steps h3{font-size:20px;color:#1f2937;margin-bottom:12px}.next-steps p{color:#6b7280;margin-bottom:15px}.next-steps ol{margin-left:20px;margin-bottom:25px;color:#6b7280}.next-steps li{margin:10px 0}.action-buttons{display:flex;gap:15px;flex-wrap:wrap}.rate-friends-button,.view-results-button{background:#667eea;color:#fff;border:none;padding:14px 24px;border-radius:6px;cursor:pointer;font-weight:500;font-size:15px;transition:background .2s}.rate-friends-button:hover,.view-results-button:hover{background:#5a67d8}.game-results-container{width:90%;max-width:1000px;background:#fff;border-radius:12px;min-height:600px;box-shadow:0 20px 25px -5px #0000001a;margin:0 auto}.game-results-container .page-header{display:flex;justify-content:space-between;align-items:center;padding:30px;border-bottom:1px solid #e5e7eb}.game-results-container .page-header h1{font-size:28px;color:#1f2937}.results-navigation{display:flex;gap:10px;padding:20px 30px;border-bottom:2px solid #e5e7eb}.nav-button{background:#fff;border:1px solid #d1d5db;color:#6b7280;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.nav-button:hover{border-color:#667eea;color:#667eea}.nav-button.active{background:#667eea;color:#fff;border-color:#667eea}.results-content{padding:30px}.overview-section,.rankings-section,.detailed-section{max-width:800px;margin:0 auto}.overview-section h2,.rankings-section h2,.detailed-section h2{font-size:24px;color:#1f2937;margin-bottom:20px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.score-display{font-size:48px;font-weight:700;color:#667eea;margin:10px 0}.game-summary{background:#f9fafb;padding:25px;border-radius:8px;border:1px solid #e5e7eb;margin-top:30px}.game-summary h3{font-size:18px;color:#1f2937;margin-bottom:12px}.game-summary p{color:#6b7280;line-height:1.6;margin:0}.no-rankings,.no-details{text-align:center;padding:60px 20px;color:#6b7280;font-style:italic}.details-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.detail-card{background:#f9fafb;padding:20px;border-radius:8px;border:1px solid #e5e7eb}.detail-card h3{font-size:18px;color:#1f2937;margin-bottom:15px}.detail-stats p{color:#6b7280;margin:8px 0;font-size:14px}.detail-stats strong{color:#374151}.survey-selector{padding:30px;border-bottom:1px solid #e5e7eb}.survey-selector h3{font-size:18px;color:#1f2937;margin-bottom:15px;font-weight:600}.survey-buttons{display:flex;gap:15px;flex-wrap:wrap}.survey-button{background:#fff;border:2px solid #d1d5db;color:#6b7280;padding:12px 24px;border-radius:8px;cursor:pointer;font-weight:500;font-size:15px;transition:all .2s}.survey-button:hover{border-color:#667eea;color:#667eea}.survey-button.active{background:#667eea;color:#fff;border-color:#667eea}.game-selector{padding:30px;border-bottom:1px solid #e5e7eb}.game-selector h3{font-size:18px;color:#1f2937;margin-bottom:15px;font-weight:600}.game-dropdown{width:100%;max-width:500px;padding:12px 16px;font-size:15px;border:2px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;cursor:pointer;transition:all .2s}.game-dropdown:hover{border-color:#667eea}.game-dropdown:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.selected-game-info{padding:20px 30px;background:#f9fafb;border-bottom:1px solid #e5e7eb}.selected-game-info p{color:#6b7280;margin:8px 0;font-size:14px}.selected-game-info strong{color:#374151}.no-games-message{text-align:center;padding:80px 30px}.no-games-message h2{font-size:24px;color:#374151;margin-bottom:12px}.no-games-message p{color:#6b7280;margin-bottom:24px}.loading-rankings{text-align:center;padding:40px 20px;color:#6b7280;font-style:italic}.rankings-description{color:#6b7280;margin-bottom:20px;line-height:1.6}.rankings-list{display:flex;flex-direction:column;gap:16px;margin-top:24px}.ranking-item{display:grid;grid-template-columns:60px 1fr 120px;grid-template-rows:auto auto;gap:12px 16px;align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .2s}.ranking-item:hover{border-color:#667eea;box-shadow:0 4px 6px -1px #0000001a}.rank-badge{grid-column:1;grid-row:1 / 3;font-size:36px;text-align:center;display:flex;align-items:center;justify-content:center}.rater-info{grid-column:2;grid-row:1;display:flex;align-items:center;gap:12px}.rater-info h4{font-size:18px;color:#1f2937;margin:0}.score-display{grid-column:3;grid-row:1;text-align:center}.score-number{font-size:32px;font-weight:700;color:#667eea;line-height:1}.score-label{font-size:12px;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-top:4px}.score-bar-container{grid-column:2 / 4;grid-row:2;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.score-bar{height:100%;border-radius:4px;transition:width .3s ease,background-color .3s ease}.game-explanation{padding:30px;margin:30px;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb}.game-explanation h3{font-size:20px;color:#1f2937;margin-bottom:12px}.game-explanation p{color:#6b7280;line-height:1.6;margin-bottom:20px}.score-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:16px}.legend-item{display:flex;align-items:center;gap:10px}.legend-color{width:24px;height:24px;border-radius:4px}.legend-item span:last-child{font-size:14px;color:#374151}@media (max-width: 768px){.ranking-item{grid-template-columns:50px 1fr;grid-template-rows:auto auto auto;gap:12px}.rank-badge{grid-row:1 / 2;font-size:28px}.rater-info{grid-column:2;grid-row:1}.score-display{grid-column:1 / 3;grid-row:2;text-align:left;padding-left:62px}.score-bar-container{grid-column:1 / 3;grid-row:3}.score-legend{grid-template-columns:1fr}}.action-section{background:#f9fafb;padding:30px;margin:30px;border-radius:8px}.action-section h3{font-size:20px;color:#1f2937;margin-bottom:20px;text-align:center}.action-section .action-buttons{display:flex;gap:15px;justify-content:center;flex-wrap:wrap}.action-section .action-button{background:#667eea;color:#fff;border:none;padding:14px 24px;border-radius:6px;cursor:pointer;font-weight:500;font-size:15px;transition:background .2s}.action-section .action-button:hover{background:#5a67d8}.peer-rating-container{width:90%;max-width:1000px;background:#fff;border-radius:12px;min-height:600px;box-shadow:0 20px 25px -5px #0000001a;margin:0 auto}.peer-rating-container .page-header{display:flex;justify-content:space-between;align-items:center;padding:30px;border-bottom:1px solid #e5e7eb}.peer-rating-container .page-header h1{font-size:28px;color:#1f2937}.friends-selection{padding:30px}.friends-selection h2{font-size:22px;color:#1f2937;margin-bottom:25px}.instructions{padding:30px;background:#f9fafb;margin:30px;border-radius:8px}.instructions h3{font-size:20px;color:#1f2937;margin-bottom:15px}.instructions ol{margin-left:20px;color:#6b7280}.instructions li{margin:10px 0}.no-friends-container{width:90%;max-width:800px;background:#fff;border-radius:12px;padding:60px 30px;text-align:center;box-shadow:0 20px 25px -5px #0000001a;margin:0 auto}.no-friends-container h2{font-size:24px;color:#1f2937;margin-bottom:15px}.no-friends-container p{color:#6b7280;margin-bottom:30px}.no-friends-container button{margin:8px;min-width:160px}.loading-container,.error-container{width:90%;max-width:600px;background:#fff;border-radius:12px;padding:60px 30px;text-align:center;box-shadow:0 20px 25px -5px #0000001a;margin:0 auto;color:#374151;font-size:18px}.loading-container button,.error-container button{margin:8px;min-width:160px}.loading-container{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}@media (max-width: 768px){.site-title{font-size:36px}.site-description{font-size:16px}.enter-button{font-size:16px;padding:14px 32px}.dashboard-container{border-radius:0;min-height:100vh}.progress-stats{grid-template-columns:1fr 1fr}.action-grid,.friends-grid,.invite-methods,.stats-grid,.details-grid{grid-template-columns:1fr}}.friends-container{max-width:1200px;margin:0 auto;padding:20px}.friends-content{display:flex;flex-direction:column;gap:30px}.add-friend-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{margin:0;color:#2d3748;font-size:1.5rem}.toggle-add-button{background:#667eea;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:600;cursor:pointer;transition:background .2s}.toggle-add-button:hover{background:#5a67d8}.add-friend-options{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:20px}.add-option{padding:20px;background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0}.add-option h3{margin:0 0 8px;color:#2d3748;font-size:1.1rem}.option-description{color:#718096;font-size:.9rem;margin-bottom:16px}.username-search{display:flex;flex-direction:column;gap:12px}.username-input{padding:12px;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s}.username-input:focus{outline:none;border-color:#667eea}.search-status{padding:10px;border-radius:6px;font-size:.9rem;text-align:center}.search-status.searching{background:#e6f7ff;color:#06c}.search-status.not-found{background:#fff7e6;color:#d46b08}.search-status.error{background:#fee2e2;color:#dc2626}.search-status.already-friend{background:#f0f0f0;color:#666}.user-found{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#fff;border-radius:8px;border:2px solid #667eea}.found-user-info{display:flex;align-items:center;gap:12px}.user-details h4{margin:0;color:#2d3748}.user-details p{margin:4px 0 0;color:#718096;font-size:.9rem}.add-friend-button{background:#48bb78;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-weight:600;cursor:pointer;transition:background .2s}.add-friend-button:hover{background:#38a169}.invitation-link-box{display:flex;gap:8px;margin-bottom:12px}.link-input{flex:1;padding:10px;border:2px solid #e2e8f0;border-radius:6px;font-size:.9rem;background:#fff;cursor:pointer}.link-input:focus{outline:none;border-color:#667eea}.copy-button{background:#667eea;color:#fff;border:none;padding:10px 16px;border-radius:6px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .2s}.link-hint{color:#718096;font-size:.85rem;margin:0;font-style:italic}.friends-list-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a}.friends-list-section h2{margin:0 0 20px;color:#2d3748;font-size:1.5rem}.loading-state{text-align:center;padding:40px;color:#718096}.no-friends{text-align:center;padding:60px 20px;color:#718096}.friends-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.friend-card{background:#f7fafc;border-radius:12px;padding:20px;border:2px solid #e2e8f0;transition:all .2s;display:flex;flex-direction:column;gap:12px}.friend-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26}.friend-card-header{display:flex;justify-content:space-between;align-items:flex-start}.remove-button{background:#fc8181;color:#fff;border:none;width:28px;height:28px;border-radius:50%;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.remove-button:hover{background:#f56565}.friend-info{flex:1}.friend-info h3{margin:0;color:#2d3748;font-size:1.2rem}.status-badge{padding:6px 12px;border-radius:6px;font-size:.85rem;text-align:center;font-weight:600}.status-badge.warning{background:#fef3c7;color:#92400e}.rate-button{background:#667eea;color:#fff;border:none;padding:12px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;width:100%}.rate-button:hover:not(:disabled){background:#5a67d8;transform:translateY(-1px)}.rate-button:disabled{background:#cbd5e0;cursor:not-allowed;color:#a0aec0}@media (max-width: 768px){.add-friend-options,.friends-grid{grid-template-columns:1fr}}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}@media (max-width: 480px){.form-row{grid-template-columns:1fr}}.forgot-password{text-align:center;margin-top:15px}.forgot-password-link{color:#667eea;text-decoration:none;font-size:14px;transition:color .2s}.forgot-password-link:hover{color:#5a67d8;text-decoration:underline}.forgot-password-description{color:#6b7280;font-size:14px;text-align:center;margin-bottom:20px;line-height:1.5}.success-container{text-align:center}.success-message{background:#d1fae5;color:#065f46;padding:16px;border-radius:8px;margin-bottom:15px;font-weight:500;border:1px solid #10b981}.success-note{color:#6b7280;font-size:14px;margin-bottom:20px}.loading-message{color:#6b7280;font-style:italic;padding:20px}.login-content{max-width:450px}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.login-toggle .toggle-button{font-size:14px;font-weight:500}.login-container .back-button{margin-top:20px;width:100%}.action-button.locked{opacity:.6;cursor:not-allowed;background:#e5e7eb;border-color:#d1d5db}.action-button.locked:hover{transform:none;box-shadow:none;background:#e5e7eb}.action-button.locked h3,.action-button.locked p{color:#9ca3af}.step-status{display:inline-block;margin-top:10px;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500}.step-status.complete{background:#d1fae5;color:#065f46}.step-status.locked{background:#fee2e2;color:#991b1b}.step-status.in-game{background:#dbeafe;color:#1e40af}.step-status.loading{background:#f3f4f6;color:#6b7280}.action-button.in-game{border-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.action-button.in-game:hover{border-color:#2563eb;box-shadow:0 6px 20px #3b82f633}.game-container,.game-hub-container,.start-game-container,.join-game-container{max-width:800px;margin:0 auto;padding:20px}.game-header,.game-hub-header,.start-game-header,.join-game-header{display:flex;align-items:center;gap:20px;margin-bottom:30px}.game-header h1,.game-hub-header h1,.start-game-header h1,.join-game-header h1{margin:0;color:#1f2937}.game-content,.game-hub-content,.start-game-content,.join-game-content{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a}.game-content h2{margin-top:0;margin-bottom:24px;color:#374151;text-align:center}.game-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.game-option-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;padding:30px;color:#fff;cursor:pointer;transition:transform .2s,box-shadow .2s;text-align:left}.game-option-button:hover{transform:translateY(-4px);box-shadow:0 8px 25px #667eea66}.game-option-button h3{margin:0 0 10px;font-size:1.3rem}.game-option-button p{margin:0;opacity:.9;font-size:.95rem}.active-games-section{margin-bottom:30px}.active-games-section h2{margin:0 0 16px;color:#374151}.game-options-section h2{margin:0 0 20px;color:#374151;text-align:center}.active-games-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.active-game-card{background:#f8fafc;border:2px solid #e2e8f0;border-radius:12px;padding:16px;cursor:pointer;transition:all .2s}.active-game-card:hover{border-color:#667eea;transform:translateY(-2px);box-shadow:0 4px 12px #667eea33}.active-game-card.waiting{border-left:4px solid #f59e0b}.active-game-card.in_progress{border-left:4px solid #10b981}.game-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.game-code-badge{font-family:monospace;font-size:1.1rem;font-weight:600;color:#374151;background:#e2e8f0;padding:4px 10px;border-radius:6px}.game-status-badge{font-size:.75rem;font-weight:500;padding:4px 8px;border-radius:12px}.game-status-badge.waiting{background:#fef3c7;color:#92400e}.game-status-badge.in_progress{background:#d1fae5;color:#065f46}.game-card-info{display:flex;gap:16px;color:#6b7280;font-size:.9rem;margin-bottom:8px}.game-card-info p{margin:0}.host-indicator{display:inline-block;font-size:.8rem;color:#667eea;font-weight:500}.current-game-section{margin-bottom:30px}.current-game-section h2{margin:0 0 16px;color:#374151}.current-game-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px solid #e2e8f0;border-radius:16px;padding:24px;position:relative}.current-game-card.waiting{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.current-game-card.in_progress{border-color:#10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.host-badge-large{position:absolute;top:-12px;right:20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:6px 16px;border-radius:20px;font-size:.85rem;font-weight:600;box-shadow:0 2px 8px #667eea4d}.current-game-info{display:flex;gap:30px;margin-bottom:20px;flex-wrap:wrap}.game-code-display{display:flex;flex-direction:column;align-items:center;background:#fff;padding:16px 24px;border-radius:12px;box-shadow:0 2px 4px #0000000d}.game-code-display .label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.game-code-display .code{font-family:monospace;font-size:1.5rem;font-weight:700;color:#1f2937;letter-spacing:.1em}.game-details{flex:1;display:flex;flex-direction:column;justify-content:center;gap:8px}.detail-row{display:flex;gap:8px;align-items:center}.detail-row .label{font-weight:500;color:#6b7280;min-width:70px}.detail-row .status-badge{font-size:.85rem;font-weight:500;padding:4px 12px;border-radius:12px}.detail-row .status-badge.waiting{background:#fef3c7;color:#92400e}.detail-row .status-badge.in_progress{background:#d1fae5;color:#065f46}.current-game-actions{display:flex;gap:12px;flex-wrap:wrap}.go-to-game-button{flex:1;min-width:150px;padding:14px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.go-to-game-button:hover{transform:translateY(-2px);box-shadow:0 4px 15px #667eea66}.leave-game-button{padding:14px 24px;background:transparent;color:#dc2626;border:2px solid #dc2626;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.leave-game-button:hover:not(:disabled){background:#dc2626;color:#fff}.leave-game-button:disabled{opacity:.6;cursor:not-allowed}.in-game-notice{margin-top:20px;padding:16px;background:#f3f4f6;border-radius:8px;text-align:center}.in-game-notice p{margin:0;color:#6b7280;font-size:.9rem}.start-game-content h2,.join-game-content h2{margin-top:0;margin-bottom:8px;color:#1f2937}.subtitle{color:#6b7280;margin-bottom:24px}.no-surveys-message{text-align:center;padding:40px 20px}.no-surveys-message h3{color:#374151;margin-bottom:12px}.no-surveys-message p{color:#6b7280;margin-bottom:20px}.existing-game-message{text-align:center;padding:40px 20px;background:#fef3c7;border-radius:12px;border:1px solid #f59e0b}.existing-game-message h3{color:#92400e;margin-bottom:12px}.existing-game-message p{color:#78350f;margin-bottom:20px}.existing-game-info{background:#fff;border-radius:8px;padding:16px;margin-bottom:20px;text-align:left}.existing-game-info p{margin:8px 0;color:#374151}.existing-game-actions{display:flex;justify-content:center;gap:12px}.survey-selection{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.survey-option{display:flex;align-items:center;gap:16px;padding:16px;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;transition:all .2s}.survey-option:hover{border-color:#667eea;background:#f9fafb}.survey-option.selected{border-color:#667eea;background:#eef2ff}.survey-checkbox{width:24px;height:24px;border:2px solid #d1d5db;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;flex-shrink:0}.survey-option.selected .survey-checkbox{background:#667eea;border-color:#667eea}.survey-info h4{margin:0 0 4px;color:#1f2937}.survey-info p{margin:0;color:#6b7280;font-size:.9rem}.create-game-button,.join-game-button{width:100%;padding:14px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.create-game-button:hover:not(:disabled),.join-game-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #667eea66}.create-game-button:disabled,.join-game-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.game-code-display{text-align:center;margin-bottom:30px}.game-code-display h2{margin-bottom:16px}.game-code-box{display:flex;align-items:center;justify-content:center;gap:16px;background:#f3f4f6;padding:20px;border-radius:12px}.game-code{font-size:2.5rem;font-weight:700;letter-spacing:8px;color:#667eea;font-family:monospace}.copy-button{padding:10px 20px;background:#667eea;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s}.copy-button:hover{background:#5a67d8}.game-info{background:#f9fafb;padding:20px;border-radius:10px;margin-bottom:20px}.game-info h3{margin:0 0 12px;color:#374151}.game-info p{margin:8px 0;color:#4b5563}.game-actions-buttons{display:flex;gap:12px}.primary-button{flex:1;padding:14px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.primary-button:hover{transform:translateY(-2px);box-shadow:0 4px 15px #667eea66}.secondary-button{padding:12px 20px;background:#fff;color:#667eea;border:2px solid #667eea;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.secondary-button:hover{background:#667eea;color:#fff}.game-code-input-container{display:flex;gap:12px;margin-bottom:24px}.game-code-input{flex:1;padding:16px;font-size:1.5rem;text-align:center;letter-spacing:8px;font-family:monospace;border:2px solid #e5e7eb;border-radius:10px;text-transform:uppercase;transition:border-color .2s}.game-code-input:focus{outline:none;border-color:#667eea}.game-code-input::placeholder{letter-spacing:4px;color:#d1d5db}.code-input-wrapper{display:flex;align-items:center;flex:1;position:relative}.code-input-wrapper .game-code-input{padding-right:50px}.paste-button{position:absolute;right:8px;padding:8px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#6b7280;transition:all .2s}.paste-button:hover:not(:disabled){background:#e5e7eb;color:#374151}.paste-button:disabled{opacity:.5;cursor:not-allowed}.lookup-button{padding:16px 24px;background:#667eea;color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer;transition:background .2s;white-space:nowrap}.lookup-button:hover:not(:disabled){background:#5a67d8}.lookup-button:disabled{opacity:.6;cursor:not-allowed}.game-preview{background:#f0fdf4;border:2px solid #86efac;border-radius:12px;padding:24px;margin-bottom:20px}.game-preview h3{margin:0 0 16px;color:#166534}.game-preview-info{margin-bottom:20px}.game-preview-info p{margin:8px 0;color:#15803d}.no-surveys-warning{background:#fef3c7;border:1px solid #f59e0b;border-radius:10px;padding:20px;text-align:center}.no-surveys-warning p{margin:0 0 16px;color:#92400e}.game-lobby-container{max-width:800px;margin:0 auto;padding:20px}.game-lobby-header{display:flex;align-items:center;gap:20px;margin-bottom:30px}.game-lobby-header h1{margin:0;color:#1f2937}.game-lobby-content{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a}.game-code-section{text-align:center;margin-bottom:30px;padding-bottom:30px;border-bottom:1px solid #e5e7eb}.game-code-section h2{margin:0 0 16px;color:#374151}.game-info-section{background:#f9fafb;padding:20px;border-radius:10px;margin-bottom:24px}.game-info-section h3{margin:0 0 12px;color:#374151}.game-info-section p{margin:8px 0;color:#4b5563}.participants-section{margin-bottom:24px}.participants-section h3{margin:0 0 16px;color:#374151}.participants-list{display:flex;flex-direction:column;gap:12px}.participant-card{display:flex;align-items:center;gap:16px;padding:12px 16px;background:#f9fafb;border-radius:10px;transition:background .2s}.participant-info{flex:1}.participant-name{font-weight:500;color:#1f2937;display:flex;align-items:center;gap:8px}.host-badge{background:#667eea;color:#fff;padding:2px 8px;border-radius:10px;font-size:.75rem;font-weight:600}.you-badge{background:#10b981;color:#fff;padding:2px 8px;border-radius:10px;font-size:.75rem;font-weight:600}.lobby-actions{margin-top:24px;text-align:center}.start-game-button{width:100%;padding:16px 32px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.start-game-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #10b98166}.start-game-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.cancel-game-button{width:100%;padding:12px 24px;background:transparent;color:#dc2626;border:2px solid #dc2626;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;margin-top:12px;transition:all .2s}.cancel-game-button:hover:not(:disabled){background:#dc2626;color:#fff}.cancel-game-button:disabled{opacity:.6;cursor:not-allowed}.waiting-message{color:#6b7280;margin-top:12px;font-style:italic}.waiting-section{text-align:center;padding:20px;background:#fef3c7;border-radius:10px}.non-host-actions{display:flex;justify-content:center;margin-top:15px}.invite-section{background:#f0f9ff;padding:20px;border-radius:10px;margin-bottom:24px;border:1px solid #bae6fd}.invite-section h3{margin:0 0 8px;color:#0369a1}.invite-description{color:#0c4a6e;font-size:.9rem;margin:0 0 16px}.invite-form{margin-bottom:16px}.invite-input-group{display:flex;gap:12px}.invite-email-input{flex:1;padding:12px 16px;border:1px solid #7dd3fc;border-radius:8px;font-size:1rem;outline:none;transition:border-color .2s}.invite-email-input:focus{border-color:#0284c7}.invite-email-input:disabled{background:#f1f5f9;cursor:not-allowed}.invite-send-button{padding:12px 24px;background:linear-gradient(135deg,#0284c7,#0369a1);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:transform .2s,box-shadow .2s;white-space:nowrap}.invite-send-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #0284c766}.invite-send-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.invite-error{color:#dc2626;font-size:.9rem;margin-top:8px}.invite-success{color:#059669;font-size:.9rem;margin-top:8px}.pending-invites{margin-top:16px;padding-top:16px;border-top:1px solid #bae6fd}.pending-invites h4{margin:0 0 12px;color:#0369a1;font-size:.95rem}.pending-invites-list{list-style:none;padding:0;margin:0}.pending-invite-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#fff;border-radius:6px;margin-bottom:8px}.pending-invite-item:last-child{margin-bottom:0}.invite-email{color:#1e40af;font-weight:500}.invite-status{color:#6b7280;font-size:.85rem;font-style:italic}.invite-status.expired{color:#dc2626;font-weight:500}.invite-status.pending{color:#059669}.pending-invite-item .invite-info{display:flex;flex-direction:column;gap:2px}.pending-invite-item.expired{background:#fef2f2;border:1px solid #fecaca}.resend-button{padding:6px 12px;font-size:.8rem;background:#3b82f6;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background .2s;white-space:nowrap}.resend-button:hover:not(:disabled){background:#2563eb}.resend-button:disabled{background:#93c5fd;cursor:not-allowed}.resend-button.expired-resend{background:#dc2626}.resend-button.expired-resend:hover:not(:disabled){background:#b91c1c}.invite-actions{display:flex;gap:8px;align-items:center}.cancel-invite-button{padding:6px 12px;font-size:.8rem;background:#6b7280;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background .2s;white-space:nowrap}.cancel-invite-button:hover:not(:disabled){background:#4b5563}.cancel-invite-button:disabled{background:#9ca3af;cursor:not-allowed}.join-invite-container{max-width:600px;margin:0 auto;padding:20px}.join-invite-content{background:#fff;border-radius:12px;padding:40px;box-shadow:0 2px 8px #0000001a}.invite-header{text-align:center;margin-bottom:30px}.invite-header h1{margin:0 0 12px;color:#1f2937}.invite-from{color:#6b7280;font-size:1.1rem}.invite-from strong{color:#667eea}.invite-game-details{background:#f9fafb;padding:20px;border-radius:10px;margin-bottom:24px}.invite-game-details h3{margin:0 0 16px;color:#374151}.game-detail-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e5e7eb}.game-detail-item:last-child{border-bottom:none}.detail-label{color:#6b7280}.detail-value{color:#1f2937;font-weight:500}.detail-value.game-code{font-family:monospace;font-size:1.1rem;color:#667eea}.invite-auth-section{text-align:center;padding:20px;background:#fef3c7;border-radius:10px;margin-bottom:20px}.invite-auth-section p{margin:0 0 16px;color:#92400e}.auth-buttons{display:flex;gap:12px;justify-content:center}.missing-surveys-section{background:#fef3c7;padding:20px;border-radius:10px;margin-bottom:20px}.missing-surveys-section h3{margin:0 0 12px;color:#92400e}.missing-surveys-section p{color:#78350f;margin:0 0 12px}.missing-surveys-list{list-style:disc;padding-left:20px;margin:0 0 16px;color:#78350f}.missing-surveys-list li{padding:4px 0}.join-section{text-align:center;padding:20px}.join-section p{color:#059669;font-weight:500;margin:0 0 16px}.join-game-button{padding:16px 48px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.join-game-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 15px #10b98166}.join-game-button:disabled{opacity:.6;cursor:not-allowed}.already-joined-section{text-align:center;padding:20px;background:#d1fae5;border-radius:10px}.already-joined-section p{color:#065f46;margin:0 0 16px}.invite-error-section{text-align:center}.invite-error-section h1{color:#dc2626;margin-bottom:16px}.game-cancelled-section{text-align:center;padding:20px}.game-cancelled-section h1{color:#92400e;margin-bottom:16px}.game-cancelled-section>p{color:#78350f;font-size:1.1rem;margin-bottom:24px}.cancelled-actions{background:#fef3c7;border-radius:12px;padding:24px;margin-top:20px}.cancelled-actions p{color:#78350f;margin-bottom:16px}.cancelled-actions .auth-buttons,.cancelled-actions .action-buttons{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.game-play-container{max-width:900px;margin:0 auto;padding:20px}.game-play-header{display:flex;align-items:center;gap:20px;margin-bottom:30px}.game-play-header h1{margin:0;color:#1f2937}.game-play-content{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a}.progress-section{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}@media (max-width: 600px){.progress-section{grid-template-columns:1fr}}.progress-card{padding:20px;border-radius:10px;background:#f9fafb}.progress-card h3{margin:0 0 12px;font-size:.95rem;color:#374151}.progress-card p{margin:8px 0 0;font-size:.85rem;color:#6b7280}.progress-bar{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:4px;transition:width .3s ease}.progress-fill.game{background:linear-gradient(135deg,#10b981,#059669)}.game-info-banner{background:#eef2ff;padding:12px 16px;border-radius:8px;margin-bottom:24px}.game-info-banner p{margin:0;color:#4f46e5;font-size:.9rem}.players-section{margin-bottom:24px}.players-section h2{margin:0 0 8px;color:#1f2937}.section-subtitle{color:#6b7280;margin:0 0 20px;font-size:.9rem}.players-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.player-card{display:flex;flex-direction:column;align-items:center;padding:20px;border-radius:12px;background:#f9fafb;cursor:pointer;transition:all .2s;border:2px solid transparent}.player-card.not-rated:hover{background:#eef2ff;border-color:#667eea;transform:translateY(-2px)}.player-card.rated{background:#f0fdf4;border-color:#86efac;cursor:default}.player-info{text-align:center}.player-name{display:block;font-weight:600;color:#1f2937;margin-bottom:4px}.rating-status{font-size:.8rem;padding:4px 10px;border-radius:12px}.rating-status.pending{background:#fef3c7;color:#92400e}.rating-status.completed{background:#d1fae5;color:#065f46}.completion-message{text-align:center;padding:30px;background:#f0fdf4;border:2px solid #86efac;border-radius:12px}.completion-message h3{margin:0 0 8px;color:#166534}.completion-message p{margin:0;color:#15803d}.game-progress-text{margin-top:12px!important;font-weight:500}.game-rating-container{max-width:800px;margin:0 auto;padding:20px}.game-rating-header{display:flex;align-items:center;gap:20px;margin-bottom:30px}.game-rating-header h1{margin:0;color:#1f2937}.game-rating-content{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000001a}.rating-target-info{padding:20px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;margin-bottom:24px;color:#fff}.rating-target-info h2{margin:0 0 8px;color:#fff}.rating-target-info p{margin:0;opacity:.9}.survey-progress-indicator{text-align:center;padding:12px;background:#f3f4f6;border-radius:8px;margin-bottom:20px}.survey-progress-indicator p{margin:0;color:#4b5563;font-weight:500}.submitting-message{text-align:center;padding:60px 20px}.submitting-message h2{color:#374151;margin-bottom:12px}.submitting-message p{color:#6b7280}.maintenance-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.maintenance-content{background:#fff;border-radius:20px;padding:60px 40px;text-align:center;max-width:500px;box-shadow:0 25px 50px -12px #00000040}.maintenance-icon{font-size:80px;margin-bottom:20px}.maintenance-content h1{color:#1f2937;font-size:32px;margin:0 0 20px}.maintenance-content>p{color:#4b5563;font-size:18px;line-height:1.6;margin:0 0 30px}.maintenance-notice{background:#f3f4f6;border-radius:10px;padding:15px 20px}.maintenance-notice p{color:#6b7280;margin:0;font-size:14px}.maintenance-banner{background:#fef3c7;color:#92400e;padding:12px 20px;text-align:center;font-weight:600;font-size:14px;border-bottom:2px solid #f59e0b;position:sticky;top:0;z-index:1000}.survey-management-locked{text-align:center;padding:60px 40px;background:#f9fafb;border-radius:12px;margin:20px 0}.lock-icon{font-size:60px;margin-bottom:20px}.survey-management-locked h3{color:#374151;font-size:24px;margin:0 0 15px}.survey-management-locked p{color:#6b7280;font-size:16px;max-width:400px;margin:0 auto 25px}.unlock-button{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;padding:14px 32px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.unlock-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b66}.unlock-warning{margin-top:20px;padding:15px;background:#fef3c7;border-radius:8px;color:#92400e;font-size:14px}.survey-management-unlocked-header{background:#fef3c7;border:2px solid #f59e0b;border-radius:12px;padding:20px;margin-bottom:25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.unlocked-status{display:flex;align-items:center;gap:12px}.unlocked-status .status-icon{font-size:24px}.unlocked-status .status-text h4{margin:0 0 4px;color:#92400e;font-size:16px}.unlocked-status .status-text p{margin:0;color:#b45309;font-size:13px}.save-and-lock-button{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.save-and-lock-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b98166}.save-and-lock-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.version-mismatch-badge{display:inline-block;font-size:11px;color:#92400e;background:#fef3c7;padding:2px 8px;border-radius:4px;margin-left:8px;cursor:help}.locked-by-admin{color:#4b5563;font-size:16px;line-height:1.6}.locked-by-admin strong{color:#1f2937}.email-confirmation-pending{text-align:center;padding:40px 20px}.email-confirmation-pending h2{color:#1f2937;margin-bottom:20px}.email-confirmation-pending .confirmation-icon{font-size:64px;margin-bottom:20px}.email-confirmation-pending p{color:#4b5563;margin-bottom:12px;line-height:1.6}.email-confirmation-pending .pending-email{background:#f3f4f6;padding:12px 20px;border-radius:8px;display:inline-block;margin:10px 0 20px}.email-confirmation-pending .pending-email strong{color:#1f2937;font-size:16px}.email-confirmation-pending .confirmation-tips{background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;padding:20px;margin:30px 0;text-align:left}.email-confirmation-pending .confirmation-tips p{margin-bottom:10px}.email-confirmation-pending .confirmation-tips ul{margin:0;padding-left:20px;color:#92400e}.email-confirmation-pending .confirmation-tips li{margin-bottom:6px}.email-confirmation-pending .btn-secondary{margin-top:20px}.app-footer{position:fixed;bottom:8px;right:12px;font-size:11px;color:#ffffff80;z-index:100;pointer-events:none;-webkit-user-select:none;user-select:none}.app-footer span{background:#0003;padding:2px 8px;border-radius:4px}
