/* ============================================================
   简约 16:9 主题 — 跨区 & AI 辅助研发
   画布：1280 × 720，center: true
   配色方案 C：靛紫/琥珀
   ============================================================ */

/* ---------- 全局字体导入 ---------- */
@import url('https://fonts.font.im/css?family=Inter:400,500,600,700|JetBrains+Mono');

/* ---------- 幻灯片容器 ---------- */
.reveal .slides {
    text-align: left;
    font-weight: 400;
    background: linear-gradient(160deg, #faf9f7 0%, #f5f3f0 50%, #fdfcfa 100%);
}

/* ========== 信息图基础样式 ========== */
.infog {
    padding: 10px 20px;
    position: relative;
}

.infog .ig-badge {
    position: absolute;
    top: 4px;
    right: 12px;
    font-size: 10px;
    font-weight: 600;
    color: #9b8ec4;
    letter-spacing: 2px;
}

.infog .ig-title {
    text-align: center !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 4px 0 !important;
}

.infog .ig-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3730a3, #f59e0b);
    margin: 0 auto 4px;
    border-radius: 2px;
}

.infog .ig-subtitle {
    text-align: center !important;
    font-size: 14px !important;
    color: #7c6faa !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
}

/* 区段标题 */
.infog .ig-sec-hdr {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    padding: 0 !important;
}

.infog .ig-sec-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.infog .ig-sec-icon.fail {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.25);
}

.infog .ig-sec-icon.pass {
    background: linear-gradient(135deg, #6366f1, #3730a3);
    box-shadow: 0 2px 6px rgba(55, 48, 163, 0.25);
}

.infog .ig-sec-icon svg {
    width: 14px;
    height: 14px;
    fill: white;
}

.infog .ig-sec-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.infog .ig-sec-title.fail {
    color: #b91c1c !important;
}

.infog .ig-sec-title.pass {
    color: #3730a3 !important;
}

.infog .ig-sec-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.infog .ig-sec-tag.fail {
    background: #fee2e2;
    color: #b91c1c;
}

.infog .ig-sec-tag.pass {
    background: #e0e7ff;
    color: #3730a3;
}

/* Pipeline 容器 */
.infog .ig-pipe-wrap {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 12px 16px;
}

.infog .ig-pipe-wrap.fail {
    border: 1px dashed #d6d3d1;
}

.infog .ig-pipe-wrap.pass {
    border: 1px solid #c7d2fe;
    background: rgba(238, 242, 255, 0.5);
}

.infog .ig-pipe {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 步骤卡片 */
.infog .ig-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.infog .ig-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.infog .ig-step-icon svg {
    width: 18px;
    height: 18px;
}

.infog .ig-step-icon.fail {
    background: #f5f5f4;
    border: 1.5px dashed #d6d3d1;
}

.infog .ig-step-icon.fail svg {
    fill: #78716c;
}

.infog .ig-step-icon.pass {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 1.5px solid #3730a3;
    box-shadow: 0 2px 4px rgba(55, 48, 163, 0.1);
}

.infog .ig-step-icon.pass svg {
    fill: #3730a3;
}

.infog .ig-step-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infog .ig-step-num.fail {
    background: #e7e5e4;
    color: #78716c;
}

.infog .ig-step-num.pass {
    background: #3730a3;
    color: white;
    box-shadow: 0 1px 2px rgba(55, 48, 163, 0.4);
}

.infog .ig-step-lbl {
    font-size: 12px !important;
    font-weight: 500;
    color: #1c1917 !important;
    text-align: center;
    white-space: nowrap;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* 连接器 */
.infog .ig-conn {
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.infog .ig-conn svg {
    width: 28px;
    height: 14px;
}

.infog .ig-conn .x-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    color: white;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.4);
}

/* 分隔线 */
.infog .ig-div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.infog .ig-div-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d6d3d1, transparent);
}

.infog .ig-div-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infog .ig-div-dot svg {
    width: 11px;
    height: 11px;
    fill: #3730a3;
}

/* Callout */
.infog .ig-callout {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: linear-gradient(90deg, #fef3c7, rgba(253, 230, 138, 0.25));
    border-left: 3px solid #f59e0b;
    padding: 8px 12px;
    border-radius: 0 6px 6px 0;
    margin-top: 8px;
}

.infog .ig-callout svg {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
    flex-shrink: 0;
    margin-top: 1px;
}

.infog .ig-callout-text {
    font-size: 13px !important;
    color: #78350f !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- 页码 ---------- */
.reveal .slide-number {
    font-size: 18px;
    font-family: 'Inter', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 3px 8px;
    color: #666;
    right: 16px;
    bottom: 12px;
}

/* ---------- 进度条 ---------- */
.reveal .progress {
    height: 3px;
    background: #e5e7eb;
    color: #1d4ed8;
}

/* ---------- 标题层级 ---------- */
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
    font-family: 'Inter', 'PingFang SC', 'Helvetica Neue', 'SimHei', sans-serif;
    font-weight: 600;
    text-align: left;
    color: #111827;
    margin: 0 0 20px 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* H1：章节标题页，大而居中 */
.reveal h1 {
    font-size: 52px;
    font-weight: 700;
    text-align: center;
    color: #111827;
    padding: 0 40px;
}

/* H2：内容页标题，带左侧蓝色竖线 */
.reveal h2 {
    font-size: 34px;
    font-weight: 600;
    padding: 0 0 12px 24px;
    border-left: 5px solid #1d4ed8;
    border-bottom: none;
    color: #111827;
    margin-bottom: 24px;
}

.reveal h3 {
    font-size: 24px;
    font-weight: 500;
    color: #374151;
    padding: 0 24px;
}

/* ---------- 正文文字 ---------- */
.reveal p,
.reveal li,
.reveal center {
    font-size: 26px;
    font-family: 'Inter', 'PingFang SC', 'Helvetica Neue', 'SimSun', sans-serif;
    color: #1f2937;
    line-height: 1.65;
}

.reveal p,
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5 {
    padding: 0 40px 0 24px;
}

/* H2 的 padding 已在上面单独定义，覆盖掉通用 padding */
.reveal h2 {
    padding: 0 0 12px 24px;
}

/* ---------- 列表 ---------- */
.reveal ul {
    display: block;
    margin: 0 40px 0 48px;
}

.reveal ol {
    display: block;
    margin: 0 40px 0 48px;
}

.reveal li {
    margin-top: 12px;
}

.reveal li+li {
    margin-top: 12px;
}

/* ---------- 引用块 ---------- */
.reveal blockquote {
    background: #f0f4ff;
    border-left: 4px solid #1d4ed8;
    border-radius: 0 6px 6px 0;
    padding: 12px 20px;
    margin: 16px 24px 16px 24px;
    box-shadow: none;
    width: auto;
}

.reveal blockquote p,
.reveal blockquote li {
    font-family: 'Inter', 'PingFang SC', 'Helvetica Neue', sans-serif;
    color: #1e40af;
    font-size: 24px;
    padding: 0;
    margin: 0;
}

.reveal .middle blockquote {
    text-align: center;
    background: none;
    border: none;
    color: #1d4ed8;
    box-shadow: none;
}

.reveal .middle blockquote p {
    color: #1d4ed8;
    font-size: 26px;
}

/* ---------- 代码块 ---------- */
.reveal pre {
    font-size: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 20px;
    margin: 0 24px 0 24px;
    box-shadow: none;
    width: auto;
}

.reveal pre code {
    max-height: none;
    color: #1e293b;
}

.reveal code {
    font-family: 'JetBrains Mono', 'Inconsolata', 'Menlo', monospace;
    font-size: 0.9em;
    background: #f1f5f9;
    padding: 1px 5px;
    border-radius: 3px;
    color: #0f172a;
}

.reveal pre code {
    background: transparent;
    padding: 0;
}

/* ---------- 表格 ---------- */
.reveal table {
    font-size: 24px;
    font-family: 'Inter', 'PingFang SC', 'Helvetica Neue', sans-serif;
    margin: 12px auto;
    border-collapse: collapse;
    width: 90%;
}

.reveal th {
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 16px;
}

.reveal td {
    padding: 8px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
}

.reveal tr:nth-child(even) td {
    background: #f8fafc;
}

.reveal tr:nth-child(odd) td {
    background: #ffffff;
}

/* ---------- H1 页垂直居中辅助（.middle） ---------- */
.reveal .middle {
    height: 720px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    flex-direction: column;
}

.reveal .center {
    text-align: center;
}

/* ---------- 图片 ---------- */
section .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.reveal .float-right {
    float: right;
    margin-left: 20px;
}

/* ---------- 分隔线（<hr> 在 jyyslide 中做空行） ---------- */
.reveal hr {
    border: none;
    border-top: 1px solid transparent;
    margin: 14px 0;
}

/* ---------- 链接 ---------- */
.reveal a {
    color: #1d4ed8;
    text-decoration: none;
}

.reveal a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ---------- 作者信息 ---------- */
.reveal .author-block {
    margin: 60px 0 30px 0;
    text-align: center;
}

.reveal .author-block p,
.reveal .author-affiliation p {
    font-family: 'Inter', 'PingFang SC', sans-serif;
    margin-block-start: 0;
    margin-block-end: 0;
}

.reveal .author-affiliation {
    display: inline-block;
    font-size: 90%;
}

.reveal .author-affiliation img {
    margin: 12px 0 0 0;
}

/* ---------- Fragment 动画 ---------- */
.reveal .fragment {
    opacity: 0;
}

.reveal .fragment.visible {
    opacity: 1;
}

/* ================================================================
   信息图扩展组件 — 统一视觉风格
   ================================================================ */

/* ---------- 内容页垂直居中 ---------- */
.reveal section>.ig-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 640px;
    padding: 20px 40px;
}

/* ---------- 章节封面页 ---------- */
.ig-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 640px;
    text-align: center;
}

.ig-cover .ig-title {
    font-size: 44px !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

.ig-cover .ig-title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3730a3, #f59e0b);
    margin: 0 auto 12px;
    border-radius: 2px;
}

.ig-cover .ig-subtitle {
    font-size: 18px !important;
    color: #6b64a0 !important;
    margin: 0 !important;
    padding: 0 16px !important;
    line-height: 1.6 !important;
    max-width: 700px;
}

.ig-cover .ig-badge {
    font-size: 11px;
    font-weight: 600;
    color: #9b8ec4;
    letter-spacing: 2px;
    margin-top: 16px;
}

/* ---------- 页面标题（非封面内容页） ---------- */
.ig-page-hdr {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 !important;
}

.ig-page-hdr .ig-page-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #3730a3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(55, 48, 163, 0.25);
}

.ig-page-hdr .ig-page-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.ig-page-hdr .ig-page-icon.amber {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.ig-page-hdr .ig-page-icon.fail {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.25);
}

.ig-page-hdr .ig-page-icon.green {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.ig-page-hdr .ig-page-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.3 !important;
}

.ig-page-hdr .ig-page-tag {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 500;
    background: #e0e7ff;
    color: #3730a3;
    white-space: nowrap;
}

/* ---------- 卡片网格组件 (.ig-cards) ---------- */
.ig-cards {
    display: grid;
    gap: 12px;
    margin: 8px 0;
}

.ig-cards.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.ig-cards.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.ig-cards.cols-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.ig-cards.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.ig-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: box-shadow 0.2s;
}

.ig-card:hover {
    box-shadow: 0 4px 12px rgba(55, 48, 163, 0.1);
}

.ig-card.highlighted {
    border-color: #3730a3;
    background: rgba(238, 242, 255, 0.6);
    box-shadow: 0 2px 8px rgba(55, 48, 163, 0.12);
}

.ig-card.fail {
    border-color: #fecaca;
    background: rgba(254, 242, 242, 0.5);
}

.ig-card.amber {
    border-color: #fde68a;
    background: rgba(255, 251, 235, 0.5);
}

.ig-card .ig-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 1.5px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ig-card .ig-card-icon svg {
    width: 16px;
    height: 16px;
    fill: #3730a3;
}

.ig-card .ig-card-icon.amber {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fde68a;
}

.ig-card .ig-card-icon.amber svg {
    fill: #d97706;
}

.ig-card .ig-card-icon.fail {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-color: #fecaca;
}

.ig-card .ig-card-icon.fail svg {
    fill: #b91c1c;
}

.ig-card .ig-card-icon.green {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #a7f3d0;
}

.ig-card .ig-card-icon.green svg {
    fill: #059669;
}

.ig-card .ig-card-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.ig-card .ig-card-desc {
    font-size: 13px !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ig-card .ig-card-tag {
    display: inline-block;
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 8px;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 500;
    align-self: flex-start;
}

.ig-card .ig-card-tag.amber {
    background: #fef3c7;
    color: #92400e;
}

.ig-card .ig-card-tag.fail {
    background: #fee2e2;
    color: #b91c1c;
}

.ig-card .ig-card-tag.green {
    background: #d1fae5;
    color: #065f46;
}

/* ---------- 统计数据网格 (.ig-stat-grid) ---------- */
.ig-stat-grid {
    display: grid;
    gap: 12px;
    margin: 12px 0;
}

.ig-stat-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.ig-stat-grid.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.ig-stat {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
}

.ig-stat .ig-stat-num {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #3730a3 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.ig-stat .ig-stat-num.amber {
    color: #d97706 !important;
}

.ig-stat .ig-stat-num.green {
    color: #059669 !important;
}

.ig-stat .ig-stat-label {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.ig-stat .ig-stat-detail {
    font-size: 11px !important;
    color: #9ca3af !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
}

/* ---------- 对比面板 (.ig-compare) ---------- */
.ig-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    margin: 12px 0;
    align-items: stretch;
}

.ig-compare-side {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ig-compare-side.left {
    border: 1px dashed #d6d3d1;
}

.ig-compare-side.right {
    border: 1px solid #c7d2fe;
    background: rgba(238, 242, 255, 0.5);
}

.ig-compare-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

.ig-compare-divider .ig-compare-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #3730a3;
    font-weight: 700;
}

.ig-compare-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ig-compare-label.fail {
    color: #b91c1c !important;
}

.ig-compare-label.pass {
    color: #3730a3 !important;
}

.ig-compare-content {
    font-size: 14px !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ig-compare-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 2px 0 !important;
    padding: 0 !important;
}

/* ---------- 时间轴 (.ig-timeline) ---------- */
.ig-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.ig-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, #c7d2fe, #3730a3);
    border-radius: 1px;
}

.ig-tl-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 6px 0;
    position: relative;
}

.ig-tl-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 2px solid #3730a3;
    flex-shrink: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ig-tl-dot.active {
    background: linear-gradient(135deg, #6366f1, #3730a3);
    box-shadow: 0 2px 6px rgba(55, 48, 163, 0.3);
}

.ig-tl-dot.active svg {
    width: 12px;
    height: 12px;
    fill: white;
}

.ig-tl-content {
    flex: 1;
    padding-top: 1px;
}

.ig-tl-date {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #3730a3 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ig-tl-text {
    font-size: 14px !important;
    color: #4b5563 !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* ---------- 图片画廊 (.ig-img-gallery) ---------- */
.ig-img-gallery {
    display: grid;
    gap: 10px;
    margin: 8px 0;
}

.ig-img-gallery.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.ig-img-gallery.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.ig-img-item {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
}

.ig-img-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    max-height: 360px;
    object-fit: contain;
}

.ig-img-item .ig-img-label {
    font-size: 11px !important;
    color: #6b7280 !important;
    margin: 6px 0 0 0 !important;
    padding: 0 !important;
    font-weight: 500;
}

/* ---------- 引用卡片 (.ig-quote-box) ---------- */
.ig-quote-box {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 12px 0;
    text-align: center;
    position: relative;
}

.ig-quote-box::before {
    content: '"';
    position: absolute;
    top: -4px;
    left: 16px;
    font-size: 48px;
    color: #c7d2fe;
    font-family: Georgia, serif;
    line-height: 1;
}

.ig-quote-box .ig-quote-text {
    font-size: 20px !important;
    color: #1e1b4b !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

.ig-quote-box .ig-quote-sub {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* ---------- 信息图表格 (.ig-table) ---------- */
.ig-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0;
    font-size: 14px;
    border: 1px solid #e0e7ff;
}

.ig-table th {
    background: linear-gradient(135deg, #3730a3, #4338ca) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    text-align: left;
    border: none !important;
}

.ig-table td {
    padding: 9px 14px !important;
    color: #374151 !important;
    font-size: 13px !important;
    border-bottom: 1px solid #eef2ff !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

.ig-table tr:nth-child(even) td {
    background: rgba(238, 242, 255, 0.3) !important;
}

.ig-table tr:last-child td {
    border-bottom: none !important;
}

.ig-table .ig-table-highlight td {
    background: rgba(238, 242, 255, 0.6) !important;
    font-weight: 600;
    color: #3730a3 !important;
}

/* ---------- 信息图代码块 (.ig-code-block) ---------- */
.ig-code-block {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0;
}

.ig-code-block .ig-code-header {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #3730a3;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e0e7ff;
}

.ig-code-block .ig-code-header svg {
    width: 12px;
    height: 12px;
    fill: #3730a3;
}

.ig-code-block pre {
    margin: 0 !important;
    padding: 12px 16px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 13px !important;
}

.ig-code-block code {
    background: transparent !important;
    font-size: 13px !important;
    color: #1e293b !important;
    line-height: 1.6 !important;
}

/* ---------- 列表风格卡片内嵌列表 ---------- */
.ig-list {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.ig-list li {
    font-size: 14px !important;
    color: #374151 !important;
    padding: 4px 0 4px 18px !important;
    position: relative;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.ig-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3730a3;
}

.ig-list.amber li::before {
    background: #f59e0b;
}

.ig-list.fail li::before {
    background: #ef4444;
}

/* ---------- 通用工具类 ---------- */
.ig-text-sm {
    font-size: 13px !important;
}

.ig-text-muted {
    color: #6b7280 !important;
}

.ig-text-center {
    text-align: center !important;
}

.ig-mt-8 {
    margin-top: 8px !important;
}

.ig-mt-12 {
    margin-top: 12px !important;
}

.ig-mb-8 {
    margin-bottom: 8px !important;
}

.ig-gap-16 {
    gap: 16px !important;
}

.ig-highlight {
    background: linear-gradient(90deg, #fef3c7, transparent);
    padding: 2px 6px;
    border-radius: 3px;
}

.ig-badge-inline {
    display: inline-block;
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}

.ig-badge-inline.pass {
    background: #d1fae5;
    color: #065f46;
}

.ig-badge-inline.fail {
    background: #fee2e2;
    color: #b91c1c;
}

.ig-badge-inline.amber {
    background: #fef3c7;
    color: #92400e;
}

.ig-badge-inline.indigo {
    background: #e0e7ff;
    color: #3730a3;
}

/* fragment 兼容 */
.infog .fragment {
    opacity: 0;
}

.infog .fragment.visible {
    opacity: 1;
}