/* tpl-toc.css — 模板·横版目录：目录页眉（目录 CONTENT）+ 编号圆标横排（还原北大红 PPT 目录，圆标居中、留白充足）。 */

  /* 目录页眉 */
  .tpl-bar-head { display: flex; justify-content: space-between; align-items: flex-start; flex-shrink: 0; margin-bottom: clamp(8px, 1vh, 12px); }
  .tpl-bar-head-left .cn { font-size: clamp(1.6em, 2.6vw, 2.1em); font-weight: 800; color: var(--pku-red); margin-right: 10px; }
  .tpl-bar-head-left .en { font-size: clamp(0.82em, 1.2vw, 0.98em); font-weight: 700; color: #b0b0b0; letter-spacing: 0.14em; }

  /* 起始导语 */
  .tpl-h-toc-lead { flex-shrink: 0; text-align: center; font-weight: 700; color: var(--pku-red); margin: 0 0 clamp(24px, 4vh, 44px); font-size: clamp(1.02em, 1.5vh, 1.24em); line-height: 1.55; min-height: 1.55em; }
  .tpl-h-toc-lead strong { color: var(--pku-red-dark); }

  /* 横版目录：编号圆标横排，三列顶部对齐（圆标同一水平线） */
  .tpl-h-toc-items {
    flex: 1; min-height: 0;
    display: flex; justify-content: space-between; align-items: stretch;
    width: 100%; gap: 0; flex-wrap: nowrap;
  }
  .tpl-h-toc-item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    flex: 1 1 0; min-width: 0; max-width: none;
    padding: 0 clamp(10px, 1.4vw, 22px);
  }
  .tpl-h-toc-item:not(:first-child) {
    border-left: 1px dashed rgba(148, 7, 10, 0.32);
  }
  .tpl-h-toc-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: clamp(72px, 10vh, 104px); height: clamp(72px, 10vh, 104px); border-radius: 50%;
    background: linear-gradient(150deg, var(--pku-red) 0%, var(--pku-red-dark) 100%);
    color: #fff; font-weight: 800; font-size: clamp(1.5em, 2.6vh, 2.1em);
    margin-bottom: clamp(16px, 2.2vh, 26px);
    box-shadow: 0 6px 18px rgba(126,24,28,0.28);
  }
  .tpl-h-toc-label {
    display: block; font-weight: 800; color: var(--pku-red);
    font-size: clamp(1.05em, 1.75vh, 1.38em); line-height: 1.35;
    margin-bottom: clamp(8px, 1.2vh, 14px);
    white-space: nowrap; max-width: 100%;
  }
  .tpl-h-toc-desc {
    display: block; font-size: clamp(0.88em, 1.2vh, 1em); font-weight: 500; color: #555;
    line-height: 1.65; max-width: min(100%, 22em);
  }
  .tpl-h-toc-desc strong { color: var(--pku-red); font-weight: 700; }
