/* Native mobile layout: edge-to-edge page, readable controls, no device frame. */
html{scroll-padding-bottom:110px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream)}
.app{width:100%;max-width:430px;margin:0 auto;min-height:100dvh;border:0;border-radius:0;overflow:visible}
header{height:88px;min-height:88px;padding:8px 16px;border-radius:0 0 22px 22px}
header>a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
header img{width:124px;height:74px;object-fit:contain}
main{padding:24px 16px calc(112px + env(safe-area-inset-bottom));min-width:0}
main[data-page=home]{padding:30px 16px calc(112px + env(safe-area-inset-bottom));display:block}
.home-grid{display:flex;flex-direction:column;min-height:0;flex:none;gap:28px}
.home-grid .panel{border-width:2px;border-radius:27px;flex:none;min-height:0;margin:0}
.home-grid .section-heading{font-size:23px;line-height:1.1;top:-15px;left:16px;padding:5px 13px 7px;border-radius:24px}
.home-grid .next{min-height:190px;flex:none;padding:34px 12px 20px}
.next .match-title{font-size:clamp(14px,4.5cqw,19px);letter-spacing:-.4px;line-height:1.2;min-height:0;margin-bottom:14px;padding:3px 0}
.next .time{font-size:clamp(20px,5.8cqw,25px);line-height:1.2;margin:0 0 7px}
.next .location,.next .court{font-size:clamp(20px,5.5cqw,24px);line-height:1.15}.next .court{margin-top:4px}
.home-grid .duo{flex:none;min-height:0;height:245px;margin:0;grid-template-columns:37% minmax(0,1fr);gap:12px}
.jersey,.focus{border-radius:25px;padding:14px 10px 7px;min-width:0}
.home-grid .jersey h2{font-size:16px;line-height:1.2;margin:0}.home-grid .jersey h2 strong{font-size:23px}
.jersey img{margin:10px auto 3px;width:100%;min-height:0}
.focus{padding:16px 12px 9px}.focus h2{font-size:clamp(17px,4.8cqw,21px);line-height:1.2;margin:0}.focus #weekly-focus{padding:10px 2px;margin-top:8px;font-size:19px}.focus-status{font-size:10px;padding:0;min-height:13px}
.home-grid .result{min-height:110px;flex:none;margin:0;padding:35px 12px 15px;gap:7px}
.result .team-name.team-chip{font-size:clamp(13px,3.7cqw,16px);padding:0;white-space:normal;max-width:31%;line-height:1.15}
.result .score{font-size:clamp(19px,5cqw,23px);padding:4px 0;white-space:nowrap}.result .score>span{padding:0}
.result .win{font-size:14px;line-height:1;padding:6px 9px;right:12px;top:10px;border-radius:8px}
.home-grid .season{flex:none;min-height:125px;margin:0;padding:36px 10px 16px}
.season .section-heading{font-size:22px}.metric b{font-size:27px;line-height:1;padding:7px 12px;border-radius:10px}.metric span{font-size:18px;line-height:1.1;margin-top:5px}.metric+.metric{border-left-width:2px}
nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,430px);height:calc(82px + env(safe-area-inset-bottom));min-height:82px;padding:9px 8px calc(8px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;box-shadow:0 -4px 18px #10254c14;z-index:5;margin:0}
nav a{min-width:44px;min-height:44px;height:100%;padding:2px 0 8px;gap:5px}nav svg{width:29px;height:29px}nav span{font-size:13px;line-height:1.1}nav a[aria-current=page]:after{height:4px;width:29px;border-radius:3px}
.page-heading{padding:16px 12px;border-radius:22px;margin-bottom:18px}.page-heading h1{font-size:27px}
.enemy-grid{gap:10px}.enemy-card{grid-template-columns:68px minmax(0,1fr) 12px;border-radius:21px;padding:12px 10px;gap:10px;min-height:98px}.enemy-card img{width:68px;height:68px}.enemy-card h2{font-size:16px;line-height:1.2;margin-bottom:10px}.enemy-info{gap:6px}.enemy-info>div{padding:7px 8px}.enemy-info b{font-size:16px}.enemy-info span{font-size:9px;line-height:1.2}
input,textarea,select{font-size:16px!important}input,select,.filters button,.action{min-height:44px}.filters button{padding:10px 15px}.sort{gap:10px}.sort select{max-width:180px}.player small{font-size:12px}.source{font-size:11px;line-height:1.5}
.game-stats-link{min-height:44px}.back-link{min-height:44px;display:inline-flex;align-items:center}.player-name-link{display:inline-flex;min-height:32px;align-items:center}
.display-stats-button{min-height:48px}.player-game-card .view-game-stats{min-height:44px;align-items:center}
@media(max-width:350px){main,main[data-page=home]{padding-left:12px;padding-right:12px}.home-grid .duo{height:220px;gap:10px}.focus h2{font-size:16px}.home-grid .jersey h2{font-size:14px}.enemy-card{grid-template-columns:58px minmax(0,1fr) 10px;gap:8px}.enemy-card img{width:58px;height:58px}.enemy-card h2{font-size:14px}.enemy-info>div{padding:6px}.enemy-info span{font-size:8px}.metric b{font-size:24px;padding:7px 10px}.season .section-heading{font-size:20px}}
