/* 全局移动端极致对齐与触感重置 */
* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #F4F1EA;
  color: #1C1C1E;
  letter-spacing: 0.01em;
}

/* 🎯 专注计次与日思录标题的字形大小极致等大配平 */
.custom-section-title {
  display: block;
  text-align: left;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #8C867A !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: 0.05em !important;
  font-family: 'Iowan Old Style', 'Palatino Linotype', 'Songti SC', serif !important;
}

/* 隐秘高清滚动条 */
.lap-scroll::-webkit-scrollbar {
  width: 2px;
}
.lap-scroll::-webkit-scrollbar-thumb {
  background-color: #BCB4A5;
  border-radius: 999px;
}

/* 真实 DOM 像素级交错对齐 S 型时间轴容器 */
.s-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 节点物理包装：严格控制垂直身位错落间距 */
.s-node-row {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}
.s-node-row:last-child {
  margin-bottom: 10px;
}

/* 核心画图圆圈尺寸锁死 */
.s-circle {
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 999px !important;
  border: 1.5px solid #1E3A27 !important;
  background-color: #F4F1EA !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(30,58,39,0.06);
  z-index: 20;
  flex-shrink: 0;
}

.s-circle svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  color: #1E3A27;
}

/* 100% 兼容 html2canvas 截图的真实 DOM 实线/虚线连线样式 */
.s-line-v {
  position: absolute;
  left: 50%;
  width: 1.5px;
  border-left: 1.5px dashed rgba(30, 58, 39, 0.4);
  z-index: 5;
  transform: translateX(-50%);
}
/* =========================================================================
 * 🎯 [精准重构] 彻底根治截图错位的 真·复古橙荧光笔特效
 * ========================================================================= */
/* =========================================================================
 * 🎯 [终极方案] 彻底锁定 html2canvas 渲染矩阵线，实现 100% 贴合、永不错位的真·荧光笔
 * ========================================================================= */
#report-coach,
#report-sop {
  width: 100% !important;
  display: block !important;

  word-break: break-word !important;
  overflow-wrap: break-word !important;

  line-height: 1.9 !important;
}

.highlight-text {
  font-weight: 700 !important;
  color: #1C1C1E !important;

  background-color: rgba(224,122,95,0.22) !important;

  padding: 0 3px !important;

  border-radius: 2px !important;

  box-decoration-break: clone !important;
  -webkit-box-decoration-break: clone !important;
}

#report-coach strong,
#report-sop strong {
  color: #1C1C1E !important;
  font-weight: 700 !important;

  display: inline !important;
  line-height: inherit !important;

  background-color: rgba(224, 122, 95, 0.22) !important;

  padding: 0 3px !important;

  border-radius: 2px !important;

  box-decoration-break: clone !important;
  -webkit-box-decoration-break: clone !important;
}
/* 彻底清空干扰 html2canvas 渲染高度计算的旧伪元素层 */
/* =========================================================================
   * 🎯 【终极呈现方案重构】全面抹除物理边框与框体，用纯字形基准线免疫截图位移
   * ========================================================================= */

/* 1. 彻底抹除 1, 2, 3 数字圆圈的外壳边框和背景，将其伪装隐藏，准备替换 */
#poster-capture span.w-4.h-4, 
.html2canvas-history-fix span.w-4.h-4 {
  background: transparent !important;
  border: none !important;
  color: transparent !important; /* 隐藏原本会下沉的原生数字 */
  position: relative !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
}

/* 2. 利用 CSS 伪元素，在原本圆圈的位置注入绝不可能发生物理错位的标准加粗黑底白字字形符号 (❶, ❷, ❸) */
.html2canvas-history-fix h3:has(span):nth-of-type(1)::before {
  content: "❶ " !important; font-size: 15px !important; color: #1E3A27 !important; font-weight: bold !important; vertical-align: middle !important;
}
.html2canvas-history-fix h3:has(span):nth-of-type(2)::before {
  content: "❷ " !important; font-size: 15px !important; color: #1E3A27 !important; font-weight: bold !important; vertical-align: middle !important;
}
.html2canvas-history-fix h3:has(span):nth-of-type(3)::before {
  content: "❸ " !important; font-size: 15px !important; color: #1E3A27 !important; font-weight: bold !important; vertical-align: middle !important;
}

/* 3. 彻底抹除右上角“极简自律”的背景色、边框、阴影，让其变为纯文字图标形式，与日期绝对水平对齐 */
#poster-capture span.rounded-full, 
.html2canvas-history-fix span.rounded-full {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: bold !important;
  color: #1E3A27 !important;
  display: inline-block !important;
}

/* 确保计次图标容器内部的 SVG 能够完美等比缩放 */
.w-10.h-10 svg, .w-9.h-9 svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
/* 🎯 历史勋章卡片底部金句错位大锁死 */
.html2canvas-history-fix #report-watermark {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: rgba(30, 58, 39, 0.04) !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}