*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:20px;color:#333}.container{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;overflow:hidden}header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;text-align:center}header h1{font-size:2.5em;margin-bottom:10px}header p{font-size:1.1em;opacity:.9}main{padding:30px}section{margin-bottom:40px}section h2{font-size:1.8em;margin-bottom:20px;color:#667eea;border-bottom:2px solid #667eea;padding-bottom:10px}#lists-container{margin-bottom:20px}.list-item{background:#f8f9fa;border:2px solid #e9ecef;border-radius:8px;padding:20px;margin-bottom:15px;transition:all .3s ease}.list-item:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1a}.list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.list-name-input{flex:1;font-size:1.2em;font-weight:600;padding:8px 12px;border:2px solid #dee2e6;border-radius:6px;margin-right:10px;cursor:default;background-color:#f8f9fa}.list-name-input:focus{outline:none;border-color:#dee2e6}.remove-list-btn{background:#dc3545;color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:.9em;transition:background .2s}.remove-list-btn:hover{background:#c82333}.questions-textarea{width:100%;min-height:150px;padding:12px;border:2px solid #dee2e6;border-radius:6px;font-family:Courier New,monospace;font-size:.9em;resize:vertical;cursor:default;background-color:#f8f9fa}.questions-textarea:focus{outline:none;border-color:#dee2e6}.questions-textarea::placeholder{color:#adb5bd}.btn{padding:12px 24px;border:none;border-radius:6px;font-size:1em;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.btn-secondary{background:#28a745;color:#fff;width:100%;margin-top:20px}.btn-secondary:hover{background:#218838;transform:translateY(-2px);box-shadow:0 4px 12px #28a7454d}#results-container{background:#f8f9fa;border-radius:8px;padding:20px;min-height:200px;margin-bottom:20px}.placeholder{color:#6c757d;text-align:center;font-style:italic;padding:40px}.results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:20px;margin-top:20px}.result-group{margin-bottom:0}.result-group h3{font-size:1.4em;color:#667eea;margin-bottom:15px;padding:10px;background:#fff;border-radius:6px;border-left:4px solid #667eea}.unique-questions{background:#fff;border-radius:6px;padding:15px;margin-top:10px;max-height:500px;overflow-y:auto}.question-item{padding:8px 12px;margin:5px 0;background:#e7f3ff;border-left:3px solid #667eea;border-radius:4px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:.95em;line-height:1.5}.question-item.difficulty-easy{border-left-color:#28a745;background:#d4edda}.question-item.difficulty-medium{border-left-color:#ffc107;background:#fff3cd}.question-item.difficulty-hard{border-left-color:#dc3545;background:#f8d7da}.no-unique{color:#6c757d;font-style:italic;padding:20px;text-align:center}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:20px}.stat-card{background:#fff;padding:15px;border-radius:6px;text-align:center;border:2px solid #e9ecef}.stat-value{font-size:2em;font-weight:700;color:#667eea}.stat-label{color:#6c757d;font-size:.9em;margin-top:5px}.sort-controls{display:flex;align-items:center;gap:10px;margin-bottom:20px;padding:15px;background:#fff;border-radius:6px;border:2px solid #e9ecef}.sort-controls label{font-weight:600;color:#667eea}.sort-select{padding:8px 12px;border:2px solid #dee2e6;border-radius:6px;font-size:1em;background:#fff;color:#333;cursor:pointer;transition:border-color .2s}.sort-select:focus{outline:none;border-color:#667eea}.topic-group{margin-bottom:20px}.topic-header{font-weight:600;font-size:1.1em;color:#667eea;padding:8px 12px;background:#f0f4ff;border-left:4px solid #667eea;border-radius:4px;margin-bottom:10px;margin-top:15px}.topic-group:first-child .topic-header{margin-top:0}.shared-questions-section{margin-bottom:40px}.section-title{font-size:1.8em;margin-bottom:20px;color:#667eea;border-bottom:2px solid #667eea;padding-bottom:10px}.app-footer{background:#f8f9fa;padding:20px 30px;text-align:center;border-top:1px solid #e9ecef;margin-top:40px}.app-footer p{margin:0;color:#6c757d;font-size:.9em}.footer-link{color:#667eea;text-decoration:none;transition:color .2s}.footer-link:hover{color:#5568d3;text-decoration:underline}.heart{color:#dc3545;display:inline-block;animation:heartbeat 1.5s ease-in-out infinite}@keyframes heartbeat{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}
