body.axial-topic-open { overflow: hidden; }
.axial-dialog {
  box-sizing: border-box; width: min(1180px, calc(100% - 40px)); height: min(920px, calc(100dvh - 40px));
  max-width: none; max-height: none; padding: 0; border: 1px solid #736649; border-radius: 8px;
  background: #171d1b; color: #f0eee3; color-scheme: dark; overflow: hidden; letter-spacing: 0;
  font: 14px/1.65 "PingFang SC", "Microsoft YaHei", sans-serif;
}
.axial-dialog * { box-sizing: border-box; letter-spacing: 0; }
.axial-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.axial-dialog::backdrop { background: rgb(4 10 8 / 82%); }
.axial-dialog h2, .axial-dialog h3, .axial-dialog h4, .axial-dialog p { margin: 0; }
.axial-dialog button { font: inherit; color: inherit; cursor: pointer; }
.axial-dialog :focus-visible { outline: 2px solid #f1d190; outline-offset: 3px; }
.axial-header, .axial-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 26px; background: #1d2420; }
.axial-header { border-bottom: 1px solid #41483d; }
.axial-header span { color: #d7bd84; font-size: 12px; }
.axial-header h2 { font: 600 28px/1.4 "Songti SC", serif; margin-top: 3px; }
.axial-dialog .axial-close { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid #697161; border-radius: 6px; background: transparent; }
.axial-dialog .tool-icon { width: 18px; height: 18px; }
.axial-body { overflow: auto; overscroll-behavior: contain; min-height: 0; padding: 24px 26px; scrollbar-gutter: stable; }
.axial-intro { padding-bottom: 22px; border-bottom: 1px solid #41483d; }
.axial-intro h3 { font: 600 24px/1.5 "Songti SC", serif; }
.axial-intro > p { max-width: 850px; color: #c1cabf; margin-top: 10px; }
.axial-method { margin-top: 12px; font-size: 12px; color: #b8c7ba; }
.axial-method summary { width: fit-content; cursor: pointer; color: #dcc18e; min-height: 30px; padding: 4px 0; }
.axial-method p { margin: 8px 0; }
.axial-method ul { margin: 10px 0 0; padding-left: 18px; }
.axial-method li + li { margin-top: 8px; }
.axial-method a { color: #b0d7c9; overflow-wrap: anywhere; }
.axial-method small { display: block; font-size: 12px; margin-top: 6px; color: #b8c1b6; }
.axial-reading { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 24px; padding-top: 22px; }
.axial-timeline-section { min-width: 0; }
.axial-timeline-section > h3 { font-size: 17px; font-weight: 600; }
.axial-legend { color: #a8b5a9; font-size: 11px; margin-top: 5px !important; }
.axial-timeline-scroll { overflow-x: auto; overscroll-behavior-x: contain; padding: 12px 3px; }
.axial-timeline { min-width: 530px; }
.axial-ruler, .axial-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
.axial-ruler { color: #b8c1b3; font-size: 11px; padding-bottom: 9px; }
.axial-ruler > div { display: flex; justify-content: space-between; }
.axial-group { border-top: 1px solid #333f35; padding-top: 9px; }
.axial-group + .axial-group { margin-top: 8px; }
.axial-group h4 { color: var(--axial-color); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.axial-group h4 > span { margin-left: 10px; font-size: 11px; font-weight: 400; color: #a4b3a7; }
.axial-dialog .axial-row { width: 100%; padding: 6px 0; text-align: left; border: 0; border-radius: 0; background: transparent; min-height: 49px; }
.axial-row-label { display: flex; flex-direction: column; justify-content: center; padding-left: 8px; border-left: 2px solid transparent; }
.axial-row-label strong { font-size: 13px; }
.axial-row-label small { font-size: 10px; color: #a6b5a7; }
.axial-range-track { position: relative; display: block; align-self: stretch; background: repeating-linear-gradient(90deg, #41483d 0, #41483d 1px, transparent 1px, transparent 16.666667%); border-right: 1px solid #41483d; }
.axial-range { position: absolute; display: block; top: calc(50% - 6px); height: 12px; background: color-mix(in srgb, var(--axial-color) 26%, #1a211c); border: 1px solid var(--axial-color); border-radius: 2px; }
.axial-range.is-approximate { border-style: dashed; }
.axial-row:hover, .axial-row[aria-pressed="true"] { background: #28332c; }
.axial-row[aria-pressed="true"] .axial-row-label { border-left-color: #f3d393; }
.axial-row[aria-pressed="true"] strong::after { content: " ·"; color: #f3d393; }
.axial-row[aria-pressed="true"] .axial-range { background: var(--axial-color); box-shadow: 0 0 0 2px #171d1b, 0 0 0 3px #f4dcab; }
.axial-iran { border-top: 1px solid #41483d; padding-top: 8px; }
.axial-detail { border-top: 3px solid var(--axial-color); padding: 19px 0 0 20px; border-left: 1px solid #41483d; scroll-margin-top: 16px; }
.axial-detail-region { color: var(--axial-color); font-size: 12px; }
.axial-detail h3 { font: 600 30px/1.5 "Songti SC", serif; margin-top: 8px; }
.axial-period { color: #c2c8b9; font-size: 12px; margin-top: 5px !important; }
.axial-detail h4 { font-size: 17px; line-height: 1.6; margin: 24px 0 10px; }
.axial-detail > p { line-height: 1.85; }
.axial-dialog a.axial-read-link { display: inline-flex; align-items: center; padding: 9px 14px; margin-top: 14px; border: 1px solid #c4a568; border-radius: 4px; background: #d9ba7b; color: #19251e; font-size: 13px; text-decoration: none; }
.axial-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 10px 0 18px; }
.axial-detail-actions a { color: #d9c38f; font-size: 12px; }
.axial-detail-actions a.axial-read-link { margin-top: 0; }
.axial-boundary { color: #b2beb0; font-size: 12px; margin-top: 18px !important; padding-left: 12px; border-left: 2px solid #6d7258; }
.axial-reading-source { margin-top: 24px; padding-top: 14px; border-top: 1px solid #41483d; }
.axial-reading-source > span { color: #dcc18e; font-size: 11px; }
.axial-reading-source p { font-size: 13px; margin-top: 5px; }
.axial-footer { border-top: 1px solid #41483d; }
.axial-footer > span { font-size: 12px; color: #acbdaa; }
.axial-footer button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 14px; border: 1px solid #c3a366; border-radius: 6px; background: #d9ba7b; color: #19251e; font-weight: 600; }
.axial-footer button:hover { background: #ecd19a; }
@media (max-width: 800px) {
  .axial-reading { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .axial-detail { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  .axial-dialog { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .axial-header { padding: max(12px, env(safe-area-inset-top)) 16px 12px; }
  .axial-header h2 { font-size: 25px; }
  .axial-body { padding: 20px 16px; scrollbar-gutter: auto; }
  .axial-intro h3 { font-size: 21px; }
  .axial-footer { padding: 10px 16px max(12px, env(safe-area-inset-bottom)); flex-wrap: wrap; gap: 6px; }
  .axial-footer button { min-height: 44px; margin-left: auto; }
}
