/* ===== 移动端专属样式（≤768px & ≤360px）已解密 ===== */

@media (max-width: 768px) {
    /* 顶部标题栏 */
    .app-header {
        padding: 16px 0;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    .header-content {
        padding: 0 12px;
    }
    .header-main {
        gap: 16px;
    }
    .title-icon {
        width: 24px;
        height: 24px;
    }
    .title-content h1 {
        font-size: 20px;
    }
    .subtitle {
        font-size: 12px;
        padding: 4px 10px 0;
        line-height: 1.4;
    }

    /* 统计卡片 */
    .header-stats {
        gap: 12px;
        margin: 4px 0;
    }
    .stat-value {
        font-size: 16px;
        margin-bottom: 2px;
    }
    .stat-label {
        font-size: 11px;
    }

    /* 顶部按钮 */
    .header-actions {
        gap: 8px;
    }
    .header-action-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 90px;
    }
    .action-icon {
        width: 14px;
        height: 14px;
    }

    /* 上传区域 */
    .upload-container {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .upload-group {
        gap: 12px;
        margin-bottom: 16px;
    }
    .upload-content {
        padding: 12px;
        gap: 12px;
    }
    .upload-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    .upload-icon {
        width: 24px;
        height: 24px;
    }
    .upload-label {
        font-size: 14px;
        margin-bottom: 2px;
    }
    .upload-hint {
        font-size: 12px;
    }
    .selected-file {
        padding: 4px 6px;
        margin-top: 6px;
    }
    .file-name {
        font-size: 12px;
    }
    .clear-file {
        width: 16px;
        height: 16px;
    }
    .clear-file svg {
        width: 14px;
        height: 14px;
    }

    /* 密码框 */
    .password-box {
        margin-bottom: 16px;
    }
    .password-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .password-input-wrapper input {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 10px;
    }
    .toggle-password {
        right: 8px;
    }
    .eye-icon {
        width: 16px;
        height: 16px;
    }

    /* 检测按钮 */
    .check-button {
        height: 44px;
        font-size: 15px;
        border-radius: 10px;
    }

    /* 结果区域 */
    .result-section {
        padding: 16px;
        margin-top: 24px;
        border-radius: 16px;
    }
    .status-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .status-tag {
        padding: 6px 10px;
        font-size: 12px;
    }
    .status-tag svg {
        width: 14px;
        height: 14px;
    }

    /* 信息网格 */
    .info-section {
        margin-bottom: 16px;
    }
    .info-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .info-item {
        padding: 10px;
    }
    .label {
        font-size: 12px;
    }
    .value {
        font-size: 13px;
    }

    /* 设备列表 */
    .devices-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .device-item {
        padding: 12px;
    }
    .device-icon {
        width: 28px;
        height: 28px;
    }
    .device-number {
        font-size: 12px;
    }
    .device-udid {
        font-size: 11px;
    }

    /* 权限网格 —— 这里原来是 1fr，已解密 */
    .permissions-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .permission-card {
        padding: 10px;
    }
    .permission-name {
        font-size: 12px;
    }
    .permission-icon {
        width: 14px;
        height: 14px;
    }

    /* 企业证书提示 */
    .enterprise-notice {
        padding: 12px;
        gap: 10px;
    }
    .notice-icon {
        width: 24px;
        height: 24px;
    }
    .notice-icon svg {
        width: 20px;
        height: 20px;
    }
    .notice-text p {
        font-size: 13px;
    }
    .notice-detail {
        font-size: 11px !important;
        margin-top: 4px !important;
    }

    /* 页脚 */
    .app-footer {
        padding: 16px 0;
    }
    .copyright {
        font-size: 12px;
    }
}

/* ===== 超小屏（≤360px）再压缩 ===== */
@media (max-width: 360px) {
    .app-container {
        padding: 12px;
    }
    .title-content h1 {
        font-size: 18px;
    }
    .subtitle {
        font-size: 11px;
    }
    .header-actions {
        grid-template-columns: 1fr;
    }
    .header-action-btn {
        width: 100%;
    }
    .upload-container {
        padding: 16px 12px;
    }
    .check-button {
        height: 40px;
        font-size: 14px;
    }
}