: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}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:fit-content;min-height:100vh}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}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--primary-color: #ff3e00;--secondary-color: #4a90e2;--bg-color: #1a1a1a;--text-color: #ffffff;--nav-bg: #2a2a2a}body{margin:0;font-family:Inter,sans-serif;background-color:var(--bg-color);color:var(--text-color)}.app-container{display:flex;flex-direction:column;min-height:100vh}.navbar{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background-color:var(--nav-bg);box-shadow:0 2px 4px #0003}.nav-brand{font-size:1.5rem;font-weight:700;color:var(--primary-color)}.nav-links{display:flex;list-style:none;gap:1.5rem;margin:0;padding:0}.nav-links a{color:var(--text-color);text-decoration:none;font-weight:500;transition:color .2s}.nav-links a:hover{color:var(--primary-color)}.main-content{padding:2rem;flex:1;max-width:1200px;margin:0 auto;width:100%;box-sizing:border-box}.nav-auth{display:flex;align-items:center}.user-menu{display:flex;align-items:center;gap:1rem}.user-name{color:#ffffffe6;font-weight:500}.logout-btn{background:transparent;border:1px solid rgba(255,255,255,.2);color:#fffc;padding:.5rem 1rem;border-radius:6px;cursor:pointer;transition:all .2s}.logout-btn:hover{background:#ffffff1a;color:#fff}.auth-links{display:flex;align-items:center;gap:1rem}.login-link{color:#fffc;text-decoration:none;font-weight:500;transition:color .2s}.login-link:hover{color:#fff}.register-btn{background:#2196f3;color:#fff;padding:.5rem 1rem;border-radius:6px;text-decoration:none;font-weight:500;transition:background .2s}.register-btn:hover{background:#1976d2}.leagues-container{display:flex;gap:2rem;height:calc(100vh - 100px)}.panel{flex:1;background:#2a2a2a;padding:1.5rem;border-radius:8px;display:flex;flex-direction:column}.panel h2{margin-top:0;color:var(--primary-color);border-bottom:1px solid #444;padding-bottom:.5rem}.panel ul{list-style:none;padding:0;margin:0;flex:1;overflow-y:auto}.panel li{padding:.75rem;border-bottom:1px solid #333;cursor:pointer;transition:background .2s}.panel li:hover{background:#333}.panel li.active{background:var(--primary-color);color:#fff}.create-form{margin-top:1rem;display:flex;flex-direction:column;gap:.5rem}.create-form input{padding:.5rem;border-radius:4px;border:1px solid #444;background:#1a1a1a;color:#fff}.create-form button{padding:.5rem;background:var(--secondary-color);color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:700}.create-form button:hover{opacity:.9}.add-player-section{margin-top:1rem;padding-top:1rem;border-top:1px solid #444}.add-player-section h3{margin-top:0;font-size:1.1rem;color:#ddd}.mode-toggle{display:flex;gap:.5rem;margin-bottom:1rem}.mode-toggle button{flex:1;padding:.5rem;background:#333;border:1px solid #444;color:#aaa;cursor:pointer;border-radius:4px}.mode-toggle button.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.form-group{display:flex;gap:.5rem}.form-group input{flex:1}.settings-group{display:flex;gap:1rem;margin-bottom:.5rem}.settings-group label{display:flex;flex-direction:column;font-size:.8rem;color:#aaa;flex:1}.settings-group input{margin-top:.25rem}.no-data{color:#888;font-style:italic;padding:1rem;text-align:center}.modal-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#1e293b;padding:2rem;border-radius:12px;width:90%;max-width:400px;box-shadow:0 10px 25px #00000080;border:1px solid rgba(255,255,255,.1);animation:modalSlideIn .2s ease-out}@keyframes modalSlideIn{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-content h3{margin-top:0;margin-bottom:1rem;color:#f8fafc;font-size:1.5rem}.modal-content p{color:#cbd5e1;margin-bottom:2rem;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:1rem}.modal-btn{padding:.75rem 1.5rem;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s;border:none;font-size:1rem}.modal-btn.cancel{background:transparent;color:#94a3b8;border:1px solid #475569}.modal-btn.cancel:hover{background:#ffffff0d;color:#f8fafc}.modal-btn.confirm{background:#3b82f6;color:#fff}.modal-btn.confirm:hover{background:#2563eb;transform:translateY(-1px)}.modal-btn.confirm.danger{background:#ef4444}.modal-btn.confirm.danger:hover{background:#dc2626}.toast{position:fixed;bottom:20px;right:20px;padding:12px 20px;border-radius:8px;background:#334155;color:#fff;box-shadow:0 4px 12px #0000004d;display:flex;align-items:center;gap:12px;z-index:2000;animation:slideIn .3s ease-out;min-width:250px;border-left:4px solid transparent}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast-success{border-left-color:#22c55e;background:#064e3b}.toast-error{border-left-color:#ef4444;background:#450a0a}.toast-info{border-left-color:#3b82f6;background:#1e3a8a}.toast-message{flex:1;font-size:.95rem}.toast-close{background:transparent;border:none;color:#ffffffb3;font-size:1.2rem;cursor:pointer;padding:0 4px;line-height:1}.toast-close:hover{color:#fff}.matches-container{display:flex;flex-direction:column;gap:2rem}.match-selection{display:flex;gap:2rem;background:#2a2a2a;padding:1.5rem;border-radius:8px}.existing-matches{flex:1;display:flex;flex-direction:column;gap:.5rem}.existing-matches button{padding:.75rem;background:#1a1a1a;color:#fff;border:1px solid #333;text-align:left;cursor:pointer;border-radius:4px}.existing-matches button.active{background:var(--primary-color);border-color:var(--primary-color)}.new-match{flex:1;border-left:1px solid #444;padding-left:2rem}.new-match form{display:flex;flex-direction:column;gap:1rem}.score-entry{background:#2a2a2a;padding:1.5rem;border-radius:8px}.score-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.save-btn{padding:.5rem 1rem;background:var(--secondary-color);color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:700}.score-entry table{width:100%;border-collapse:collapse}.score-entry th,.score-entry td{padding:1rem;text-align:left;border-bottom:1px solid #444}.score-entry input{width:80px;padding:.5rem;background:#1a1a1a;color:#fff;border:1px solid #444;border-radius:4px;font-size:1.1rem}.score-entry input:focus{border-color:var(--secondary-color);outline:none}.roster-selection{background:#2a2a2a;padding:1.5rem;border-radius:8px;margin-top:2rem}.roster-selection h3{margin-top:0;color:#64b5f6}.roster-slot{margin-bottom:1rem;display:flex;align-items:center;gap:1rem}.roster-slot label{width:100px;color:#fffc}.roster-slot select{flex:1;max-width:300px;padding:.5rem;background:#0000004d;border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:4px}.match-results{margin-top:2rem;padding-top:2rem;border-top:2px solid #444}.match-results h3{color:#64b5f6;margin-bottom:1.5rem}.results-grid{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.game-result{display:flex;align-items:center;gap:1rem}.game-result label{min-width:100px;font-weight:700;color:#ffffffe6}.result-buttons{display:flex;gap:.5rem}.result-buttons button{padding:.5rem 1.5rem;background:#ffffff1a;color:#ffffffb3;border:1px solid rgba(255,255,255,.2);border-radius:4px;cursor:pointer;transition:all .2s}.result-buttons button:hover{background:#ffffff26;border-color:#ffffff4d}.result-buttons button.active{background:var(--secondary-color);border-color:var(--secondary-color);color:#fff}.totals-result{margin-top:1rem;padding-top:1rem;border-top:1px solid #444}.points-display{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#0000004d;border-radius:8px;margin-top:1.5rem}.points-summary{display:flex;gap:2rem;font-size:1.2rem;font-weight:700}.points-summary .your-team{color:#4caf50}.points-summary .opponent{color:#ff5252}.roster-suggestions{margin-bottom:2rem;padding:1rem;background:#0003;border-radius:8px;border:1px solid rgba(100,181,246,.3)}.roster-suggestions h4{margin-top:0;margin-bottom:1rem;color:#64b5f6;font-size:1rem}.suggestions-list{display:flex;flex-direction:column;gap:.5rem}.suggestion-btn{padding:.75rem 1rem;background:#64b5f61a;border:1px solid rgba(100,181,246,.3);border-radius:4px;cursor:pointer;text-align:left;transition:all .2s;color:#fff}.suggestion-btn:hover{background:#64b5f633;border-color:#64b5f680}.suggestion-players{font-size:.95rem;margin-bottom:.25rem}.suggestion-meta{font-size:.8rem;color:#fff9}.form-row{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.form-row label{min-width:100px;font-weight:700;color:#ffffffe6}.form-row select,.form-row input{flex:1;padding:.5rem;background:#0000004d;border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:4px}.roster-setup{margin-top:1.5rem}.roster-setup h4{color:#64b5f6;margin-bottom:1rem}.match-tabs{background:#2a2a2a;border-radius:8px;overflow:hidden}.tab-buttons{display:flex;border-bottom:2px solid #444}.tab-btn{flex:1;padding:1rem;background:transparent;color:#ffffffb3;border:none;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s}.tab-btn:hover{background:#ffffff0d;color:#ffffffe6}.tab-btn.active{color:var(--primary-color);border-bottom:3px solid var(--primary-color);background:#64b5f61a}.tab-content{padding:1.5rem}.matches-list{display:flex;flex-direction:column;gap:.5rem}.no-matches{text-align:center;color:#ffffff80;padding:2rem;font-style:italic}.matches-table{width:100%;border-collapse:collapse;margin-top:1rem}.match-row{cursor:pointer;transition:background .2s}.match-row:hover{background:#64b5f61a}.match-row.selected{background:#64b5f633}.delete-match-btn-small{padding:.25rem .5rem;background:#f4433633;color:#f44336;border:1px solid rgba(244,67,54,.3);border-radius:4px;cursor:pointer;font-size:1.2rem;line-height:1;transition:all .2s}.delete-match-btn-small:hover{background:#f4433666;border-color:#f44336}input.frame-based-score{background:#64b5f61a;border-color:#64b5f64d;cursor:not-allowed;color:#ffffffe6;font-weight:600}input.frame-based-score:hover{background:#64b5f626}.scorecard{background:#ffffff0d;border-radius:12px;box-shadow:0 4px 12px #00000026;padding:.25rem;overflow-x:auto;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.frames-container{display:flex;gap:4px;margin-bottom:1rem}.frame{flex:1;border:2px solid rgba(255,255,255,.1);display:flex;flex-direction:column;background:#ffffff14;border-radius:6px;overflow:hidden;transition:all .2s ease}.frame:hover{border-color:#2196f34d;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.active-frame{border:2px solid #2196F3;background:#2196f326;box-shadow:0 0 12px #2196f366;transform:translateY(-2px)}.frame-header{background:#0003;padding:6px;text-align:center;font-weight:700;border-bottom:1px solid rgba(255,255,255,.1);font-size:.9rem;color:#ffffffe6}.active-frame .frame-header{background:#2196f34d;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}.rolls{display:flex;height:40px;background:#ffffff0d}.roll-input{width:100%;border:none;border-right:1px solid rgba(255,255,255,.1);text-align:center;font-size:1.1rem;outline:none;background:transparent;color:#fffffff2;font-weight:500;transition:background .2s ease;display:flex;align-items:center;justify-content:center}.roll-input:last-child{border-right:none}.roll-input:hover{background:#2196f31a}.roll-input:focus{background:#2196f333}.roll-input.active-roll{background:#2196f340;border:2px solid #2196F3;box-shadow:0 0 8px #2196f380;font-weight:700}.frame-score{padding:8px;text-align:center;font-weight:700;border-top:1px solid rgba(255,255,255,.1);min-height:35px;background:#00000026;color:#fffffff2;font-size:1.05rem}.active-frame .frame-score{background:#2196f333;color:#fff}.total-score{text-align:right;font-size:1.3rem;font-weight:700;color:#64b5f6;padding-top:.75rem;border-top:2px solid rgba(33,150,243,.3);text-shadow:0 1px 3px rgba(0,0,0,.3)}.pin-rack{position:relative;width:160px;height:150px;margin:0 auto;-webkit-user-select:none;user-select:none}.pin{position:absolute;width:30px;height:30px;border-radius:50%;border:2px solid #333;background-color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#333;cursor:pointer;transition:all .2s ease}.pin.down{background-color:#f30d0d;color:#fff;transform:scale(.9);opacity:.8}.pin:hover{border-color:#007bff}.player-entry-container{display:flex;flex-direction:column;gap:2rem}.selectors{display:flex;gap:1rem;flex-wrap:wrap;padding:1rem;background:#ffffff0d;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.selectors select{padding:.75rem 1rem;background:#ffffff1a;color:#fff;border:2px solid rgba(255,255,255,.2);border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;outline:none;min-width:150px}.selectors select:hover{background:#ffffff26;border-color:#2196f380;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.selectors select:focus{border-color:#2196f3;background:#2196f333;box-shadow:0 0 0 3px #2196f333}.selectors select:disabled{opacity:.5;cursor:not-allowed}.selectors select option{background:#1a1a1a;color:#fff;padding:.5rem}.game-interface{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%;max-width:600px}.status-bar{width:100%;padding:1rem;background:linear-gradient(135deg,#2196f333,#2196f31a);border-radius:12px;text-align:center;border:2px solid rgba(33,150,243,.3);box-shadow:0 4px 12px #2196f333}.status-bar h3{font-size:1rem;cursor:pointer;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.gamed-editor-controls{display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%}.control-row{display:flex;justify-content:center;width:100%}.button-row{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}.auto-advance-toggle{display:flex;align-items:center;gap:.5rem;color:#fffc;cursor:pointer;font-size:.9rem;-webkit-user-select:none;user-select:none;background:#ffffff0d;padding:.5rem 1rem;border-radius:20px;border:1px solid rgba(255,255,255,.1);transition:all .2s}.auto-advance-toggle:hover{background:#ffffff1a;border-color:#fff3}.auto-advance-toggle input{width:1.1rem;height:1.1rem;cursor:pointer;accent-color:#2196F3}.auto-advance-toggle input:disabled{opacity:.1;cursor:not-allowed;accent-color:#f33a21}.gamed-editor-controls .button-row button{padding:.75rem 1.5rem;border-radius:8px;font-weight:700;font-size:1rem;cursor:pointer;transition:all .3s ease;background:#ffffff1a;color:#fff;border:2px solid rgba(255,255,255,.2);text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 8px #0003}.gamed-editor-controls .button-row button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #0000004d;background:#ffffff26;border-color:#fff6}.gamed-editor-controls .button-row button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 4px #0003}.gamed-editor-controls .button-row button:disabled{opacity:.4;cursor:not-allowed}.gamed-editor-controls .button-row button.primary{background:linear-gradient(135deg,#2196f3,#1976d2);border-color:#1976d2;color:#fff;box-shadow:0 4px 12px #2196f366}.gamed-editor-controls .button-row button.primary:hover:not(:disabled){background:linear-gradient(135deg,#42a5f5,#2196f3);box-shadow:0 6px 16px #2196f380}.pin-rack-container{width:100%;padding:1.5rem;background:#ffffff0d;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.games-list{display:flex;flex-direction:column;gap:1.5rem;width:100%;max-width:800px}.game-card{background:#ffffff0d;border-radius:12px;border:2px solid transparent;transition:all .3s ease;cursor:pointer}.game-card:hover{background:#ffffff14}.game-card.active{border-color:#2196f3;background:#2196f31a;box-shadow:0 0 15px #2196f333}.game-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-weight:700;color:#fff;font-size:1.1rem}.remove-game-btn{background:transparent;border:none;color:#ffffff80;font-size:1.5rem;line-height:1;cursor:pointer;padding:0 .5rem;transition:color .2s}.remove-game-btn:hover{color:#ff5252}.add-game-btn{padding:1rem;background:#ffffff0d;border:2px dashed rgba(255,255,255,.2);border-radius:12px;color:#ffffffb3;font-size:1.1rem;cursor:pointer;transition:all .3s ease;width:100%}.add-game-btn:hover{background:#ffffff1a;border-color:#2196f3;color:#2196f3}.manual-score-widget{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem;background:linear-gradient(135deg,#282828f2,#1e1e1ef2);border:2px solid rgba(255,152,0,.6);border-radius:8px;min-height:200px;text-align:center}.widget-header{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-bottom:.75rem}.warning-icon-large{font-size:1.5rem;margin:0}.manual-score-widget h3{color:#ffc107;margin:0;font-size:1.1rem;line-height:1}.widget-message{color:#ffffffe6;margin:0 0 .5rem;line-height:1.4;font-size:.9rem;max-width:90%}.widget-message strong{color:#ffc107;font-size:1rem;font-weight:700}.widget-question{color:#fffc;margin:0 0 1rem;font-size:.85rem}.widget-proceed-btn{padding:.5rem 1.25rem;background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .2s;box-shadow:0 4px 12px #ff98004d}.widget-proceed-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px #ff980080;background:linear-gradient(135deg,#ffa726,#f57c00)}.standings-container{display:flex;flex-direction:column;gap:2rem}.controls{display:flex;gap:1rem}.controls select{padding:.5rem;font-size:1rem;background:#2a2a2a;color:#fff;border:1px solid #444;border-radius:4px}.standings-table{background:#2a2a2a;padding:1.5rem;border-radius:8px}.standings-table h2{margin-top:0;margin-bottom:2rem;color:#64b5f6}.team-standings{margin-bottom:2rem;background:#0003;border-radius:8px;padding:1rem}.team-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #444}.rank{font-size:1.5rem;font-weight:700;color:gold;min-width:50px}.team-name{font-size:1.3rem;font-weight:700;color:#fff;flex:1}.team-stats{color:#ffffffb3;font-size:.9rem}.matches-table{width:100%;border-collapse:collapse;margin-top:.5rem}.matches-table th,.matches-table td{padding:.75rem;text-align:center;border-bottom:1px solid rgba(255,255,255,.1)}.matches-table th{color:#fffc;font-size:.9rem;font-weight:600;background:#0000004d}.matches-table td:first-child,.matches-table th:first-child{text-align:left}.matches-table td:nth-child(2),.matches-table th:nth-child(2){text-align:left}.result-win{background:#4caf504d;color:#4caf50;font-weight:700}.result-lose{background:#f443364d;color:#f44336;font-weight:700}.result-tie{background:#9e9e9e4d;color:#9e9e9e;font-weight:700}.points-cell{font-weight:700;color:#64b5f6;font-size:1.1rem}.no-matches{text-align:center;color:#ffffff80;padding:1rem;font-style:italic}.no-data{text-align:center;color:#ffffff80;padding:2rem;font-size:1.1rem}.player-history-container{padding:2rem;max-width:1600px;margin:0 auto}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.history-header h1{margin:0;color:var(--primary-color)}.controls{display:flex;gap:1rem;flex-wrap:wrap}.player-select,.league-filter{padding:.75rem 1rem;background:#ffffff1a;color:#fff;border:2px solid rgba(255,255,255,.2);border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;outline:none;min-width:200px}.player-select:hover,.league-filter:hover{background:#ffffff26;border-color:#2196f380;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.player-select:focus,.league-filter:focus{border-color:#2196f3;background:#2196f333;box-shadow:0 0 0 3px #2196f333}.player-select option,.league-filter option{background:#1a1a1a;color:#fff}.player-info{text-align:center;margin-bottom:2rem}.player-info h2{margin:0;color:#64b5f6;font-size:2rem}.history-content{background:#ffffff0d;border-radius:12px;padding:1.5rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.table-wrapper{overflow-x:auto}.history-table{width:100%;border-collapse:collapse;background:#0003;border-radius:8px;overflow:hidden}.history-table thead{background:linear-gradient(135deg,#2196f34d,#2196f333)}.history-table th{padding:1rem;text-align:center;font-weight:700;color:#fff;text-transform:uppercase;font-size:.9rem;letter-spacing:.5px;border-bottom:2px solid rgba(33,150,243,.5)}.history-table tbody tr{transition:background .2s ease;border-bottom:1px solid rgba(255,255,255,.05)}.history-table tbody tr.league-end{border-bottom:3px solid rgba(33,150,243,.5)}.history-table tbody tr:hover{background:#2196f31a}.history-table tbody tr:last-child{border-bottom:none}.history-table td{padding:.75rem 1rem;text-align:center;color:#ffffffe6}.league-cell,.season-cell{font-weight:500;color:#fffc;text-align:left}.week-cell{font-weight:700;color:#64b5f6;font-size:1.1rem}.game-score{font-size:1.05rem;font-weight:500}.series-score{font-weight:700;font-size:1.1rem;color:#81c784}.avg-score{font-weight:700;font-size:1.1rem;color:#ffb74d}.no-data{text-align:center;padding:3rem;background:#ffffff0d;border-radius:12px;color:#fff9}.no-data p{margin:0;font-size:1.2rem}@media(max-width:768px){.history-header{flex-direction:column;align-items:stretch}.controls{flex-direction:column}.player-select,.league-filter{width:100%}.history-table{font-size:.9rem}.history-table th,.history-table td{padding:.5rem}}.game-link{color:inherit;text-decoration:none;display:block;width:100%;height:100%}.game-link:hover{color:var(--secondary-color);text-decoration:underline;cursor:pointer}.auth-container{display:flex;justify-content:center;align-items:center;min-height:80vh;padding:1rem}.auth-card{background:#1e1e1ef2;padding:2rem;border-radius:12px;width:100%;max-width:400px;box-shadow:0 8px 32px #0000004d;border:1px solid rgba(255,255,255,.1)}.auth-card h2{text-align:center;margin-bottom:1.5rem;color:#fff;font-size:1.8rem}.auth-error{background:#ff52521a;color:#ff5252;padding:.75rem;border-radius:6px;margin-bottom:1rem;text-align:center;border:1px solid rgba(255,82,82,.2)}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;color:#fffc;font-size:.9rem}.form-group input{width:100%;padding:.75rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:6px;color:#fff;font-size:1rem;transition:all .2s}.form-group input:focus{outline:none;border-color:#2196f3;background:#2196f31a}.auth-btn{width:100%;padding:.75rem;background:linear-gradient(135deg,#2196f3,#1976d2);color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:.5rem}.auth-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #2196f34d}.auth-btn:disabled{opacity:.7;cursor:not-allowed}.auth-footer{margin-top:1.5rem;text-align:center;color:#fff9;font-size:.9rem}.auth-footer a{color:#2196f3;text-decoration:none;font-weight:500;margin-left:.25rem}.auth-footer a:hover{text-decoration:underline}
