/* 资料 · 思想史：沿用 sengoku.css 的时间轴、分区带、卡片面板，这里加思想史的卡片、关系线与分区颜色 */
.th{--r-cn:#E5533D;--r-jp:#E27FBB;--r-w:#4FB0E8}
.th .r-cn,.th-card .r-cn{--fc:#E5533D}.th .r-jp,.th-card .r-jp{--fc:#E27FBB}.th .r-w,.th-card .r-w{--fc:#4FB0E8}
.th-lane .sk-lane-n small{display:block;font-size:12px;opacity:.7;letter-spacing:.1em}
.th-c{position:absolute;z-index:2;width:150px;height:44px;padding:4px 9px;border:1px solid color-mix(in srgb,var(--fc) 60%,transparent);border-left:3px solid var(--fc);border-radius:7px;background:rgba(14,20,36,.94);color:var(--text);font:inherit;text-align:left;cursor:pointer;overflow:hidden;transition:opacity .2s ease,box-shadow .2s ease}
.th-c b{display:block;font-size:13px;font-weight:500;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.th-c small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.th-c.k-s{border-style:dashed;border-left-style:solid;background:color-mix(in srgb,var(--fc) 12%,#0E1424)}
.th-c.k-s b{font-style:italic}
.th-c.k-w{background:color-mix(in srgb,var(--fc) 7%,#0E1424);border-radius:2px 7px 7px 2px}
.th-c.k-w b{color:#E8E0B0}
.th-c:hover,.th-c.on{box-shadow:0 0 0 2px var(--fc);z-index:4}
.sk-line.has-focus .th-c:not(.on):not(.near){opacity:.28}
.th-edges{z-index:1}
.th-e{fill:none;stroke-width:1.5;opacity:.55}
.th-e.e-t{stroke:#D8BC7E;stroke-width:1.9}
.th-e.e-i{stroke:#6FA8E8}
.th-e.e-o{stroke:#E5533D;stroke-dasharray:6 4}
.th-e.e-m{stroke:#8D97AB;stroke-width:1;opacity:.35}
.th-e.e-x{stroke:#B07AE6;stroke-width:2.2;stroke-dasharray:2 4;stroke-linecap:round;opacity:.75}
.sk-line.has-focus .th-e{opacity:.06}
.sk-line.has-focus .th-e.on{opacity:1;stroke-width:2.6}
.th-lg{display:inline-block;width:26px;height:0;margin-right:7px;vertical-align:middle;border-top:2px solid #6FA8E8}
.th-lg.e-t{border-top-color:#D8BC7E}.th-lg.e-o{border-top:2px dashed #E5533D}.th-lg.e-m{border-top:1px solid #8D97AB}.th-lg.e-x{border-top:3px dotted #B07AE6}
.th-et.on{border-color:var(--accent);color:var(--accent)}
/* 筛选 */
.th-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:10px 0 14px}
.th-reg{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;padding:4px 8px 4px 4px;border-left:2px solid var(--fc);border-radius:0 10px 10px 0;background:color-mix(in srgb,var(--fc) 6%,transparent)}
.th-rb{height:34px;padding:0 12px;border:0;background:none;color:var(--fc);font:inherit;font-size:14px;font-weight:600;letter-spacing:.08em;cursor:pointer}
.th-rb.on{text-decoration:underline;text-underline-offset:5px}
.th-lb i{background:var(--fc)}
.th-lb.on{border-color:var(--fc);color:var(--fc)}
/* 卡片 */
.th-card .th-lab{color:var(--fc)}
.th-card .th-rel{border-color:color-mix(in srgb,var(--fc) 55%,transparent)}
.th-kw{display:inline-block;margin:0 5px 5px 0;padding:0 9px;border:1px solid var(--line);border-radius:999px;font-size:13px;line-height:1.7}
.th .sk-scroll{max-height:80vh;max-height:80svh}
