* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
        'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f5f6fa;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 420px;
}

/* 状态卡片 */
.status-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e8e8e8;
    border-top: 3px solid #07c160;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.status-text {
    font-size: 15px;
    color: #666;
}

/* 参数卡片 */
.params-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.params-card h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.param-list {
    margin-bottom: 20px;
}

.param-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
}

.param-item:last-child {
    border-bottom: none;
}

.param-label {
    font-size: 13px;
    color: #999;
    min-width: 80px;
}

.param-value {
    font-size: 13px;
    color: #333;
    word-break: break-all;
    text-align: right;
    flex: 1;
    margin-left: 12px;
    font-family: 'SF Mono', 'Consolas', monospace;
}

/* 按钮 */
.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    text-align: center;
}

.btn:active {
    opacity: 0.8;
}

.btn-primary {
    background: #07c160;
    color: #fff;
}

.btn-secondary {
    background: #f0f0f0;
    color: #666;
}

/* 错误卡片 */
.error-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.error-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #ff4d4f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon::after {
    content: '!';
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}

.error-text {
    font-size: 14px;
    color: #ff4d4f;
    margin-bottom: 24px;
    line-height: 1.6;
}
