*{box-sizing:border-box}body{margin:0;background:#070a0f;color:#eef2f7;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}header{height:68px;border-bottom:1px solid #1d2530;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1100px)/2));background:#0a0e14}header b{letter-spacing:1.5px}header i,.tag{color:#f26b38}nav{color:#8793a2;font-size:14px}main{max-width:1100px;margin:auto;padding:58px 24px}.tag{font-size:12px;font-weight:800;letter-spacing:2px;margin:0}h1{font-size:48px;margin:8px 0 8px;letter-spacing:-2px}.sub{color:#8491a0;margin-bottom:55px}h2{font-size:19px;margin:30px 0 14px}.empty,.grid article{border:1px solid #1c2632;background:#0d1219;border-radius:16px}.empty{text-align:center;padding:42px;font-size:30px}.empty strong,.empty span{display:block;font-size:14px;margin-top:10px}.empty span{color:#788594;font-weight:400}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.grid article{padding:22px}.grid small{color:#f26b38;font-size:10px;letter-spacing:1px}.grid strong,.grid span{display:block;margin-top:8px}.grid span{font-size:13px;color:#788594}footer{text-align:center;color:#4f5b68;padding:40px;font-size:12px}@media(max-width:700px){h1{font-size:36px}.grid{grid-template-columns:1fr}nav{display:none}}
.bar{display:flex;align-items:center;justify-content:space-between;margin-top:30px}.bar h2{margin:0}.bar div{display:flex;gap:6px}.bar button,.bar input{background:#0d1219;color:#eef2f7;border:1px solid #263241;border-radius:9px;padding:8px 11px}.games{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:14px 0 34px}.game{border:1px solid #1c2632;background:#0d1219;border-radius:16px;padding:18px}.gamehead{display:flex;justify-content:space-between;color:#7f8b99;font-size:12px;margin-bottom:14px}.gamehead em{color:#f26b38;font-style:normal}.team{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:9px 0}.team img{width:30px;height:30px;object-fit:contain}.team span{font-size:14px}.team b{font-size:22px}.meta{border-top:1px solid #1c2632;margin-top:8px;padding-top:12px;color:#74808d;font-size:12px}@media(max-width:700px){.games{grid-template-columns:1fr}.bar{align-items:flex-end}.bar input{max-width:145px}}
.watchrow{display:flex;gap:8px;margin-top:13px}.watch{border:0;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:700;text-decoration:none;text-align:center;flex:1}.watch.primary{background:#f26b38;color:white}.watch.backup{background:#171e27;color:#65717e}.watch.backup:disabled{cursor:not-allowed;opacity:.75}

/* v0.4 mobile match-card refresh */
#hotGames.games{display:grid;gap:18px}
#hotGames .game{padding:18px;border-radius:22px;background:linear-gradient(145deg,#0d1720,#0a1118);border:1px solid #233341;box-shadow:0 10px 28px rgba(0,0,0,.18)}
#hotGames .gamehead{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;color:#91a0af;font-weight:600}
#hotGames .gamehead em{font-style:normal;color:#ff6b35;font-size:14px}
#hotGames .matchup{display:grid;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);align-items:center;gap:10px;margin:6px 0 18px}
#hotGames .club{text-align:center;min-width:0}
#hotGames .club strong{display:block;color:#f4f7fa;font-size:18px;line-height:1.35;word-break:break-word}
#hotGames .versus{text-align:center;color:#dce4ec;font-size:24px;font-weight:800}
#hotGames .lines{border-top:1px solid #21313e;padding-top:14px;color:#8d9cab;margin-bottom:14px}
#hotGames .watchrow{margin-top:0}
#hotGames .watch.primary{width:100%;display:flex;align-items:center;justify-content:center;min-height:54px;border-radius:16px;font-size:18px;font-weight:800;text-decoration:none}
@media(max-width:600px){main{padding-left:18px;padding-right:18px}#hotGames .game{padding:18px 16px}#hotGames .club strong{font-size:17px}}

/* v0.5 sport filters */
.filters{display:flex;gap:10px;overflow-x:auto;padding:0 0 16px;margin-top:-4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.filters::-webkit-scrollbar{display:none}
.filters button{flex:0 0 auto;border:1px solid #2a3b49;background:#101b25;color:#eef3f7;border-radius:13px;padding:10px 17px;font-size:15px;font-weight:700;cursor:pointer}
.filters button.active{background:#ff6b35;color:#fff;border-color:#ff6b35;box-shadow:0 5px 16px rgba(255,107,53,.22)}

/* v0.6 JRKAN-style dynamic league navigation */
.bar:has(+ .filters){margin-bottom:10px}
.filters{position:relative;z-index:2;width:100%;display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 0 14px;margin:0 0 14px;white-space:nowrap;scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.filters button{appearance:none;min-width:auto;height:42px;padding:0 16px;border-radius:12px;border:1px solid #263744;background:#0e1922;color:#dce4eb;font-size:15px;line-height:40px;font-weight:700;white-space:nowrap}
.filters button.active{background:#ff6b35;border-color:#ff6b35;color:#fff}
@media(max-width:600px){.bar:has(+ .filters){align-items:center}.filters{margin-top:0;padding-bottom:12px}.filters button{height:40px;line-height:38px;padding:0 15px}}
.with-bottom-nav{padding-bottom:104px}.bottom-nav{position:fixed;z-index:50;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,760px);display:grid;grid-template-columns:1fr 1fr;background:#071019f5;border-top:1px solid #243441;padding:8px 14px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #0004}.bottom-nav a{height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#8292a0;text-decoration:none;border-radius:14px;font-size:12px}.bottom-nav a span{font-size:22px}.bottom-nav a.active{color:#ff6b35;background:#ff6b3514}.nba-card .score{display:block;font-size:30px;margin-top:8px;color:#fff}
.nba-card[data-id]{cursor:pointer}.nba-card[data-id]:after{content:'查看比赛数据 ›';display:block;text-align:center;border-top:1px solid #21313e;padding-top:13px;margin-top:8px;color:#ff6b35;font-weight:800}.nba-detail{margin-top:18px;padding:18px;border:1px solid #263744;border-radius:20px;background:#0b151e;scroll-margin-top:20px}.detail-head{display:flex;align-items:center;justify-content:space-between}.detail-head button{border:1px solid #304352;background:#101d27;color:#dfe7ed;border-radius:10px;padding:8px 12px}.detail-team{margin:14px 0;padding:14px;border-radius:14px;background:#101d27}.detail-team>div{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.detail-team span{display:flex;flex-direction:column;font-size:11px;color:#8292a0}.detail-team span b{font-size:17px;color:#fff}.player-group{margin-top:18px}.player-row{display:flex;justify-content:space-between;gap:12px;padding:11px 2px;border-bottom:1px solid #1d2c37}.player-row span{color:#a8b4be;white-space:nowrap}@media(max-width:600px){.detail-team>div{grid-template-columns:repeat(2,1fr)}.player-row{font-size:13px}}
.nba-logo{width:58px;height:58px;object-fit:contain;display:block;margin:0 auto 8px}.nba-card .club small{display:block;color:#7f91a0;margin-top:3px}.nba-card .score{font-size:30px}

.gamehead em.live{color:#48d597}.gamehead em.final{color:#a9b5be}.leaders{padding:14px;border-radius:14px;background:#101d27;margin:12px 0}.leaders h3{margin:0 0 8px}.leaders div{color:#aeb9c2;margin-top:7px}

.nba-watch-slot{margin-top:12px}.nba-watch-slot .watch{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;text-decoration:none;font-weight:800}
.nba-meta{border-top:1px solid #21313e;padding:12px 0;color:#8fa0ae;font-size:13px}.nba-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-top:4px}.nba-actions .data-btn,.nba-actions .watch{min-height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:800;text-decoration:none}.nba-actions .data-btn{border:1px solid #344957;background:#101d27;color:#e6edf2}.nba-actions .watch.official{background:#162631;color:#e7eef3;border:1px solid #304655}.nba-actions .watch.primary{background:#ff6b35;color:#fff}.gamehead em.live{color:#48d597}.gamehead em.final{color:#a9b5be}

/* v0.7 NBA compact mobile UX */
.nba-card[data-id]:after{content:none}
.nba-card .matchup{display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);align-items:center;gap:8px;margin:12px 0 16px}
.nba-card .club{text-align:center;min-width:0}.nba-card .club strong{display:block;font-size:16px;line-height:1.25}.nba-card .versus{text-align:center;font-weight:800;color:#8292a0}
.nba-card .score{font-size:32px;margin-top:6px}.nba-logo{width:52px;height:52px;margin:0 auto 6px}
.data-link{width:100%;border:0!important;border-top:1px solid #21313e!important;background:transparent!important;color:#ff6b35!important;border-radius:0!important;margin-top:12px;padding-top:14px;font-size:16px}
.nba-actions:empty{display:none}.nba-actions .watch.primary{order:-1}
.nba-datebar>div{flex-wrap:wrap;justify-content:flex-end}.nba-datebar button{font-weight:700}
@media(max-width:700px){.nba-datebar{display:block}.nba-datebar>div{justify-content:flex-start;margin-top:14px}.nba-datebar input{order:5}.nba-datebar #prev,.nba-datebar #next{display:none}.nba-datebar button{padding:9px 13px}.nba-card{padding:16px}.nba-card .gamehead{font-size:13px}.nba-card .club strong{font-size:15px}.nba-card .score{font-size:30px}}
