:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;-webkit-overflow-scrolling:touch;overflow-x:hidden}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s;min-height:44px;min-width:44px;-webkit-appearance:none;-webkit-tap-highlight-color:transparent}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(hover:none)and (pointer:coarse){button{padding:.75em 1.5em}}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.user-identifier-input{max-width:500px;margin:0 auto;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.user-identifier-input.user-loaded{background:#f8f9fa;border:1px solid #e9ecef}.identifier-form{width:100%}.form-label{font-weight:600;color:#333;font-size:1rem;margin-bottom:.25rem}.input-group{display:flex;gap:.5rem;align-items:stretch}.form-input{flex:1;padding:.75rem 1rem;border:2px solid #e1e5e9;border-radius:6px;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease;background:#fff}.form-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-input.error{border-color:#dc3545}.form-input.error:focus{border-color:#dc3545;box-shadow:0 0 0 3px #dc35451a}.form-input:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed}.submit-button{padding:.75rem 1.5rem;background:#007bff;color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease,transform .1s ease;display:flex;align-items:center;gap:.5rem;white-space:nowrap}.submit-button:hover:not(:disabled){background:#0056b3;transform:translateY(-1px)}.submit-button:active:not(:disabled){transform:translateY(0)}.submit-button:disabled{background:#6c757d;cursor:not-allowed;transform:none}.loading-spinner{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-message{padding:.75rem 1rem;border-radius:6px;font-size:.875rem;line-height:1.4;display:flex;align-items:center;justify-content:space-between;gap:1rem}.validation-error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb;margin-top:.25rem}.api-error{background:#fff3cd;color:#856404;border:1px solid #ffeaa7;margin-top:1rem}.retry-button{padding:.25rem .75rem;background:#ffc107;color:#212529;border:none;border-radius:4px;font-size:.75rem;font-weight:500;cursor:pointer;transition:background-color .2s ease;white-space:nowrap}.retry-button:hover:not(:disabled){background:#e0a800}.retry-button:disabled{background:#6c757d;color:#fff;cursor:not-allowed}.help-text{margin-top:.5rem}.help-text p{font-size:.875rem;color:#6c757d;line-height:1.4;margin:0}.user-info{display:flex;align-items:center;justify-content:space-between;gap:1rem}.user-details h3{margin:0 0 .25rem;color:#28a745;font-size:1.25rem}.user-details .user-id{margin:0;font-size:.875rem;color:#6c757d}.change-user-button{padding:.5rem 1rem;background:#6c757d;color:#fff;border:none;border-radius:6px;font-size:.875rem;cursor:pointer;transition:background-color .2s ease;white-space:nowrap}.change-user-button:hover:not(:disabled){background:#545b62}.change-user-button:disabled{background:#adb5bd;cursor:not-allowed}@media(max-width:1024px){.user-identifier-input{margin:0 .5rem}}@media(max-width:768px){.user-identifier-input{margin:0;padding:1rem;border-radius:0;box-shadow:none;border-bottom:1px solid #e9ecef}.input-group{flex-direction:column;gap:1rem}.form-input{padding:1rem;font-size:1rem}.submit-button{width:100%;justify-content:center;padding:1rem 1.5rem;font-size:1.05rem}.user-info{flex-direction:column;align-items:stretch;text-align:center;gap:1rem}.user-details h3{font-size:1.375rem}.user-details .user-id{font-size:.9rem}.change-user-button{width:100%;padding:.75rem 1rem;font-size:1rem}.error-message{flex-direction:column;align-items:stretch;gap:.75rem;padding:1rem}.retry-button{align-self:stretch;padding:.75rem 1rem;font-size:.9rem}}@media(max-width:480px){.user-identifier-input{padding:.75rem}.form-input{font-size:16px;padding:.875rem}.submit-button{font-size:16px;padding:.875rem 1.25rem}.user-details h3{font-size:1.25rem}.change-user-button{padding:.625rem 1rem;font-size:.9rem}.help-text p{font-size:.8rem}.error-message{padding:.875rem;font-size:.85rem}.retry-button{padding:.625rem 1rem;font-size:.85rem}}.form-input:focus,.submit-button:focus,.change-user-button:focus,.retry-button:focus{outline:2px solid #007bff;outline-offset:2px}@media(prefers-contrast:high){.form-input{border-width:3px}.submit-button,.change-user-button,.retry-button{border:2px solid currentColor}}@media(prefers-reduced-motion:reduce){.loading-spinner{animation:none}.submit-button,.change-user-button,.retry-button,.form-input{transition:none}}.week-selector{display:flex;flex-direction:column;gap:.5rem}.week-selector-content{display:flex;flex-direction:column}.week-input-group{display:flex;align-items:center;gap:.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-weight:600;color:#333;font-size:.9rem;margin:0}.week-input{padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:1rem;width:100px;text-align:center}.week-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.week-input.error{border-color:#dc3545}.week-input:disabled{background-color:#f8f9fa;cursor:not-allowed;opacity:.6}.week-input::-webkit-outer-spin-button,.week-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.week-input[type=number]{-moz-appearance:textfield;appearance:textfield}.refresh-week-button{padding:.5rem .75rem;border:1px solid #007bff;border-radius:4px;background:#007bff;color:#fff;font-size:1.2rem;cursor:pointer;transition:all .2s;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}.refresh-week-button:hover:not(:disabled){background:#0056b3;border-color:#0056b3}.refresh-week-button:disabled{opacity:.6;cursor:not-allowed}.error-message{color:#dc3545;font-size:.875rem;margin:0}.validation-error{background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;padding:.5rem}@media(max-width:768px){.week-input-group{gap:.75rem}.week-input{width:120px}.form-label{font-size:1rem}}@media(max-width:480px){.week-selector{gap:.75rem}.week-input-group{gap:1rem}.week-input{padding:.75rem;font-size:1.1rem;width:100px}.refresh-week-button{padding:.75rem;font-size:1.3rem;min-height:48px}}@media(prefers-contrast:high){.week-input,.refresh-week-button{border-width:2px;border-color:#000}.week-input:focus{border-color:#000;box-shadow:0 0 0 3px #0000004d}}@media(prefers-reduced-motion:reduce){.refresh-week-button{transition:none}}.team-filter{max-width:800px;margin:0 auto;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;border:1px solid #e9ecef}.team-filter-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e9ecef;background:#f8f9fa;border-radius:8px 8px 0 0}.expand-toggle-button{display:flex;align-items:center;gap:.75rem;background:none;border:none;font-size:1rem;font-weight:600;color:#333;cursor:pointer;padding:.5rem;border-radius:4px;transition:background-color .2s ease,color .2s ease}.expand-toggle-button:hover{background:#007bff1a;color:#007bff}.expand-toggle-button:focus{outline:2px solid #007bff;outline-offset:2px}.expand-icon{font-size:.875rem;transition:transform .2s ease;color:#6c757d}.expand-icon.expanded{transform:rotate(180deg)}.team-summary{font-size:1rem;color:#333}.bulk-actions{display:flex;gap:.5rem}.bulk-action-button{padding:.5rem 1rem;border:1px solid #dee2e6;border-radius:4px;background:#fff;color:#495057;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.bulk-action-button:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.bulk-action-button:disabled{background:#f8f9fa;color:#6c757d;cursor:not-allowed;opacity:.6}.bulk-action-button.select-all:hover:not(:disabled){background:#d4edda;border-color:#28a745;color:#155724}.bulk-action-button.deselect-all:hover:not(:disabled){background:#f8d7da;border-color:#dc3545;color:#721c24}.team-list{padding:0;max-height:400px;overflow-y:auto}.team-item{padding:1rem 1.5rem;border-bottom:1px solid #f1f3f4;transition:background-color .2s ease}.team-item:last-child{border-bottom:none}.team-item:hover{background:#f8f9fa}.team-checkbox-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-weight:500;color:#333;line-height:1.4}.team-checkbox{position:absolute;opacity:0;cursor:pointer}.checkbox-custom{position:relative;width:20px;height:20px;border:2px solid #dee2e6;border-radius:4px;background:#fff;transition:all .2s ease;flex-shrink:0}.checkbox-custom:after{content:"";position:absolute;left:6px;top:2px;width:6px;height:10px;border:solid #ffffff;border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0;transition:opacity .2s ease}.team-checkbox:checked+.checkbox-custom{background:#007bff;border-color:#007bff}.team-checkbox:checked+.checkbox-custom:after{opacity:1}.team-checkbox:focus+.checkbox-custom{outline:2px solid #007bff;outline-offset:2px}.team-checkbox:hover+.checkbox-custom{border-color:#007bff}.team-name{font-size:1rem;color:#333;flex:1}.team-details{margin-top:.25rem;margin-left:2.75rem;font-size:.875rem;color:#6c757d}.collapsed-summary{padding:1rem 1.5rem;background:#f8f9fa;border-top:1px solid #e9ecef;border-radius:0 0 8px 8px}.selected-teams-preview{font-size:.875rem;color:#495057;line-height:1.4}.team-preview{font-weight:500}.more-teams{color:#6c757d;font-style:italic}@media(max-width:1024px){.team-filter{margin:0 .5rem}}@media(max-width:768px){.team-filter{margin:0;border-radius:0;box-shadow:none;border-left:none;border-right:none}.team-filter-header{padding:1rem;flex-direction:column;gap:1rem;align-items:stretch}.expand-toggle-button{justify-content:center;padding:.75rem;font-size:1.125rem}.bulk-actions{justify-content:center;flex-wrap:wrap}.bulk-action-button{flex:1;min-width:120px;padding:.75rem 1rem;font-size:.9rem}.team-item{padding:1rem}.team-checkbox-label{gap:1rem;padding:.25rem 0}.checkbox-custom{width:24px;height:24px}.checkbox-custom:after{left:8px;top:3px;width:7px;height:12px}.team-name{font-size:1.05rem}.team-details{margin-left:3rem;font-size:.9rem}.collapsed-summary{padding:1rem}.team-list{max-height:50vh;-webkit-overflow-scrolling:touch}}@media(max-width:480px){.team-filter-header{padding:.75rem;gap:.75rem}.expand-toggle-button{padding:.625rem;font-size:1rem}.bulk-actions{gap:.375rem}.bulk-action-button{padding:.625rem .75rem;font-size:.85rem;min-width:100px}.team-item{padding:.875rem .75rem}.team-checkbox-label{gap:.875rem}.checkbox-custom{width:22px;height:22px}.checkbox-custom:after{left:7px;top:2px;width:6px;height:11px}.team-name{font-size:.95rem}.team-details{font-size:.8rem;margin-left:2.75rem}.collapsed-summary{padding:.75rem}.selected-teams-preview{font-size:.8rem}.team-list{max-height:40vh}}@media(prefers-reduced-motion:reduce){.expand-icon,.checkbox-custom,.checkbox-custom:after,.bulk-action-button,.team-item{transition:none}}@media(prefers-contrast:high){.team-filter{border-width:2px}.checkbox-custom{border-width:3px}.bulk-action-button{border-width:2px}}.bulk-action-button:focus{outline:2px solid #007bff;outline-offset:2px}.team-filter.loading{opacity:.7;pointer-events:none}.team-filter.loading .team-checkbox-label{cursor:not-allowed}.team-filter.empty{padding:2rem;text-align:center;color:#6c757d;font-style:italic}.team-filter.compact{box-shadow:none;border:1px solid #dee2e6}.team-filter.compact .team-filter-header,.team-filter.compact .team-item,.team-filter.compact .collapsed-summary{padding:.75rem 1rem}.team-list::-webkit-scrollbar{width:8px}.team-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.team-list::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.team-list::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.team-list{animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:400px}}@media(prefers-reduced-motion:reduce){.team-list{animation:none}}.player-table{max-width:800px;margin:0 auto;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;border:1px solid #e9ecef;overflow:hidden}.player-table-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef}.player-table-title{margin:0;font-size:1.25rem;font-weight:600;color:#333}.player-count-badge{background:#007bff;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500}.empty-state{padding:3rem 1.5rem;text-align:center}.empty-message{margin:0;color:#6c757d;font-size:1rem;font-style:italic}.table-container{overflow-x:auto;max-height:600px;overflow-y:auto}.player-data-table{width:100%;border-collapse:collapse;font-size:.9rem}.player-data-table thead{background:#f8f9fa;position:sticky;top:0;z-index:10}.player-data-table th{padding:1rem .75rem;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;white-space:nowrap}.player-data-table td{padding:.75rem;border-bottom:1px solid #f1f3f4;vertical-align:middle}.sortable-header{cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease;position:relative}.sortable-header:hover{background:#007bff1a;color:#007bff}.sortable-header:focus{outline:2px solid #007bff;outline-offset:-2px;background:#007bff1a}.sortable-header.active{background:#007bff26;color:#0056b3}.player-row{transition:background-color .2s ease}.player-row:hover{background:#f8f9fa}.player-row:nth-child(2n){background:#00000005}.player-row:nth-child(2n):hover{background:#f8f9fa}.player-name-cell{font-weight:500;color:#333;min-width:150px}.player-name{display:block;line-height:1.4}.position-cell{min-width:80px}.position-badge{display:inline-block;background:#6c757d;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.position-badge:is([data-position=QB],:has-text("QB")){background:#dc3545}.position-badge:is([data-position=RB],:has-text("RB")){background:#28a745}.position-badge:is([data-position=WR],:has-text("WR")){background:#007bff}.position-badge:is([data-position=TE],:has-text("TE")){background:#fd7e14}.position-badge:is([data-position=K],:has-text("K")){background:#6f42c1}.position-badge:is([data-position=DEF],:has-text("DEF")){background:#20c997}.team-cell{min-width:60px}.team-name{font-weight:500;color:#495057;text-transform:uppercase;font-size:.875rem}.count-cell{text-align:center;min-width:80px}.count-button{background:#007bff;color:#fff;border:none;border-radius:50%;width:32px;height:32px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center}.count-button:hover{background:#0056b3;transform:scale(1.1)}.count-button:focus{outline:2px solid #007bff;outline-offset:2px}.count-button:active{transform:scale(.95)}.count-display{display:inline-block;background:#e9ecef;color:#495057;border-radius:50%;width:32px;height:32px;font-size:.875rem;font-weight:600;line-height:32px;text-align:center}@media(max-width:1024px){.player-table{margin:0 .5rem}.table-container{max-height:70vh}}@media(max-width:768px){.player-table{margin:0;border-radius:0;box-shadow:none;border-left:none;border-right:none}.player-table-header{padding:1rem;flex-direction:column;gap:.5rem;align-items:stretch;text-align:center}.player-table-title{font-size:1.125rem}.table-container{max-height:60vh;-webkit-overflow-scrolling:touch}.player-data-table{font-size:.85rem}.player-data-table th,.player-data-table td{padding:.75rem .5rem}.player-name-cell{min-width:140px}.position-cell{min-width:70px}.team-cell{min-width:60px}.count-cell{min-width:70px}.count-button,.count-display{width:36px;height:36px;font-size:.875rem;line-height:36px}.sortable-header{padding:1rem .75rem}}@media(max-width:480px){.player-table-header{padding:.75rem}.player-table-title{font-size:1rem}.player-count-badge{font-size:.8rem;padding:.25rem .75rem}.table-container{max-height:50vh}.player-data-table{font-size:.8rem}.player-data-table th,.player-data-table td{padding:.625rem .375rem}.player-name-cell{min-width:120px}.position-cell{min-width:60px}.team-cell{min-width:50px}.count-cell{min-width:60px}.position-badge{font-size:.7rem;padding:.25rem .5rem}.team-name{font-size:.8rem}.count-button,.count-display{width:32px;height:32px;font-size:.8rem;line-height:32px}.table-container:after{content:"← Scroll horizontally to see more →";display:block;text-align:center;padding:.5rem;font-size:.75rem;color:#6c757d;background:#f8f9fa;border-top:1px solid #e9ecef}}.table-container::-webkit-scrollbar{width:8px;height:8px}.table-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.table-container::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.table-container::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.table-container::-webkit-scrollbar-corner{background:#f1f1f1}@media(prefers-reduced-motion:reduce){.sortable-header,.player-row,.count-button{transition:none}.count-button:hover,.count-button:active{transform:none}}@media(prefers-contrast:high){.player-table{border-width:2px}.player-data-table th{border-bottom-width:3px}.player-data-table td{border-bottom-width:2px}.count-button{border:2px solid #ffffff}}.count-button:focus-visible{outline:3px solid #007bff;outline-offset:2px}.sortable-header:focus-visible{outline:3px solid #007bff;outline-offset:-3px}.player-table.loading{opacity:.7;pointer-events:none}.player-table.loading .player-data-table{filter:blur(1px)}.player-table.compact{box-shadow:none;border:1px solid #dee2e6}.player-table.compact .player-table-header{padding:.75rem 1rem}.player-table.compact .player-data-table th,.player-table.compact .player-data-table td{padding:.5rem}.player-table.striped .player-row:nth-child(odd){background:#0000000d}.player-table.striped .player-row:nth-child(odd):hover{background:#f8f9fa}.player-table.dense .player-data-table th,.player-table.dense .player-data-table td{padding:.4rem .5rem}.player-table.dense .player-table-header{padding:.75rem 1rem}.player-table.dense .count-button,.player-table.dense .count-display{width:24px;height:24px;font-size:.75rem;line-height:24px}@media print{.player-table{box-shadow:none;border:1px solid #000}.count-button,.position-badge{background:#fff!important;color:#000!important;border:1px solid #000}}.league-popup-backdrop{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.league-popup-container{background:#fff;border-radius:8px;box-shadow:0 10px 25px #0003;max-width:500px;width:100%;max-height:80vh;overflow-y:auto;animation:slideIn .2s ease-out;position:relative}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.league-popup-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 1.5rem 1rem;border-bottom:1px solid #e5e7eb}.league-popup-title{margin:0;font-size:1.25rem;font-weight:600;color:#1f2937;flex:1;padding-right:1rem}.league-popup-close{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:.25rem;border-radius:4px;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.league-popup-close:hover{background-color:#f3f4f6;color:#374151}.league-popup-close:focus{outline:2px solid #3b82f6;outline-offset:2px}.league-popup-content{padding:0 1.5rem 1rem}.player-details{margin-bottom:1.5rem}.player-info-row{display:flex;align-items:center;margin-bottom:.75rem;gap:.5rem}.player-info-label{font-weight:500;color:#6b7280;min-width:120px}.player-info-value{color:#1f2937}.position-badge{background-color:#dbeafe;color:#1e40af;padding:.25rem .5rem;border-radius:4px;font-size:.875rem;font-weight:500}.team-name{font-weight:500}.count-badge{background-color:#f3f4f6;color:#374151;padding:.25rem .5rem;border-radius:4px;font-weight:600}.leagues-section{border-top:1px solid #e5e7eb;padding-top:1rem}.leagues-title{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#1f2937}.leagues-list{list-style:none;margin:0;padding:0;max-height:200px;overflow-y:auto}.league-item{padding:.75rem;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:.5rem;background-color:#f9fafb;transition:background-color .2s ease}.league-item:hover{background-color:#f3f4f6}.league-item:last-child{margin-bottom:0}.league-name{font-weight:500;color:#1f2937}.no-leagues-message{color:#6b7280;font-style:italic;margin:0;padding:1rem;text-align:center;background-color:#f9fafb;border-radius:6px}.league-popup-footer{padding:1rem 1.5rem 1.5rem;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.league-popup-close-button{background-color:#3b82f6;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-weight:500;cursor:pointer;transition:background-color .2s ease}.league-popup-close-button:hover{background-color:#2563eb}.league-popup-close-button:focus{outline:2px solid #3b82f6;outline-offset:2px}@media(max-width:768px){.league-popup-backdrop{padding:1rem}.league-popup-container{max-height:85vh}.league-popup-header{padding:1.25rem 1.25rem 1rem}.league-popup-title{font-size:1.25rem;line-height:1.3}.league-popup-close{width:2.5rem;height:2.5rem;font-size:1.75rem}.league-popup-content{padding:0 1.25rem 1rem}.league-popup-footer{padding:1rem 1.25rem 1.25rem}.league-popup-close-button{padding:.75rem 1.5rem;font-size:1.05rem}}@media(max-width:640px){.league-popup-backdrop{padding:.5rem}.league-popup-container{max-height:90vh}.league-popup-header{padding:1rem 1rem .75rem}.league-popup-title{font-size:1.125rem}.league-popup-close{width:2.25rem;height:2.25rem;font-size:1.5rem}.league-popup-content{padding:0 1rem .75rem}.league-popup-footer{padding:.75rem 1rem 1rem}.player-info-row{flex-direction:column;align-items:flex-start;gap:.25rem;margin-bottom:1rem}.player-info-label{min-width:auto;font-size:.875rem;font-weight:600}.player-info-value{font-size:.95rem}.league-item{padding:1rem}.league-name{font-size:.95rem;line-height:1.4}}@media(prefers-contrast:high){.league-popup-container{border:2px solid #000}.league-popup-close:focus,.league-popup-close-button:focus{outline:3px solid #000}}@media(prefers-reduced-motion:reduce){.league-popup-backdrop,.league-popup-container{animation:none}.league-popup-close,.league-popup-close-button,.league-item{transition:none}}#root{max-width:1400px;margin:0 auto;padding:1rem}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{text-align:center;padding:1rem 0 2rem;border-bottom:1px solid #e9ecef;margin-bottom:2rem}.app-header h1{margin:0 0 .5rem;color:#333;font-size:2.5rem;font-weight:700}.app-subtitle{margin:0;color:#6c757d;font-size:1.125rem;font-weight:400}.app-main{flex:1;display:flex;flex-direction:column;gap:2rem}.loading-indicator{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;gap:1rem}.loading-spinner{width:40px;height:40px;border:4px solid #e9ecef;border-top:4px solid #007bff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-indicator p{margin:0;font-size:1.125rem;color:#6c757d}.error-message{display:flex;justify-content:center;padding:2rem}.error-content{max-width:500px;text-align:center;padding:2rem;background:#f8d7da;color:#721c24;border:1px solid #f5c6cb;border-radius:8px}.error-content h3{margin:0 0 1rem;font-size:1.25rem}.error-content p{margin:0 0 1.5rem;line-height:1.5}.error-retry-button{background:#dc3545;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;cursor:pointer;transition:background-color .2s}.error-retry-button:hover{background:#c82333}.welcome-section{display:flex;flex-direction:column;gap:2rem;max-width:600px;margin:0 auto;padding:2rem}.welcome-message{text-align:center}.welcome-message h2{margin:0 0 1rem;color:#333;font-size:2rem}.welcome-message p{margin:0;color:#6c757d;font-size:1.125rem;line-height:1.6}.main-interface{display:flex;flex-direction:column;gap:2rem}.controls-section{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.week-selection{display:flex;justify-content:center;align-items:center}.user-info{display:flex;flex-direction:column;gap:1rem}.user-info h2{margin:0;color:#333;font-size:1.5rem;font-weight:600}.week-selection{display:flex;justify-content:center}.team-filter-section,.player-tables-section{margin:0}.tables-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}@media(max-width:1200px){.tables-container{gap:1.5rem}}.table-section{display:flex;flex-direction:column}.empty-gameday-state{text-align:center;padding:3rem;color:#6c757d}.empty-gameday-state h3{margin:0 0 1rem;color:#495057;font-size:1.25rem}.empty-gameday-state p{margin:0;line-height:1.5}@media(max-width:1200px){#root{max-width:100%;padding:.75rem}}@media(max-width:768px){#root{padding:.5rem}.app{min-height:100vh}.app-header{padding:.75rem 0 1rem;margin-bottom:1rem}.app-header h1{font-size:1.75rem;line-height:1.2}.app-subtitle{font-size:.95rem;line-height:1.4;padding:0 .5rem}.app-main{gap:1.5rem}.controls-section{padding:1rem;gap:1rem}.user-info h2{font-size:1.125rem;line-height:1.3}.tables-container{grid-template-columns:1fr;gap:1.5rem}.welcome-section{padding:1rem;max-width:100%}.welcome-message h2{font-size:1.5rem;line-height:1.3}.welcome-message p{font-size:1rem;line-height:1.5}.loading-indicator{padding:2rem 1rem}.error-content{padding:1.5rem;margin:0 .5rem}.error-retry-button{padding:.875rem 1.5rem;font-size:1rem;min-height:44px}}@media(max-width:480px){#root{padding:.25rem}.app-header{padding:.5rem 0 .75rem;margin-bottom:.75rem}.app-header h1{font-size:1.5rem}.app-subtitle{font-size:.875rem;padding:0 .25rem}.app-main{gap:1rem}.controls-section{padding:.75rem;gap:.75rem}.user-info{gap:.5rem}.user-info h2{font-size:1rem}.tables-container{gap:1rem}.welcome-section{padding:.75rem}.welcome-message h2{font-size:1.25rem}.welcome-message p{font-size:.9rem}.loading-indicator{padding:1.5rem .75rem}.loading-indicator p{font-size:1rem}.error-content{padding:1rem;margin:0 .25rem}.error-content h3{font-size:1.125rem}.error-content p{font-size:.9rem}}@media(min-width:1400px){#root{max-width:1600px}.tables-container{gap:3rem}.controls-section{padding:2rem}}@media(hover:none)and (pointer:coarse){.error-retry-button,button{min-height:44px;min-width:44px}.app-header{padding:1rem 0}}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}@media(hover:none)and (pointer:coarse){button,.clickable,.count-button,.checkbox-custom,.sortable-header{min-height:44px;min-width:44px}.sortable-header:hover,.team-item:hover,.player-row:hover{background:inherit}button:active,.count-button:active,.sortable-header:active{transform:scale(.98);opacity:.8}.team-checkbox-label:active,.bulk-action-button:active{background:#007bff1a}}.team-checkbox-label,.sortable-header,.count-button,.bulk-action-button,.expand-toggle-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}@media(max-width:768px){.table-container,.team-list,.leagues-list{scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.table-container::-webkit-scrollbar,.team-list::-webkit-scrollbar{width:4px;height:4px}.table-container::-webkit-scrollbar-thumb,.team-list::-webkit-scrollbar-thumb{background:#0000004d;border-radius:2px}}@media(max-width:768px)and (orientation:landscape){.app-header{padding:.5rem 0}.app-header h1{font-size:1.5rem}.app-subtitle{font-size:.875rem}.controls-section{padding:.75rem}.table-container{max-height:40vh}.team-list{max-height:30vh}}@supports (padding: max(0px)){.app{padding-left:max(.5rem,env(safe-area-inset-left));padding-right:max(.5rem,env(safe-area-inset-right))}.app-header{padding-top:max(1rem,env(safe-area-inset-top))}@media(max-width:768px){.app{padding-left:max(.25rem,env(safe-area-inset-left));padding-right:max(.25rem,env(safe-area-inset-right))}}}@media(max-width:768px){button:focus,.count-button:focus,.team-checkbox:focus+.checkbox-custom,.week-select:focus,.form-input:focus{outline:3px solid #007bff;outline-offset:2px}}@media(prefers-reduced-motion:reduce){.expand-icon,.loading-spinner,.count-button,.bulk-action-button,.team-item,.player-row,.league-popup-backdrop,.league-popup-container{animation:none!important;transition:none!important}button:active,.count-button:active,.sortable-header:active{transform:none!important}}@media(prefers-contrast:high){.player-table,.team-filter,.user-identifier-input,.week-selector{border-width:2px;border-color:#000}.count-button,.bulk-action-button,.submit-button,.refresh-week-button{border:2px solid currentColor}.checkbox-custom{border-width:3px;border-color:#000}}@media print{.app-header{padding:.5rem 0}.controls-section,.bulk-actions,.refresh-week-button,.change-user-button,.count-button{display:none!important}.tables-container{grid-template-columns:1fr!important;gap:1rem!important}.player-table,.team-filter{box-shadow:none!important;border:1px solid #000!important}}@media(max-width:768px){.loading-indicator{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fffffff2;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:1000}.loading-spinner{width:32px;height:32px}}@media(max-width:768px){.error-content{position:relative;max-width:calc(100vw - 2rem)}.error-retry-button{width:100%;margin-top:.5rem}}.mobile-only{display:none}.desktop-only{display:block}@media(max-width:768px){.mobile-only{display:block}.desktop-only{display:none}}.flex-mobile-column{display:flex}@media(max-width:768px){.flex-mobile-column{flex-direction:column}}.flex-mobile-wrap{display:flex}@media(max-width:768px){.flex-mobile-wrap{flex-wrap:wrap}}@media(max-width:768px){.mobile-spacing-sm{margin:.5rem;padding:.5rem}.mobile-spacing-md{margin:1rem;padding:1rem}.mobile-spacing-lg{margin:1.5rem;padding:1.5rem}}
