@media (max-width: 768px) {
    .app {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    /* 隐藏PC端导航栏 */
    .pc-sidebar {
        display: none;
    }
    
    /* 显示移动端导航栏 */
    .mobile-sidebar {
        display: block;
        width: 100%;
        height: auto;
        border-right: none;
        border-top: none;
        border-bottom: none;
        padding: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 1000;
        background: transparent;
        margin-top: 0;
    }
    
    .mobile-sidebar nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 12px;
        margin-top: 0;
        gap: 8px;
        background: transparent;
    }
    
    .mobile-sidebar .nav-item {
        flex: 0 0 calc(33.333% - 8px);
        max-width: calc(33.333% - 8px);
        flex-direction: column;
        padding: 8px 12px;
        min-width: 80px;
        text-align: center;
        background: transparent;
        color: #222222;
    }
    
    /* 隐藏移动端不需要的按钮 */
    .mobile-sidebar .nav-item.mobile-hide {
        display: none;
    }
    
    .mobile-sidebar .nav-item .ico {
        width: 32px;
        height: 32px;
        margin-right: 0;
        margin-bottom: 4px;
        background: rgba(255,255,255,0.1);
    }
    
    .mobile-sidebar .nav-item .label {
        font-size: 12px;
        line-height: 1.2;
        color: #222222;
    }
    
    .mobile-sidebar .nav-item.active {
        background: rgba(0,120,212,0.1);
        color: #0078d4;
    }
    
    .main {
        padding: 16px;
        width: 100%;
    }
    
    .header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }
    
    .title {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .title h1 {
        font-size: 24px;
        color: #222222;
    }
    
    .subtitle {
        font-size: 12px;
        color: #666666;
    }
    
    .content {
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
    }
    
    .left-col {
        min-width: 0;
        width: 100%;
    }
    
    .right-col {
        width: 100%;
    }
    
    .card {
        padding: 16px;
        border-radius: 6px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .card > div {
        color: #222222 !important;
    }
    
    .card > div span {
        color: #222222 !important;
    }
    
    .error-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .err-ico {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .quick-list {
        margin-top: 16px;
    }
    
    .quick-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    body {
        font-size: 14px;
    }
    
    .nav-item, .retry, .quick-item {
        min-height: 44px;
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 12px;
    }
    
    .title h1 {
        font-size: 20px;
    }
    
    .card {
        padding: 12px;
    }
    
    .nav-item {
        min-width: 70px;
        padding: 6px 8px;
    }
    
    .nav-item .ico {
        width: 28px;
        height: 28px;
    }
    
    .nav-item .label {
        font-size: 11px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .mobile-sidebar {
        position: relative;
    }
    
    .mobile-sidebar nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mobile-sidebar .nav-item {
        min-width: 60px;
    }
}

@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    * {
        touch-action: manipulation;
    }
}