@media screen and (max-width: 768px) {
    html, body {
        font-size: 4vw;
        width: 100%;
        -webkit-tap-highlight-color: transparent;
    }
    
    a:hover {
        color: inherit;
    }
    
    /* 导航栏 */
    .headerBox, .headerKox {
        height: 14vw;
    }
    
    .headerBox .box {
        width: 100%;
        padding: 0 4vw;
    }
    
    .headerBox .logoBox .logo {
        height: 9vw;
    }
    
    .headerBox .logoBox .title {
        margin-left: 2vw;
        font-size: 4.5vw;
    }
    
    .headerBox .navRight {
        gap: 3vw;
    }
    
    .headerBox .navLink,
    .headerBox .navItem,
    .headerBox .search,
    .headerBox .btns {
        display: none;
    }
    
    /* 移动端显示深色模式按钮 */
    .headerBox .themeToggle {
        width: 9vw;
        height: 9vw;
    }
    
    .headerBox .themeIcon {
        font-size: 5vw;
    }
    
    .headerBox .mobileMenu {
        display: block;
        font-size: 5.5vw;
    }
    
    /* 抽屉菜单 */
    .drawer .item {
        height: 12vw;
        line-height: 12vw;
        font-size: 4vw;
    }
    
    .drawer a {
        height: 12vw;
        line-height: 12vw;
        font-size: 4vw;
    }
    
    /* 首页 */
    .homeBox {
        width: 100%;
        padding: 4vw;
    }
    
    .searchCard {
        max-width: 100%;
        padding: 6vw 5vw;
        border-radius: 4vw;
    }
    
    .heroSection {
        margin-bottom: 5vw;
    }
    
    .heroTitle {
        font-size: 6vw;
    }
    
    .heroTitle .heroLogo {
        height: 10vw;
        margin-right: 2vw;
    }
    
    .heroSubtitle {
        font-size: 3.5vw;
        margin-bottom: 5vw;
    }
    
    .searchWrapper {
        margin-bottom: 5vw;
    }
    
    .searchMain {
        height: 12vw;
        border-radius: 12vw;
    }
    
    .searchMain input {
        padding: 0 4vw;
        font-size: 4vw;
    }
    
    .searchBtn {
        width: 10vw;
        height: 10vw;
        margin-right: 1vw;
    }
    
    .searchBtn .iconfont {
        font-size: 5vw;
    }
    
    /* 热搜词 */
    .hotKeywords {
        gap: 2.5vw;
    }
    
    .hotTag {
        padding: 2vw 4vw;
        font-size: 3.2vw;
        border-radius: 5vw;
    }
    
    .hotIcon {
        font-size: 3vw;
        margin-right: 1.5vw;
    }
    
    /* 内容区域 */
    .home {
        margin-top: 6vw;
        flex-wrap: wrap;
    }
    
    .home .block {
        border-radius: 4vw;
        padding: 4vw;
        margin-bottom: 4vw;
    }
    
    .home .nav {
        font-size: 4.2vw;
        padding-bottom: 3vw;
    }
    
    .home .nav img {
        width: 5vw;
        height: 5vw;
        margin-right: 2vw;
    }
    
    .home .nav .navIcon {
        font-size: 5vw;
        margin-right: 2vw;
    }
    
    .home .nav .moreLink {
        font-size: 3.2vw;
    }
    
    .home .content {
        min-height: auto;
    }
    
    .home .content .list {
        gap: 10vw;
        justify-content: center;  /* 👈 添加这行让移动端图片居中 */
    }
    
    .home .content .list .item {
        width: 28vw;
    }
    
    .home .content .list .item .img {
        height: 40vw;
        border-radius: 2vw;
    }
    
    .home .content .list .item p {
        margin-top: 2vw;
        font-size: 3.5vw;
    }
    
    .home .content .list .item:hover {
        transform: none;
    }
    
    /* 无图模式 */
    .home.homeNO {
        gap: 4vw;
    }
    
    .home.homeNO .block {
        width: 100%;
    }
    
    .home.homeNO .content .list .item p {
        padding: 2.5vw 0;
    }
    
    /* 底部 */
    .footerBox {
        padding: 5vw;
    }
    
    .footerBox .box {
        width: 100%;
    }
    
    .footerBox .box p {
        font-size: 3.2vw;
    }
    
    /* 列表页 */
    .listBox {
        width: 100%;
        min-height: calc(100vh - 50vw);
        flex-wrap: wrap;
        align-content: flex-start;
        padding: 0 4vw;
    }
    
    .listBox .screen {
        display: none;
    }
    
    .listBox .right {
        display: none;
    }
    
    .listBox .left {
        width: 100%;
    }
    
    .listBox h3 {
        padding: 18vw 0 0;
        font-size: 3.5vw;
        text-align: center;
    }
    
    .listBox h3:after {
        display: none;
    }
    
    .listBox .box {
        padding: 4vw;
        margin-top: 4vw;
        min-height: calc(100% - 50vw);
        border-radius: 4vw;
    }
    
    .listBox .Ebox {
        padding: 4vw;
        margin-top: 4vw;
        margin-bottom: 4vw;
        border-radius: 4vw;
    }
    
    .listBox .left .list {
        padding: 0;
    }
    
    .listBox .left .list .item {
        padding: 4vw 0;
    }
    
    .listBox .left .list .item .title {
        font-size: 3.8vw;
        padding-bottom: 1vw;
    }
    
    .listBox .left .list .item .btns {
        justify-content: space-between;
    }
    
    .listBox .left .list .item .btns .btn {
        margin-right: 0;
    }
    
    .listBox .left .list .item .btns .btn .iconfont {
        font-size: 4.5vw;
        margin-right: 1vw;
    }
    
    .listBox .left .list .item .btns .btn .icon {
        width: 4.5vw;
        margin-right: 1vw;
    }
    
    .listBox .left .list .item .type {
        margin-top: 2vw;
    }
    
    .listBox .left .list .item .type::after {
        top: -1vw;
        font-size: 5vw;
    }
    
    .listBox .left .Ebox .list .item:last-child {
        padding: 4vw 0 0;
    }
    
    .Qloading {
        padding-top: 6vw;
    }
    
    .Qtips {
        padding-top: 5vw;
    }
    
    .loader {
        font-size: 18px;
    }
    
    .Qbtn {
        padding-top: 5vw;
    }
    
    /* 详情页 */
    .listBox .details {
        padding-top: 5vw;
    }
    
    .details .title {
        font-size: 4.8vw;
        margin-bottom: 4vw;
    }
    
    .details .cat {
        font-size: 4vw;
    }
    
    .details .pic {
        width: 30vw;
        height: 40vw;
        margin: 2vw auto 5vw;
    }
    
    .searchList {
        position: fixed;
        left: 0;
        right: 0;
        z-index: 10;
        padding: 0 4vw 2vw;
        display: block;
        background-color: var(--theme-background);
    }
    
    .searchList .search {
        margin-top: 3vw;
        display: flex;
        align-items: center;
        gap: 2vw;
        height: 11vw;
        background-color: var(--theme-other_background);
        border-radius: 11vw;
        padding: 0 1vw;
    }
    
    .searchList .search .select {
        font-size: 3.5vw;
        line-height: 11vw;
        height: 11vw;
        width: 18vw;
        text-align: center;
        opacity: .8;
        flex-shrink: 0;
        background-color: transparent;
        border: none;
    }
    
    .searchList .search input {
        flex: 1;
        height: 100%;
        padding: 0 3vw;
        background-color: transparent;
        border: none;
        font-size: 3.5vw;
        color: var(--theme-color);
    }
    
    .searchList .search .btn {
        width: 9vw;
        height: 9vw;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--theme-gradient-start), var(--theme-gradient-end));
        border-radius: 50%;
        cursor: pointer;
    }
    
    .searchList .search .btn .iconfont {
        font-size: 4.5vw;
        color: #fff;
    }
    
    .listBox .screen .box {
        padding: 4vw;
        margin-top: 16vw;
        display: none;
    }
    
    .searchDetail {
        position: fixed;
        left: 0;
        right: 0;
        z-index: 10;
        padding: 0 4vw 2vw;
        display: block;
        background-color: var(--theme-background);
    }
    
    .searchDetail .search {
        margin-top: 3vw;
    }
    
    .searchDetail .search input {
        padding-left: 4vw;
    }
    
    .detailBox {
        min-height: inherit;
    }
    
    .detailBox h3 {
        display: none;
    }
    
    .detailBox .details {
        padding-top: 5vw;
        margin-top: 18vw;
        min-height: inherit;
    }
    
    .listBox .details.samelistBox {
        padding: 3vw;
        margin-top: 0;
    }
    
    .detailBox h3.samelistNav {
        display: block;
        position: relative;
        padding: 30px 0 17px 15px;
        font-size: 4.2vw;
        text-align: left;
    }
    
    .detailBox h3.samelistNav:after {
        display: block;
    }
    
    .samelist .item {
        width: 100%;
    }
    
    .samelist .item p {
        padding: 4px 6px;
    }
    
    .listBox .source-switch {
        display: flex;
        align-items: center;
        padding: 18vw 0 3vw;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .listBox .source-switch h3 {
        padding: 0;
        margin-right: 3vw;
        font-size: 3.5vw;
        white-space: nowrap;
        flex-shrink: 0;
        font-weight: normal;
        color: var(--theme-color);
    }
    
    .listBox .source-switch h3:after {
        display: none;
    }
    
    .switch-items {
        display: flex;
        gap: 4vw;
        padding: 0;
        flex-shrink: 0;
    }
    
    .switch-items a {
        position: relative;
        font-size: 3.5vw;
        padding: 0 0 1.5vw 0;
        background-color: transparent;
        white-space: nowrap;
        color: var(--theme-color);
        font-weight: normal;
    }
    
    .switch-items a.active {
        background: transparent;
        color: var(--theme-theme);
        font-weight: bold;
    }
    
    .switch-items a.active:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 0.8vw;
        background: var(--theme-theme);
        border-radius: 0.8vw;
    }
    
    .btns2 {
        height: 7.5vw;
        font-size: 3.2vw;
        width: 22vw;
        bottom: 4vw;
    }
    
    .listBox .left .Ebox .list .item:last-child .btns2 {
        bottom: 0;
    }
    
    .dialogUrlBox {
        width: 90vw;
    }
    
    /* 网盘筛选 */
    .netdisk-filter {
        padding: 3vw;
        gap: 2.5vw;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .netdisk-filter::-webkit-scrollbar {
        display: none;
    }
    
    .netdisk-filter a {
        flex: 1;
        padding: 1.8vw 1vw;
        font-size: 3.5vw;
        border-radius: 5vw;
        text-align: center;
        min-width: 0;
    }
    
    .netdisk-filter a:hover {
        transform: none;
    }
}
