/* 对于小屏幕设备，如手机 */
@media(max-width: 1024px)  {
    .lg_container{
        display:none;
    }
    .header_index{
        background-color: #3C66F5;
        color:#fff;
        width: 100%;
        height:100px;
        position: fixed;
        top:0;
        left:0;
        z-index: 999;
        padding: 0 20px;
        max-width: 467px;
        left:50%;
        transform: translateX(-50%);
    }
    .header_top{
        margin-top: 10px;
        display:flex;
        align-items:center;
        color:#fff;
    }
    input{
        width:calc(100% - 48px);
        height:20px;
        border:none;
        border-radius:30px;
        background-color:#D0DFFF;
        padding:8px 16px;
        padding-left:32px;
    }
    input::placeholder {
        color: rgb(118,156,255); /* 设置你想要的颜色 */
        opacity: 1; /* 确保颜色不受透明度影响 */
      }
    .header_tags{
        height:40px;
        line-height:40px;
        position:absolute;
        bottom:2px;
        width:90%;
        overflow:hidden;
    }
    .header_tags a{
        displaY:inline-block;
        margin-right:10px;
        /* width:50px; */
        text-align:center;
        color:#fff;
        text-decoration:none;
    }
    .header_tags .active{
        border-bottom:2px solid #fff;
    }
    .card_index{
        margin-top:120px;
        padding:0 16px;
    }
    .card_title{
        font-size:20px;
        /* font-weight:600; */
    }
    .card_grid{
        display: grid; /* 使用网格布局 */
        grid-template-columns: repeat(4, auto);/* 根据需要调整列的数量和宽度 */
        grid-gap: 10px; /* 设置网格项之间的间隔 */
        overflow: hidden;
    }
    .card{
        overflow: hidden; 
        text-decoration: none;
        color:#000;
        max-width: 120px;
    }
    .card img{
        width:100%;
        height:125px;
        border-radius:6px;
    }
    .card_grid .novel_title{
        margin:5px 0 10px 0;
        font-size:12px;
        /* width:100%; */
        display: -webkit-box; /* 使用 WebKit 的盒模型 */
        -webkit-box-orient: vertical; /* 设置盒模型的方向为垂直 */
        -webkit-line-clamp: 2; /* 设置最多显示的行数为 2 */
        overflow: hidden; /* 隐藏溢出的内容 */
        text-overflow: ellipsis; /* 使用省略号表示被隐藏的文本 */
        word-wrap: break-word;
        /* display:none; */
    }
    
    .picks_card{
        display: grid; /* 使用网格布局 */
        grid-template-columns: repeat(3, auto);/* 根据需要调整列的数量和宽度 */
        grid-gap: 10px; /* 设置网格项之间的间隔 */
    }
    .picks_card .card img{
        height:166px;
    }
    @keyframes shake {
        0%, 100% { transform: translate(0, 0); } /* 初始和结束位置 */
        20% { transform: translate(-3px, 0); } /* 向左抖动 */
        40% { transform: translate(3px, 0); }  /* 向右抖动 */
        60% { transform: translate(-3px, 0); } /* 再次向左抖动 */
        80% { transform: translate(3px, 0); }  /* 再次向右抖动 */
    }
    .shaking {
        display: inline-block; /* 使元素保持块级特性 */
        animation: shake 1s; /* 应用抖动动画，持续0.5秒 */
    }
    .body_container{
        padding-bottom:80px;
        max-width:467px;
        margin:0 auto;
    }
}

/* 对于中等屏幕设备，如平板电脑 */
/* @media (min-width: 601px) and (max-width: 1024px) {
    body {
        font-size: 16px;
    }
} */

/* 对于大屏幕设备，如桌面显示器 */
@media (min-width: 1025px) {
    html{
        font-family: Roboto, sans-serif;
    }
    *{
        box-sizing: border-box;
    }
    body{
        overflow-x: hidden;
        background-color: #202020 !important;
        color: #B6B6B6 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .body_container{
        display:none;
    }
    .lg_container{
        width:100% !important;
        margin:0 auto;
    }
    .lg_header{
        width:100%;
        height:80px;
        position:sticky;
        top:0;
       
        padding:18px 0;
        background-image:linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
        background-color: #131415;
        color: #FFFFFF;
        z-index:999;
    }
    .header_content{
        max-width:1200px;
        margin:0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header_left{
        display: flex;
        flex: 1 1;
    }
    .header_right{
        display: flex;
        align-items: center;
    }
    #header_ul{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    ul,li{
        list-style: none;
    }
    .li_item{
        margin-left:28px;
    }
    .li_item:nth-child(1){
        margin:0;
    }
    .header_left a{
        text-decoration: none;
        color: #fff;
        font-weight:600;
        white-space: nowrap;
        cursor: pointer;
        /* font-size:18px; */
    }
    .header_left img{
        height:44px;
    }
    .login_btn{
        min-width: 88px;
        height: 32px;
        margin-left: 16px;
        padding: 9px 24px;
        color: #fff;
        font-size: 14px;
        line-height: 14px;
        text-align: center;
        background: #6b4cff;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        display: none;
    }
    .top_swiper{
        width:100%;
        overflow:hidden;
        display:flex;
        justify-content:space-between;
        /* margin-top:80px; */
    }
    .swiper-container{
        overflow:hidden;
        position:relative;
        height:300px;
        margin-top:24px;
    }
    .slide_item{
        height:35% !important;
        display:block;
        position:relative;
        overflow:hidden;
        border-radius:8px;
    }
    .slide_item:nth-child(1){
        margin-bottom:4%;
    }
    #topSwiper{
        height:270px;
    }
    .swiper-pagination-bullet{
        background-color:#fff6 !important;
    }
    .swiper-pagination-bullet-active{
        background-color:#007aff !important;
    }
    .swiper-button-next, .swiper-button-prev{
      display:none !important;
    }
    .left_swiper{
        width:60%;
    }
    .swiper-container1{
        margin-top: 24px;
        overflow:hidden;
    }
    .right_swiper{
        width:36%;
        position:relative;
        margin-right:0 !important;
    }
    .right_swiper h3{
        margin-top:0;
        color:#fff;
    }
    .slide_item .content_right .desc{
        -webkit-line-clamp: 1;
    }
    #topSwiper_right .swiper-slide{
        border-radius:0;
    }
    .swiper-slide{
        width:100%;
        height:190px;
        border-radius:8px;
        position:relative;
        overflow:hidden;
    }
    .bg_img{
        position:absolute;
        left:0;
        top:0;
    }
    .bg_img img{
        width:100%;
        height:100%;
        filter: blur(40px);
    }
    .swiper-slide .content{
        position:absolute;
        left:0;
        top:0;
        padding:12px;
        right:0;
        bottom:0;
        display:flex;
        cursor:pointer;
    }
    .swiper-slide .content img{
        height:100%;
        margin-right:12px;
        transition: all 0.3s ease;
        border-radius:8px;
    }
    .swiper-slide .content img:hover{
        transform:scale(1.08);
    }
    .content_right  .title{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
        max-width: 302px;
        color: #fff;
        font-weight: 500;
        font-size: 18px;
        line-height: normal;
        margin-bottom: 10px;
    }
    .content_right  p{
        margin:0;
    }
    .content_right  .author{
        margin-bottom: 10px;
        font-size: 12px;
        color: hsla(0, 0%, 100%, .7);
    }
    .content_right .desc{
        color: hsla(0, 0%, 100%, .7);
        font-size: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }
    .dreame-font{
        align-self: end;
        padding: 2px;
        color: hsla(0, 0%, 100%, .7);
        font-size: 18px;
        line-height: 1;
        border: 1px solid hsla(0, 0%, 100%, .7);
        border-radius: 50%;
        cursor: pointer;
        font-family: dreame-font !important;
        font-style: normal;
        -webkit-font-smoothing: antialiased;
        font-family: 'dreame-font' !important;
    }
    .section_title{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 32px 0 12px;
        color: #fff;
    }
    .section_title h2{
        margin:0;
    }
    .section_content{
        margin-top:24px;
    }
    .pic_content{
        display: grid;
        grid-template-columns: repeat(5, 1fr); /* 定义7列，每列宽度相等 */
        column-gap: 25px; /* 列间距 */
        row-gap: 35px; /* 行间距 */
        padding:0;
        /* column-gap: 23.67px; */
    }
    .pic_item{
        position:relative;
        overflow:hidden;
        border-radius:5px;
    }
    .pic_item img{
        width:100%;
        height:331px;
        border-radius:5px;
    }
    .pic_item p{
        margin:5px 0;
    }
    .pic_desc{
        display:flex;
        color:#e0e0e0 !important;
        justify-content:space-between;
        font-size:.75em;
        color:rgb(71,84,103);
        font-weight:600;
    }
    .pic_title{
        font-weight:700;
        font-size:.9em;
        color:#eee;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* 表示最多显示两行 */
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .main_container{
        max-width:1200px;
        overflow:hidden;
        margin:0 auto;
    }
    a{
        text-decoration:none;
        color:#222;
    }
    .default_head{
        width:32px;
        height:32px;
        border-radius:50%;
        margin-left:16px;
        cursor:pointer;
        display:none;
        object-fit: cover;
    }
    .drop_menu{
        min-width: 32px;
        right:400px;
        top: 30px;
        position: absolute;
        /* left: -9999px;
        top: -9999px; */
        z-index: 1070;
        display: block;
        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
        box-sizing: border-box;
        width: 375px;
        padding: 20px 0;
        background-color: rgb(49, 49, 49);
        box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 10px 0px;
        border-radius: 8px;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease, max-height 0.3s ease;
        overflow: hidden;
    }
    .drop_menu:hover{
        display: block;
        opacity: 1;
        right: 0;
    }
    .menu_content{
        width: 375px;
        padding: 20px 0;
        background-color: rgb(49, 49, 49);
    }
    .userinfo_item{
        display: flex;
        align-items: center;
        justify-content: start;
        box-sizing: border-box;
        height: 60px;
        padding: 0 28px 12px;
        background-color: rgb(49, 49, 49);
        cursor: pointer;
        font-size:16px;
    }
    .userAvatar img{
        margin-right:18px;
        object-fit: cover;
    }
    .userinfo_item a{
        color:rgba(255,255,255,.6);
    }
    .default_head_menue{
        width:48px;
        height:48px;
        border-radius:50%;
        object-fit: cover;
    }
    .id{
        margin-top: 4px;
        color: rgba(34, 34, 34, .6);
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;
    }
    .lg_name{
        max-width: 180px;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
        color: #fff;
        font-weight: 600;
        font-size: 20px;
        line-height: 23px;
    }
    .lg_name:hover{
        color:#6b4cff;
    }
    .userinfo_item:hover{
        color:#6b4cff;
    }
    .menue_container{
        position:relative;
    }
    
    .menue_container:hover .drop_menu{
        display: block;
        opacity: 1;
        right: 0;
    }
    .login_container .login_box .login-button{
        width: 12rem !important;
    }
    .userinfo_item a:hover{
        color:#6b4cff;
    }
    #login_container.show{
        display:flex !important;
    }
    .writer_login{
        display:flex;
        position:fixed;
        top:0;
        right:0;
       left:0;
        bottom:0;
        justify-content:center;
        align-items:center;
        background-color:rgba(0,0,0,.5);
        z-index:999;
        display:none;
    }
    .writer_login_content{
        background-color:#fff;
        border-radius:8px;
        padding:20px;
        width:500px;
        position:relative;
    }
    .form_item .label{
        display:inline-block;
        width:80px;
        font-size:14px;
        margin-right:10px;
        text-align:right;
        font-weight:600;
    }
    .form_input{
        border:1px solid #ccc;
        border-radius:10px;
        padding:10px 16px;
        width:200px;
        font-size:16px;
        outline:none;
    }
    .writer_login_title{
        padding: 20px 0;
        background-color: transparent;
        border-bottom: .5px solid rgba(34, 34, 34, .1);
        color: rgba(0, 0, 0, .88);
        font-weight: 700;
        font-size: 20px;
        line-height: 24px;
        
    }
    .login_form{
        padding:40px;
    }
    .form_login_btn{
        text-align:center;
        margin-bottom:20px;
    }
    .form_login_btn .button{
        padding:10px 80px;
        background-color:#6b4cff;
        border:none;
        border-radius:30px;
        color:#fff;
        font-size:16px;
        cursor:pointer;
    }
    .close_write_login{
        position:absolute;
        top:16px;
        right:16px;
        cursor:pointer;
    }
    .login_write{
        display:inline-block;
        margin-right:15px;
        cursor:pointer;
    }
    .login_write:hover{
        color:#6b4cff;
    }
    .toast {  
        visibility: hidden; /* 默认隐藏 */  
        min-width: 250px; /* 最小宽度 */  
        max-width: 500px; /* 最大宽度 */  
        margin: auto; /* 居中 */  
        background-color: #333; /* 背景颜色 */  
        color: #fff; /* 字体颜色 */  
        text-align: center; /* 文本居中 */  
        border-radius: 2px; /* 边框圆角 */  
        padding:8px 16px; /* 内边距 */  
        position: fixed; /* 固定位置 */  
        z-index: 10001; /* 在最上面 */  
        bottom: 30px; /* 向下偏移 30px */  
        font-size: 17px; /* 字体大小 */  
        transition: visibility 0s, opacity 0.5s linear; /* 过渡效果 */  
        opacity: 0; /* 初始透明度 */  
        left: 50%; /* 从左侧开始偏移50% */
        transform: translate(-50%, -50%); 
        border-radius: 30px; /* 边框圆角 */  
    }  
    
    .toast.show {  
        visibility: visible; /* 显示 */  
        opacity: 1; /* 不透明 */  
    } 
    .container_show{
        position:fixed !important;
    }
}   
