*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Arial,"Microsoft YaHei",sans-serif;background:#f4f7fb;color:#1f1f1f;font-size:14px}
a{text-decoration:none;color:#222}
.page{width:1490px;margin:0 auto;background:#fff;min-height:100vh}
.top-head{height:86px;display:flex;align-items:center;padding:0 24px;gap:26px}
.logo{font-size:46px;font-weight:bold;color:#35a936;font-style:italic;line-height:1}
.logo span{color:#f28500}
.home-btn{border:1px solid #cbd8e8;border-radius:12px;padding:3px 8px;color:#506070}
.city,.weather,.date,.tools{line-height:26px;color:#111}
.city em{font-style:normal;color:#2d5f9f}
.weather b{background:#21c44b;color:#fff;border-radius:4px;padding:1px 5px}
.tools{margin-left:auto}
.tools a{margin:0 3px}
.login{width:70px;text-align:right}
.search-area{height:208px;display:flex;align-items:flex-start;padding-top:16px;border-bottom:1px solid #d7dfea}
.baidu-logo{width:380px;text-align:right;padding-right:20px;font-size:34px;font-weight:bold;color:#e60012;margin-top:20px}
.baidu-logo span{color:#2458ff}
.search-main{width:820px}
.search-row{display:flex;height:54px;border:2px solid #5a68ff;border-radius:10px;overflow:hidden}
.search-row select{width:88px;border:none;border-right:1px solid #ddd;font-size:16px;color:#667;background:#fff;padding-left:16px}
.search-row input{flex:1;border:none;outline:none;font-size:18px;padding:0 15px;color:#667}
.search-row button{width:140px;border:none;background:linear-gradient(90deg,#4575ff,#8b57ef);color:#fff;font-size:20px}
.ai-tabs{display:flex;gap:12px;margin-top:14px}
.ai-tabs a{background:#f4f6fb;border-radius:9px;padding:9px 22px;color:#111;font-size:16px}
.ai-tabs a:first-child{color:#2458ff}
.hot-line{margin-top:16px;display:flex;gap:26px;font-size:16px}
.right-news{flex:1;margin:28px 30px 0 40px;line-height:24px;color:#333}
.nav-tab{height:36px;margin:14px 24px 0;border:1px solid #d9e0ea;display:grid;grid-template-columns:repeat(12,1fr);align-items:center;text-align:center;font-size:16px}
.nav-tab a{border-right:1px solid #edf1f7}
.nav-tab a:last-child{border-right:none}
.banner-row{margin:10px 24px 0;height:112px;display:grid;grid-template-columns:1fr 1fr 1fr 2fr 1fr 1fr 1fr;gap:18px;align-items:center;border-bottom:1px solid #e6ebf2}
.ad{height:82px;border-radius:8px;background:linear-gradient(135deg,#272727,#0b0b0b);color:#ffd66b;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:bold;box-shadow:inset 0 0 0 3px #333}
.ad.big{font-size:34px;color:#ffcf38}
.site-box{margin:0 24px;border:1px solid #e3e7ef;border-top:none;padding:16px 28px}
.site-grid{display:grid;grid-template-columns:repeat(9,1fr);row-gap:18px;column-gap:18px;font-size:18px}
.site-grid a{white-space:nowrap}
.route-panel{margin:14px 24px 0;border:1px solid #dfe6ef;background:#fff;padding:24px 12px 18px}
.route-title{text-align:center;font-size:30px;font-weight:bold;color:#333;margin-bottom:8px}
.route-sub{text-align:center;color:#888;font-size:16px;margin-bottom:16px}
#routeList{display:flex;flex-direction:column;gap:12px}
.route-btn{display:block;height:58px;line-height:58px;background:#12b51d;color:#fff;text-align:center;border-radius:7px;font-size:28px;font-weight:bold}
.route-btn:hover{background:#09a914;color:#fff}
.game-line{margin:12px 24px 0;height:52px;background:#fff;border:1px solid #e2e7ef;display:flex;align-items:center;gap:50px;padding:0 25px;font-size:18px}
.game-line span{font-weight:bold;color:#e18b00}
.footer{text-align:center;color:#9aa3b1;font-size:14px;padding:25px 0}
@media(max-width:768px){
    .page{width:100%}
    .top-head{display:none}
    .search-area{height:auto;display:block;padding:15px 12px}
    .baidu-logo{width:100%;text-align:left;font-size:28px;margin:0 0 10px}
    .search-main{width:100%}
    .search-row{height:48px}
    .search-row button{width:96px;font-size:16px}
    .ai-tabs{overflow-x:auto}
    .ai-tabs a{white-space:nowrap;padding:8px 14px}
    .hot-line,.right-news{display:none}
    .nav-tab{margin:8px 8px;grid-template-columns:repeat(3,1fr);height:auto;line-height:34px}
    .banner-row{display:none}
    .site-box{margin:0 8px;padding:12px}
    .site-grid{grid-template-columns:repeat(2,1fr);font-size:16px}
    .route-panel{margin:10px 8px}
    .route-title{font-size:24px}
    .route-btn{height:50px;line-height:50px;font-size:20px}
    .game-line{display:none}
}

/* 手机端调整：线路按钮放上面，logo显示 */
@media(max-width:768px){
    .top-head{
        display:flex !important;
        height:auto;
        padding:12px 10px 6px;
        gap:8px;
        justify-content:center;
        background:#fff;
    }
    .top-head .logo{
        display:block !important;
        width:auto !important;
        font-size:42px !important;
        text-align:center !important;
        margin:0 !important;
    }
    .top-head .home-btn,
    .top-head .city,
    .top-head .weather,
    .top-head .date,
    .top-head .tools,
    .top-head .login{
        display:none !important;
    }
    .route-panel{
        order:0;
        margin:8px 8px 10px !important;
        padding:12px 8px 12px !important;
    }
    .route-title{
        font-size:20px !important;
        margin-bottom:4px !important;
    }
    .route-sub{
        font-size:14px !important;
        margin-bottom:10px !important;
    }
    .route-btn{
        height:48px !important;
        line-height:48px !important;
        font-size:19px !important;
        border-radius:7px !important;
    }
}

.hot-game-panel{margin:14px 24px 0;background:#f5f5f5;padding:12px 0 16px}
.hot-game-title{font-size:22px;color:#111;margin:0 0 14px;padding-left:14px;line-height:28px}
.hot-game-title span{display:inline-block;width:4px;height:22px;background:#ff8a00;margin-right:12px;vertical-align:-4px}
.hot-game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.game-card{display:block;background:#fff;color:#222;overflow:hidden}
.game-img{height:240px;position:relative;overflow:hidden;background:#ddd}
.game-img img{width:100%;height:100%;object-fit:cover;display:block}
.game-img em{position:absolute;right:-28px;top:13px;transform:rotate(45deg);background:#d71818;color:#ffea4a;width:105px;height:30px;line-height:30px;text-align:center;font-style:normal;font-weight:bold;font-size:20px}
.game-name{font-size:24px;font-weight:bold;padding:18px 20px 8px}
.game-desc{color:#999;font-size:18px;padding:0 20px 18px}
.game-desc b{color:#ff8a00;font-weight:normal;float:right}
@media(max-width:768px){
.hot-game-panel{margin:10px 8px 0!important;padding:10px 0 12px}
.hot-game-title{font-size:18px;margin-bottom:10px}
.hot-game-grid{grid-template-columns:1fr;gap:12px}
.game-img{height:170px}.game-name{font-size:20px;padding:12px 14px 6px}.game-desc{font-size:15px;padding:0 14px 14px}
}
