@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: 15vw;
    }
    
    .headerBox .box {
        width: 100%;
        padding: 0 3vw;
    }
    .headerBox .box .logoBox .logo {
        height: 10vw;
    }
    .headerBox .box .logoBox .title {
        margin-left: 3vw;
        font-size: 4.8vw;
    }
    .headerBox .box .search {
        display: none;
    }
    .headerBox .box .navs .item,.headerBox .box .navs .btns {
        display: none;
    }
    .headerBox .box .navs .iconfont {
        display: block;
        font-weight: bold;
        font-size: 20px;
    }
    .drawer .item{
        font-size: 4vw;
        color: var(--theme-color);
    }
    .drawer .item,.drawer a{
        display: block;
        height: 10vw;
        line-height: 10vw;
        font-size: 4vw;
        color: var(--theme-color);
        text-align: center;
    }
    .homeBox{
        width: 100%;
        padding: 6vw 5vw 0;
    }
    
    .homeBox .box {
        width: 100%;
    }
    .homeBox .logoBox .logo {
        height: 13.2vw;
    }
    .homeBox .logoBox .title {
        margin-left: 3.4vw;
        font-size: 5.6vw;
    }
    
    .searchBox .search {
        margin-top: 5vw;
        height: 12.5vw;
        border-radius: 12.5vw;
    }
    .searchBox .search input {
        border-radius: 12.5vw;
        font-size: 4.2vw;
        padding-left: 5vw;
    }
    .searchBox .search .btn {
        width: 15vw;
        height: 12.5vw;
    }
    .searchBox .search .btn .iconfont{
        font-size: 5.8vw;
    }
    .home {
        flex-wrap: wrap;
        margin-top: 10vw;
    }
    .home .nav{
        font-size: 4.2vw;
        padding: 0 3vw 2vw;
    }
    .home .nav img {
        width: 6vw;
        height: 6vw;
        margin-right: 2.6vw;
    }
    .home .content {
        min-height: auto;
    }
    
    .home .content .list{
        padding: 0 0 2vw 2vw;
    }
    .home .content .list .item {
        width: 26.8vw;
        margin: 1vw;
        padding: 1vw 0;
    }
    
    .home .content .list .item .img {
        height: 40vw;
    }
    .home .content .list .item p{
        margin-top: 2vw;
    }
    
    
    .home .content .list .item:hover{
        transform: translateY(0);
    }
    
    .home.homeNO .block {
        margin: 0;
        margin-bottom: 5vw;
        width: 100%;
        flex: auto;
    }
    
    .home.homeNO .content .list {
        padding: 0 3vw 3vw;
    }
    .home.homeNO .content .list .item{
        max-width: 100%;
    }
    
    
    .footerBox {
        padding: 5vw;
    }
    .footerBox .box {
        width: 100%;
    }
    
    
    .listBox {
        width: 100%;
        min-height: calc(100vh - 60vw);
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
    }
    .listBox .screen{
        display: none;
    }
    .cloud-filter-fixed {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 2vw;
        margin-top: 2vw;
        padding: 0 1vw 1vw;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .cloud-filter-fixed::-webkit-scrollbar { display: none; }
    .cloud-filter-fixed a {
        display: inline-flex;
        align-items: center;
        padding: 1.6vw 3.5vw;
        border-radius: 5vw;
        font-size: 3.2vw;
        border: 1px solid #e0e0e0;
        background: var(--theme-other_background, #fff);
        color: var(--theme-color, #333);
        white-space: nowrap;
        flex-shrink: 0;
        text-decoration: none;
        transition: all .2s;
    }
    .cloud-filter-fixed a.active {
        background: var(--theme-theme);
        color: #fff;
        border-color: var(--theme-theme);
        font-weight: 600;
    }
    .cloud-filter:not(.cloud-filter-fixed) {
        display: none !important;
    }
    
    .listBox .right {
        display: none;
    }
    .listBox .left {
        padding: 0 4vw;
        margin-top: 34vw;
    }
    
    .listBox h3 {
        position: relative;
        padding: 28vw 0 0;
        font-size: 3.8vw;
        text-align: center;
    }
    .listBox h3:after {
        display: none;
    }
    .listBox .box {
        padding: 0 4vw 6vw;
        margin-top: 4vw;
        text-align: justify;
        min-height: calc(100% - 50vw);
    }
    .listBox .Ebox{
        padding: 0 4vw 5vw;
        margin-top: 4vw;
        margin-bottom: 4vw;
        text-align: justify;
    }
    .listBox .left .Ebox .list .item:last-child{
        padding: 5vw 0 0;
    }
    .Qloading {
        padding-top: 6vw;
    }
    .Qtips{
        padding-top: 5.6vw;
    }
    .loader{
        font-size: 18px;
    }
    .Qbtn{
        padding-top: 5vw;
    }

    .listBox .left .list {
        padding: 0;
    }
    .listBox .left .list .item {
        padding: 5vw 0;
    }
    .listBox .left .list .item .title {
        font-size: 4.6vw;
        padding-bottom: 1.2vw;
    }
    .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.6vw;
        margin-right: 1vw;
    }
    .listBox .left .list .item .type{
        margin-top: 2vw;
    }
    .listBox .left .list .item .type::after{
    	top: -1vw;
    	font-size: 5.3vw;
    }
    
    
    .listBox .details{
        padding-top: 5vw;
    }
    .details .title {
        font-size: 4.8vw;
        margin-bottom: 4vw;
    }
    .details .cat {
        display: flex;
        font-size: 4.2vw;
    }
    .details .pic {
        width: 30vw;
        height: 40vw;
        margin: 2vw auto 5vw;
    }
    
    
    .searchList{
        position: fixed;
        left: 0;
        right: 0;
        z-index: 10;
        padding: 0 5vw 2vw;
        display: block;
        background-color: var(--theme-background);
    }
    .searchList .search {
        margin-top: 3vw;
    }
    .searchList .search .select{
        font-size: 3.8vw;
        line-height: 13.2vw;
        height: 12.5vw;
        width: 20vw;
        text-align: center;
        opacity: .8;
    }
    .searchList .search input {
        padding-left: 3vw;
    }
    
    
    
    .searchDetail{
        position: fixed;
        left: 0;
        right: 0;
        z-index: 10;
        padding: 0 5vw 2vw;
        display: block;
        background-color: var(--theme-background);
    }
    .searchDetail .search {
        margin-top: 3vw;
    }
    .searchDetail .search input {
        padding-left: 5vw;
    }
    .detailBox{
        min-height: inherit;
    }
    .detailBox h3{
        display: none;
    }
    .detailBox .details {
        padding-top: 5vw;
        margin-top: 20vw;
        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;
    }
        
    
    .switch-items {
        gap: 4.2vw;
        padding-top: 20vw;
    }
    .switch-items a {
        font-size: 3.8vw;
    }

    .btns2 {
        height: 8.2vw;
        line-height: 8.2vw;
        font-size: 3.4vw;
        width: 25vw;
        bottom: 4vw;
    }
    .listBox .left .Ebox .list .item:last-child .btns2{
        bottom: 0;
    }

    .dialogUrlBox {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        border-radius: 16px 16px 0 0 !important;
        overflow: hidden;
    }
    .dialogUrlBox .el-dialog__header {
        padding: 12px 16px 0;
        margin-right: 0;
    }
    .dialogUrlBox .el-dialog__body {
        padding: 12px 20px 24px;
    }
    .dialogUrlBox .dialogUrl .title {
        font-size: 4.2vw;
    }
    .dialogUrlBox .dialogUrl .tips {
        font-size: 3.2vw;
        margin-top: 8px;
    }
    .dialogUrlBox .dialogUrl .qrcode {
        width: 44vw;
        height: 44vw;
        margin: 16px auto 0;
        border-radius: 8px;
    }
    .dialogUrlBox .dialogUrl .nav {
        margin-top: 12px;
        font-size: 3.4vw;
    }
    .dialogUrlBox .dialogUrl .nav .item {
        margin-top: 6px;
        word-break: break-all;
    }
    .dialogUrlBox .dialogUrl .nav .item .t {
        font-size: 3.6vw;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .dialogUrlBox .dialogUrl .nav .item a {
        font-size: 3vw;
        word-break: break-all;
    }
    .dialogUrlBox .dialogUrl .statement {
        margin-top: 16px;
        padding-top: 12px;
        font-size: 3vw;
    }
    .dialogUrlBox .dialogUrl .statement .content {
        line-height: 1.5;
    }
    .dialogUrlBox .dialogUrl .statement .content p {
        font-size: 2.8vw;
    }

    /* --- QQ Theme Mobile Overrides --- */
    body.qq-theme::before,
    body.qq-theme::after {
        width: 200px;
        height: 200px;
    }

    body.qq-theme .result-card {
        padding: 14px 16px;
        margin-bottom: 10px;
        border-radius: 14px;
    }

    body.qq-theme .result-card .rc-title {
        font-size: 3.8vw;
    }

    body.qq-theme .result-card .rc-meta {
        gap: 6px;
        margin-top: 8px;
    }

    body.qq-theme .result-card .rc-tag {
        font-size: 2.8vw;
        padding: 2px 8px;
    }

    body.qq-theme .result-card .rc-actions .rc-btn {
        padding: 6px 14px;
        font-size: 3vw;
    }

    body.qq-theme .result-card .rc-actions .rc-btn.primary {
        box-shadow: 0 4px 12px rgba(45, 127, 249, 0.2);
    }

    body.qq-theme .result-stats {
        font-size: 3.2vw;
        padding: 4px 0;
    }

    body.qq-theme .result-stats strong {
        font-size: 4vw;
    }

    body.qq-theme .page-nav a {
        min-width: 8vw;
        height: 8vw;
        font-size: 3vw;
        border-radius: 8px;
    }

    body.qq-theme .cloud-filter-fixed a {
        border-radius: 999px;
    }

    body.qq-theme .cloud-filter-fixed a.active {
        background: linear-gradient(135deg, var(--qq-blue), var(--qq-cyan));
        border-color: transparent;
        box-shadow: 0 3px 8px rgba(45, 127, 249, 0.25);
    }

    /* QQ theme mobile homepage */
    body.qq-theme .home .block {
        border-radius: 14px;
    }

    body.qq-theme .home .content .list .item .img {
        border-radius: 10px;
    }

    body.qq-theme .homeBox .search {
        box-shadow: 0 8px 20px rgba(18, 44, 78, 0.08);
    }

    /* QQ theme mobile dialog - bottom sheet */
    body.qq-theme .dialogUrlBox {
        border-radius: 16px 16px 0 0 !important;
    }
}