.notification-system{position:fixed;top:20px;left:0;right:0;z-index:1000;display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:none}.notification{background:#fafafacc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:8px;padding:.6rem .9rem .4rem;box-shadow:0 2px 8px #0000001a,0 4px 16px #00000014;border:1px solid;animation:fadeIn .3s ease;transition:opacity .3s ease,transform .3s ease;position:relative;overflow:hidden;min-width:300px;max-width:450px;pointer-events:auto}.notification.fading{opacity:0;transform:translateY(-20px)}.notification-info{border-color:#3498db}.notification-success{border-color:#2ecc71}.notification-error{border-color:#e74c3c}.notification-warning{border-color:#f39c12}.notification-timer{border-color:#667eea}.notification-timer:active{pointer-events:none}.notification-timer:hover{background:#fafafa33;-webkit-backdrop-filter:none;backdrop-filter:none}.notification-content{font-size:.9rem;text-align:center;color:#333;padding:.1rem 0;line-height:1.4}.notification-dismiss{position:absolute;top:2px;right:4px;background:none;border:none;font-size:1.1rem;line-height:1;padding:2px 4px;cursor:pointer;color:#999;opacity:.6;transition:opacity .2s}.notification-dismiss:hover{opacity:1;color:#333}.notification-progress{position:absolute;bottom:0;left:0;height:2px;background:currentColor;opacity:.3;width:100%;animation-name:progressShrink;animation-timing-function:linear;animation-fill-mode:forwards}.notification-info .notification-progress{color:#3498db}.notification-success .notification-progress{color:#2ecc71}.notification-error .notification-progress{color:#e74c3c}.notification-warning .notification-progress{color:#f39c12}.notification-timer .notification-progress{color:#667eea}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes progressShrink{0%{width:100%}to{width:0%}}.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:2rem}.login-box{background:#fff;padding:2.5rem;border-radius:16px;box-shadow:0 10px 40px #0003;width:100%;max-width:400px}.login-box h1{text-align:center;margin-bottom:.5rem}.login-box h2{text-align:center;color:#333;margin-bottom:1.5rem;font-size:1.5rem}.toggle-auth{text-align:center;margin-top:1.5rem;color:#555}.field-hint{font-size:.85rem;color:#333;font-style:italic;margin-top:.25rem;display:block}.field-description{font-weight:400;color:#333;font-size:.9em}.input-with-unit{display:flex;align-items:center;gap:.5rem}.input-with-unit input{flex:1}.input-unit{color:#667eea;font-weight:700;font-size:1rem;min-width:24px}.gamemode-settings-readonly p{margin:.5rem 0}.gamemode-settings-edit{display:flex;flex-direction:column;gap:1rem}.room-list-container{max-width:1200px;margin:0 auto;background:#fff;padding:1rem;border-radius:12px;box-shadow:0 4px 12px #0000001a}.room-list-header{display:flex;justify-content:space-between}.room-list-header h2{color:#333}.warning{background:#fff3cd;color:#856404;padding:1rem;border-radius:8px;margin-bottom:1rem;text-align:center}.rooms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.no-rooms{grid-column:1 / -1;text-align:center;padding:3rem;color:#333;font-size:1.1rem}.room-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #0000001a;transition:transform .3s ease,box-shadow .3s ease}.room-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000026}.room-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.room-card-header h3{color:#333;font-size:1.3rem}.lock-icon{font-size:1.2rem}.room-card-body{margin-bottom:1rem;color:#333}.room-card button{width:100%}.room-header{background:#fff;padding:1rem 1.5rem;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:1.5rem}.room-header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.room-title-section{display:flex;align-items:center;gap:.75rem}.room-title{margin:0;font-size:1.25rem;color:#333;font-weight:600}.gamemode-badge{padding:.25rem .75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.room-actions{display:flex;gap:.5rem}.btn-compact{padding:.4rem .8rem;font-size:.85rem}.room-players{display:flex;flex-wrap:wrap;gap:.5rem}.player-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .75rem;background:#f8f9fa;border:1.5px solid #e0e0e0;border-radius:16px;font-size:.85rem;transition:all .2s ease}.player-badge:hover{border-color:#667eea}.player-name{color:#333;font-weight:500}.player-progress{color:#667eea;font-weight:600;font-size:.8rem}.player-status{color:#2ecc71;font-weight:700}.btn-kick-small{padding:0 .3rem;font-size:.7rem;background:#e74c3c;color:#fff;border:none;border-radius:3px;cursor:pointer;line-height:1;transition:background .2s ease}.btn-kick-small:hover{background:#c0392b}.leaderboard-list{display:flex;flex-direction:column;gap:.5rem}.leaderboard-entry{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#f8f9fa;border-radius:8px;font-size:.9rem;border:2px solid #e0e0e0}.leaderboard-entry .rank{font-weight:700;color:#764ba2}.leaderboard-entry .name{color:#333;flex:1}.leaderboard-entry .stats{color:#333;font-size:.85rem}.no-stats{color:#999;font-style:italic;margin:0}.victory-modal{text-align:center;max-width:500px}.victory-modal h2{color:#667eea;margin-bottom:1.5rem;font-size:2rem}.victory-content{margin:2rem 0}.victory-content p{font-size:1.3rem;color:#333}.victory-leaderboard{margin-top:2rem;text-align:left}.victory-leaderboard h3{margin-bottom:1rem;color:#333;font-size:1.2rem;text-align:center}.game-room-container{max-width:1400px;margin:0 auto}.game-room-content{display:flex;flex-direction:column}.game-area{background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;width:100%;overflow:hidden}.waiting-area{text-align:center;padding:3rem 2rem}.room-info{margin:1rem 0}.loading-gamemode{text-align:center;padding:4rem 2rem;color:#667eea;font-size:1.2rem;font-weight:500}.lobby-leaderboard-section{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:1.5rem}.lobby-leaderboard-section h3{margin-bottom:1rem;color:#333;font-size:1.1rem;font-weight:600}.lobby-leaderboard-section .leaderboard-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.5rem}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#f3eee8,#f3efe4,#f3eee8);min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:#fafafacc;padding:1rem 2rem;box-shadow:0 2px 10px #0000004d;display:flex;justify-content:space-between;align-items:center}.app-title{color:#3f4044;font-size:1.8rem;font-family:Cinzel}.user-info{display:flex;align-items:center;gap:1rem}.app-main{flex:1;padding:2rem;overflow:auto}button{padding:.6rem 1.2rem;border:none;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease;font-weight:500}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-secondary{background:#764ba2;color:#fff}.btn-secondary:hover:not(:disabled){background:#633d8a;transform:translateY(-2px);box-shadow:0 4px 12px #764ba266}.btn-danger{background:#e74c3c;color:#fff}.btn-danger:hover:not(:disabled){background:#c0392b}.btn-logout{background:#95a5a6;color:#fff}.btn-logout:hover{background:#7f8c8d}.btn-link{background:none;color:#667eea;text-decoration:underline;padding:.2rem .5rem}button:disabled{opacity:.5;cursor:not-allowed}.form-group{margin-bottom:1.2rem}.form-group label{display:block;margin-bottom:.5rem;color:#555;font-weight:500}.form-group input{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#667eea}.form-group select{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;background:#fff;cursor:pointer;transition:border-color .3s}.form-group select:focus{outline:none;border-color:#667eea}.checkbox-group label{display:flex;align-items:center;gap:.5rem}.checkbox-group input[type=checkbox]{width:auto}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 10px 40px #0000004d;max-width:500px;width:90%}.modal-content h3{margin-bottom:1.5rem;color:#333}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem}.modal-actions button{flex:1}@media (max-width: 768px){.app-main{padding:1rem}.rooms-grid{grid-template-columns:1fr}.app-header{flex-direction:column;gap:1rem;text-align:center;padding:1rem}.app-header-room{display:none}.modal-content{margin:0 1rem}}
