/* Desktop-only layout. Phone rules remain unchanged below 768px. */
@media(min-width:768px){
 .app{max-width:1160px;padding:0 24px}
 header{height:96px;min-height:96px;border-radius:0 0 26px 26px;padding:10px 28px;justify-content:space-between;text-align:left}
 header img{width:142px;height:78px}header span{display:block;font-size:11px;letter-spacing:1.8px}
 main,main[data-page=home]{padding:34px 8px 125px}
 .home-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px 24px;align-items:stretch}
 .home-grid>*{grid-row:auto;grid-column:auto}
 .home-grid .next{grid-column:1/-1;min-height:215px;padding:32px 28px 20px}
 .next .match-title{font-size:30px;letter-spacing:0;margin-bottom:12px}.next .match-title>.team-chip{padding:3px 6px;border-radius:8px}.next .versus{margin:0 9px}
 .next .time{font-size:29px;margin-bottom:6px}.next .location,.next .court{font-size:25px}
 .home-grid .duo{grid-column:1/-1;grid-row:auto;height:275px;grid-template-columns:minmax(190px,.65fr) minmax(0,1.75fr);gap:24px;margin:0}
 .jersey{padding:18px 18px 10px}.home-grid .jersey h2{font-size:18px}.home-grid .jersey h2 strong{font-size:25px}.jersey img{width:120px;max-width:100%;margin:8px auto 0}
 .focus{padding:22px 24px 15px}.focus h2{font-size:25px;text-align:left}.focus #weekly-focus{padding:14px 0;font-size:21px!important}.focus-status{font-size:11px}
 .home-grid .result{grid-column:1;min-height:142px;padding:40px 22px 18px;gap:12px}.result .team-name.team-chip{font-size:20px;max-width:31%;padding:0}.result .score{font-size:29px;padding:4px 0}.result .score>span{padding:0}.result .win{font-size:14px;right:16px;top:12px}
 .home-grid .season{grid-column:2;min-height:142px;padding:40px 18px 18px}.metric b{font-size:32px;padding:8px 15px}.metric span{font-size:21px;margin-top:7px}.metric+.metric{border-left-width:2px}
 .home-grid .section-heading{font-size:25px;top:-17px;left:20px}.season .section-heading{font-size:25px}
 nav{width:min(720px,calc(100% - 64px));height:70px;min-height:70px;bottom:16px;padding:8px 12px;border-radius:23px;box-shadow:0 8px 30px #10254c30}
 nav a{flex-direction:row;gap:9px;padding:8px 5px 12px;min-height:44px}nav svg{width:26px;height:26px}nav span{font-size:17px}nav a[aria-current=page]:after{bottom:2px;width:35px;height:3px}
 .page-heading{padding:20px;border-radius:24px;margin-bottom:24px}.page-heading h1{font-size:32px}
 .stat-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat-summary>div{padding:22px 12px}.stat-summary b{font-size:32px}.stat-summary span{font-size:12px}
 .stack.players{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.player{padding:20px}.player small{font-size:12px}.sort{margin-bottom:20px}.sort select{max-width:none;min-width:180px}
 .enemy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.enemy-card{grid-template-columns:80px minmax(0,1fr) 16px;padding:18px;gap:16px}.enemy-card img{width:80px;height:80px}.enemy-card h2{font-size:19px}.enemy-info>div{padding:9px 12px}.enemy-info b{font-size:19px}.enemy-info span{font-size:10px}.search{max-width:460px;margin-bottom:22px}
 main[data-page=fixture]>.stack:not(.players){grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.game-card.upcoming{grid-column:1/-1}.game-card{padding:22px}.game-card.upcoming .fixture-matchup{max-width:640px}.fixture-matchup>.team-chip{font-size:15px;padding:12px}.fixture-matchup>.team-chip b{font-size:27px}.game-top{font-size:12px}
 main:has(.game-score-banner)>.stat-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.game-score-banner{max-width:720px;margin:0 auto 20px}.game-score-banner .fixture-matchup{max-width:none}.half-score-wrap{max-width:720px;margin:20px auto}.half-scores{font-size:14px}.half-scores th,.half-scores td{padding:12px}.half-scores tbody th{font-size:13px}.half-scores thead th{font-size:12px}.game-notes textarea{min-height:120px}
 main:has(.player-profile-heading){max-width:820px;width:100%;margin:0 auto}.player-profile-heading{padding:24px}.player-profile-heading h1{font-size:32px}.season-player-hero{padding:26px 35px;gap:40px}.points-ring{width:150px;height:150px}.points-ring b{font-size:46px}.player-key-metrics{grid-template-columns:repeat(3,1fr);gap:20px}.player-key-metrics b{font-size:31px}.player-key-metrics span{font-size:12px}.shot-cards{gap:16px}.shot-card{padding:18px}.shot-card>b{font-size:35px}.shot-card small{font-size:12px}.player-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 main:has(.chart-player-label){max-width:1000px;width:100%;margin:0 auto}.player-charts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.stat-chart-card{padding:20px 14px 12px}.stat-chart-card h2{font-size:20px}.chart-player-label{padding-bottom:22px}
 .table-wrap table{font-size:14px}.table-wrap th,.table-wrap td{padding:15px 12px}.table-wrap th{font-size:12px}
 .source{font-size:12px;margin-top:28px}
}
@media(min-width:1080px){
 .stack.players{grid-template-columns:repeat(3,minmax(0,1fr))}
 .enemy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.enemy-card{grid-template-columns:68px minmax(0,1fr) 12px;padding:16px 12px;gap:11px}.enemy-card img{width:68px;height:68px}.enemy-card h2{font-size:16px}.enemy-info>div{padding:7px}.enemy-info b{font-size:17px}
}
@media(min-width:768px) and (max-width:999px){
 .home-grid .result,.home-grid .season{grid-column:1/-1}
}
