* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    min-height: 100vh;
    color: #0f172a;
}

.screen {
    display: none;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.screen.active { display: flex; }

.box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.icon { font-size: 3rem; margin-bottom: 16px; }
.icon.warn { color: #f59e0b; }
.icon.ok { color: #22c55e; }
.icon.err { color: #ef4444; }

.sub {
    color: #64748b;
    font-size: 0.92rem;
    margin: 12px 0 24px;
    line-height: 1.6;
    word-break: break-all;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: #0ea5e9;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

/* 安全检测加载 */
.security-container {
    text-align: center;
    color: #0369a1;
}
.shield-icon {
    font-size: 4.5rem;
    margin-bottom: 18px;
    animation: pulse 2s infinite;
}
.loader {
    width: 52px;
    height: 52px;
    border: 5px solid #bae6fd;
    border-top: 5px solid #0369a1;
    border-radius: 50%;
    margin: 18px auto;
    animation: spin 1s linear infinite;
}
.status-text {
    margin-top: 14px;
    font-size: 1.05rem;
    opacity: 0.95;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}