.alert-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-out}.alert-modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;max-width:450px;width:90%;max-height:90vh;overflow:hidden;animation:slideUp .3s ease-out;display:flex;flex-direction:column}.alert-header{display:flex;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;gap:12px}.alert-icon-wrapper{display:flex;align-items:center;justify-content:center;flex-shrink:0}.alert-icon{flex-shrink:0}.alert-icon-success{color:#10b981}.alert-icon-error{color:#ef4444}.alert-icon-warning{color:#f59e0b}.alert-icon-info{color:#3b82f6}.alert-title{margin:0;font-size:18px;font-weight:600;color:#111827;flex:1}.alert-close-btn{background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;color:#6b7280;border-radius:6px;transition:all .2s;flex-shrink:0}.alert-close-btn:hover{background:#f3f4f6;color:#111827}.alert-body{padding:20px 24px;flex:1}.alert-message{margin:0;font-size:15px;line-height:1.6;color:#374151}.alert-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.alert-btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;min-width:80px}.alert-btn-primary{background:#3b82f6;color:#fff}.alert-btn-primary:hover{background:#2563eb}.alert-btn-secondary{background:#f3f4f6;color:#374151}.alert-btn-secondary:hover{background:#e5e7eb}.alert-success{border-top:4px solid #10b981}.alert-error{border-top:4px solid #ef4444}.alert-warning{border-top:4px solid #f59e0b}.alert-info{border-top:4px solid #3b82f6}@media (max-width: 768px){.alert-overlay{padding:10px}.alert-modal{width:calc(100% - 20px);max-width:none;margin:0;border-radius:12px;max-height:85vh}.alert-header{padding:16px 18px;gap:10px;flex-wrap:wrap}.alert-icon-wrapper{width:36px;height:36px}.alert-icon{width:20px;height:20px}.alert-title{font-size:16px;line-height:1.4}.alert-close-btn{min-width:36px;min-height:36px;padding:6px;touch-action:manipulation}.alert-body{padding:16px 18px;overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-message{font-size:14px;line-height:1.5;word-wrap:break-word;overflow-wrap:break-word}.alert-footer{padding:14px 18px;gap:10px}.alert-btn{padding:12px 20px;font-size:15px;min-width:100px;min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}}@media (max-width: 480px){.alert-modal{width:calc(100% - 16px);border-radius:10px;max-height:90vh}.alert-header,.alert-body{padding:14px 16px}.alert-footer{padding:12px 16px;flex-direction:column}.alert-btn{width:100%;min-width:auto}.alert-title{font-size:15px}.alert-message{font-size:13px}}@media (max-width: 320px){.alert-modal{width:calc(100% - 12px);border-radius:8px}.alert-header,.alert-body{padding:12px 14px}.alert-footer{padding:10px 14px}}.delete-confirmation-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}.delete-confirmation-modal{background:#fff;border-radius:16px;max-width:500px;width:100%;box-shadow:0 20px 60px #0000004d;animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.delete-confirmation-header{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;border-radius:16px 16px 0 0;position:relative}.warning-icon{flex-shrink:0;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.delete-confirmation-header h2{flex:1;margin:0;font-size:1.25rem;font-weight:700}.delete-confirmation-header .close-btn{background:#fff3;border:none;color:#fff;border-radius:8px;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.delete-confirmation-header .close-btn:hover{background:#ffffff4d}.delete-confirmation-body{padding:24px}.warning-text{margin:0 0 8px;color:#374151;font-size:.95rem}.item-name{margin:0 0 16px;padding:12px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#991b1b;font-weight:600;font-size:1rem;word-break:break-word}.instruction-text{margin:0 0 12px;color:#6b7280;font-size:.9rem}.delete-input{width:100%;padding:12px;border:2px solid #d1d5db;border-radius:8px;font-size:1rem;font-weight:600;text-transform:uppercase;transition:all .2s}.delete-input:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.delete-input.error{border-color:#dc2626;background:#fef2f2}.error-message{margin:8px 0 0;color:#dc2626;font-size:.85rem;font-weight:500}.delete-confirmation-footer{display:flex;gap:12px;padding:16px 24px;border-top:1px solid #e5e7eb;background:#f9fafb;border-radius:0 0 16px 16px}.btn-cancel{flex:1;padding:12px 20px;background:#fff;border:2px solid #d1d5db;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;color:#374151}.btn-cancel:hover{background:#f3f4f6;border-color:#9ca3af}.btn-delete{flex:1;padding:12px 20px;background:linear-gradient(135deg,#dc2626,#b91c1c);border:none;border-radius:8px;color:#fff;font-weight:700;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #dc26264d}.btn-delete:hover:not(:disabled){background:linear-gradient(135deg,#ef4444,#dc2626);transform:translateY(-1px);box-shadow:0 4px 8px #dc262666}.btn-delete:disabled{background:#d1d5db;cursor:not-allowed;opacity:.6;box-shadow:none}@media (max-width: 480px){.delete-confirmation-modal{max-width:100%;margin:0;border-radius:16px}.delete-confirmation-header{padding:16px 20px}.delete-confirmation-header h2{font-size:1.1rem}.delete-confirmation-body{padding:20px}.delete-confirmation-footer{flex-direction:column;padding:16px 20px}.btn-cancel,.btn-delete{width:100%}}.tournaments-panel{width:100%}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary:disabled:hover{background:#e9ecef}.tournament-form{background:linear-gradient(180deg,#f8f9fa,#fff);padding:25px;border-radius:16px;margin-bottom:30px;box-shadow:0 4px 6px -1px #0000001a,0 0 0 1px #1e88e51a;border:1px solid rgba(30,136,229,.1)}.form-group{display:flex;flex-direction:column;margin-bottom:20px}.form-textarea{width:100%;padding:12px 16px;font-size:1rem;border:2px solid #dee2e6;border-radius:8px;transition:border-color .2s;font-family:inherit;resize:vertical}.form-textarea:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 3px #1e88e51a}.btn-danger{padding:8px 12px;background:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background .2s;display:flex;align-items:center}.tournaments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.tournament-card{background:linear-gradient(180deg,#fff,#f8f9fa);border:2px solid #e9ecef;border-radius:16px;padding:20px;display:flex;justify-content:space-between;align-items:flex-start;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;position:relative;overflow:hidden;cursor:pointer}.tournament-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(180deg,#1e88e5,#0d47a1);transform:scaleY(0);transition:transform .3s ease}.tournament-card:hover{border-color:#1e88e5;box-shadow:0 10px 15px -3px #1e88e533,0 4px 6px -2px #1e88e51a;transform:translateY(-4px)}.tournament-card:hover:before{transform:scaleY(1)}.tournament-card.selected{border-color:#22c55e;background:linear-gradient(180deg,#f0fdf4,#dcfce7);box-shadow:0 8px 12px -3px #22c55e33,0 4px 6px -2px #22c55e1a}.tournament-card.selected:before{background:linear-gradient(180deg,#22c55e,#16a34a);transform:scaleY(1)}.tournament-info{flex:1}.tournament-header{display:flex;align-items:center;gap:12px;margin-bottom:10px}.tournament-title-row{display:flex;align-items:center;gap:12px;flex:1}.tournament-info h3{font-size:1.3rem;color:#333;margin:0}.selected-badge{display:flex;align-items:center;gap:6px;padding:4px 12px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600;white-space:nowrap}.tournament-description{font-size:.9rem;color:#6c757d;margin:8px 0;line-height:1.5}.tournament-id{font-size:.85rem;color:#6c757d}.empty-hint{font-size:.9rem;color:#adb5bd;font-style:italic}@media (max-width: 768px){.panel-header{flex-direction:column;align-items:flex-start;gap:15px}.header-actions{width:100%;flex-direction:column}.header-actions button{width:100%}.panel-header h2{font-size:1.3rem}.btn-primary{padding:10px 20px;font-size:.9rem}.tournaments-grid{grid-template-columns:1fr;gap:15px}.tournament-card{padding:15px}.tournament-info h3{font-size:1.1rem}.tournament-form{padding:15px}.form-input,.form-textarea{padding:10px;font-size:.95rem}}@media (max-width: 480px){.panel-header h2{font-size:1.1rem}.btn-primary{padding:14px 20px;font-size:.9rem;min-height:44px;width:100%;justify-content:center}.tournament-card{padding:15px;flex-direction:column;gap:12px}.tournament-title-row{width:100%;justify-content:space-between}.btn-danger-inline{display:flex!important;min-width:44px;min-height:44px;flex-shrink:0}.btn-danger-desktop{display:none!important}.btn-danger{min-width:44px;min-height:44px}.tournament-form{padding:15px}.form-input,.form-textarea{padding:14px 16px;font-size:16px;min-height:44px}.form-textarea{min-height:80px}.form-actions{flex-direction:column;width:100%}.form-actions button{width:100%;min-height:44px}}.teams-panel{width:100%}.panel-header h2{display:flex;align-items:center;gap:12px;font-size:1.8rem;color:#333}.btn-primary{display:flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);touch-action:manipulation;min-height:44px;-webkit-tap-highlight-color:transparent;box-shadow:0 4px 6px -1px #1e88e54d,0 2px 4px -1px #1e88e533;text-shadow:0 1px 2px rgba(0,0,0,.1)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 15px -3px #1e88e566,0 4px 6px -2px #1e88e54d;background:linear-gradient(135deg,#2196f3,#1565c0)}.btn-primary.disabled,.btn-primary:disabled{background:#ccc;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.btn-primary.disabled:hover,.btn-primary:disabled:hover{transform:none;box-shadow:none;background:#ccc}.btn-danger.disabled,.btn-danger:disabled{background:#ccc;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.btn-danger.disabled:hover,.btn-danger:disabled:hover{transform:none;box-shadow:none;background:#ccc}.btn-primary:active{transform:translateY(0)}.btn-secondary{padding:12px 24px;background:#e9ecef;color:#495057;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-secondary:hover{background:#dee2e6}.btn-danger{padding:8px 12px;background:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background .2s;display:flex;align-items:center;justify-content:center;gap:4px}.btn-danger:hover{background:#c82333}.team-form{background:#f8f9fa;padding:20px;border-radius:12px;margin-bottom:30px;display:flex;flex-direction:column;gap:20px}.form-group label{font-weight:600;color:#495057;font-size:.9rem;display:flex;flex-direction:column;gap:4px}.label-hint{font-weight:400;font-size:.8rem;color:#6c757d;font-style:italic}.form-input{width:100%;padding:12px 16px;font-size:1rem;border:2px solid #dee2e6;border-radius:8px;transition:border-color .2s;font-family:inherit}.form-input:focus{outline:none;border-color:#667eea}.form-actions{display:flex;gap:12px}.teams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.team-card{background:linear-gradient(180deg,#fff,#f8f9fa);border:2px solid #e9ecef;border-radius:16px;padding:20px;display:flex;justify-content:space-between;align-items:center;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;position:relative;overflow:hidden}.team-card.clickable{cursor:pointer}.team-card.clickable:hover{border-color:#1e88e5;box-shadow:0 10px 15px -3px #1e88e533,0 4px 6px -2px #1e88e51a;transform:translateY(-4px)}.team-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(180deg,#1e88e5,#0d47a1);transform:scaleY(0);transition:transform .3s ease}.team-card:not(.clickable):hover{border-color:#1e88e5;box-shadow:0 10px 15px -3px #1e88e533,0 4px 6px -2px #1e88e51a;transform:translateY(-4px)}.team-card:not(.clickable):hover:before{transform:scaleY(1)}.team-card.clickable:hover:before{transform:scaleY(1)}.team-info{flex:1}.team-title-row{display:flex;align-items:center;gap:12px;width:100%;margin-bottom:8px}.team-info h3{font-size:1.3rem;color:#333;margin:0;flex:1}.team-actions-inline{display:none;gap:8px;align-items:center}.btn-edit-inline{display:none}.btn-edit-desktop{display:flex}.btn-danger-inline{display:none}.btn-danger-desktop{display:flex}.team-players-preview{display:flex;align-items:center;gap:6px;font-size:.85rem;color:#6c757d;margin-top:6px}.team-players-preview svg{color:#1e88e5}.team-card-actions{display:flex;gap:8px;align-items:center}.btn-edit-team{padding:8px 12px;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;font-weight:600;box-shadow:0 2px 4px #28a74533;min-width:44px;min-height:44px}.btn-edit-team:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1aa179);transform:translateY(-1px);box-shadow:0 4px 6px #28a7454d}.btn-edit-team:disabled{opacity:.6;cursor:not-allowed}.team-id{font-size:.85rem;color:#6c757d}.empty-state p{font-size:1.1rem}@media (max-width: 768px){.panel-header{flex-direction:column;align-items:flex-start;gap:15px}.panel-header h2{font-size:1.3rem}.btn-primary{padding:10px 20px;font-size:.9rem}.teams-grid{grid-template-columns:1fr;gap:15px}.team-card{padding:15px}.team-title-row{width:100%;justify-content:space-between;margin-bottom:8px}.team-info h3{font-size:1.1rem;margin:0;flex:1}.team-actions-inline{display:flex!important;gap:8px;align-items:center}.btn-edit-inline{display:flex!important;min-width:44px;min-height:44px;flex-shrink:0}.btn-edit-desktop{display:none!important}.btn-danger-inline{display:flex!important;min-width:44px;min-height:44px;flex-shrink:0}.btn-danger-desktop{display:none!important}.team-form,.edit-team-form{padding:15px;gap:15px}.edit-team-modal-content{max-width:100%;border-radius:20px 20px 0 0}.edit-team-modal-header{padding:20px}.edit-team-modal-header h2{font-size:1.3rem}.form-input{padding:10px;font-size:.95rem}.team-players-section{margin-top:10px;padding-top:10px}.player-badge{font-size:.8rem;padding:5px 10px}}@media (max-width: 480px){.panel-header h2{font-size:1.1rem}.panel-header .btn-primary{padding:10px 16px;font-size:.85rem;min-height:44px;width:auto;min-width:44px}.panel-header .btn-primary span{display:none}.panel-header .btn-primary{padding:10px}.team-card{padding:15px;flex-direction:column;align-items:flex-start;gap:12px}.team-form{padding:15px}.form-input{padding:14px 16px;font-size:16px;min-height:44px}.team-card .btn-danger{min-width:44px;width:44px;min-height:44px;height:44px;padding:10px;flex-shrink:0}.btn-danger{min-width:44px;min-height:44px;padding:10px;width:auto}.form-actions{flex-direction:row;width:auto;gap:8px}.form-actions button{width:auto;min-width:36px;min-height:36px;padding:8px 12px;font-size:.85rem}.form-actions .btn-primary span,.form-actions .btn-secondary span{display:none}.form-actions button svg{width:16px;height:16px}}.edit-team-modal-overlay,.schedule-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:flex-start;justify-content:center;z-index:1500;padding:300px 20px 20px;overflow-y:auto;animation:fadeIn .2s ease}.edit-team-modal-content{background:linear-gradient(180deg,#fff,#f8f9fa);border-radius:20px;width:100%;max-width:500px;max-height:calc(100vh - 550px);display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000004d,0 10px 10px -5px #0003;animation:slideUp .3s ease;overflow:visible;position:relative}.edit-team-modal-header{display:flex;justify-content:space-between;align-items:center;padding:25px 30px;border-bottom:2px solid #e9ecef;background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.edit-team-modal-header h2{display:flex;align-items:center;gap:12px;font-size:1.5rem;margin:0;color:#fff}.edit-team-form{padding:25px 30px;display:flex;flex-direction:column;gap:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.schedule-modal-content{background:linear-gradient(180deg,#fff,#f8f9fa);border-radius:20px;width:100%;max-width:1200px;max-height:calc(100vh - 340px);display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000004d,0 10px 10px -5px #0003;animation:slideUp .3s ease;overflow:hidden;position:relative;margin-top:0}.schedule-modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 30px;border-bottom:2px solid #e9ecef;background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;position:sticky;top:0;z-index:10;flex-shrink:0}.schedule-header-info h2{display:flex;align-items:center;gap:12px;font-size:1.8rem;margin:0 0 8px;color:#fff}.schedule-subtitle{margin:0;font-size:.95rem;opacity:.9;color:#fffffff2}.team-players-section{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.2)}.team-players-label{display:flex;align-items:center;gap:6px;font-size:.9rem;font-weight:500;margin-bottom:8px;color:#fffffff2}.team-players-list{display:flex;flex-wrap:wrap;gap:8px}.player-badge{display:inline-block;padding:6px 12px;background:#fff3;border:1px solid rgba(255,255,255,.3);border-radius:16px;font-size:.85rem;font-weight:500;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.close-modal-btn{background:#fff3;border:none;border-radius:8px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:all .2s;flex-shrink:0}.close-modal-btn:hover{background:#ffffff4d;transform:rotate(90deg)}.schedule-stats-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;padding:25px 30px;background:linear-gradient(180deg,#f8f9fa,#fff);border-bottom:2px solid #e9ecef}.schedule-stat-card{display:flex;align-items:center;gap:15px;padding:18px;background:linear-gradient(180deg,#fff,#f8f9fa);border:2px solid #e9ecef;border-radius:12px;transition:all .3s ease;box-shadow:0 2px 4px -1px #0000001a,0 1px 2px -1px #0000000f}.schedule-stat-card:hover{border-color:#1e88e5;box-shadow:0 8px 12px -3px #1e88e533,0 4px 6px -2px #1e88e51a;transform:translateY(-2px)}.schedule-stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.schedule-stat-icon.wins{background:linear-gradient(135deg,#d1e7dd,#a8e6cf);color:#0f5132}.schedule-stat-icon.points{background:linear-gradient(135deg,#fff3cd,#ffeaa7);color:#856404}.schedule-stat-icon.differential{background:linear-gradient(135deg,#cfe2ff,#a5d8ff);color:#084298}.schedule-stat-content{flex:1}.schedule-stat-label{font-size:.85rem;color:#6c757d;font-weight:600;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}.schedule-stat-value{font-size:1.8rem;font-weight:700;color:#333;line-height:1.2}.schedule-stat-value.positive{color:#0f5132}.schedule-stat-value.negative{color:#dc3545}.schedule-games-container{flex:1;overflow-y:auto;padding:30px}.schedule-empty-state{text-align:center;padding:60px 20px;color:#6c757d}.schedule-empty-state svg{margin-bottom:20px;opacity:.5}.schedule-empty-state p{font-size:1.1rem}.schedule-timeline{position:relative;padding-left:40px}.schedule-game-item{position:relative;margin-bottom:30px;display:flex;gap:20px}.schedule-game-connector{position:relative;display:flex;flex-direction:column;align-items:center;flex-shrink:0}.schedule-game-dot{width:16px;height:16px;border-radius:50%;background:linear-gradient(135deg,#1e88e5,#0d47a1);border:3px solid white;box-shadow:0 0 0 3px #1e88e5,0 2px 4px #0003;z-index:2;position:relative}.schedule-connector-line{position:absolute;top:16px;left:50%;transform:translate(-50%);width:2px;height:calc(100% + 14px);background:linear-gradient(180deg,#1e88e5,#cfe2ff);z-index:1}.schedule-game-content{flex:1;background:linear-gradient(180deg,#fff,#f8f9fa);border:2px solid #e9ecef;border-radius:12px;padding:20px;transition:all .3s ease;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.schedule-game-content:hover{border-color:#1e88e5;box-shadow:0 10px 15px -3px #1e88e533,0 4px 6px -2px #1e88e51a;transform:translate(4px)}.schedule-game-item.game-won .schedule-game-content{background:linear-gradient(180deg,#f0fdf4,#dcfce7);border-color:#86efac;box-shadow:0 4px 6px -1px #22c55e26,0 2px 4px -1px #22c55e1a}.schedule-game-item.game-won .schedule-game-content:hover{border-color:#4ade80;box-shadow:0 10px 15px -3px #22c55e40,0 4px 6px -2px #22c55e26}.schedule-game-item.game-won .schedule-game-dot{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 0 0 3px #22c55e,0 2px 4px #22c55e4d}.schedule-game-item.game-lost .schedule-game-content{background:linear-gradient(180deg,#fef2f2,#fee2e2);border-color:#fca5a5;box-shadow:0 4px 6px -1px #ef444426,0 2px 4px -1px #ef44441a}.schedule-game-item.game-lost .schedule-game-content:hover{border-color:#f87171;box-shadow:0 10px 15px -3px #ef444440,0 4px 6px -2px #ef444426}.schedule-game-item.game-lost .schedule-game-dot{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 0 0 3px #ef4444,0 2px 4px #ef44444d}.schedule-game-header{margin-bottom:15px}.schedule-opponent-info{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.schedule-vs-badge{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.schedule-team-name{font-weight:700;font-size:1.1rem;color:#333}.schedule-team-name.opponent{color:#1e88e5}.schedule-vs{font-weight:600;color:#6c757d;font-size:.9rem}.schedule-status-badge{padding:6px 14px;border-radius:20px;font-size:.8rem;font-weight:600;white-space:nowrap}.schedule-status-badge.pending{background:linear-gradient(135deg,#fff3cd,#ffeaa7);color:#856404}.schedule-status-badge.in-progress{background:linear-gradient(135deg,#cfe2ff,#a5d8ff);color:#084298}.schedule-status-badge.completed{background:linear-gradient(135deg,#d1e7dd,#a8e6cf);color:#0f5132}.schedule-game-details{display:flex;flex-direction:column;gap:12px}.schedule-datetime{display:flex;gap:20px;flex-wrap:wrap}.schedule-date-item,.schedule-time-item{display:flex;align-items:center;gap:8px;padding:8px 14px;background:linear-gradient(180deg,#f8f9fa,#fff);border:1px solid #dee2e6;border-radius:8px;font-size:.9rem;font-weight:600;color:#495057}.schedule-date-item svg,.schedule-time-item svg{color:#1e88e5}.schedule-score-info{padding-top:12px;border-top:1px solid #e9ecef}.schedule-score-display{display:flex;align-items:center;gap:12px;font-size:1rem;font-weight:600;margin-bottom:10px}.schedule-score-display .winner{color:#0f5132;font-weight:700}.score-sep{color:#6c757d;font-weight:400}.schedule-sets-info{display:flex;flex-direction:column;gap:12px}.schedule-set-item{display:flex;flex-direction:column;gap:6px}.schedule-set-badge{display:inline-block;padding:4px 10px;background:#fff;border:1px solid #dee2e6;border-radius:6px;font-size:.85rem;color:#495057;width:fit-content}.schedule-set-trail{display:flex;align-items:center;gap:8px;padding:8px 12px;background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-radius:6px;font-size:.8rem;max-height:60px;overflow-y:auto}.schedule-trail-label{font-weight:700;color:#1565c0;white-space:nowrap}.schedule-trail-values{color:#0d47a1;font-weight:500;word-wrap:break-word;word-break:break-word}.schedule-location-info{margin-top:12px}.schedule-location-item{display:flex;align-items:center;gap:8px;padding:10px 12px;background:linear-gradient(135deg,#f0f7ff,#e3f2fd);border-radius:8px;border-left:3px solid #1e88e5;color:#1565c0;font-weight:500;font-size:.95rem}.schedule-location-item svg{flex-shrink:0;color:#1e88e5}.schedule-toss-info{margin-top:12px;padding-top:12px;border-top:1px solid #e9ecef}.schedule-toss-badge{display:flex;align-items:center;gap:8px;padding:8px 14px;background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:1px solid #ffc107;border-radius:8px;font-size:.9rem;font-weight:600;color:#856404;flex-wrap:wrap}.schedule-toss-badge svg{flex-shrink:0;color:#ffc107}.schedule-toss-label{font-weight:700;text-transform:uppercase;font-size:.8rem;letter-spacing:.5px}.schedule-toss-winner{color:#333;font-weight:700}.schedule-toss-choice{color:#856404;font-weight:500;font-style:italic}@media (max-width: 768px){.schedule-modal-overlay{padding:20px 0 0;align-items:flex-start}.schedule-modal-content{max-width:100%;max-height:calc(100vh - 30px);border-radius:20px 20px 0 0;margin-top:0;width:100%;overflow:hidden}.schedule-modal-header{padding:15px;max-height:none}.schedule-header-info h2{font-size:1.4rem}.schedule-stats-section{grid-template-columns:repeat(3,1fr);padding:20px;gap:10px}.schedule-stat-card{padding:12px;flex-direction:column;align-items:center;text-align:center;gap:8px}.schedule-stat-icon{width:40px;height:40px}.schedule-stat-content{width:100%}.schedule-stat-label{font-size:.7rem;margin-bottom:4px}.schedule-stat-value{font-size:1.2rem}.schedule-games-container{padding:20px}.schedule-timeline{padding-left:30px}.schedule-game-item{margin-bottom:25px;gap:15px}.schedule-game-content{padding:15px}.schedule-vs-badge{flex-direction:column;align-items:flex-start;gap:6px}.schedule-opponent-info{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;width:100%}.schedule-vs-badge{flex:1;min-width:0}.schedule-status-badge{flex-shrink:0;margin-top:0}.schedule-datetime{flex-direction:column;gap:10px}.schedule-set-trail{padding:6px 10px;font-size:.75rem;max-height:50px}}@media (max-width: 480px){.schedule-modal-overlay{padding:350px 0 0;align-items:flex-start}.schedule-modal-content{max-height:calc(100vh - 150px);border-radius:20px 20px 0 0;margin-top:0}.schedule-modal-header{padding:12px;max-height:none;flex-shrink:0}.schedule-header-info h2{font-size:1rem;margin-bottom:4px;line-height:1.3}.schedule-subtitle{font-size:.8rem;line-height:1.3}.team-players-section{margin-top:8px;padding-top:8px}.team-players-label{font-size:.75rem;margin-bottom:4px}.player-badge{font-size:.65rem;padding:2px 6px}.edit-team-modal-overlay{padding:450px 0 0;align-items:flex-start}.edit-team-modal-content{max-width:100%;max-height:calc(100vh - 480px);border-radius:20px 20px 0 0;overflow:visible}.edit-team-modal-header{padding:15px}.edit-team-modal-header h2{font-size:1.1rem}.team-card-actions{flex-direction:column;gap:6px}.btn-edit-team{min-width:44px;min-height:44px;padding:10px}.schedule-stats-section{grid-template-columns:repeat(3,1fr);padding:12px;gap:6px}.schedule-stat-card{padding:8px;flex-direction:column;align-items:center;text-align:center;gap:4px}.schedule-stat-icon{width:32px;height:32px}.schedule-stat-icon svg{width:16px;height:16px}.schedule-stat-content{width:100%}.schedule-stat-label{font-size:.6rem;margin-bottom:2px;line-height:1.2}.schedule-stat-value{font-size:.95rem}.schedule-games-container{padding:12px}.schedule-timeline{padding-left:20px}.schedule-game-dot{width:12px;height:12px}.schedule-game-content{padding:12px}.schedule-team-name{font-size:.95rem}.schedule-score-display{font-size:.85rem;flex-direction:column;align-items:flex-start;gap:4px}.close-modal-btn{min-width:40px;min-height:40px;width:40px;height:40px}.schedule-date-item,.schedule-time-item{padding:10px 12px;font-size:.8rem;min-height:40px}}.groups-panel{width:100%;min-height:0;overflow:visible;height:100%;display:flex;flex-direction:column}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.header-actions{display:flex;gap:12px;align-items:center}.group-form{background:linear-gradient(180deg,#f8f9fa,#fff);padding:20px;border-radius:16px;margin-bottom:30px;box-shadow:0 4px 6px -1px #0000001a,0 0 0 1px #1e88e51a;border:1px solid rgba(30,136,229,.1)}.groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;min-height:0;overflow:visible;flex:1}.group-card{background:linear-gradient(180deg,#fff,#f8f9fa);border:2px solid #e9ecef;border-radius:16px;padding:20px;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;position:relative;overflow:visible;width:100%;max-width:100%}.group-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(180deg,#1e88e5,#0d47a1);transform:scaleY(0);transition:transform .3s ease}.group-card:hover{border-color:#1e88e5;box-shadow:0 10px 15px -3px #1e88e533,0 4px 6px -2px #1e88e51a;transform:translateY(-4px)}.group-card:hover:before{transform:scaleY(1)}.group-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e9ecef;gap:12px}.group-header h3{font-size:1.4rem;color:#333;flex:1}.group-header .btn-danger{flex-shrink:0;min-width:44px;min-height:44px}.group-teams{margin-top:15px}.group-teams-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.teams-count{display:flex;align-items:center;gap:6px;color:#6c757d;font-weight:500}.btn-add-team{display:flex;align-items:center;gap:6px;padding:6px 12px;background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #1e88e533}.btn-add-team:hover:not(:disabled){background:linear-gradient(135deg,#2196f3,#1565c0);transform:translateY(-1px);box-shadow:0 4px 6px #1e88e54d}.btn-add-team:disabled{background:#ccc;cursor:not-allowed}.no-teams{color:#6c757d;font-style:italic;text-align:center;padding:20px}.teams-list{display:flex;flex-wrap:wrap;gap:10px}.team-tag{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:20px;font-size:.9rem}.remove-team-btn{background:none;border:none;color:#dc3545;cursor:pointer;padding:0;display:flex;align-items:center;transition:transform .2s}.remove-team-btn:hover{transform:scale(1.2)}.remove-team-btn.disabled,.remove-team-btn:disabled{opacity:.4;cursor:not-allowed}.remove-team-btn.disabled:hover,.remove-team-btn:disabled:hover{transform:none}.btn-add-team.disabled,.btn-add-team:disabled{background:#ccc;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.btn-add-team.disabled:hover,.btn-add-team:disabled:hover{transform:none;box-shadow:none;background:#ccc}.team-selector-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:flex-start;justify-content:center;z-index:1500;padding:500px 20px 20px;overflow-y:auto;-webkit-overflow-scrolling:touch}.modal-content{background:#fff;border-radius:12px;padding:25px;max-width:500px;width:90%;max-height:calc(100vh - 550px);overflow-y:auto;overflow-x:visible;box-shadow:0 10px 40px #0000004d;position:relative}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e9ecef}.modal-header h3{font-size:1.3rem;color:#333}.close-btn{background:none;border:none;cursor:pointer;color:#6c757d;padding:5px;display:flex;align-items:center;transition:color .2s}.close-btn:hover{color:#333}.team-select-btn{width:100%;padding:12px;margin-bottom:10px;background:#f8f9fa;border:2px solid #dee2e6;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .2s;text-align:left}.team-select-btn:hover{background:#667eea;color:#fff;border-color:#667eea}@media (max-width: 768px){.groups-panel{height:auto;min-height:0}.panel-header{flex-direction:column;align-items:flex-start;gap:15px}.panel-header h2{font-size:1.3rem}.groups-grid{grid-template-columns:1fr;gap:15px;flex:none}.group-header{flex-wrap:wrap;gap:10px}.group-header .btn-danger{min-width:44px;min-height:44px}.group-card{padding:15px;overflow:visible;min-width:0;width:100%;max-width:100%}.group-header h3{font-size:1.2rem}.modal-content{max-width:95%;padding:20px;max-height:90vh;overflow-y:auto;-webkit-overflow-scrolling:touch}.team-selector-modal{padding:450px 0 0;align-items:flex-start}.modal-content{max-width:100%;width:100%;border-radius:20px 20px 0 0;margin-top:0;max-height:calc(100vh - 480px);overflow:visible}.team-select-btn{min-height:44px;padding:14px 16px;font-size:16px}.close-btn{min-width:44px;min-height:44px}}.group-standings{margin-top:20px;padding-top:20px;border-top:2px solid #e9ecef;width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#1e88e5 #f1f3f5;position:relative}.group-standings::-webkit-scrollbar{height:8px}.group-standings::-webkit-scrollbar-track{background:#f1f3f5;border-radius:4px}.group-standings::-webkit-scrollbar-thumb{background:#1e88e5;border-radius:4px}.group-standings::-webkit-scrollbar-thumb:hover{background:#0d47a1}.standings-title{font-size:1.1rem;color:#1e3c72;margin-bottom:15px;font-weight:700;display:flex;align-items:center;gap:8px}.standings-title:before{content:"🏆";font-size:1.2rem}.group-standings-table{width:100%;min-width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000001a;font-size:.85rem;display:table;table-layout:fixed}.group-standings-table thead{background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff}.group-standings-table th{padding:10px 6px;text-align:left;font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;white-space:normal;word-wrap:break-word;word-break:break-word;line-height:1.3}.group-standings-table th:first-child{text-align:center;width:50px;min-width:50px;white-space:nowrap}.group-standings-table th:nth-child(2){min-width:130px;max-width:220px;white-space:normal;word-wrap:break-word}.group-standings-table th:nth-child(3),.group-standings-table th:nth-child(4),.group-standings-table th:nth-child(5),.group-standings-table th:nth-child(6),.group-standings-table th:nth-child(7){min-width:60px;text-align:center}.standings-note{margin-top:10px;font-size:.85rem;color:#6c757d}.standings-note strong{color:#1e88e5}.group-standings-table tbody tr{border-bottom:1px solid #e9ecef;transition:background .2s}.group-standings-table tbody tr:hover{background:#f8f9fa}.group-standings-table tbody tr.rank-1{background:linear-gradient(90deg,#fff9e6,#fff);border-left:4px solid #ffd700}.group-standings-table tbody tr.rank-2{background:linear-gradient(90deg,#f5f5f5,#fff);border-left:4px solid #c0c0c0}.group-standings-table tbody tr.rank-3{background:linear-gradient(90deg,#fff4e6,#fff);border-left:4px solid #cd7f32}.group-standings-table td{padding:10px 6px;vertical-align:middle;white-space:normal;text-align:center}.group-standings-table td.team-name-cell{white-space:normal;word-wrap:break-word;word-break:break-word;max-width:250px}.rank-cell{text-align:center;width:50px}.rank-number{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;font-weight:700;font-size:.85rem}.group-standings-table tr.rank-1 .rank-number{background:linear-gradient(135deg,gold,#ffb300);color:#333}.group-standings-table tr.rank-2 .rank-number{background:linear-gradient(135deg,silver,#a0a0a0);color:#333}.group-standings-table tr.rank-3 .rank-number{background:linear-gradient(135deg,#cd7f32,#b87333);color:#fff}.team-name-cell{font-weight:600;color:#333;white-space:normal;word-wrap:break-word;word-break:break-word;line-height:1.4;padding:10px 6px;text-align:left;font-size:.9rem}.games-cell{text-align:center;font-weight:600;color:#6c757d;font-size:.95rem}.wins-cell{text-align:center;font-weight:700;color:#28a745;font-size:.95rem}.losses-cell{text-align:center;font-weight:700;color:#dc3545;font-size:.95rem}.points-cell{text-align:center;font-weight:600;color:#1e88e5}.differential-cell{text-align:center;font-weight:600}@media (max-width: 768px){.group-standings{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#1e88e5 #f1f3f5;width:100%;max-width:100%;position:relative;min-width:0}.group-standings::-webkit-scrollbar{height:6px}.group-standings::-webkit-scrollbar-track{background:#f1f3f5;border-radius:4px}.group-standings::-webkit-scrollbar-thumb{background:#1e88e5;border-radius:4px}.group-standings-table{font-size:.78rem;min-width:100%;width:100%}.group-standings-table th{padding:8px 4px;line-height:1.3;font-size:.72rem}.group-standings-table th:first-child{white-space:nowrap}.group-standings-table td{padding:8px 4px}.group-standings-table td.team-name-cell,.team-name-cell{white-space:normal;word-wrap:break-word;word-break:break-word;font-size:.9rem}.standings-title{font-size:1rem}.rank-number{width:24px;height:24px;font-size:.75rem}}@media (max-width: 480px){.groups-panel{height:auto;min-height:0;width:100%;overflow-x:visible;overflow-y:auto}.panel-header h2{font-size:1.1rem}.btn-primary{width:100%;min-height:44px;justify-content:center}.group-header{gap:8px}.group-header h3{font-size:1.1rem}.groups-grid{flex:none;width:100%;min-width:0;overflow-x:visible}.group-card{padding:15px;overflow:visible;min-width:0;width:100%;max-width:100%}.group-header h3{font-size:1rem}.group-card .btn-danger,.group-header .btn-danger{min-width:44px;width:44px;min-height:44px;height:44px;padding:10px;flex-shrink:0}.btn-danger{min-width:44px;min-height:44px;padding:10px;width:auto}.btn-add-team{width:auto;min-width:44px;min-height:44px;padding:10px;justify-content:center}.btn-add-team span{display:none}.remove-team-btn{min-width:44px;min-height:44px}.modal-content{padding:15px;border-radius:0;max-height:100vh}.team-selector-modal{padding:400px 0 0;align-items:flex-start}.modal-content{max-height:calc(100vh - 450px)}.group-standings{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#1e88e5 #f1f3f5;margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px;width:calc(100% + 30px);max-width:none;position:relative;min-width:0;display:block}.group-standings::-webkit-scrollbar{height:6px}.group-standings::-webkit-scrollbar-track{background:#f1f3f5;border-radius:4px}.group-standings::-webkit-scrollbar-thumb{background:#1e88e5;border-radius:4px}.group-standings-table{font-size:.72rem;min-width:100%;width:100%}.group-standings-table th{padding:6px 4px;min-width:auto;line-height:1.2;font-size:.68rem}.group-standings-table th:first-child{white-space:nowrap}.group-standings-table td{padding:6px 4px}.group-standings-table td.team-name-cell,.team-name-cell{white-space:normal;word-wrap:break-word;word-break:break-word;font-size:.9rem}.form-input,.form-select{padding:14px 16px;font-size:16px;min-height:44px}.form-actions{flex-direction:column;width:100%}.form-actions button{width:100%;min-height:44px}}.score-editor-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f4c75cc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:flex-start;justify-content:center;z-index:1500;padding:420px 20px 20px;overflow-y:auto}.score-editor-content{background:linear-gradient(180deg,#fff,#f8f9fa);border-radius:20px;max-width:700px;width:100%;max-height:calc(100vh - 400px);display:flex;flex-direction:column;box-shadow:0 25px 50px -12px #00000080,0 0 0 1px #ffffff1a inset;border:1px solid rgba(255,255,255,.2);overflow:visible;position:relative}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:25px;border-bottom:2px solid rgba(255,255,255,.2);background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff;position:relative;overflow:hidden}.editor-header:before{content:"";position:absolute;top:-50%;right:-10%;width:200px;height:200px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%}.editor-header h2{font-size:1.6rem;margin:0;font-weight:800;text-shadow:0 2px 4px rgba(0,0,0,.3);position:relative;z-index:1}.editor-header .close-btn{background:#fff3;border:none;color:#fff;border-radius:8px;padding:8px;cursor:pointer;transition:background .2s;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;z-index:10;position:relative}.editor-header .close-btn:hover{background:#ffffff4d}.editor-body{padding:25px;overflow-y:auto;overflow-x:visible;flex:1;-webkit-overflow-scrolling:touch;position:relative}.toss-section{margin-bottom:20px}.toss-card{background:linear-gradient(180deg,#f8fbff,#fff);border:1px solid rgba(30,136,229,.15);border-radius:14px;padding:16px;box-shadow:0 4px 10px #1e88e514,0 0 0 1px #1e88e50d}.toss-header h3{margin:0 0 4px;font-size:1.05rem;color:#1e3c72;font-weight:700}.toss-subtitle{margin:0 0 12px;color:#6c757d;font-size:.9rem}.toss-fields{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.toss-row{display:flex;flex-direction:column;gap:6px}.toss-row label{font-weight:600;color:#495057;font-size:.9rem}.toss-row select{padding:10px 12px;border:1px solid #dee2e6;border-radius:10px;font-size:.95rem;background:#fff;transition:all .2s ease}.toss-row select:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 3px #1e88e51f}.toss-row select:disabled{background:#f5f5f5;color:#9aa0a6;cursor:not-allowed}.toss-actions{margin-top:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.btn-save-toss{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;font-weight:700;cursor:pointer;transition:all .25s ease;box-shadow:0 4px 10px #10b98140}.btn-save-toss:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 12px #10b98159}.btn-save-toss.disabled,.btn-save-toss:disabled{background:#cbd5e1;cursor:not-allowed;box-shadow:none}.toss-hint{font-size:.85rem;color:#6c757d}.toss-hint.success{color:#0f9d58;font-weight:600}.sets-control{margin-bottom:20px;padding:12px 16px;background:linear-gradient(180deg,#f8f9fa,#fff);border-radius:12px;box-shadow:0 2px 4px -1px #00000014,0 0 0 1px #1e88e51a;border:1px solid rgba(30,136,229,.1)}.sets-control h3{margin-bottom:12px;color:#333;font-size:1rem;font-weight:700}.sets-display{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.set-control-group{flex:1;display:flex;flex-direction:row;align-items:center;gap:8px;justify-content:center}.set-control-group label{font-weight:600;color:#495057;font-size:.9rem;white-space:nowrap}.set-counter{display:flex;align-items:center;gap:15px}.counter-btn{width:40px;height:40px;border:2px solid #1e88e5;background:#fff;color:#1e88e5;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s cubic-bezier(.4,0,.2,1);font-weight:700;box-shadow:0 2px 4px #1e88e533}.counter-btn:hover:not(:disabled){background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;transform:scale(1.1);box-shadow:0 4px 8px #1e88e54d}.counter-btn:disabled{opacity:.5;cursor:not-allowed}.set-count{font-size:2rem;font-weight:800;color:#1e88e5;min-width:50px;text-align:center;text-shadow:0 2px 4px rgba(30,136,229,.2)}.vs-divider{font-size:.9rem;font-weight:600;color:#6c757d;padding:0 8px;flex-shrink:0}.sets-info{text-align:center;color:#6c757d;font-size:.8rem;margin-top:8px;line-height:1.3}.sets-info-hint{text-align:center;margin-top:6px;font-size:.75rem;color:#1e88e5;font-style:italic;font-weight:500;line-height:1.3}.set-count-display{font-size:1.5rem;font-weight:800;color:#1e88e5;min-width:40px;text-align:center;text-shadow:0 1px 2px rgba(30,136,229,.2);padding:4px 8px;background:#1e88e51a;border-radius:8px}.individual-sets{margin-top:20px}.sets-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:15px}.sets-header h3{color:#333;font-size:1.2rem}.sets-header-actions{display:flex;align-items:center;gap:10px}.btn-final-score{display:flex;align-items:center;gap:6px;padding:10px 16px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border:none;border-radius:10px;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #22c55e4d;text-shadow:0 1px 2px rgba(0,0,0,.1)}.btn-final-score:hover:not(:disabled){background:linear-gradient(135deg,#4ade80,#22c55e);transform:translateY(-1px);box-shadow:0 4px 8px #22c55e66}.btn-final-score:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.btn-add-set{display:flex;align-items:center;gap:6px;padding:10px 16px;background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;border:none;border-radius:10px;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #1e88e54d;text-shadow:0 1px 2px rgba(0,0,0,.1)}.btn-add-set:hover:not(:disabled){background:linear-gradient(135deg,#2196f3,#1565c0);transform:translateY(-1px);box-shadow:0 4px 8px #1e88e566}.btn-add-set:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.no-sets{text-align:center;color:#6c757d;padding:40px;font-style:italic}.sets-list{display:flex;flex-direction:column;gap:15px}.set-item{display:flex;align-items:flex-start;gap:15px;padding:15px;background:linear-gradient(180deg,#f8f9fa,#fff);border:2px solid #dee2e6;border-radius:12px;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px #0000000d;flex-wrap:wrap;position:relative}.set-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto;padding-left:10px;align-self:center;order:3}.set-item:hover{border-color:#1e88e5;box-shadow:0 4px 6px -1px #1e88e533,0 2px 4px -1px #1e88e51a;transform:translateY(-2px)}.set-number{font-weight:700;color:#1e88e5;min-width:60px;font-size:.9rem;flex-shrink:0}.set-scores{flex:1;display:flex;align-items:center;gap:10px;min-width:0;overflow:visible;justify-content:flex-start;order:1}.set-score-input{flex:0 1 auto;display:flex;flex-direction:column;gap:5px;min-width:80px;max-width:180px;justify-content:flex-end}.set-score-input label{font-size:.8rem;color:#6c757d;font-weight:500;display:flex;align-items:center;gap:6px}.scored-indicator{width:20px;height:20px;animation:bounce .6s ease-in-out;filter:drop-shadow(0 2px 4px rgba(30,136,229,.3))}@keyframes bounce{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-8px) scale(1.1)}}.points-label{font-size:.7rem;color:#667eea;font-weight:400;font-style:italic}.score-input-group{display:flex;align-items:center;gap:6px}.score-input{padding:8px 6px;border:2px solid #dee2e6;border-radius:8px;font-size:1rem;font-weight:700;text-align:center;transition:all .3s ease;background:#fff;flex:1;min-width:60px}.btn-point{display:flex;align-items:center;gap:4px;padding:8px 10px;background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;border:none;border-radius:8px;font-size:.75rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #1e88e54d;white-space:nowrap;flex-shrink:0}.btn-point:hover:not(:disabled){background:linear-gradient(135deg,#2196f3,#1565c0);transform:translateY(-1px);box-shadow:0 4px 8px #1e88e566}.btn-point.disabled,.btn-point:disabled{background:#ccc;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.btn-point-minus{display:flex;align-items:center;gap:4px;padding:8px 10px;background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;border:none;border-radius:8px;font-size:.75rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #dc35454d;white-space:nowrap;flex-shrink:0}.btn-point-minus:hover:not(:disabled){background:linear-gradient(135deg,#e74c3c,#dc3545);transform:translateY(-1px);box-shadow:0 4px 8px #dc354566}.btn-point-minus.disabled,.btn-point-minus:disabled{background:#ccc;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.score-input:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 3px #1e88e51a;transform:scale(1.02)}.score-input:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.6;color:#6c757d}.score-input:disabled:focus{transform:none;border-color:#dee2e6;box-shadow:none}.set-separator{font-size:1.2rem;font-weight:600;color:#6c757d;padding:0 5px;flex-shrink:0}.score-trail{width:100%;margin-top:10px;padding:8px 12px;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;max-height:80px;overflow-y:auto;overflow-x:hidden;order:2;flex-basis:100%}.score-trail-label{font-size:.75rem;font-weight:700;color:#0369a1;text-transform:uppercase;letter-spacing:.5px;flex-shrink:0}.score-trail-values{font-size:.8rem;color:#0c4a6e;font-weight:500;line-height:1.4;word-break:break-word}.btn-update-set{padding:8px;background:#6c757d;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;min-width:40px;width:40px;height:40px;flex-shrink:0}.btn-update-set.has-scores{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 2px 4px #22c55e4d}.btn-update-set.has-scores:hover:not(:disabled){background:linear-gradient(135deg,#4ade80,#22c55e);transform:scale(1.1);box-shadow:0 4px 8px #22c55e66}.btn-update-set.disabled,.btn-update-set:disabled{background:#ccc;cursor:not-allowed;opacity:.6;transform:none}.btn-update-set.disabled:hover,.btn-update-set:disabled:hover{background:#ccc;transform:none;box-shadow:none}.btn-remove-set{padding:8px;background:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background .2s;display:flex;align-items:center;min-width:40px;width:40px;height:40px;justify-content:center;flex-shrink:0}.btn-remove-set:hover:not(:disabled){background:#c82333}.btn-remove-set.disabled,.btn-remove-set:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.btn-remove-set.disabled:hover,.btn-remove-set:disabled:hover{background:#ccc}.editor-footer{padding:20px 25px;border-top:2px solid #e9ecef;display:flex;justify-content:flex-end;background:linear-gradient(180deg,#f8f9fa,#fff)}.editor-footer .btn-primary{background:linear-gradient(135deg,#1e88e5,#0d47a1);box-shadow:0 4px 6px -1px #1e88e54d,0 2px 4px -1px #1e88e533}@media (max-width: 768px){.score-editor-modal{padding:300px 0 0;align-items:flex-start}.score-editor-content{max-width:100%;max-height:calc(100vh - 330px);width:100%;border-radius:20px 20px 0 0;margin-top:0;overflow:visible}.editor-header{padding:20px}.editor-header h2{font-size:1.2rem}.editor-body{padding:20px}.sets-display{flex-direction:row;flex-wrap:nowrap;gap:12px;align-items:center;justify-content:center}.set-control-group{flex:1 1 0;min-width:0;justify-content:center;gap:6px}.vs-divider{display:inline-flex}.set-scores{flex-direction:row;flex-wrap:nowrap;gap:12px;align-items:center;justify-content:center}.set-separator{padding:0 4px}.btn-point,.btn-point-minus{padding:8px;font-size:.7rem;gap:3px}.set-counter{gap:10px}.counter-btn{width:35px;height:35px}.set-count,.set-count-display{font-size:1.5rem}.sets-header-actions{flex-direction:column;width:100%}.btn-final-score,.btn-add-set{width:100%;justify-content:center;min-height:44px}.set-item{flex-wrap:wrap;overflow-x:visible}.set-actions{width:100%;margin-top:10px;justify-content:flex-end}.score-trail{margin-top:8px;padding:6px 10px;max-height:60px}.score-trail-label{font-size:.7rem}.score-trail-values{font-size:.75rem}}@media (max-width: 480px){.score-editor-modal{padding-top:260px}.score-editor-content{max-width:100%;border-radius:0;max-height:100vh}.editor-header{padding:15px}.editor-header h2{font-size:1rem}.editor-body{padding:15px}.sets-control{padding:10px 12px;margin-bottom:15px}.sets-control h3{font-size:.9rem;margin-bottom:8px}.sets-display{flex-direction:row;flex-wrap:nowrap;gap:10px;margin-bottom:8px;justify-content:center;align-items:center}.set-control-group{flex:1 1 0;min-width:0;flex-direction:row;gap:6px;justify-content:center}.set-control-group label{font-size:.8rem}.set-scores{flex-direction:column;flex-wrap:nowrap;gap:15px;margin-bottom:8px;justify-content:flex-start;align-items:stretch;width:100%}.set-item{flex-wrap:wrap;overflow-x:visible;padding:12px}.set-separator{display:none}.btn-point,.btn-point-minus{padding:10px 8px;font-size:.7rem;gap:3px;min-height:44px;width:100%}.score-input-group{flex-direction:column;gap:6px;width:100%}.set-score-input{max-width:100%;width:100%;min-width:0}.set-score-input label{font-size:.85rem}.set-count-display{font-size:1.2rem;min-width:35px;padding:3px 6px}.sets-info,.sets-info-hint{font-size:.7rem;margin-top:4px}.counter-btn{width:44px;height:44px}.set-count,.set-count-display{font-size:1.3rem}.score-input{padding:14px 12px;font-size:16px;min-height:44px;width:100%}.btn-update-set,.btn-remove-set{min-width:44px;width:44px;min-height:44px;height:44px;padding:10px;justify-content:center;flex-shrink:0}.set-actions{flex-direction:row;width:100%;gap:8px;justify-content:flex-end}.btn-add-set{width:auto;min-width:44px;min-height:44px;padding:10px 16px;justify-content:center}.btn-add-set span{display:none}.editor-footer{padding:15px;justify-content:center}.editor-footer .btn-primary{width:auto;min-width:44px;min-height:44px;padding:10px 20px}.editor-footer .btn-primary span{display:none}.close-btn{min-width:44px;min-height:44px}.score-trail{margin-top:8px;padding:6px 10px;max-height:60px}.score-trail-label{font-size:.65rem}.score-trail-values{font-size:.7rem}}.games-panel{width:100%}.game-form{background:linear-gradient(180deg,#f8f9fa,#fff);padding:25px;border-radius:16px;margin-bottom:30px;box-shadow:0 4px 6px -1px #0000001a,0 0 0 1px #1e88e51a;border:1px solid rgba(30,136,229,.1)}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:20px}.form-group{display:flex;flex-direction:column}.form-group label{margin-bottom:8px;font-weight:600;color:#495057;font-size:.9rem}.form-select{padding:12px 16px;font-size:1rem;border:2px solid #dee2e6;border-radius:8px;background:#fff;cursor:pointer;transition:border-color .2s}.form-select:focus{outline:none;border-color:#667eea}.form-input{padding:12px 16px;font-size:1rem;border:2px solid #dee2e6;border-radius:8px;background:#fff;transition:border-color .2s;font-family:inherit}.form-input:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 3px #1e88e51a}.form-input[type=date],.form-input[type=time]{cursor:pointer}.games-filters{background:linear-gradient(180deg,#f8f9fa,#fff);padding:20px;border-radius:16px;margin-bottom:25px;box-shadow:0 4px 6px -1px #0000001a,0 0 0 1px #1e88e51a;border:1px solid rgba(30,136,229,.1)}.filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e9ecef}.filters-header h3{margin:0;font-size:1.2rem;color:#333;font-weight:600}.btn-clear-filters{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#6c757d;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s}.btn-clear-filters:hover{background:#5a6268;transform:translateY(-1px)}.filters-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group label{display:flex;align-items:center;gap:8px;font-weight:600;color:#495057;font-size:.9rem}.filter-group label svg{color:#1e88e5}.filter-input{padding:12px 16px;font-size:1rem;border:2px solid #dee2e6;border-radius:8px;background:#fff;transition:border-color .2s;font-family:inherit}.filter-input:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 3px #1e88e51a}.filter-input[type=date]{cursor:pointer}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-input{padding-right:40px;width:100%}.filter-clear-btn{position:absolute;right:8px;padding:6px;background:#e9ecef;border:none;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#6c757d}.filter-clear-btn:hover{background:#dee2e6;color:#495057}.search-clear-btn{right:8px}.filter-results-info{margin-top:15px;padding:10px 15px;background:#e7f3ff;border:1px solid #b3d9ff;border-radius:8px;color:#06c;font-size:.9rem;font-weight:500;text-align:center}.games-list{display:grid;gap:20px}.game-card{background:linear-gradient(180deg,#fff,#f8f9fa);border:2px solid #e9ecef;border-radius:16px;padding:25px;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;position:relative;overflow:hidden}.game-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(180deg,#1e88e5,#0d47a1);transform:scaleY(0);transition:transform .3s ease}.game-card:hover{border-color:#1e88e5;box-shadow:0 10px 15px -3px #1e88e533,0 4px 6px -2px #1e88e51a;transform:translateY(-4px)}.game-card:hover:before{transform:scaleY(1)}.game-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e9ecef}.game-info{flex:1}.game-info h3{font-size:1.4rem;color:#333;margin-bottom:10px}.game-group-badge{display:inline-block;padding:4px 12px;background:#e7f3ff;color:#06c;border-radius:12px;font-size:.85rem;font-weight:500;margin-right:10px}.game-location-badge{display:inline-block;padding:4px 12px;background:#f0f9ff;color:#0369a1;border-radius:12px;font-size:.85rem;font-weight:600;margin-right:10px;border:1px solid rgba(3,105,161,.15)}.game-status{display:inline-block;padding:4px 12px;border-radius:12px;font-size:.85rem;font-weight:500}.game-status.pending{background:linear-gradient(135deg,#fff3cd,#ffeaa7);color:#856404;font-weight:600;box-shadow:0 2px 4px #8564041a}.game-status.in-progress{background:linear-gradient(135deg,#cfe2ff,#a5d8ff);color:#084298;font-weight:600;box-shadow:0 2px 4px #0842981a}.game-status.completed{background:linear-gradient(135deg,#d1e7dd,#a8e6cf);color:#0f5132;font-weight:600;box-shadow:0 2px 4px #0f51321a}.game-datetime{display:flex;align-items:center;gap:15px;margin-top:10px;flex-wrap:wrap}.game-date,.game-time{display:flex;align-items:center;gap:6px;padding:6px 12px;background:linear-gradient(180deg,#f8f9fa,#fff);border:1px solid #dee2e6;border-radius:8px;font-size:.85rem;font-weight:600;color:#495057}.game-date svg,.game-time svg{color:#1e88e5}.game-actions{display:flex;gap:10px}.btn-edit{padding:8px 12px;background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;font-weight:600;box-shadow:0 2px 4px #1e88e533}.btn-edit:hover:not(:disabled){background:linear-gradient(135deg,#2196f3,#1565c0);transform:translateY(-1px);box-shadow:0 4px 6px #1e88e54d}.btn-edit.disabled,.btn-edit:disabled{background:#ccc;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.btn-edit.disabled:hover,.btn-edit:disabled:hover{transform:none;box-shadow:none;background:#ccc}.game-score{margin-top:15px}.score-section{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.team-name{flex:1;font-weight:600;font-size:1.1rem;color:#333;text-align:center}.score-display{display:flex;align-items:center;gap:15px;font-size:2rem;font-weight:700;color:#667eea}.sets-score{min-width:50px;text-align:center}.score-separator{color:#6c757d}.sets-details{margin-top:15px;padding:12px;background:#f8f9fa;border-radius:8px;font-size:.9rem}.sets-details strong{display:block;margin-bottom:8px;color:#495057}.sets-scores-list{display:flex;flex-direction:column;gap:10px}.set-score-item{display:flex;flex-direction:column;gap:6px}.set-score-badge{display:inline-block;padding:4px 10px;background:#fff;border:1px solid #dee2e6;border-radius:6px;font-size:.85rem;color:#495057;width:fit-content}.set-score-trail{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px 10px;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:6px;max-height:60px;overflow-y:auto;overflow-x:hidden}.set-score-trail .score-trail-label{font-size:.7rem;font-weight:700;color:#0369a1;text-transform:uppercase;letter-spacing:.5px;flex-shrink:0}.set-score-trail .score-trail-values{font-size:.75rem;color:#0c4a6e;font-weight:500;line-height:1.4;word-break:break-word}.points-info{text-align:center;padding:10px;background:#f8f9fa;border-radius:8px;color:#6c757d;font-size:.9rem;margin-top:10px}@media (max-width: 768px){.panel-header{flex-direction:column;align-items:flex-start;gap:15px}.games-filters{padding:15px}.filters-row{grid-template-columns:1fr;gap:15px}.filters-header{flex-direction:column;align-items:flex-start;gap:10px}.btn-clear-filters{width:100%;justify-content:center}.panel-header h2{font-size:1.3rem}.form-row{grid-template-columns:1fr;gap:15px}.game-form,.game-card{padding:15px}.game-info h3{font-size:1.2rem}.game-datetime{gap:10px;margin-top:8px}.game-date,.game-time{font-size:.75rem;padding:4px 10px}.score-section{flex-direction:row;flex-wrap:wrap;gap:10px;justify-content:space-between}.team-name{flex:1 1 40%;text-align:center}.score-display{font-size:1.5rem;flex:1 1 20%;justify-content:center}.sets-details{padding:10px}.sets-scores-list{gap:8px}.set-score-item{gap:5px}.set-score-badge{width:100%;text-align:center}.set-score-trail{padding:5px 8px;max-height:50px}.set-score-trail .score-trail-label{font-size:.65rem}.set-score-trail .score-trail-values{font-size:.7rem}}@media (max-width: 480px){.panel-header h2{font-size:1.1rem}.games-filters{padding:12px}.filters-header h3{font-size:1rem}.filter-input{padding:14px 16px;font-size:16px;min-height:44px}.game-card{padding:12px}.game-info h3{font-size:1rem}.game-datetime{flex-direction:column;gap:8px;align-items:flex-start}.game-date,.game-time{font-size:.7rem;padding:3px 8px}.score-section{gap:8px}.team-name{font-size:.95rem}.score-display{font-size:1.2rem}.game-actions{flex-direction:row;gap:10px;width:auto}.btn-edit,.btn-danger{min-width:44px;width:44px;min-height:44px;height:44px;padding:10px;justify-content:center;flex-shrink:0}.form-input,.form-select{padding:14px 16px;font-size:16px;min-height:44px}.form-actions{flex-direction:column;width:100%}.form-actions button{width:100%;min-height:44px}}.scores-table-panel{width:100%}.stats-summary{display:flex;align-items:center;gap:15px;color:#6c757d;font-size:.95rem}.matrix-table-container{background:linear-gradient(180deg,#fff,#f8f9fa);border-radius:16px;overflow:auto;box-shadow:0 10px 25px -5px #0000001a,0 0 0 1px #0000000d;margin-bottom:30px;padding:20px;max-height:calc(100vh - 200px);border:1px solid rgba(30,136,229,.1)}.matrix-table-wrapper{overflow:visible;min-width:100%}.matrix-table{width:100%;border-collapse:collapse;font-size:.85rem;min-width:800px;table-layout:auto}.matrix-table thead{background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff;box-shadow:0 4px 6px #0000001a}.matrix-corner{background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff;padding:12px;font-weight:800;text-align:center;position:sticky;left:0;z-index:20;min-width:150px;text-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:2px 0 4px #0000001a}.matrix-header{padding:12px 8px;text-align:center;font-weight:600;font-size:.85rem;min-width:140px;max-width:200px;width:auto;writing-mode:horizontal-tb;text-orientation:mixed;vertical-align:middle;white-space:normal;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;line-height:1.3;-webkit-hyphens:auto;hyphens:auto}.summary-header{padding:12px 8px;text-align:center;font-weight:700;font-size:.9rem;min-width:100px;background:#ffffff26;text-shadow:0 1px 2px rgba(0,0,0,.2)}.matrix-row-header{padding:12px;font-weight:700;position:sticky;left:0;z-index:15;min-width:150px;max-width:250px;width:auto;border-right:3px solid #1e88e5;vertical-align:middle;text-align:center;color:#1e3c72;box-shadow:2px 0 4px #0000000d;background:inherit;white-space:normal;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;line-height:1.4;-webkit-hyphens:auto;hyphens:auto}.matrix-row-header strong{display:inline-block;max-width:100%;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word}.matrix-table tbody tr.team-row-even .matrix-row-header{background:linear-gradient(90deg,#f1f3f5,#fff)}.matrix-table tbody tr.team-row-odd .matrix-row-header{background:linear-gradient(90deg,#e9ecef,#f8f9fa)}.set-label-cell{padding:6px 8px;font-weight:600;font-size:.8rem;color:#495057;text-align:center;min-width:60px;border-right:1px solid #dee2e6;position:sticky;left:150px;z-index:12;background:inherit}.matrix-table tbody tr.team-row-even .set-label-cell{background:linear-gradient(90deg,#e9ecef,#f1f3f5)}.matrix-table tbody tr.team-row-odd .set-label-cell{background:linear-gradient(90deg,#dee2e6,#e9ecef)}.matrix-table tbody tr.team-row-even{background:linear-gradient(180deg,#fff,#f8f9fa)}.matrix-table tbody tr.team-row-odd{background:linear-gradient(180deg,#f8f9fa,#f1f3f5)}.matrix-table tbody tr:hover{background:linear-gradient(180deg,#e3f2fd,#bbdefb)!important}.set-header-cell{background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff;padding:8px;font-weight:700;font-size:.85rem;text-align:center;min-width:60px;text-shadow:0 1px 2px rgba(0,0,0,.2)}.matrix-cell{padding:8px;text-align:center;border:1px solid #e9ecef;vertical-align:middle;min-width:140px;max-width:140px;background:inherit}.diagonal-cell{background:#2c3e50!important;color:#fff;font-weight:700}.no-match,.no-set{background:#f8f9fa!important;color:#adb5bd}.match-cell{padding:6px}.match-cell.set-row{padding:8px 4px}.match-cell.win{background:linear-gradient(135deg,#d4edda,#c3e6cb);border:2px solid #28a745;box-shadow:0 2px 4px #28a74533}.match-cell.loss{background:linear-gradient(135deg,#f8d7da,#f5c6cb);border:2px solid #dc3545;box-shadow:0 2px 4px #dc354533}.match-result{display:flex;flex-direction:column;gap:4px}.set-result{padding:4px;background:#ffffffb3;border-radius:4px;margin-bottom:4px}.set-result-single{display:flex;flex-direction:column;gap:4px}.set-score-inline{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;font-size:.85rem}.score-value{min-width:30px;padding:4px 6px;font-size:.95rem;font-weight:700;text-align:center;color:#1e3c72;background:#fffc;border-radius:4px;display:inline-block}.set-label{font-size:.7rem;font-weight:600;color:#495057;margin-bottom:2px}.score-separator{color:#6c757d;font-weight:600;margin:0 2px}.score-divider{color:#dee2e6;margin:0 4px;font-weight:300}.set-pts-inline{font-size:.8rem;font-weight:600;color:#1e88e5;white-space:nowrap}.set-diff-inline{font-size:.8rem;font-weight:600;color:#495057;white-space:nowrap}.match-summary{padding:4px}.sets-display{font-weight:700;font-size:.95rem}.match-points{font-size:.75rem;font-weight:700;color:#1e88e5;margin-top:4px;padding-top:4px;border-top:1px solid rgba(0,0,0,.1)}.summary-cell{padding:12px 8px;text-align:center;font-size:.95rem;border-left:3px solid #1e88e5;vertical-align:middle;font-weight:600;background:inherit}.matrix-table tbody tr.team-row-even .summary-cell{background:linear-gradient(180deg,#f8f9fa,#fff)}.matrix-table tbody tr.team-row-odd .summary-cell{background:linear-gradient(180deg,#f1f3f5,#f8f9fa)}.summary-cell.wins-cell{color:#28a745;font-weight:600}.summary-cell.points-cell{color:#667eea;font-weight:600}.summary-cell.differential-cell.positive{color:#28a745}.summary-cell.differential-cell.negative{color:#dc3545}.standings-table{background:linear-gradient(180deg,#fff,#f8f9fa);border-radius:16px;overflow:hidden;box-shadow:0 10px 25px -5px #0000001a,0 0 0 1px #0000000d;margin-bottom:30px;border:1px solid rgba(30,136,229,.1)}.standings-table table{width:100%;border-collapse:collapse}.standings-table thead{background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff;box-shadow:0 4px 6px #0000001a}.standings-table th{padding:15px;text-align:left;font-weight:600;font-size:.95rem}.standings-table tbody tr{border-bottom:1px solid #e9ecef;transition:background .2s}.standings-table tbody tr:hover{background:#f8f9fa}.standings-table tbody tr.rank-1{background:linear-gradient(90deg,#fff9e6,#fff);border-left:5px solid #ffd700;box-shadow:0 2px 4px #ffd70033}.standings-table tbody tr.rank-2{background:linear-gradient(90deg,#f5f5f5,#fff);border-left:5px solid #c0c0c0;box-shadow:0 2px 4px #c0c0c033}.standings-table tbody tr.rank-3{background:linear-gradient(90deg,#ffe4cc,#fff);border-left:5px solid #cd7f32;box-shadow:0 2px 4px #cd7f3233}.standings-table td{padding:15px;font-size:.95rem}.rank-cell{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.1rem}.trophy-icon{width:24px;height:24px}.trophy-icon.gold{color:gold}.trophy-icon.silver{color:silver}.trophy-icon.bronze{color:#cd7f32}.rank-number{min-width:30px}.team-name-cell{font-size:1.05rem}.wins-cell{color:#28a745;font-weight:600}.losses-cell{color:#dc3545;font-weight:600}.win-rate-container{display:flex;align-items:center;gap:10px;min-width:120px}.win-rate-bar{flex:1;height:8px;background:#e9ecef;border-radius:4px;overflow:hidden}.win-rate-fill{height:100%;background:linear-gradient(90deg,#1e88e5,#0d47a1);transition:width .3s ease;box-shadow:0 2px 4px #1e88e54d}.points-cell{font-size:1.1rem;color:#1e88e5;font-weight:700}.differential-cell{font-size:1.1rem;text-align:center}.differential-cell.positive{color:#28a745}.differential-cell.negative{color:#dc3545}.game-results-section{background:linear-gradient(180deg,#fff,#f8f9fa);border-radius:16px;padding:25px;box-shadow:0 10px 25px -5px #0000001a,0 0 0 1px #0000000d;border:1px solid rgba(30,136,229,.1)}.game-results-section h3{margin-bottom:20px;color:#333;font-size:1.3rem}.no-results{text-align:center;color:#6c757d;padding:40px;font-style:italic}.game-results-list{display:flex;flex-direction:column;gap:12px}.game-result-item{display:flex;align-items:center;gap:15px;padding:15px;background:linear-gradient(180deg,#f8f9fa,#fff);border-radius:12px;border:2px solid #e9ecef;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px #0000000d}.game-result-item:hover{border-color:#1e88e5;box-shadow:0 4px 6px -1px #1e88e533,0 2px 4px -1px #1e88e51a;transform:translateY(-2px)}.result-team{flex:1;display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;transition:all .2s}.result-team.winner{background:linear-gradient(135deg,#d1e7dd,#a8e6cf);font-weight:700;box-shadow:0 2px 4px #28a74533;border-radius:8px}.team-name{flex:1}.team-sets{font-size:1.3rem;font-weight:800;color:#1e88e5;min-width:30px;text-align:center;text-shadow:0 2px 4px rgba(30,136,229,.2)}.result-team.winner .team-sets{color:#0f5132}.winner-icon{color:gold}.result-vs{font-weight:600;color:#6c757d;padding:0 10px}.result-points{font-size:.85rem;color:#6c757d;padding:8px 12px;background:#fff;border-radius:6px;border:1px solid #dee2e6}@media (max-width: 768px){.scores-table-panel{width:100%}.panel-header{flex-direction:column;align-items:flex-start;gap:10px}.panel-header h2{font-size:1.3rem}.stats-summary{font-size:.85rem}.matrix-table-container{padding:10px;max-height:calc(100vh - 150px);overflow:auto;-webkit-overflow-scrolling:touch}.matrix-table{font-size:.7rem;min-width:600px}.matrix-corner{min-width:100px;padding:8px;font-size:.8rem}.matrix-row-header{min-width:100px;max-width:200px;width:auto;padding:8px;font-size:.85rem;white-space:normal;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;line-height:1.4;-webkit-hyphens:auto;hyphens:auto}.matrix-row-header strong{display:inline-block;max-width:100%;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word}.set-label-cell{min-width:50px;padding:4px 6px;font-size:.7rem;left:100px}.matrix-header{min-width:100px;max-width:150px;width:auto;padding:8px 4px;font-size:.65rem;white-space:normal;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;line-height:1.3;-webkit-hyphens:auto;hyphens:auto}.matrix-cell{min-width:100px;max-width:100px;padding:6px 4px}.score-input-editable{width:40px;padding:4px 2px;font-size:.8rem}.set-score-inline{font-size:.75rem;gap:4px}.set-pts-inline,.set-diff-inline{font-size:.7rem}.score-value{min-width:25px;padding:3px 4px;font-size:.85rem}.summary-header{min-width:80px;padding:8px 4px;font-size:.8rem}.summary-cell{padding:8px 4px;font-size:.85rem;min-width:80px}.standings-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.standings-table table{min-width:600px}.game-result-item{flex-direction:column;align-items:stretch}.result-vs{text-align:center;padding:5px 0}.result-points{text-align:center}}@media (max-width: 480px){.scores-table-panel{padding:0}.panel-header{padding:15px}.matrix-table-container{padding:10px;max-height:calc(100vh - 150px);margin:0;border-radius:0}.matrix-table{font-size:.65rem;min-width:500px}.matrix-corner{min-width:80px;padding:6px;font-size:.7rem}.matrix-row-header{min-width:80px;max-width:180px;width:auto;padding:6px;font-size:.75rem;white-space:normal;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;line-height:1.4;-webkit-hyphens:auto;hyphens:auto}.matrix-row-header strong{display:inline-block;max-width:100%;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word}.set-label-cell{min-width:45px;padding:3px 4px;font-size:.65rem;left:80px}.matrix-header{min-width:80px;max-width:120px;width:auto;padding:6px 3px;font-size:.6rem;white-space:normal;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;line-height:1.3;-webkit-hyphens:auto;hyphens:auto}.matrix-cell{min-width:80px;max-width:80px;padding:4px 2px}.score-input-editable{width:35px;padding:3px 1px;font-size:.75rem}.set-score-inline{font-size:.7rem;gap:3px}.set-pts-inline,.set-diff-inline{font-size:.65rem}.score-value{min-width:20px;padding:2px 3px;font-size:.8rem}.score-divider{margin:0 2px}.summary-header{min-width:70px;padding:6px 3px;font-size:.75rem}.summary-cell{padding:6px 3px;font-size:.75rem;min-width:70px}.panel-header h2{font-size:1.1rem}.game-results-section{padding:15px}.game-results-section h3{font-size:1.1rem}.matrix-table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:auto}.set-score-inline{flex-wrap:wrap;gap:4px}.score-value{font-weight:700}}.settings-panel{width:100%}.settings-content{display:grid;grid-template-columns:1fr 1fr;gap:30px}.settings-card{background:linear-gradient(180deg,#fff,#f8f9fa);border:2px solid #e9ecef;border-radius:16px;padding:30px;box-shadow:0 10px 25px -5px #0000001a,0 0 0 1px #1e88e51a;border:1px solid rgba(30,136,229,.1)}.settings-card h3{font-size:1.5rem;color:#333;margin-bottom:10px}.settings-description{color:#6c757d;margin-bottom:25px;line-height:1.6}.settings-form{display:flex;flex-direction:column;gap:25px}.setting-group{display:flex;flex-direction:column;gap:8px}.setting-group.toggle-group{flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.setting-group label{font-weight:600;color:#495057;font-size:1rem;display:flex;flex-direction:column;gap:5px}.label-hint{font-weight:400;font-size:.85rem;color:#6c757d;font-style:italic}.setting-input{padding:12px 16px;font-size:1.1rem;border:2px solid #dee2e6;border-radius:8px;transition:border-color .2s;font-weight:600}.setting-input:focus{outline:none;border-color:#667eea}.setting-input:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.6;color:#6c757d}.toggle-switch{position:relative;display:inline-flex;width:56px;height:30px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ced4da;transition:.3s;border-radius:999px}.toggle-slider:before{position:absolute;content:"";height:24px;width:24px;left:3px;top:3px;background-color:#fff;border-radius:50%;transition:.3s;box-shadow:0 2px 4px #0003}.toggle-switch input:checked+.toggle-slider{background:linear-gradient(135deg,#1e88e5,#0d47a1)}.toggle-switch input:checked+.toggle-slider:before{transform:translate(26px)}.toggle-switch input:disabled+.toggle-slider{opacity:.6;cursor:not-allowed}.settings-preview{background:#f8f9fa;padding:20px;border-radius:8px;margin-top:10px}.settings-preview h4{margin-bottom:15px;color:#495057;font-size:1.1rem}.preview-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #dee2e6}.preview-item:last-child{border-bottom:none}.preview-item span{color:#6c757d}.preview-item strong{color:#1e88e5;font-size:1.1rem}.btn-save{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;background:linear-gradient(135deg,#1e88e5,#0d47a1);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);margin-top:10px;box-shadow:0 4px 6px -1px #1e88e54d,0 2px 4px -1px #1e88e533;text-shadow:0 1px 2px rgba(0,0,0,.1)}.btn-save:hover{transform:translateY(-2px);box-shadow:0 10px 15px -3px #1e88e566,0 4px 6px -2px #1e88e54d;background:linear-gradient(135deg,#2196f3,#1565c0)}.btn-save.disabled,.btn-save:disabled{background:#ccc;cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.btn-save.disabled:hover,.btn-save:disabled:hover{transform:none;box-shadow:none;background:#ccc}.settings-info{background:linear-gradient(180deg,#fff,#f8f9fa);border:2px solid #e9ecef;border-radius:16px;padding:30px;box-shadow:0 10px 25px -5px #0000001a,0 0 0 1px #1e88e51a;border:1px solid rgba(30,136,229,.1)}.settings-info h3{font-size:1.5rem;color:#333;margin-bottom:20px}.settings-info ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:20px}.settings-info li{padding:15px;background:linear-gradient(180deg,#f8f9fa,#fff);border-radius:10px;border-left:4px solid #1e88e5;line-height:1.6;color:#495057;box-shadow:0 2px 4px #0000000d}.settings-info li strong{color:#1e88e5;display:block;margin-bottom:5px}@media (max-width: 968px){.settings-content{grid-template-columns:1fr}}@media (max-width: 768px){.panel-header h2{font-size:1.3rem}.settings-card{padding:20px}.settings-card h3{font-size:1.3rem}.settings-info{padding:20px}.settings-info h3{font-size:1.3rem}.setting-group.toggle-group{flex-direction:column;align-items:flex-start;gap:12px}}@media (max-width: 480px){.panel-header h2{font-size:1.1rem}.settings-card{padding:15px}.settings-card h3{font-size:1.1rem}.setting-input{padding:14px 16px;font-size:16px;min-height:44px}.btn-save{padding:14px 24px;font-size:1rem;min-height:44px;width:100%}.settings-info{padding:15px}.settings-info h3{font-size:1.1rem}.settings-form{gap:20px}}.error-banner{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fee;border:1px solid #fcc;border-radius:8px;margin-bottom:20px;color:#c33;font-size:.95rem}.error-banner svg{flex-shrink:0}.retry-btn{margin-left:auto;padding:6px 12px;background:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:600;transition:background .2s}.retry-btn:hover{background:#c82333}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#6c757d}.loading-state svg{margin-bottom:16px}.loading-state p{font-size:1rem;margin:0}.error-message{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#fee;border:1px solid #fcc;border-radius:8px;margin-bottom:20px;color:#c33;font-size:.9rem}.error-message svg{flex-shrink:0}.empty-state{grid-column:1 / -1;text-align:center;padding:60px 20px;color:#6c757d}.empty-state svg{margin-bottom:20px;opacity:.5}.empty-state p{font-size:1.1rem;margin:8px 0}.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dashboard{background:linear-gradient(180deg,#fff,#f8f9fa);border-radius:24px;box-shadow:0 25px 50px -12px #00000040,0 0 0 1px #ffffff80 inset;overflow:hidden;min-height:calc(100vh - 40px);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dashboard-header{background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff;padding:35px 40px;text-align:center;position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;z-index:2000}.dashboard-header:before{content:"";position:absolute;top:-50%;right:-10%;width:300px;height:300px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%}.dashboard-header:after{content:"";position:absolute;bottom:-30%;left:-5%;width:250px;height:250px;background:radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 70%);border-radius:50%}.dashboard-header>div:first-child{flex:1;text-align:center}.dashboard-header h1{font-size:2.8rem;font-weight:800;margin-bottom:10px;display:flex;align-items:center;justify-content:center;gap:15px;text-shadow:0 2px 10px rgba(0,0,0,.3);letter-spacing:-.5px;position:relative;z-index:1}.header-icon{filter:drop-shadow(0 4px 8px rgba(0,0,0,.3));animation:pulse 2s ease-in-out infinite}.subtitle{font-size:1.15rem;opacity:.95;font-weight:500;text-shadow:0 1px 3px rgba(0,0,0,.2);position:relative;z-index:1;margin-bottom:15px}.tournament-selector{display:flex;align-items:center;gap:10px;margin-top:15px;position:relative;z-index:1}.tournament-label{font-size:.9rem;opacity:.9;font-weight:600}.tournament-select{padding:8px 16px;font-size:1rem;border:2px solid rgba(255,255,255,.3);border-radius:8px;background:#fff3;color:#fff;font-weight:600;cursor:pointer;transition:all .2s;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tournament-select:hover{background:#ffffff4d;border-color:#ffffff80}.tournament-select:focus{outline:none;background:#ffffff4d;border-color:#fff9;box-shadow:0 0 0 3px #fff3}.tournament-select option{background:#1e3c72;color:#fff}.user-info{display:flex;align-items:center;gap:15px;position:relative;z-index:1}.user-badge{background:#fff3;padding:8px 16px;border-radius:20px;font-weight:600;font-size:.95rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3)}.logout-btn{display:flex;align-items:center;gap:8px;padding:10px 18px;background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:20px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.logout-btn:hover{background:#ffffff4d;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.dashboard-nav{display:flex;background:linear-gradient(180deg,#fff,#f1f3f5);border-bottom:3px solid #e9ecef;overflow-x:auto;padding:0 20px;position:relative;z-index:2000;box-shadow:0 2px 8px #0000000d}.nav-tab{display:flex;align-items:center;gap:8px;padding:15px 25px;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:1rem;font-weight:600;color:#495057;transition:all .3s cubic-bezier(.4,0,.2,1);white-space:nowrap;position:relative}.nav-tab:before{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:3px;background:linear-gradient(90deg,#1e88e5,#0d47a1);transition:width .3s ease}.nav-tab:hover{color:#1e88e5;background:linear-gradient(180deg,#1e88e514,#1e88e508)}.nav-tab:hover:before{width:60%}.nav-tab.active{color:#1e88e5;background:linear-gradient(180deg,#1e88e51f,#1e88e50d)}.nav-tab.active:before{width:100%;background:linear-gradient(90deg,#1e88e5,#0d47a1)}.dashboard-content{flex:1;padding:30px;overflow-y:auto;overflow-x:visible;-webkit-overflow-scrolling:touch;background:linear-gradient(180deg,#f8f9fa,#fff);min-height:0}.no-tournament-message{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:80px 20px;color:#6c757d;min-height:400px}.no-tournament-message svg{margin-bottom:30px;opacity:.5;color:#adb5bd}.no-tournament-message h2{font-size:1.8rem;color:#495057;margin-bottom:15px}.no-tournament-message p{font-size:1.1rem;margin-bottom:30px;max-width:500px;line-height:1.6}.no-tournament-message .btn-primary{padding:14px 28px;font-size:1rem}@media (max-width: 768px){.dashboard{border-radius:0;min-height:100vh}.dashboard-header{padding:20px 15px}.dashboard-header h1{font-size:1.5rem;flex-wrap:wrap;gap:8px}.header-icon{width:24px;height:24px}.subtitle{font-size:.9rem}.dashboard-nav{padding:0 10px;overflow-x:auto;-webkit-overflow-scrolling:touch}.nav-tab{padding:12px 15px;font-size:.9rem;min-width:auto}.nav-tab span{display:inline}.nav-tab{min-height:44px}.dashboard-content{padding:15px;overflow-y:auto;overflow-x:visible;-webkit-overflow-scrolling:touch}}@media (max-width: 480px){.dashboard-header{padding:15px 10px}.dashboard-header h1{font-size:1.2rem}.subtitle{font-size:.8rem}.nav-tab{padding:12px 16px;font-size:.9rem;min-height:44px;flex-shrink:0}.dashboard-content{padding:10px;overflow-y:auto;overflow-x:visible;-webkit-overflow-scrolling:touch}.tournament-selector{flex-direction:column;align-items:flex-start;gap:8px;width:100%}.tournament-select{width:100%;min-height:44px;font-size:16px}.user-info{flex-direction:column;align-items:flex-start;gap:10px;width:100%}.logout-btn{width:auto;min-width:44px;min-height:44px;padding:10px;justify-content:center}.logout-btn span{display:none}.user-badge{font-size:.9rem;padding:10px 14px}}@media (max-width: 480px){*{-webkit-tap-highlight-color:rgba(0,0,0,.1)}button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}}.final-standings-panel{width:100%}.final-table-wrapper{background:linear-gradient(180deg,#fff,#f8f9fa);border-radius:16px;border:1px solid rgba(30,136,229,.1);box-shadow:0 10px 25px -5px #0000001a,0 0 0 1px #0000000d;padding:20px;overflow-x:auto}.final-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.9rem}.final-table thead{background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff}.final-table th{padding:10px 6px;text-align:center;text-transform:uppercase;letter-spacing:.5px;font-size:.75rem}.final-table th:first-child{width:50px}.final-table th:nth-child(2){text-align:left}.final-table td{padding:12px 8px;text-align:center;border-bottom:1px solid #e9ecef}.final-table td.team-name-cell{text-align:left;font-weight:600;color:#333;font-size:.9rem;white-space:normal;word-wrap:break-word;word-break:break-word}.final-table .rank-cell{text-align:center}.final-table .rank-number{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#f1f3f5;font-weight:700}.final-table tr.rank-1 .rank-number{background:linear-gradient(135deg,gold,#ffb300);color:#333}.final-table tr.rank-2 .rank-number{background:linear-gradient(135deg,silver,#a0a0a0);color:#333}.final-table tr.rank-3 .rank-number{background:linear-gradient(135deg,#cd7f32,#b87333);color:#fff}.final-table .wins-cell{color:#28a745;font-weight:700}.final-table .losses-cell{color:#dc3545;font-weight:700}.final-table .points-cell{color:#1e88e5;font-weight:700}.final-table .differential-cell{font-weight:700}.final-table .differential-cell.positive{color:#28a745}.final-table .differential-cell.negative{color:#dc3545}.final-table-wrapper .standings-note{margin-top:12px;font-size:.85rem;color:#6c757d}.final-table-wrapper .standings-note strong{color:#1e88e5}@media (max-width: 768px){.final-table{font-size:.8rem}.final-table th{font-size:.7rem}.final-table td{padding:8px 4px}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;position:relative;overflow:hidden}.login-container:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 1px,transparent 1px);background-size:50px 50px;animation:float 20s infinite linear}@keyframes float{0%{transform:translate(0)}to{transform:translate(50px,50px)}}.login-card{background:#fff;border-radius:20px;padding:40px;width:100%;max-width:450px;box-shadow:0 20px 60px #0000004d,0 0 0 1px #ffffff1a;position:relative;z-index:1;animation:slideUp .5s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:30px}.login-icon{display:inline-flex;align-items:center;justify-content:center;width:80px;height:80px;background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);border-radius:50%;margin-bottom:20px;box-shadow:0 10px 20px #1e88e54d;animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.login-icon svg{color:#fff}.login-header h1{font-size:2rem;color:#1e3c72;margin-bottom:8px;font-weight:800}.login-header p{color:#6c757d;font-size:1rem}.login-form{display:flex;flex-direction:column;gap:20px}.error-message{background:#fee;color:#c33;padding:12px;border-radius:8px;border-left:4px solid #dc3545;font-size:.9rem;text-align:center}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{display:flex;align-items:center;gap:8px;color:#495057;font-weight:600;font-size:.95rem}.form-group label svg{color:#1e88e5}.form-group input{padding:14px 16px;border:2px solid #e9ecef;border-radius:10px;font-size:1rem;transition:all .3s ease;background:#f8f9fa}.form-group input:focus{outline:none;border-color:#1e88e5;background:#fff;box-shadow:0 0 0 3px #1e88e51a}.login-hint{margin-top:4px}.login-hint small{color:#6c757d;font-size:.85rem}.login-button{padding:14px 24px;background:linear-gradient(135deg,#1e3c72,#2a5298,#1e88e5);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #1e88e54d;margin-top:10px}.login-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #1e88e566}.login-button:active{transform:translateY(0)}.login-info{margin-top:20px;padding-top:20px;border-top:2px solid #e9ecef;display:flex;flex-direction:column;gap:12px}.info-box{padding:12px;background:linear-gradient(180deg,#f8f9fa,#fff);border-radius:8px;border-left:4px solid #1e88e5;font-size:.9rem;color:#495057;line-height:1.5}.info-box strong{color:#1e3c72;display:block;margin-bottom:4px}@media (max-width: 480px){.login-card{padding:25px 20px;margin:10px;width:calc(100% - 20px)}.login-header h1{font-size:1.5rem}.login-icon{width:60px;height:60px}.login-icon svg{width:30px;height:30px}.login-form input{padding:14px 16px;font-size:16px;min-height:44px}.login-btn{padding:14px 24px;font-size:1rem;min-height:44px;width:100%}.form-group{margin-bottom:20px}.form-group label{font-size:.95rem;margin-bottom:10px}}.app{width:100%;min-height:100vh}*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}input,button,select,textarea{font-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none}button,a,input,select,textarea{touch-action:manipulation;-webkit-tap-highlight-color:rgba(0,0,0,.1)}@media (max-width: 768px){input,button,select,textarea{font-size:16px;min-height:44px}button{min-width:44px;min-height:44px;padding:12px 16px}}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,#0f4c75,#3282b8,#bbe1fa);background-attachment:fixed;min-height:100vh;padding:10px;position:relative}body:before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 50%,rgba(255,255,255,.1) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(255,255,255,.1) 0%,transparent 50%);pointer-events:none;z-index:0}#root{position:relative;z-index:1;width:100%;max-width:1400px;margin:0 auto}@media (max-width: 768px){body{padding:5px}}@media (max-width: 480px){body{padding:0}}
