html{font-size:16px}body{min-width:320px;min-height:100vh;margin:0}#root{min-height:100vh}:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;background:#f3f5f8;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f3f5f8;min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#172033;background:#e9edf3;border:0;border-radius:10px;padding:10px 14px;font-weight:600;transition:transform .12s,box-shadow .12s,background .12s}button:hover{box-shadow:0 3px 10px #141e321f}button:active{transform:translateY(1px)}input,select,textarea{color:#172033;background:#fff;border:1px solid #d7dce5;border-radius:10px;width:100%;padding:11px 12px}.app{min-height:100vh;padding-bottom:84px}.app-header{color:#fff;background:linear-gradient(135deg,#152238 0%,#243b5a 100%);padding:26px 20px;box-shadow:0 3px 14px #141e322e}.header-content{max-width:1180px;margin:0 auto}.app-header h1{margin:0;font-size:clamp(22px,3vw,30px)}.app-header p{opacity:.78;margin:5px 0 0}.main-content{width:min(1180px,100% - 28px);margin:24px auto}.welcome{margin-bottom:18px}.welcome h2{margin:2px 0 4px;font-size:30px}.eyebrow{letter-spacing:.12em;color:#718096;margin:0;font-size:12px;font-weight:800}.team-card,.next-game-card,.analytics-card,.section-card{background:#fff;border:1px solid #e1e5eb;border-radius:16px;margin-bottom:18px;padding:20px;box-shadow:0 5px 18px #1923370f}.section-header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.section-header h2{margin:0}.section-header span{color:#718096;font-size:14px}.primary-button{color:#fff;background:#1f6f4a}.secondary-button{color:#344054;background:#e9edf3}.back-button{color:#36506f;box-shadow:none;background:0 0;margin-bottom:14px;padding-left:0}.form-buttons{flex-wrap:wrap;gap:8px;display:flex}.add-player-form{gap:10px;margin-bottom:18px;display:grid}.roster-list{gap:10px;display:grid}.roster-player{background:#fbfcfe;border:1px solid #e1e5eb;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:13px 14px;display:flex}.roster-player>div:first-child{flex:1;align-items:center;gap:14px;min-width:0;display:flex}.roster-player strong{font-size:17px}.roster-player>span{color:#fff;background:#172b49;border-radius:50%;flex:0 0 44px;order:-1;justify-content:center;align-items:center;width:44px;height:44px;font-size:15px;font-weight:800;display:flex}.roster-actions{gap:7px;margin-top:5px;display:flex}.roster-actions button{box-shadow:none;background:#fff;border:1px solid #d7dce5;padding:6px 10px;font-size:13px}.roster-actions button:last-child{color:#9b3030;border-color:#e4caca}.roster-actions button:hover{background:#f1f4f8}.next-game-card h3{margin:0 0 6px}.analytics-table{border-collapse:collapse;width:100%}.analytics-table th,.analytics-table td{border-bottom:1px solid #edf0f4;padding:9px 6px}.analytics-table th{color:#667085;text-transform:uppercase;letter-spacing:.04em;font-size:12px}.bottom-nav{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border:1px solid #dfe4eb;border-radius:16px;gap:6px;padding:7px;display:flex;position:fixed;bottom:14px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #19233729}.bottom-nav button{min-width:82px;box-shadow:none;background:0 0}.bottom-nav button:hover{background:#edf1f5}@media (width>=760px){.add-player-form{grid-template-columns:1fr 180px auto;align-items:center}.roster-player{padding:14px 16px}}@media (width<=600px){.main-content{width:min(100% - 18px,1180px);margin-top:16px}.team-card,.next-game-card,.analytics-card,.section-card{border-radius:14px;padding:16px}.roster-player{align-items:center}.roster-player>div:first-child{gap:10px}.roster-player strong{font-size:16px}.roster-player>span{flex-basis:40px;width:40px;height:40px}.bottom-nav{justify-content:center;width:calc(100% - 20px)}.bottom-nav button{flex:1;min-width:0}}.home-team-identity{margin-bottom:20px}.home-team-name{letter-spacing:-.035em;margin:2px 0 10px;font-size:clamp(36px,6vw,52px);line-height:1.05}.home-coaches{flex-wrap:wrap;align-items:flex-start;gap:14px;display:flex}.home-coaches-label{color:#718096;letter-spacing:.12em;padding-top:3px;font-size:11px;font-weight:800}.home-coach-list{flex-wrap:wrap;gap:8px 18px;display:flex}.home-coach{color:#344054;align-items:baseline;gap:7px;display:inline-flex}.home-coach strong{font-size:16px}.home-coach>span{color:#718096;font-size:13px}.home-next-game{background:#fff;border:1px solid #dbe3ec;border-left:5px solid #1f6f4a;border-radius:16px;margin-bottom:18px;padding:22px 24px;box-shadow:0 6px 20px #19233712}.home-next-game .section-header{align-items:flex-start;margin-bottom:12px}.home-next-game h2{margin:2px 0 0;font-size:clamp(22px,3vw,28px)}.home-next-game .section-header>span{white-space:nowrap;color:#52627a;padding-top:4px;font-size:14px}.next-game-location{color:#667085;margin:4px 0 14px}.home-action-row{flex-wrap:wrap;gap:9px;display:flex}.home-record-card{background:#fff;border:1px solid #e1e5eb;border-radius:16px;grid-template-columns:minmax(150px,1fr) 2.4fr;align-items:stretch;gap:20px;margin-bottom:14px;padding:20px;display:grid;box-shadow:0 5px 18px #1923370f}.record-main{border-right:1px solid #e6eaf0;padding-right:20px}.home-record{letter-spacing:-.03em;margin-top:4px;font-size:34px;font-weight:800;line-height:1.1}.record-main>span{color:#7a8699;font-size:12px}.home-record-meta{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.home-record-meta>div,.season-stat-grid>div{background:#f6f8fb;border-radius:12px;flex-direction:column;justify-content:center;min-height:70px;padding:10px 12px;display:flex}.home-record-meta strong,.season-stat-grid strong{font-size:22px;line-height:1.1}.home-record-meta span,.season-stat-grid span{color:#667085;margin-top:4px;font-size:12px}.home-quick-actions{flex-wrap:wrap;gap:8px;margin:0 0 18px;display:flex}.home-quick-actions button{flex:150px}.home-team-summary{justify-content:space-between;align-items:center;gap:18px;display:flex}.home-team-summary h2{margin:3px 0 4px}.home-team-summary p:not(.eyebrow){color:#667085;margin:0}.home-team-summary>strong{white-space:nowrap;color:#1f6f4a;background:#edf6f1;border-radius:999px;padding:9px 12px}.home-season-analytics .section-header,.player-analytics-card .section-header{margin-bottom:14px}.season-stat-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.top-scorers{border-top:1px solid #e7ebf0;margin-top:18px;padding-top:16px}.subsection-title{margin-bottom:7px;font-weight:800}.top-scorer-row{border-bottom:1px solid #f0f2f5;justify-content:space-between;gap:12px;padding:8px 0;display:flex}.top-scorer-row:last-child{border-bottom:0}.top-scorer-row b{background:#eef2f7;border-radius:50%;place-items:center;width:22px;height:22px;margin-right:6px;font-size:11px;display:inline-grid}.top-scorer-row strong{text-align:right;min-width:28px}.analytics-table-wrap{overflow-x:auto}.analytics-table{border-collapse:separate;border-spacing:0;width:100%;min-width:700px}.analytics-table th,.analytics-table td{text-align:center;white-space:nowrap;border-bottom:1px solid #e8ecf1;padding:10px 8px}.analytics-table th{color:#536176;letter-spacing:.04em;text-transform:uppercase;background:#f6f8fb;font-size:11px;font-weight:800}.analytics-table th:first-child{border-radius:8px 0 0 8px}.analytics-table th:last-child{border-radius:0 8px 8px 0}.analytics-table th span{letter-spacing:0;text-transform:none;font-size:10px;font-weight:600}.analytics-table .player-col{text-align:left}.analytics-table tbody tr:last-child td{border-bottom:0}.analytics-table tbody tr:hover td{background:#fafbfd}@media (width<=700px){.home-next-game .section-header{flex-direction:column;gap:5px}.home-next-game .section-header>span{white-space:normal;padding-top:0}.home-record-card{grid-template-columns:1fr}.record-main{border-bottom:1px solid #e6eaf0;border-right:0;padding-bottom:14px;padding-right:0}.home-record-meta,.season-stat-grid{grid-template-columns:repeat(2,1fr)}.home-team-summary{flex-direction:column;align-items:flex-start}}.auth-page{background:linear-gradient(145deg,#eef2f7 0%,#f8fafc 100%);place-items:center;min-height:100vh;padding:28px 18px;display:grid}.auth-card{background:#fff;border:1px solid #dce3eb;border-radius:20px;width:min(100%,480px);padding:34px;box-shadow:0 16px 45px #1923371f}.auth-brand{margin-bottom:24px}.auth-kicker{color:#1f6f4a;letter-spacing:.16em;margin-bottom:8px;font-size:12px;font-weight:900}.auth-brand h1{color:#152238;letter-spacing:-.03em;margin:0;font-size:clamp(30px,6vw,40px);line-height:1.05}.auth-brand p{color:#667085;margin:12px 0 0;line-height:1.55}.auth-form{gap:15px;display:grid}.auth-form label{color:#344054;gap:7px;font-size:13px;font-weight:700;display:grid}.auth-form button{color:#fff;background:#1f6f4a;margin-top:3px;padding:12px 15px}.auth-form button:disabled{opacity:.65;cursor:wait}.auth-switch{color:#243b5a;background:#eef2f6;width:100%;margin-top:12px}.auth-message,.auth-error{border-radius:10px;margin-top:15px;padding:11px 12px;font-size:14px;line-height:1.45}.auth-message{color:#1f6f4a;background:#edf6f1}.auth-error{color:#9b3030;background:#fff1f1}@media (width<=520px){.auth-card{border-radius:16px;padding:26px 20px}}
