/* 《末日期权交易 SOP》阅读器：在 book.css 之上做薄覆盖 */
.book-title{font-size:2.9em;letter-spacing:10px}
.book-cover{padding:44px 0 26px}
.book-cover .book-title br{line-height:1.25}

.sop-lockline{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line);
  color:var(--e600);font-size:.92em;letter-spacing:.5px}

.sop-toc-wrap{max-width:860px;margin:34px auto 6px}
.sop-group{margin-bottom:26px}
.sop-group-h{font-family:"Noto Serif SC",serif;font-size:1.06em;color:var(--deep);
  letter-spacing:2px;padding:0 4px 10px;border-bottom:1px solid var(--line-soft);margin-bottom:12px}
.sop-toc{grid-template-columns:1fr;gap:8px;max-width:none}
.sop-toc li a{padding:11px 16px;align-items:center}
.sop-toc .toc-no{min-width:52px;color:var(--p600)}
.sop-toc .toc-title{flex:1 1 auto}
.toc-lock{flex:0 0 auto;display:inline-flex;width:14px;height:14px;color:var(--ink-mute);opacity:.5}
.toc-lock svg{width:14px;height:14px}
.sop-lockline::before{content:"";display:inline-block;width:13px;height:13px;margin-right:7px;
  vertical-align:-2px;background:currentColor;opacity:.55;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><rect x='4.5' y='10.5' width='15' height='9.5' rx='2.2'/><path d='M8 10.5V7.4a4 4 0 0 1 8 0v3.1'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><rect x='4.5' y='10.5' width='15' height='9.5' rx='2.2'/><path d='M8 10.5V7.4a4 4 0 0 1 8 0v3.1'/></svg>") center/contain no-repeat}
.paywall-icon{color:var(--p500)}
.paywall-icon svg{width:34px;height:34px}

/* 正文微调：数据表更紧、公式与数字等宽 */
.book-body .book-table{font-size:.82em}
.book-body .book-table th{white-space:normal}
.book-body .book-table td{font-variant-numeric:tabular-nums}
.book-body p.note{color:var(--ink-mute);font-size:.94em;border-left:3px solid var(--p100);
  padding-left:14px;margin:0 0 18px}
.book-body figure.book-fig img{max-width:100%;height:auto}

/* 繁体模式下标题字距略收 */
html[lang="zh-Hant"] .book-chapter-title{letter-spacing:.5px}

@media(max-width:680px){
  .book-title{font-size:2.2em;letter-spacing:6px}
  .sop-toc li a{padding:10px 13px}
  .sop-toc .toc-no{min-width:44px;font-size:.86em}
  .sop-toc .toc-title{font-size:.86em;line-height:1.55}
}
