@media (max-width: 768px) {
}.lineage-card {
  padding: 20px;
}
.lineage-canvas {
  overflow-x: auto;
  padding-bottom: 8px;
}
.lineage-tree,
.lineage-tree ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lineage-tree {
  width: max-content;
  min-width: 100%;
}
.lineage-tree ul {
  position: relative;
  padding-top: 20px;
}
.lineage-tree ul.tight,
.lineage-tree.compact ul {
  width: 0;
  overflow: visible;
}
.lineage-tree li {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 20px 4px 0;
}
.lineage-tree > li {
  padding-top: 0;
}
.lineage-tree li::before,
.lineage-tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: 20px;
  border-top: 1px solid var(--line-strong);
}
.lineage-tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid var(--line-strong);
}
.lineage-tree li:only-child::before,
.lineage-tree li:only-child::after {
  display: none;
}
.lineage-tree li:only-child {
  padding-top: 0;
}
.lineage-tree li:first-child::before,
.lineage-tree li:last-child::after {
  border: 0 none;
}
.lineage-tree li:last-child::before {
  border-right: 1px solid var(--line-strong);
  border-radius: 0 6px 0 0;
}
.lineage-tree li:first-child::after {
  border-radius: 6px 0 0 0;
}
.lineage-tree > li::before,
.lineage-tree > li::after {
  display: none;
}
.lineage-canvas > .lineage-tree + .lineage-tree {
  margin-top: 16px;
}
.lineage-tree.forest {
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px 20px;
}
.lineage-tree.forest > li {
  padding-top: 0;
}
.lineage-tree li > ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 20px;
  border-left: 1px solid var(--line-strong);
}
.lineage-person {
  display: flex;
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 56px;
  max-width: 240px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-bg);
  color: var(--primary-text-color);
  text-align: center;
}
.lineage-couple {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}
.lineage-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
a.lineage-name {
  color: var(--primary-text-color);
  text-decoration: none;
}
a.lineage-name:hover {
  color: var(--primary-color);
}
a.lineage-name:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-color) 55%, transparent);
  outline-offset: 2px;
}
.lineage-name {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lineage-role {
  font-size: 12px;
  color: var(--sec-text-color);
}
.lineage-note {
  max-width: 88px;
  font-size: 10px;
  color: var(--third-text-color);
  line-height: 1.5;
}
.lineage-wed {
  flex: none;
  align-self: flex-start;
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
  color: var(--third-text-color);
}
.lineage-house-sub {
  font-size: 12px;
  color: var(--third-text-color);
  letter-spacing: 0;
}
.lineage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.lineage-table th,
.lineage-table td {
  padding: 4px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.lineage-table th {
  font-weight: 500;
  color: var(--sec-text-color);
}
.lineage-table tbody tr:hover {
  background: var(--surface-bg);
}
.lineage-tip {
  position: fixed;
  z-index: 60;
  max-width: 260px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-bg);
  color: var(--primary-text-color);
  font-size: 12px;
  line-height: 1.6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s;
}
.lineage-tip.is-open {
  opacity: 1;
}
.lineage-tree [data-note] {
  cursor: help;
}
@media (max-width: 768px) {
  .lineage-card {
    padding: 12px;
  }
  .lineage-person {
    min-width: 48px;
    max-width: 120px;
    padding: 4px;
  }
  .lineage-name {
    font-size: 12px;
  }
}
:root {
  --page-bg: #f7f8f6;
  --line: #dfe5e2;
  --primary-color: #3F6078;
  --gold: #A8802E;
  --jade: #6E5A8E;
}
html[data-theme="dark"] {
  --ink: #E4EAEC;
  --primary-text-color: #DDE6E9;
  --primary-color: #8FB2C9;
  --jade: #A99AC2;
  --deep: #0E1417;
}
.hero-l .k {
  color: var(--jade);
}
.dhero .dav.camp-zheng {
  background: #3F6078;
  border-color: #3F6078;
  color: #fff;
}
.dhero .dav.camp-xie {
  background: #8C3A32;
  border-color: #8C3A32;
  color: #fff;
}
.dhero .dav.camp-pang {
  background: #6E5A8E;
  border-color: #6E5A8E;
  color: #fff;
}
.dhero .dav.camp-zhongli {
  background: #6B6F66;
  border-color: #6B6F66;
  color: #fff;
}
.dhero .dav.camp-weiding {
  background: #5E6A70;
  border-color: #5E6A70;
  color: #fff;
}
.lineage-card .lineage-canvas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.lineage-card .lineage-tree {
  min-width: 0;
  flex: 0 0 auto;
}
.card .gav {
  color: var(--primary-color);
}
.card .box-blue {
  white-space: nowrap;
}
.stats-table .u {
  font-variant-numeric: tabular-nums;
}
.list-table th:nth-last-child(2),
.list-table td:nth-last-child(2),
.list-table th:last-child,
.list-table td:last-child {
  min-width: 260px;
}
.tl-page .tl {
  padding-left: 0;
}
.tl-page .tl-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  background: var(--surface-bg);
  border-bottom: 1px dashed var(--line);
}
.tl-page .tl-item:last-child {
  border-bottom: 0;
}
.tl-page .tl-no {
  font-size: 12px;
  color: var(--third-text-color);
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
}
.tl-page .tl-body {
  min-width: 0;
  padding-left: 8px;
  border-left: 2px solid transparent;
}
.tl-page .tl-ev + .tl-ev {
  margin-top: 8px;
}
.tl-page .tl-item.major .tl-no {
  color: var(--primary-color);
}
.tl-page .tl-item.major .tl-body {
  border-left-color: color-mix(in srgb, var(--primary-color) 45%, transparent);
}
.tl-page .tl-ev summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}
.tl-page .tl-ev summary::-webkit-details-marker {
  display: none;
}
.tl-page .tl-ev summary::before {
  content: '▸';
  color: var(--third-text-color);
  font-size: 12px;
}
.tl-page .tl-ev[open] summary::before {
  content: '▾';
}
.tl-page .tl-jump {
  margin-top: 12px;
}
.tl-page .tl-jump a {
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-size: 12px;
  color: var(--sec-text-color);
}
.tl-page .tl-jump a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.tl-page .tl-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 0;
}
.tl-page .tl-meta-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.tl-page .tl-meta dt {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--third-text-color);
  line-height: 22px;
}
.tl-page .tl-meta dt .iconfont {
  font-size: 14px;
}
.tl-page .tl-meta dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.tl-page .stage + .stage {
  margin-top: 20px;
}
.tl-page .stage + .stage .stage-head {
  border-top: 1px solid var(--line-strong);
  padding-top: 12px;
}
@media (max-width: 768px) {
  .tl-page .tl-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 8px;
  }
  .tl-page .tl-meta-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }
}
/*# sourceMappingURL=shushanjianxiazhuan.css.map */