*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;color:#333;line-height:1.5;padding:20px}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}h1,h2,h3,h4,h5,h6{margin:0;font-weight:600}h1{font-size:1.5em;margin-bottom:12px}.page-header{padding-bottom:10px;margin-bottom:20px;border-bottom:3px solid #667eea}.page-header h1{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font-family:inherit}@media(max-width:768px){body{font-size:16px;padding:0}button,a,.nav-link,.btn-stats,.btn-video,.btn-danger-small,input[type=button],input[type=submit]{min-height:44px;min-width:44px}input,select,textarea{font-size:16px;padding:10px}h1{font-size:1em;margin-bottom:6px}h2{font-size:.95em;margin-bottom:6px}h3{font-size:.9em;margin-bottom:4px}.page-header{padding-bottom:6px;margin-bottom:10px;border-bottom:2px solid #667eea}.page-header h1{font-size:1em;margin:0}}.layout{max-width:1200px;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;overflow:hidden;min-height:calc(100vh - 40px)}header{background:linear-gradient(135deg,#1e3c72,#2a5298);color:#fff;padding:30px;text-align:center}.navbar{background:#f8f9fa;border-bottom:2px solid #e9ecef;position:relative}.nav-container{display:flex;flex-direction:column;align-items:center}.nav-brand{font-size:2.5em;font-weight:700;color:#fff;text-decoration:none;text-shadow:2px 2px 4px rgba(0,0,0,.3);text-align:center}.nav-content{display:flex;align-items:center;justify-content:space-between;padding:20px;width:100%;gap:20px;position:relative}.hamburger-menu{display:none;flex-direction:column;justify-content:space-around;width:30px;height:30px;background:transparent;border:none;cursor:pointer;padding:0;z-index:1001}.hamburger-menu span{width:100%;height:3px;background:#667eea;border-radius:3px;transition:all .3s ease;transform-origin:center}.hamburger-menu:hover span{background:#5568d3}.nav-links{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.nav-link{background:#fff;border:2px solid #667eea;color:#667eea;padding:12px 24px;border-radius:8px;text-decoration:none;font-weight:600;transition:all .3s ease;font-size:14px;white-space:nowrap}.nav-link:hover,.nav-link.active{background:#667eea;color:#fff}.nav-login{background:#fff;border:2px solid #667eea;color:#667eea}.nav-login:hover{background:#667eea;color:#fff}.nav-user{display:flex;align-items:center;gap:20px}.user-info{font-weight:500;color:#333}.user-role{opacity:.7;font-size:.9em}.btn-logout{background:#fff;color:#dc3545;border:2px solid #dc3545;padding:8px 20px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-logout:hover{background:#dc3545;color:#fff}.main-content{padding:30px;background:#fff}@media(max-width:768px){body{padding:0;font-size:16px}header{padding:5px 10px}.nav-container{padding:5px 10px}.nav-brand{font-size:1.1em;margin-bottom:3px}.nav-content{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:8px 10px;gap:10px;flex-wrap:nowrap}.hamburger-menu{display:flex;order:1;flex-shrink:0}.hamburger-menu.active span:nth-child(1){transform:rotate(45deg) translate(8px,8px)}.hamburger-menu.active span:nth-child(2){opacity:0}.hamburger-menu.active span:nth-child(3){transform:rotate(-45deg) translate(7px,-7px)}.nav-user{display:flex;order:2;justify-content:flex-end;align-items:center;gap:8px;flex-shrink:0;padding:0;border:none;margin:0}.nav-links{display:none;flex-direction:column;width:100%;gap:0;order:3;background:#fff;border-top:2px solid #e9ecef;margin-top:8px;padding-top:8px;position:absolute;left:0;right:0;top:100%;z-index:1000}.nav-links.mobile-open{display:flex}.nav-links .nav-link{width:100%;text-align:left;padding:12px 15px;border-radius:0;border-bottom:1px solid #f0f0f0;min-height:44px;display:flex;align-items:center}.nav-links .nav-link:last-child{border-bottom:none}.user-info{font-size:12px}.user-role{font-size:.85em}.btn-logout{min-height:36px;padding:6px 12px;font-size:13px}.main-content{padding:10px 0}.layout{min-height:100vh;border-radius:0;box-shadow:none}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:12px;padding:40px;box-shadow:0 10px 40px #0003;width:100%;max-width:400px}.auth-card h1{text-align:center;color:#333;margin-bottom:10px;font-size:2em}.auth-card h2{text-align:center;color:#666;margin-bottom:30px;font-size:1.5em;font-weight:500}.form-group label{display:block;margin-bottom:8px;color:#333;font-weight:500}.form-group input{width:100%;padding:12px;border:2px solid #e1e8ed;border-radius:8px;font-size:1em;transition:border-color .3s;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea}.btn-primary{width:100%;padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1.1em;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:10px}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 20px #667eea66}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.error-message{background:#fee;border:1px solid #fcc;color:#c33;padding:12px;border-radius:8px;margin-bottom:20px;text-align:center}.auth-link{text-align:center;margin-top:20px;color:#666}.auth-link a{color:#667eea;text-decoration:none;font-weight:600}.auth-link a:hover{text-decoration:underline}.top-five-container{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px}.top-five-container h2{margin-bottom:20px;color:#333}.leaderboard-filters{display:flex;gap:15px;margin-bottom:25px}.filter-select{padding:10px 15px;border:2px solid #e1e8ed;border-radius:8px;font-size:1em;background:#fff;cursor:pointer;min-width:200px}.leaderboards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.leaderboard-card{background:linear-gradient(135deg,#f8f9ff,#fef9ff);border:2px solid #e5e7ff;border-radius:10px;padding:20px}.leaderboard-card h3{margin:0 0 15px;color:#667eea;font-size:1.1em}.leaderboard-card ol{list-style:none;counter-reset:leaderboard;padding:0;margin:0}.leaderboard-card li{counter-increment:leaderboard;display:flex;align-items:center;padding:8px;margin-bottom:6px;background:#fff;border-radius:6px;position:relative}.leaderboard-card li:before{content:counter(leaderboard);background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:700;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:12px;font-size:.9em;flex-shrink:0}.leaderboard-card li:first-child:before{background:linear-gradient(135deg,gold,#ffed4e);color:#333}.leaderboard-card li:nth-child(2):before{background:linear-gradient(135deg,silver,#e8e8e8);color:#333}.leaderboard-card li:nth-child(3):before{background:linear-gradient(135deg,#cd7f32,#daa06d);color:#fff}.player-info{flex:1;display:flex;flex-direction:column;gap:2px}.player-name{font-weight:600;color:#333;font-size:1em}.player-team{font-size:.75em;color:#666;font-weight:400}.stat-value{font-weight:700;color:#667eea;font-size:1.1em;min-width:30px;text-align:right}@media(max-width:768px){.leaderboards-grid{grid-template-columns:1fr}.leaderboard-filters{flex-direction:column}.filter-select{width:100%}}.dashboard-page h1,.standings-page h1{color:#1e3c72;margin-bottom:30px;font-size:2em;border-bottom:3px solid #667eea;padding-bottom:10px}.standings-filters{display:flex;gap:20px;margin-bottom:30px;flex-wrap:wrap;background:#f8f9fa;padding:20px;border-radius:8px}.standings-content{background:#f8f9fa;padding:25px;border-radius:12px}.standings-table{width:100%;border-collapse:collapse}.standings-table thead{background:#f9fafb}.standings-table th{text-align:left;padding:8px 12px;font-weight:600;color:#666;border-bottom:2px solid #e5e7eb;font-size:.95em}.standings-table td{padding:8px 12px;border-bottom:1px solid #f0f0f0}.standings-table tbody tr:hover{background:#f9fafb}.standings-table tbody tr.highlighted{background:#fff3cd}.standings-table tbody tr.highlighted:hover{background:#ffe69c}@media(max-width:768px){.standings-filters{flex-direction:column}.filter-group{width:100%}.standings-content{padding:15px}.table-container{padding:10px;-webkit-overflow-scrolling:touch;overflow-x:auto}.standings-table{font-size:.9em;min-width:600px}.standings-table th,.standings-table td{padding:10px 8px;white-space:nowrap}.standings-table th:first-child,.standings-table td:first-child{position:sticky;left:0;background:#fff;z-index:1;box-shadow:2px 0 4px #0000001a}.standings-table thead th:first-child{background:#f9fafb}}.team-stats-page h1{color:#1e3c72;margin-bottom:30px;font-size:2em;border-bottom:3px solid #667eea;padding-bottom:10px}.stats-filters{display:flex;gap:20px;margin-bottom:30px;flex-wrap:wrap;background:#f8f9fa;padding:20px;border-radius:8px}.stats-content{display:flex;flex-direction:column;gap:30px}.stats-section{background:#f8f9fa;padding:25px;border-radius:12px}.stats-section h2{color:#1e3c72;margin:0 0 20px;font-size:1.5em;border-bottom:2px solid #667eea;padding-bottom:10px}.table-container{overflow-x:auto;background:#fff;border-radius:8px;padding:15px}.stats-table{width:100%;border-collapse:collapse}.stats-table thead{background:#f9fafb}.stats-table th{text-align:left;padding:8px 12px;font-weight:600;color:#666;border-bottom:2px solid #e5e7eb;font-size:.95em}.stats-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s ease}.stats-table th.sortable:hover{background-color:#e5e7eb}.stats-table td{padding:8px 12px;border-bottom:1px solid #f0f0f0}.stats-table tbody tr:hover{background:#f9fafb}.stats-table tbody tr.highlighted{background:#fff3cd}.stats-table tbody tr.highlighted:hover{background:#ffe69c}.positive{color:#10b981;font-weight:600}.negative{color:#ef4444;font-weight:600}.empty-text{text-align:center;color:#999;font-style:italic;padding:30px}.info-text{text-align:center;color:#666;margin-top:15px;font-style:italic}@media(max-width:768px){.stats-filters{flex-direction:column}.filter-group{width:100%}}.teams-page>h1{color:#1e3c72;margin-bottom:30px;font-size:2em;border-bottom:3px solid #667eea;padding-bottom:10px}.teams-filters{display:flex;gap:20px;margin-bottom:30px;flex-wrap:wrap;background:#f8f9fa;padding:20px;border-radius:8px}.filter-group{display:flex;flex-direction:column;gap:8px;min-width:200px;flex:1}.filter-group label{font-weight:600;color:#333}.filter-select{padding:10px 15px;border:2px solid #e1e8ed;border-radius:8px;font-size:1em;background:#fff;cursor:pointer}.filter-select:focus{outline:none;border-color:#667eea}.filter-select:disabled{background:#f5f5f5;cursor:not-allowed}.teams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:30px}.team-card{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.team-card:hover{transform:translateY(-4px);box-shadow:0 4px 20px #00000026}.team-card-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:20px;display:flex;justify-content:space-between;align-items:center}.team-card-header h3{margin:0;font-size:1.3em}.player-count{background:#fff3;padding:5px 12px;border-radius:20px;font-size:.9em}.team-card-body{padding:20px;min-height:150px}.player-preview{list-style:none;padding:0;margin:0}.player-preview li{padding:8px 0;border-bottom:1px solid #f0f0f0;color:#333}.player-preview li:last-child{border-bottom:none}.player-preview .more-players{color:#667eea;font-style:italic;font-weight:600}.empty-roster{text-align:center;color:#999;font-style:italic;padding:40px 0}.team-card-footer{padding:15px 20px;background:#f8f9fa;border-top:1px solid #e5e7eb}.btn-manage{display:block;width:100%;text-align:center;padding:12px;background:#667eea;color:#fff;text-decoration:none;border-radius:8px;font-weight:600;transition:background .3s ease}.btn-manage:hover{background:#5568d3}@media(max-width:768px){.teams-grid{grid-template-columns:1fr}.teams-filters{flex-direction:column}.filter-group{width:100%}}.team-detail-page{max-width:1200px;margin:0 auto}.breadcrumb{color:#666;margin-bottom:20px;font-size:.95em}.breadcrumb a{color:#667eea;text-decoration:none}.breadcrumb a:hover{text-decoration:underline}.team-content{display:flex;flex-direction:column;gap:25px}.section-card{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 10px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.section-header h2{margin:0;color:#333;font-size:1.3em}.roster-list{margin-top:15px}.data-table{width:100%;border-collapse:collapse}.data-table thead{background:#f9fafb}.data-table th{text-align:left;padding:8px 12px;font-weight:600;color:#666;border-bottom:2px solid #e5e7eb;font-size:.95em}.data-table td{padding:8px 12px;border-bottom:1px solid #f0f0f0}.data-table tbody tr:hover{background:#f9fafb}.info-text{color:#666;line-height:1.6}.info-text a{color:#667eea;text-decoration:none;font-weight:500}.info-text a:hover{text-decoration:underline}.btn-small,.btn-danger-small,.btn-cancel-small{padding:6px 12px;border-radius:6px;font-size:.9em;font-weight:500;cursor:pointer;border:none;transition:all .2s}.inline-form{display:flex;gap:8px;margin:15px 0;padding:15px;background:#f9fafb;border-radius:8px}.inline-form input{padding:8px 12px;border:2px solid #e1e8ed;border-radius:6px;font-size:.95em}.empty-text{color:#999;text-align:center;padding:30px;font-style:italic}@media(max-width:768px){.section-card{padding:15px}.section-header{flex-direction:column;align-items:flex-start;gap:15px}.data-table{font-size:.9em}.data-table th,.data-table td{padding:8px}.roster-list{overflow-x:auto}}.stats-page{max-width:1400px;margin:0 auto}.stats-content{display:flex;flex-direction:column;gap:25px}.rank-cell{text-align:center;font-weight:600;color:#667eea}.team-name{font-weight:600;color:#333}.player-name{font-weight:600}.player-name a{color:#667eea;text-decoration:none;transition:color .2s ease}.player-name a:hover{color:#5568d3;text-decoration:underline}.points-cell{font-weight:700;color:#667eea}.positive{color:#10b981}.negative{color:#ef4444}.info-card{background:linear-gradient(135deg,#f0f4ff,#f9f0ff);border:2px dashed #667eea}.info-card h2{color:#667eea}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{margin:0}.combine-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.95em;color:#666;-webkit-user-select:none;user-select:none}.combine-toggle input[type=checkbox]{cursor:pointer;width:18px;height:18px}.combine-toggle span{cursor:pointer}.combine-toggle:hover{color:#333}.team-breakdown-row{background:#f9fafb}.team-breakdown{padding:12px 20px;font-size:.9em}.team-breakdown-item{display:flex;gap:10px;padding:4px 0;color:#666}.breakdown-team{font-weight:600;color:#667eea;min-width:120px}.breakdown-stats{color:#666}@media(max-width:768px){.section-header{flex-direction:column;align-items:flex-start;gap:15px}.team-breakdown-item{flex-direction:column;gap:5px}.breakdown-team{min-width:auto}}.player-detail-page{max-width:1200px;margin:0 auto}.player-header{background:#fff;padding:30px;border-radius:12px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px}.player-header h1{margin:0 0 10px;color:#333}.player-meta{color:#666;font-size:1.1em;margin:0}.stats-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;margin-bottom:30px}.summary-card{background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 10px #0000001a;text-align:center}.summary-label{font-size:.9em;color:#666;margin-bottom:10px;text-transform:uppercase;font-weight:600;letter-spacing:.5px}.summary-value{font-size:2em;font-weight:700;color:#333}.summary-value.highlight{color:#667eea}.section-card{background:#fff;padding:30px;border-radius:12px;box-shadow:0 2px 10px #0000001a}.section-card h2{margin-top:0;margin-bottom:20px;color:#333}.table-container{overflow-x:auto}.game-log-table{width:100%;border-collapse:collapse}.game-log-table thead{background:#f9fafb}.game-log-table th{text-align:left;padding:8px 12px;font-weight:600;color:#666;border-bottom:2px solid #e5e7eb;font-size:.95em}.game-log-table td{padding:8px 12px;border-bottom:1px solid #f0f0f0}.game-log-table tbody tr:hover{background:#f9fafb}.result-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-weight:600;font-size:.9em}.result-badge.w{background:#d1fae5;color:#065f46}.result-badge.l{background:#fee2e2;color:#991b1b}.result-badge.t{background:#fef3c7;color:#92400e}.highlight-stat{font-weight:600;color:#667eea}.highlight-stat.points{color:#10b981;font-size:1.1em}.highlight-penalty{font-weight:600;color:#ef4444}.empty-text{color:#999;text-align:center;padding:40px;font-style:italic}@media(max-width:768px){.stats-summary{grid-template-columns:repeat(2,1fr)}.summary-value{font-size:1.5em}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;padding:30px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.modal-header h2{margin:0;color:#333}.modal-close{background:none;border:none;font-size:2em;color:#999;cursor:pointer;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.modal-close:hover{background:#f0f0f0;color:#333}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333}.form-group input,.form-group select{width:100%;padding:12px;border:2px solid #e1e8ed;border-radius:8px;font-size:1em;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea}.form-group input:disabled{background:#f5f5f5;cursor:not-allowed}.modal-actions{display:flex;gap:15px;justify-content:flex-end;margin-top:30px;padding-top:20px;border-top:2px solid #f0f0f0}.btn-cancel{padding:12px 24px;background:#e5e7eb;color:#666;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.btn-cancel:hover{background:#d1d5db}@media(max-width:768px){.form-row{grid-template-columns:1fr}.modal-overlay{padding:0}.modal-content{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:0;margin:0;padding:20px 15px}.modal-header h2{font-size:1.5em}button{min-height:44px;padding:12px 16px}input,select{font-size:16px;min-height:44px}}.game-stats-modal{max-width:1000px;width:95vw;max-height:90vh;overflow-y:auto}.game-info{text-align:center;padding:15px;background:#f8f9fa;border-radius:8px;margin-bottom:20px}.game-info h3{margin:0 0 10px;color:#1e3c72;font-size:.95em}.game-info p{margin:5px 0;color:#666;font-size:.8em}.stats-section{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px}.stats-section h3{margin:0 0 10px;color:#1e3c72;font-size:.9em}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-header h3{margin:0}.score-inputs{display:flex;align-items:center;justify-content:center;gap:20px}.score-group{display:flex;flex-direction:column;align-items:center;gap:8px}.score-group label{font-weight:600;color:#333;font-size:.8em}.score-group input{width:60px;padding:8px;font-size:1.1em;text-align:center;border:2px solid #e1e8ed;border-radius:8px}.score-group input:focus{outline:none;border-color:#667eea}.score-separator{font-size:1.3em;font-weight:700;color:#666}.attendance-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.attendance-column h4{margin:0 0 10px;padding-bottom:8px;border-bottom:2px solid #667eea;color:#1e3c72;font-size:.85em}.attendance-checkbox{display:flex;align-items:center;gap:5px;padding:4px 6px;cursor:pointer;border-radius:4px;transition:background .2s}.attendance-checkbox:hover{background:#667eea1a}.attendance-checkbox input[type=checkbox]{width:14px;height:14px;cursor:pointer}.attendance-checkbox span{color:#333;font-size:.8em}.goals-list,.penalties-list,.shootout-list{display:flex;flex-direction:column;gap:15px}.goal-entry,.penalty-entry,.shootout-entry{display:flex;gap:8px;padding:10px;background:#fff;border-radius:8px;border:1px solid #e5e7eb;cursor:move;transition:all .2s ease}.goal-entry:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.goal-entry.dragging{opacity:.5;border-color:#667eea}.drag-handle{display:flex;align-items:center;justify-content:center;width:16px;color:#999;font-size:1em;cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0}.goal-fields,.penalty-fields,.shootout-fields{flex:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.field-group{display:flex;flex-direction:column;gap:3px}.field-group label{font-size:.75em;font-weight:600;color:#666}.field-group select{padding:4px 6px;border:1px solid #e1e8ed;border-radius:4px;font-size:.8em;background:#fff}.field-group select:focus{outline:none;border-color:#667eea}.btn-add{padding:6px 12px;background:#10b981;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;font-size:.8em;transition:background .3s}.btn-add:hover{background:#059669}.btn-remove{width:26px;height:26px;background:#ef4444;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1em;display:flex;align-items:center;justify-content:center;transition:background .3s;flex-shrink:0}.btn-remove:hover{background:#dc2626}.empty-text{text-align:center;color:#999;font-style:italic;padding:15px;font-size:.85em}@media(max-width:768px){.game-stats-modal{width:100%;height:100%;max-width:100%;max-height:100%;border-radius:0;margin:0;padding:20px 15px}.modal-overlay{padding:0}.attendance-grid,.goal-fields,.penalty-fields,.shootout-fields{grid-template-columns:1fr}.score-inputs{flex-direction:column;gap:10px}.score-separator{transform:rotate(90deg)}.modal-header h2{font-size:1.5em}button{min-height:44px;padding:12px 16px}}.games-page{max-width:1200px;margin:0 auto}.games-page h1{color:#1e3c72;margin-bottom:30px;font-size:2em;border-bottom:3px solid #667eea;padding-bottom:10px}.games-filters{display:flex;gap:15px;margin-bottom:30px;background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 10px #0000001a}.games-list{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 10px #0000001a}.games-table-container{overflow-x:auto}.games-table{width:100%;border-collapse:collapse;table-layout:auto;display:table}.games-table thead{display:table-header-group;background:#f9fafb}.games-table tbody{display:table-row-group}.games-table tbody tr{height:auto;display:table-row}.games-table th{text-align:left;padding:10px;font-weight:600;color:#666;border-bottom:2px solid #e5e7eb;vertical-align:middle;white-space:nowrap;font-size:.9em;display:table-cell}.games-table td{padding:8px 10px;border-bottom:1px solid #f0f0f0;vertical-align:middle;white-space:nowrap;line-height:1.4;display:table-cell}.game-time{white-space:nowrap}.games-table tbody tr.clickable-row{cursor:pointer;transition:background .2s ease}.games-table tbody tr.clickable-row:hover{background:#f3f4f6}.team-name{font-weight:600;color:#333;font-size:.9em;line-height:1.3;max-width:180px}.score{text-align:center;font-size:1.1em;font-weight:700;white-space:nowrap}.score .winner{color:#10b981}.score .loser{color:#ef4444}.score .tie{color:#f59e0b}.score .pending{color:#999;font-style:italic;font-weight:400}.video-links-cell{white-space:nowrap;vertical-align:middle;display:flex;gap:6px;align-items:center;justify-content:center}.actions-cell{white-space:nowrap;vertical-align:middle;display:flex;gap:6px;align-items:center;justify-content:flex-start}.btn-stats{background:#667eea;color:#fff;border:none;padding:4px 10px;border-radius:6px;cursor:pointer;font-size:.85em;transition:background .3s ease;vertical-align:middle;white-space:nowrap;flex-shrink:0;height:28px;line-height:1.4}.btn-stats:hover{background:#5568d3}.btn-stats-warning{background:#f59e0b!important;animation:pulse-button 2s ease-in-out infinite}.btn-stats-warning:hover{background:#d97706!important}@keyframes pulse-button{0%,to{box-shadow:0 0 #f59e0b66}50%{box-shadow:0 0 0 6px #f59e0b00}}.actions-cell .btn-danger-small{padding:4px 10px;height:28px;min-height:28px;line-height:1.4;font-size:.85em}.btn-video-icon{display:inline-flex;align-items:center;justify-content:center;background:#dc2626;color:#fff;text-decoration:none;border:none;width:32px;height:32px;border-radius:50%;font-size:1.1em;transition:all .3s ease;box-shadow:0 2px 4px #0003;vertical-align:middle;line-height:1;cursor:pointer;flex-shrink:0}.btn-video-icon:hover{background:#b91c1c;box-shadow:0 4px 8px #0000004d;transform:translateY(-2px) scale(1.1)}.btn-video-icon:active{transform:translateY(0) scale(1);box-shadow:0 2px 4px #0003}.btn-video-goal{background:#667eea}.btn-video-goal:hover{background:#5568d3}@media(max-width:768px){.games-page{max-width:100%;width:100%;margin:0;padding:0}.page-header{padding:6px 12px;margin-bottom:6px}.page-header h1{font-size:1.1em;margin:0}.games-filters{flex-direction:column;margin:0;border-radius:0;padding:8px 12px;width:100%;box-sizing:border-box;gap:6px}.filter-select{width:100%;padding:6px 8px;font-size:14px;min-height:36px}.games-list{padding:0;margin:0;border-radius:0;box-shadow:none;width:100%;box-sizing:border-box}.games-table-container{padding:10px;box-sizing:border-box;overflow-x:visible!important}.games-table{display:block!important;width:100%!important;min-width:100%!important;max-width:100%!important;table-layout:auto!important}.games-table thead{display:none!important}.games-table tbody{display:block!important;width:100%!important}.games-table tr{display:block!important;width:100%!important;margin-bottom:12px;border:1px solid #e5e7eb;border-radius:8px;padding:15px;background:#fff;box-shadow:0 2px 4px #0000001a;box-sizing:border-box!important}.games-table tbody tr.clickable-row{cursor:pointer}.games-table tbody tr.clickable-row:active{background:#f3f4f6}.games-table tr{display:flex!important;flex-wrap:wrap!important;padding:15px!important;align-items:flex-start;justify-content:space-between}.games-table td{display:none!important;padding:0!important;margin:0!important;border:none!important}.games-table td[data-label=Date]{display:inline-block!important;order:1;width:auto!important;font-size:.9em;flex-grow:0;flex-shrink:0}.games-table td[data-label=Date]:before{content:"Date: ";font-weight:600;color:#666}.games-table td[data-label=Day]{display:inline-block!important;order:2;width:auto!important;font-size:.9em;margin-left:auto!important;flex-grow:0;flex-shrink:0}.games-table td[data-label=Day]:before{content:"Day: ";font-weight:600;color:#666}.games-table td[data-label=Time]{display:block!important;order:3;width:100%!important;text-align:center!important;font-size:.95em;margin-top:8px!important}.games-table td[data-label=Time]:before{content:"Time: ";font-weight:600;color:#666}.games-table td[data-label=Venue]{display:block!important;order:4;width:100%!important;text-align:center!important;font-size:.95em;margin-top:5px!important}.games-table td[data-label=Venue]:before{content:"Venue: ";font-weight:600;color:#666}.games-table td[data-label="Away Team"]{display:inline-block!important;order:5;font-weight:600;font-size:.8em;margin-top:10px!important;width:auto!important;max-width:calc(50% - 15px);white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-left:auto!important;margin-right:0!important;text-align:right!important}.games-table td[data-label="Away Team"]:before{content:""}.games-table td[data-label="Away Team"]:after{content:" at ";font-weight:400;color:#666;white-space:pre}.games-table td[data-label="Home Team"]{display:inline-block!important;order:6;font-weight:600;font-size:.8em;margin-top:10px!important;width:auto!important;max-width:calc(50% - 15px);white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-left:0!important;margin-right:auto!important;text-align:left!important}.games-table td[data-label="Home Team"]:before{content:""}.games-table td[data-label=Status]{display:block!important;order:7;width:100%!important;text-align:center!important;font-size:.9em;margin-top:10px!important;font-weight:600;color:#666}.games-table td[data-label=Status]:before{content:""}.games-table td.score{display:block!important;order:8;width:100%!important;text-align:center!important;font-size:1.8em!important;font-weight:700!important;margin-top:5px!important}.games-table td.score:before{content:""}.games-table td.video-links-cell{display:flex!important;order:9;width:100%!important;justify-content:center!important;gap:10px;margin-top:12px!important}.games-table td.actions-cell{display:flex!important;order:10;width:100%!important;justify-content:center!important;gap:10px;margin-top:8px!important}.games-table td.video-links-cell:before,.games-table td.actions-cell:before{display:none}.btn-stats,.btn-video,.btn-danger-small{min-height:44px;padding:12px 16px;font-size:14px;margin-right:8px;margin-bottom:0}.actions-cell{flex-direction:row;flex-wrap:wrap}.actions-cell button{width:auto}.video-links-cell{flex-direction:row;justify-content:center}.btn-video-icon{width:44px;height:44px;font-size:1.4em}}.game-detail-page{max-width:1000px;margin:0 auto}.page-header{display:flex;align-items:center;gap:20px;margin-bottom:30px}.page-header h1{color:#1e3c72;margin:0;font-size:2em}.btn-back{background:#667eea;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-back:hover{background:#5568d3}.score-header{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:30px;box-shadow:0 4px 15px #667eea4d}.team-score{flex:1;text-align:center}.team-score .team-name{font-size:1.5em;margin:0 0 15px;font-weight:700;word-wrap:break-word;overflow-wrap:break-word;line-height:1.2;white-space:normal;overflow:visible;text-overflow:clip;max-width:100%}.team-score .score{font-size:3em;font-weight:800;color:#fff}.game-info{flex:0 0 200px;text-align:center;padding:15px 20px;color:#fff;background:#0003;border-radius:8px;margin:0 10px}.game-info .vs{font-size:1.2em;font-weight:600;margin-bottom:10px;color:#fff}.game-info .date{font-size:1.1em;margin-bottom:5px;color:#fff;font-weight:600}.game-info .time,.game-info .venue{font-size:.95em;margin-bottom:3px;color:#fff;font-weight:500}.game-info .shootout-indicator{font-size:1.1em;margin-top:10px;color:#fbbf24;font-weight:700;background:#fbbf2433;padding:5px 12px;border-radius:6px}.period-breakdown{background:#fff;border-radius:12px;padding:25px;margin-bottom:30px;box-shadow:0 2px 10px #0000001a}.period-breakdown h3{color:#1e3c72;margin:0 0 20px;font-size:1.3em;border-bottom:2px solid #667eea;padding-bottom:10px}.period-table{width:100%;border-collapse:collapse}.period-table th{background:#f8f9fa;padding:12px;text-align:center;font-weight:600;color:#666;border-bottom:2px solid #e5e7eb}.period-table th:first-child{text-align:left}.period-table td{padding:12px;text-align:center;border-bottom:1px solid #f0f0f0}.period-table td:first-child{text-align:left;font-weight:600}.period-table td.total{font-weight:700;color:#667eea;font-size:1.1em}.goals-section,.penalties-section{background:#fff;border-radius:12px;padding:25px;margin-bottom:30px;box-shadow:0 2px 10px #0000001a}.goals-section h3,.penalties-section h3{color:#1e3c72;margin:0 0 20px;font-size:1.3em;border-bottom:2px solid #667eea;padding-bottom:10px}.period-section{margin-bottom:25px}.period-section:last-child{margin-bottom:0}.period-section h4{color:#667eea;margin:0 0 12px;font-size:1.1em;font-weight:600}.goals-list,.penalties-list{display:flex;flex-direction:column;gap:10px}.goal-item,.penalty-item{display:flex;align-items:center;background:#f8f9fa;padding:12px 15px;border-radius:8px;border-left:4px solid #667eea}.goal-team,.penalty-team{flex:0 0 150px;font-weight:600;color:#333}.goal-details,.penalty-details{flex:1}.goal-scorer,.penalty-player{font-weight:600;color:#1e3c72}.goal-assists{color:#666;font-style:italic}.goal-tag{display:inline-block;color:#fff;font-size:.75em;font-weight:700;padding:2px 6px;border-radius:3px;margin-left:4px;vertical-align:middle}.goal-tag.pp{background:#0d6efd}.goal-tag.sh{background:#dc3545}.goal-tag.gw{background:#28a745}.goal-tag.en{background:#17a2b8}.goal-tag.hat-trick{background:#6f42c1}.penalty-minutes{color:#dc3545;font-weight:600}.attendance-section{background:#fff;border-radius:12px;padding:25px;margin-bottom:30px;box-shadow:0 2px 10px #0000001a}.attendance-section h3{color:#1e3c72;margin:0 0 20px;font-size:1.3em;border-bottom:2px solid #667eea;padding-bottom:10px}.attendance-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.attendance-team h4{color:#667eea;margin:0 0 15px;font-size:1.1em;font-weight:600}.attendance-team ul{list-style:none;padding:0;margin:0}.attendance-team li{padding:8px 12px;background:#f8f9fa;margin-bottom:6px;border-radius:6px;color:#333}.empty-state{text-align:center;padding:40px;color:#999;font-style:italic}@media(max-width:768px){.score-header{flex-direction:column;gap:20px}.game-info{flex:1;width:100%}.team-score .team-name{font-size:.95em;padding:0 5px;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip}.team-score .score{font-size:2em}.goal-item,.penalty-item{flex-direction:column;align-items:flex-start;gap:5px}.goal-team,.penalty-team{flex:none}.attendance-grid{grid-template-columns:1fr;gap:20px}}.users-page{max-width:1200px;margin:0 auto}.username-cell{font-weight:600;color:#333}.role-select{padding:6px 12px;border:2px solid #e1e8ed;border-radius:6px;font-size:.9em;cursor:pointer;background:#fff}.role-select:focus{outline:none;border-color:#667eea}.role-info{list-style:none;padding:0;margin:15px 0 0}.role-info li{padding:10px 0;border-bottom:1px solid #e5e7eb}.role-info li:last-child{border-bottom:none}.role-info strong{color:#667eea}.teams-cell{min-width:250px}.assigned-teams-list{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}.team-badge{display:flex;align-items:center;justify-content:space-between;background:#f0f9ff;border:1px solid #bae6fd;padding:6px 10px;border-radius:6px;font-size:.85em}.team-badge span{color:#0369a1;flex:1}.remove-team-btn{background:#ef4444;color:#fff;border:none;width:20px;height:20px;border-radius:50%;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;margin-left:8px;transition:background .2s}.remove-team-btn:hover{background:#dc2626}.no-teams{color:#999;font-style:italic;font-size:.9em;display:block;margin-bottom:8px}.btn-assign-team{background:#667eea;color:#fff;border:none;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:.85em;font-weight:600;transition:all .2s}.btn-assign-team:hover{background:#5568d3;transform:translateY(-1px);box-shadow:0 2px 8px #667eea4d}.team-assignment-card{background:#f8f9ff;border:2px solid #667eea}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.card-header h3{margin:0;color:#667eea}.close-btn{background:#ef4444;color:#fff;border:none;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .2s}.close-btn:hover{background:#dc2626}.assignment-form{background:#fff;padding:20px;border-radius:8px}.form-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:15px;align-items:end}.form-group label{font-weight:600;color:#333;font-size:.9em}@media(max-width:1024px){.form-row{grid-template-columns:1fr 1fr}}@media(max-width:768px){.form-row{grid-template-columns:1fr}.teams-cell{min-width:auto}}.tools-page{max-width:1200px;margin:0 auto}.tools-page h1{color:#1e3c72;margin-bottom:30px;font-size:2em;border-bottom:3px solid #667eea;padding-bottom:10px}.access-denied{background:#fff;border-radius:12px;padding:40px;text-align:center;box-shadow:0 2px 10px #0000001a}.access-denied h2{color:#ef4444;margin-bottom:15px}.tools-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:25px;margin-bottom:30px}.tool-card{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 10px #0000001a}.tool-card h2{margin:0 0 15px;color:#667eea;font-size:1.3em}.tool-card p{color:#666;line-height:1.6;margin-bottom:20px}.tool-card .btn-primary,.tool-card a.btn-primary{display:inline-block;text-decoration:none;text-align:center}.import-form{display:flex;flex-direction:column;gap:10px}.import-form label{font-weight:600;color:#333}.import-form input{padding:12px;border:2px solid #e1e8ed;border-radius:8px;font-size:1em}.import-form input:focus{outline:none;border-color:#667eea}.import-form input:disabled{background:#f5f5f5;cursor:not-allowed}.info-list{display:flex;flex-direction:column;gap:12px}.info-item{display:flex;justify-content:space-between;padding:10px;background:#f9fafb;border-radius:6px}.info-label{font-weight:600;color:#666}.info-value{color:#333}.status-online{color:#10b981;font-weight:600}.result-message{background:#f0f9ff;border:2px solid #bfdbfe;border-radius:8px;padding:15px;margin-bottom:30px}.result-message p{margin:0;color:#1e40af}.tools-help{background:linear-gradient(135deg,#f8f9ff,#fef9ff);border:2px solid #e5e7ff;border-radius:12px;padding:25px}.tools-help h3{margin:0 0 15px;color:#667eea}.tools-help ul{margin:0;padding-left:20px;color:#666;line-height:1.8}.tool-card.full-width{grid-column:1 / -1;margin-bottom:30px}.management-container{display:flex;gap:30px;margin-top:20px}.management-controls{flex:1;display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#333}.input-group{display:flex;gap:10px}.input-group input{flex:1;padding:12px;border:2px solid #e1e8ed;border-radius:8px;font-size:1em}.input-group input:focus{outline:none;border-color:#667eea}.management-list{flex:1;max-height:600px;overflow-y:auto}.management-list h3{margin:0 0 15px;color:#333;font-size:1.1em}.division-item{background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;padding:15px;margin-bottom:15px}.division-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e5e7eb}.division-header strong{color:#667eea;font-size:1.1em}.teams-list{display:flex;flex-direction:column;gap:8px}.team-item{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:10px 15px;border-radius:6px;border:1px solid #e5e7eb}.team-item span{color:#333}.empty-message{color:#999;font-style:italic;margin:10px 0 0}.btn-small{padding:6px 12px;font-size:.85em}.btn-danger{background:#ef4444;color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.btn-danger:hover{background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef44444d}.btn-danger:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.automated-imports-header{display:flex;gap:15px;margin-bottom:20px;align-items:center}.add-import-form{background:#f9fafb;padding:20px;border-radius:8px;margin-bottom:20px;border:2px solid #e5e7eb}.no-imports{text-align:center;color:#999;font-style:italic;padding:30px}.imports-table{overflow-x:auto}.imports-table table{width:100%;border-collapse:collapse;background:#fff}.imports-table thead{background:#f9fafb}.imports-table th{padding:12px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #e5e7eb}.imports-table td{padding:12px;border-bottom:1px solid #e5e7eb;color:#666}.imports-table tr:hover{background:#f9fafb}.status-badge{padding:6px 12px;border-radius:20px;border:none;font-size:.85em;font-weight:600;cursor:pointer;transition:all .2s}.status-badge.active{background:#d1fae5;color:#065f46}.status-badge.active:hover{background:#a7f3d0}.status-badge.inactive{background:#fee2e2;color:#991b1b}.status-badge.inactive:hover{background:#fecaca}.date-cell{font-size:.9em;color:#666}.stats-cell{font-size:.9em;white-space:nowrap}.actions-cell{display:flex;gap:8px;align-items:center}.error-text{color:#dc2626;font-size:.9em;cursor:help}.btn-secondary{background:#6b7280;color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.btn-secondary:hover{background:#4b5563;transform:translateY(-1px);box-shadow:0 4px 12px #6b72804d}@media(max-width:768px){.tools-page{padding:0;margin:0;max-width:100vw;overflow-x:hidden}.tools-grid{grid-template-columns:1fr;gap:10px;padding:8px;margin-bottom:15px;max-width:100%;box-sizing:border-box}.tool-card{padding:10px;border-radius:6px;box-shadow:0 1px 3px #0000001a;max-width:100%;box-sizing:border-box;overflow:hidden}.tool-card h2{font-size:.95em;margin-bottom:6px;word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.tool-card p{font-size:.8em;margin-bottom:8px;word-wrap:break-word;overflow-wrap:break-word;line-height:1.4;max-width:100%}.tool-card .btn-primary,.tool-card a.btn-primary{width:100%;max-width:100%;padding:10px 12px;font-size:.85em;box-sizing:border-box;white-space:normal;word-wrap:break-word;overflow-wrap:break-word;text-overflow:ellipsis}.management-container{flex-direction:column;gap:12px}.automated-imports-header{flex-direction:column;align-items:stretch;gap:8px}.actions-cell{flex-direction:column;gap:6px}.imports-table{overflow-x:scroll;-webkit-overflow-scrolling:touch}.imports-table table{min-width:600px;font-size:.8em}.tools-help{padding:10px;margin:0 8px 15px}.tools-help h3{font-size:.95em;margin-bottom:8px}.tools-help ul{font-size:.8em;line-height:1.5;padding-left:18px}.info-item{flex-direction:column;gap:4px;align-items:flex-start;padding:8px}.info-list{gap:8px}.import-form input,.import-form select{font-size:.85em;padding:8px}.import-form label{font-size:.85em;margin-bottom:2px}.import-form{gap:8px}.result-message{padding:10px;margin:0 8px 15px;font-size:.85em}}.division-management-page{max-width:1400px;margin:0 auto;padding:20px}.page-header{margin-bottom:30px}.page-header h1{color:#1e293b;font-size:2em;font-weight:600;margin:0}.result-message{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:15px;margin-bottom:20px}.result-message p{margin:0;color:#0c4a6e}.section-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:30px;margin-bottom:20px}.section-card h2{margin:0 0 25px;color:#1e293b;font-size:1.5em;font-weight:600}.management-container{display:grid;grid-template-columns:350px 1fr;gap:30px}.form-group{margin-bottom:20px}.form-group label{display:block;font-weight:500;color:#475569;font-size:.95em;margin-bottom:8px}.form-select,.form-input{padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:1em;background:#fff;transition:border-color .2s;width:100%;box-sizing:border-box;min-height:40px}.form-select:focus,.form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.input-button-group{display:flex;gap:10px;align-items:stretch}.input-button-group .form-input{flex:1}.btn-primary{background:#667eea;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:.95em;font-weight:500;cursor:pointer;transition:background .2s;white-space:nowrap}.btn-full-width{width:100%;margin-top:8px}.btn-primary:hover:not(:disabled){background:#5568d3}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-danger{background:#dc2626;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.9em;font-weight:500;cursor:pointer;transition:background .2s}.btn-danger:hover:not(:disabled){background:#b91c1c}.btn-danger:disabled{opacity:.5;cursor:not-allowed}.btn-small{padding:4px 10px;font-size:.8em}.management-list{overflow:visible;max-height:none}.management-list h3{margin:0 0 15px;color:#1e293b;font-size:1.2em;font-weight:600}.division-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:10px;margin-bottom:10px;cursor:move;transition:all .2s}.division-item:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d}.division-item:active{opacity:.5}.division-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #e2e8f0}.division-info{display:flex;align-items:center;gap:8px}.drag-handle{cursor:move;font-size:1.2em;color:#94a3b8;-webkit-user-select:none;user-select:none}.division-header strong{font-size:.95em;color:#1e293b;font-weight:600}.division-level-control{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px}.division-level-control label{font-size:.8em;color:#64748b;font-weight:500}.division-level-input{width:50px;padding:3px 6px;border:1px solid #cbd5e1;border-radius:3px;font-size:.85em;background:#fff;transition:border-color .2s}.division-level-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.division-level-input:disabled{background:#f1f5f9;cursor:not-allowed}.btn-delete-division{min-width:24px!important;width:24px!important;height:24px!important;padding:0!important;font-size:1.2em!important;line-height:1!important;border-radius:3px!important;display:flex!important;align-items:center!important;justify-content:center!important}.teams-list{margin-top:10px}.team-item{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:3px;margin-bottom:4px;transition:background .2s}.team-item:hover{background:#f8fafc}.team-item span{color:#475569;font-size:.9em}.empty-message{color:#94a3b8;font-style:italic;margin:10px 0}@media(max-width:1024px){.management-container{display:block}.management-controls{margin-bottom:30px}}@media(max-width:640px){.division-management-page{padding:15px}.section-card{padding:20px}.input-button-group{flex-direction:column}.team-item{flex-direction:column;align-items:flex-start;gap:8px}}.season-card{background:#fff;border-radius:8px;padding:15px;box-shadow:0 2px 10px #0000001a;transition:transform .2s,box-shadow .2s}.season-card:hover{transform:translateY(-2px);box-shadow:0 5px 20px #00000026}.season-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f0f0f0}.season-header-left{display:flex;align-items:center;gap:10px}.drag-handle{cursor:grab;font-size:1.2em;color:#999;padding:4px;line-height:1;-webkit-user-select:none;user-select:none}.drag-handle:active{cursor:grabbing}.drag-handle:hover{color:#667eea}.season-header h3,.season-header h2{margin:0;color:#333;font-size:.95em;font-weight:600}.division-count{font-size:.85em;color:#999;font-weight:400;margin-left:6px}.btn-collapse{background:transparent;border:none;cursor:pointer;font-size:.9em;color:#999;padding:4px 8px;transition:color .2s}.btn-collapse:hover{color:#667eea}.season-actions,.division-actions{display:flex;gap:8px}.btn-small,.btn-danger-small,.btn-cancel-small{padding:4px 10px;border-radius:4px;font-size:.85em;font-weight:500;cursor:pointer;border:none;transition:all .2s}.btn-small{background:#667eea;color:#fff}.btn-small:hover{background:#5568d3}.btn-danger-small{background:#ef4444;color:#fff}.btn-danger-small:hover{background:#dc2626}.btn-cancel-small{background:#e5e7eb;color:#666}.btn-cancel-small:hover{background:#d1d5db}.inline-form{display:flex;gap:8px;margin:10px 0;padding:10px;background:#f9fafb;border-radius:6px}.inline-form input{flex:1;padding:6px 10px;border:2px solid #e1e8ed;border-radius:4px;font-size:.9em}.inline-form input:focus{outline:none;border-color:#667eea}.divisions-list{display:flex;flex-direction:column;gap:10px}.division-item{border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.division-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f9fafb;cursor:pointer;transition:background .2s}.division-header:hover{background:#f3f4f6}.division-header h3{margin:0;font-size:1em;color:#444;display:flex;align-items:center;gap:8px}.division-title{display:flex;align-items:center;gap:8px}.expand-icon{font-size:.8em;color:#999}.team-count,.player-count{font-size:.8em;color:#999;font-weight:400;margin-left:6px}.teams-list{padding:8px;background:#fff}.team-item{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-bottom:1px solid #f0f0f0;transition:background .2s}.team-item:last-child{border-bottom:none}.team-item:hover{background:#f9fafb}.team-link{flex:1;color:#667eea;text-decoration:none;font-weight:500;font-size:.9em;display:flex;align-items:center}.team-link:hover{text-decoration:underline}.empty-text{text-align:center;color:#999;font-style:italic;padding:15px}.seasons-page{max-width:100%}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-header h1{font-size:1.75em;color:#333;margin:0}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.9em;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.add-form{background:#fff;padding:15px;border-radius:8px;box-shadow:0 2px 10px #0000001a;margin-bottom:20px}.add-form form{display:flex;gap:10px}.add-form input{flex:1;padding:8px 12px;border:2px solid #e1e8ed;border-radius:6px;font-size:.9em}.add-form input:focus{outline:none;border-color:#667eea}.error-banner{background:#fee;border:1px solid #fcc;color:#c33;padding:15px;border-radius:8px;margin-bottom:20px;text-align:center}.loading{text-align:center;padding:50px;font-size:1.2em;color:#666}.empty-state{text-align:center;padding:50px;background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a}.empty-state p{color:#666;font-size:1.1em;margin:10px 0}.seasons-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:15px}@media(max-width:768px){.seasons-grid{grid-template-columns:1fr}}
