/* ============================================================
 * 统一认证 - 响应式工具类（追加到所有页面）
 * 引用方式：<link rel="stylesheet" href="css/auth-responsive.css">
 * ============================================================ */

/* 设备检测辅助（PC 优先） */
.pc-only { display: block !important; }
.mobile-only { display: none !important; }

@media (max-width: 768px) {
    .pc-only { display: none !important; }
    .mobile-only { display: block !important; }
    .hide-on-mobile { display: none !important; }
    .show-on-mobile { display: block !important; }
    table.responsive-table thead { display: none; }
    table.responsive-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid var(--medium-gray);
        border-radius: var(--border-radius);
        padding: 8px;
        background: var(--pure-white);
    }
    table.responsive-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
        border: none;
        border-bottom: 1px dashed var(--medium-gray);
    }
    table.responsive-table tbody td:last-child { border-bottom: none; }
    table.responsive-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--dark-gray);
        margin-right: 12px;
    }
    .btn-tap {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
    .full-width-mobile { width: 100% !important; }
    .stack-mobile { flex-direction: column !important; }
    .stack-mobile > * { margin-bottom: 12px; }
}

/* 通用动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease both; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(22,93,255,0.6); }
    70% { box-shadow: 0 0 0 12px rgba(22,93,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(22,93,255,0); }
}
.pulse { animation: pulse 1.8s infinite; }

/* 拦截页 */
.device-blocked {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    padding: 24px;
    text-align: center;
}
.device-blocked .card {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 48px 32px;
    max-width: 480px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.device-blocked .icon { font-size: 72px; margin-bottom: 16px; }
.device-blocked h1 { font-size: 24px; margin-bottom: 12px; color: var(--near-black); }
.device-blocked p { color: var(--dark-gray); line-height: 1.7; margin-bottom: 24px; }
