@charset "utf-8";
@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .navbox { width: 96% }
    #starlist li a { padding: 0 10px; }
    #starlist li.menu:before { right: 0 }
    .zhuanti li { width: 27% }
    .searchbox { width: 96% }
    .box, article { width: 96% }
    /*.fader .slide img { height: 320px }*/
    .links li { width: 100%; text-align: left }
    .jianzhan li section { margin: 0 5px; }
    .jianzhan li:nth-child(1) { width: 30% }
    .jianzhan li:nth-child(3) { width: 36.3% }
}

@media only screen and (max-width: 767px) {
    /*header*/
    header { position: fixed; z-index: 999 ;width: 100vw;}
    nav { width: 100%; height: auto; background: rgba(0,0,0,0.5); margin-top: 18px; position: fixed; z-index: 999; top: 42px; }
    .searchico { position: absolute; top: 6px; right: 10px; }
    .search { width: 80% }
    .navbox { width: 100% }
    .searchbox { width: 100%; position: fixed; top: 50px; z-index: 99; background: rgba(0,0,0,.8); }
    .logo { margin-left: 0; line-height: 56px;    float: none;    text-align: center;    margin-right: 0px; }
    #mnavh { overflow: hidden; position: absolute; }
    #mnavh { display: block; }
    #starlist { display: none; width: 100vw;/* top: 30px; */ }
    #starlist li { width: 55%; text-align: center; background: #12b7de; float: none; display: block; font-weight: bold; }
    #starlist li:last-child { padding-bottom: 100% }
    #starlist li a { color: #fff; display: block; width: 100%; text-align: center; float: none; padding: 0; background: #12b7de; border-bottom: #49ccea 1px solid; }
    #starlist ul.sub { display: block; position: inherit; left: inherit; top: inherit; }
    #starlist ul.sub li { width: 100% }
    #starlist ul.sub li:last-child { padding-bottom: 0; border-bottom: #49ccea 1px solid; }
    #starlist ul.sub li a { color: #fff; font-weight: normal; border-bottom: none; }
    #starlist ul.sub li a:hover, #starlist li:hover a, #starlist #selected { color: #fff; }
    .menu span { display: block; width: 50px; height: 50px; background: #12b7de; opacity: 0.5; position: absolute; top: 0; right: 0; border-left: #49ccea 1px solid; }
    .menu:before { right: 20px; }
    /**/
    .box, article { width: 96% }
    article { padding-top: 80px; }
    .lbox { width: 100% }
    .rbox { display: none }
    .qq_join li section { margin: 0 10px }
    .jianzhan li section { margin: 0 5px; }
    .jianzhan li:nth-child(1) { width: 30% }
    .jianzhan li:nth-child(3) { width: 36.3% }
    .zhuanti li { width: 27%; }
    .j-fish-skip{
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .zhuanti li { padding: 15px; }
    .bplist a img { width: 96% }
    .xinlu li a { padding: 5px; margin: 0 5px; }
    .myblog li { width: 33.3%; }
    .qq_join li section { margin: 0 5px; padding: 5px; }
    .qq_join li p { margin: 10px 0; font-size: 12px }
    .endnav p:last-child { text-align: center; margin-top: 20px; }
    .site_tj li { width: 20% }
    .hnav a { font-size: 12px }
    .muban li section { margin: 0 5px; height: 260px; overflow: hidden }
    .zhuanti li { width: 27.6%; padding: 8px }
}
@media only screen and (max-width: 480px) {
    .headline { width: 100% }
    .headline ul { height: auto; padding-bottom: 10px; overflow: hidden }
    .headline ul li { width: 49%; float: left;height:100px }
    .headline ul li:last-child { float: right }
    .headline ul li span { padding: 0 20px }
    .banbox { width: 100% }
    .fader {
        height: auto;
        /*padding-top: 40%; */
    }
    .newspic { width: 100%; height: auto }
    .newspic li { width: 49%; float: left }
    .newspic li:last-child { float: right }
    .newspic li a { height: 100% }
    .newslist { float: none; width: 100% }
    .zhuanti ul { padding: 0 }
    .zhuanti li { width: 44%; padding: 8px; }
    .zhuanti ul:before { left: 0; }
    .zhuanti ul:after { bottom: 0 }
    .ad { padding: 5px }
    .blogtitle { font-size: 16px }
    .bplist { height: 60px }
    .bplist a img { height: 100% }
    a.viewmore { display: none }
    .bloglist li { grid-template-columns: 110px 1fr; grid-column-gap: 10px; min-height: 90px }
    .blogpic { width: 100%; margin-right: 0; height: 100%; min-height: 76px; }
    .blogtext { margin-top: 15px }
    .lanmu h1 { font-size: 18px; }
    .top_pic { width: 100%; float: none; margin-bottom: 10px }
    .top_box { float: none; width: 100%; }
    .liucheng li, .jianzhan li:nth-child(1), .jianzhan li:nth-child(3) { width: 100%; }
    .muban li section { height: auto }
    .site_tj li { width: 50% }
    .about { padding: 20px }
    .ab_box p:last-child { width: 100%; clear: both; padding-top: 10px }
    .ly_button { float: none; display: block; }
    .xinlu li { width: 50% }
    .myblog li, .xiangsi li { width: 50% }
    .qq_join li { width: 50%; margin-bottom: 20px }
    .wxbox ul { overflow: hidden; text-align: center }
    .wxbox li { float: none; display: inline-block }
    .wxbox { float: none }
    .endnav { width: 100%; overflow: hidden; margin-top: 20px }
    .endnav p { margin: 0 10px }
    .price_info img { position: static }
    .free li { width: 100%; margin-bottom: 10px }
    .newslist li {padding: 0 10px 10px 10px;}
    .newspic span { padding: 0 8px; }
    .hnav { float: none; width: 100%; clear: both; display: block; overflow: hidden; display:none}
    .ztpic { height: 60px; }
    .zhuanti li b { -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2; font-size: 14px; height: 42px; line-height: 24px; white-space: inherit; }
    .bloginfo { width: 100% }
    .imgscale img { height: 100%; max-width: 100%; }
    .blogpic i { display: none }
    .fader .slide img { height:auto; }
    .otherlink li{width:100%}
    .tab_buttons { overflow-x: auto;}
    .tab_buttons ul { width: 600px;overflow-x: scroll;}
    .tab_buttons li {margin-right: 30px;width: auto;}
    .newscurrent:after{width:100%}
    .con_nav{display:none}
    .xiangsi li i img{min-height:80px}
    .xiangsi li i{height:80px}
}

/* ========== 响应式补丁：补全自适应 ========== */

/* 兜底：任何屏宽下容器不允许超出视口，图片不许撑破 */
.box, article, .navbox, .searchbox { max-width: 100%; }
img { max-width: 100%; }
.bplist a img { max-width: 100%; }
.fader .slide img { max-width: 100%; }
/* footer 鱼群 canvas 自适应屏宽：宽度跟随容器，高度由 #j-fish-skip 的固定高度决定 */
#j-fish-skip, #j-fish-skip canvas { max-width: 100%; width: 100%; }
#j-fish-skip canvas { height: 100%; }

/* 平板：768px ~ 1023px（原样式此区间完全没处理，1200px 容器溢出） */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .box, article, .navbox, .searchbox { width: 96%; }
    #starlist li a { padding: 0 10px; }
    .menu:before { right: 0; }
    .lbox { width: 72%; }
    .rbox { width: 26%; }
    .zhuanti li { width: 40%; }
    .links li { width: 100%; text-align: left; }
    .headline ul li span { padding: 0 10px; }
    .timebox, .about { padding: 15px; }
    .fader, .fader .slide img { height: 200px; }
    .whitebg { padding: 15px; }
}

/* 手机：≤767px 补充遗漏组件 */
@media only screen and (max-width: 767px) {
    /* 特别推荐：手机上三列过窄改两列 */
    .zhuanti li { width: 44%; }
    /* 图文列表多列区块降为两列 */
    .xinlu li, .xiangsi li, .qq_join li, .liucheng li { width: 50%; }
    .qq_join li { margin-bottom: 20px; }
    /* 评论空态图固定 630px 溢出 */
    .cy-my-page { width: 100% !important; }
    .cy-my-page .cy-my-comment-list .empty-hold-place { width: 90%; }
    .cy-my-page .cy-my-comment-list .empty-hold-place .pet-pic {
        width: 100%;
        max-width: 345px;
        background-size: contain;
    }
    /* 内边距收紧 */
    .timebox, .about, .whitebg { padding: 15px; }
    /* 轮播高度自适应，图片不裁切 */
    .fader { height: auto; }
    .fader .slide img { height: auto; }
    /* 侧栏名片固定高改自适应 */
    .card { height: auto; min-height: 200px; }
    /* 点赞区块固定宽改自适应 */
    .thumbs-content { width: auto; }
    /* 页头允许换行，防止挤压 */
    header { height: auto; min-height: 50px; }
    /* 评论表单昵称/QQ/邮箱三列输入框（页面行内 30%）改单列 */
    .guestBookGroup .inputLabel {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}