/* =========================================================
   通用组件：卡片、按钮、标签、空状态等
   源文件行号：290-322
   ========================================================= */

/* ============ 通用 ============ */
.warning-box {
    background: #F4EFE6; border-left: 4px solid #D4B87E; border-radius: 4px;
    padding: 10px 12px; padding-right: 30px; display: flex; gap: 8px; position: relative;
    margin-bottom: 14px;
}
.warning-box.hidden { display: none; }
.warning-box .warn-icon { color: #D38A24; font-size: 15px; line-height: 1.4; flex-shrink: 0; }
.warning-box p { font-size: 12px; color: #5C4A3D; line-height: 1.55; }
.warning-box .close-btn {
    position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
    background: transparent; border: none; color: #B99A6B; font-size: 15px; line-height: 1;
    cursor: pointer; display: flex; justify-content: center; align-items: center;
    padding: 0; font-family: inherit;
}
.warning-restore {
    display: none; font-size: 12px; color: var(--accent-gold); background: transparent;
    border: none; cursor: pointer; padding: 0; margin-bottom: 10px; font-family: inherit;
    text-decoration: underline; text-underline-offset: 2px;
}
.warning-restore.show { display: inline-block; }

.page-header { padding: 20px 20px 0 20px; display: flex; align-items: center; gap: 10px; }
.page-header .back-btn {
    font-size: 22px; color: var(--accent-gold); cursor: pointer; background: transparent;
    border: none; font-family: inherit; padding: 0 6px 0 0; line-height: 1;
}
.page-header h1 { font-size: 20px; font-weight: 700; color: var(--text-main); letter-spacing: 1px; }

.observe-content { padding-top: 20px; margin-bottom: 16px; }
.observe-content h1 { font-size: 20px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; letter-spacing: 1px; }
.observe-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
