
.fc-result.fx-result {
  --fx-ink: #342f35;
  --fx-muted: #716b73;
  --fx-line: #e7e3e8;
  --fx-paper: #fffefc;
  --fx-accent: #594296;
  --fc-ink: var(--fx-ink);
  --fc-muted: var(--fx-muted);
  --fc-line: var(--fx-line);
  --fc-paper: var(--fx-paper);
  --fc-purple: var(--fx-accent);
  width: 100%; max-width: 760px; margin: 0 auto;
  padding: 28px 24px 112px;
  background: var(--fx-paper); color: var(--fx-ink);
  font-family: var(--f-body, "Saju Round", sans-serif);
  font-size: 17px; font-weight: 400; line-height: 1.8;
  letter-spacing: -.01em; overflow-wrap: break-word; color-scheme: light;
}
.fx-result *, .fx-result *::before, .fx-result *::after { box-sizing: border-box; }
.fx-result [hidden] { display: none !important; }
.fx-result .ph { display: inline; }
.fx-result :is(h2,h3,h4,p,dl,dd,ul) { margin: 0; }
.fx-result :is(h2,h3) { font-family: var(--f-display, "Saju Display", "Saju Round", sans-serif); font-weight: 800; letter-spacing: -.025em; }
.fx-result h2 { font-size: 26px; line-height: 1.45; }
.fx-result h3 { font-size: 21px; line-height: 1.5; }
.fx-result h4 { font-family: var(--f-ui, "Saju Round", sans-serif); font-size: 18px; font-weight: 700; line-height: 1.6; letter-spacing: -.01em; }
.fx-result :is(button,select,summary) { font-family: var(--f-ui, "Saju Round", sans-serif); font-size: 16px; line-height: 1.5; letter-spacing: -.01em; }
.fx-result button { touch-action: manipulation; cursor: pointer; box-shadow: none; }
.fx-result :is(button,a,summary,select):focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 3px; }
.fx-result button:disabled { color: #a39da6; background: transparent; cursor: default; }
.fx-result :is(.fx-eyebrow,.fc-detail-kicker) { color: var(--fx-muted); font-size: 14px; font-weight: 600; line-height: 1.7; letter-spacing: 0; }
.fx-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fx-header h2 { min-width: 0; }
.fx-header-title { min-width: 0; }
.fx-profile .fx-free-label { color: var(--fx-accent); font-size: 14px; font-weight: 600; }
.fx-result .fx-interface-hint { margin: -8px 0 20px; font-size: 14px; color: var(--fx-muted); line-height: 1.7; }
.fx-reading-order { display: grid; gap: 20px; margin: 16px 0; padding-left: 24px; }
.fx-reading-order li { padding-left: 4px; font-size: 17px; }
.fx-reading-order b { display: block; margin-bottom: 8px; font-weight: 700; }
.fx-evidence-list { display: grid; gap: 16px; margin: 16px 0; padding: 0; list-style: none; }
.fx-evidence-list li { padding: 0; font-size: 17px; line-height: 1.8; }
.fx-evidence-list b,.fx-evidence-list span { display: block; }
.fx-evidence-list span { margin-top: 4px; }
.fx-cell-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; font-size: 17px; }
.fx-result .fx-help-back { min-height: 44px; margin: 0 0 16px; padding: 8px 12px; border: 1px solid #d9d3de; border-radius: 8px; background: transparent; color: var(--fx-ink); font-size: 14px; font-weight: 600; }
.fx-calendar-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0; }
.fx-calendar-summary p { font-size: 17px; font-weight: 600; }
.fx-calendar-summary .fx-term { flex: 0 0 auto; }

.fx-result .fx-edit { flex: 0 0 auto; min-height: 44px; padding: 10px 12px; border: 1px solid #d9d3de; border-radius: 8px; color: var(--fx-ink); background: transparent; font-size: 14px; font-weight: 600; }
.fx-profile { margin-top: 12px; margin-bottom: 20px; color: var(--fx-muted); font-size: 14px; line-height: 1.8; }
.fx-profile p:first-child { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.fx-profile p+p { margin-top: 2px; }
.fx-profile-secondary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
.fx-profile-day { display: inline-flex; align-items: baseline; gap: 6px; }
.fx-profile-day b { font-family: var(--f-ui); font-size: 16px; font-weight: 700; color: var(--fx-color); }
.fx-result .fx-note { margin: 16px 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--fx-muted); font-size: 14px; line-height: 1.8; }
.fx-results-start { scroll-margin-top: 0; }
.fx-tabs { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; padding: 0; margin: 0; border-bottom: 1px solid var(--fx-line); background: var(--fx-paper); }
.fx-tabs button { position: relative; min-height: 54px; min-width: 0; padding: 12px 2px; border: 0; border-radius: 0; background: transparent; color: var(--fx-muted); font-size: 16px; font-weight: 600; white-space: nowrap; }
.fx-tabs [aria-selected=true] { color: var(--fx-ink); font-weight: 800; box-shadow: inset 0 -2px var(--fx-ink); }
.fx-pane { min-width: 0; }
.fx-block { min-width: 0; padding: 32px 0; border-bottom: 1px solid var(--fx-line); scroll-margin-top: 110px; }
.fx-block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.fx-block-head h3 { min-width: 0; }
.fx-result .fx-body { margin: 12px 0 24px; font-size: 17px; line-height: 1.8; color: var(--fx-ink); }
.fx-result .fx-muted { margin: 16px 0; font-size: 14px; line-height: 1.8; color: var(--fx-muted); }
.fx-result .fx-term { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 8px 4px; border: 0; border-radius: 6px; background: transparent; color: var(--fx-accent); font-size: 14px; line-height: 1.6; font-weight: 600; vertical-align: middle; }
.fx-result .fx-term:hover { background: #f2eff7; }
.fx-block-head>.fx-term { flex: 0 0 auto; padding: 8px; color: var(--fx-muted); }
.fx-subnav { position: sticky; top: 54px; z-index: 4; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; min-height: 48px; padding: 2px 0; border-bottom: 1px solid var(--fx-line); background: var(--fx-paper); }
.fx-subnav button { min-width: 0; min-height: 44px; padding: 8px 2px; border: 0; border-radius: 0; color: var(--fx-muted); background: transparent; font-size: 14px; font-weight: 600; }
.fx-subnav button:hover { color: var(--fx-ink); background: #f7f5f8; }
.fx-chart-section { padding-top: 16px; }
.fx-chart-hint { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-bottom: 8px; color: var(--fx-muted); font-size: 14px; }
.fx-chart-tools { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 24px 0 16px; border: 1px solid #ded8e2; border-radius: 8px; overflow: hidden; }
.fx-chart-tools button { min-height: 46px; min-width: 0; padding: 10px 2px; border: 0; border-radius: 0; background: transparent; color: var(--fx-muted); font-size: 14px; font-weight: 600; }
.fx-chart-tools button+button { border-left: 1px solid #ded8e2; }
.fx-chart-tools [aria-pressed=true] { color: var(--fx-accent); background: #efebf5; }
.fx-chart-tools b { margin-left: 4px; font-size: 14px; font-weight: 600; }
.fx-chart-wrap { position: relative; min-width: 0; }
.fx-chart { width: 100%; table-layout: fixed; border-collapse: collapse; border-spacing: 0; text-align: center; }
.fx-chart :is(th,td) { padding: 3px 2px; border-bottom: 1px solid var(--fx-line); vertical-align: middle; }
.fx-chart th:first-child { width: 54px; }
.fx-chart thead th { padding-bottom: 12px; font-size: 16px; font-weight: 700; }
.fx-chart thead small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--fx-muted); }
.fx-chart tbody th { font-weight: 500; }
.fx-chart th .fx-term { padding: 8px 0; font-size: 14px; color: var(--fx-muted); }
.fx-chart td .fx-term { min-width: 0; width: 100%; padding: 8px 0; font-size: 14px; color: var(--fx-ink); }
.fx-chart .fx-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; min-width: 0; min-height: 110px; padding: 8px 1px; border: 0; border-radius: 6px; background: transparent; color: var(--fx-ink); }
.fx-cell strong { font-family: var(--f-ui); font-size: 36px; font-weight: 700; line-height: 1.2; color: var(--fx-color); }
.fx-cell>span { font-size: 14px; line-height: 1.5; }
.fx-cell i { margin-left: 2px; color: var(--fx-muted); font-size: 14px; font-style: normal; }
.fx-cell small { font-size: 14px; line-height: 1.5; color: var(--fx-muted); white-space: normal; }
.fx-cell[aria-pressed=true],.fx-cell.is-linked { background: #f0edf5; box-shadow: inset 0 0 0 1px #b5a9ca; }
.fx-chart .fx-unknown { color: var(--fx-muted); }
.fx-unknown b { font-family: var(--f-ui); font-size: 30px; line-height: 1.3; }
.fx-unknown span { font-size: 14px; }
.fx-hidden-glyph { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 1px 0; color: var(--fx-color); font-family: var(--f-ui); font-size: 17px; line-height: 1.2; }
.fx-hidden-glyph small { color: var(--fx-muted); font-size: 14px; }
.fx-small-row td { padding-top: 8px; padding-bottom: 8px; }
.fx-connection { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fx-result .fx-selection-note { margin: 16px 0; color: var(--fx-muted); font-size: 14px; line-height: 1.7; }
.fx-result .fc-detail { margin-top: 24px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--fx-line); border-radius: 0; background: transparent; text-align: left; }
.fx-result .fc-detail>h4 { margin: 8px 0 14px; font-family: var(--f-ui); font-size: 20px; }
.fx-result .fc-detail h4>span { margin-left: 8px; font-size: 16px; font-family: var(--f-ui); color: var(--fx-muted); }
.fx-result .fc-detail p { font-size: 17px; line-height: 1.8; }
.fx-result .fc-detail .fc-detail-kicker { font-size: 14px; }
.fx-result .fc-detail .fc-fine { margin-top: 16px; font-size: 14px; color: var(--fx-muted); }
.fx-result .fc-explain-lines { display: grid; gap: 18px; margin: 20px 0; }
.fx-result .fc-explain-lines>div { display: block; padding: 0; border: 0; }
.fx-result .fc-explain-lines dt { margin-bottom: 4px; font-size: 14px; color: var(--fx-muted); font-weight: 500; }
.fx-result .fc-explain-lines dd { margin: 0; font-size: 17px; line-height: 1.8; color: var(--fx-ink); }
.fx-result .fc-positions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 16px; margin: 20px 0; padding: 0; list-style: none; }
.fx-result .fc-positions li { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 8px 0; border: 0; border-radius: 0; background: none; }
.fx-result .fc-positions li>b { flex: 0 0 auto; padding: 0; border: 0; background: none; font-family: var(--f-ui); font-size: 26px; line-height: 1.3; color: var(--fc-tone); }
.fx-result .fc-positions li>span { min-width: 0; font-size: 14px; line-height: 1.6; }
.fx-result .fc-positions small { display: block; margin-top: 2px; font-size: 14px; color: var(--fx-muted); }
.fx-result .fc-hidden-list { margin: 12px 0; padding: 0; list-style: none; }
.fx-result .fc-hidden-list li { padding: 10px 0; font-size: 17px; }
.fx-result .fc-hidden-list b { margin-right: 8px; font-family: var(--f-ui); }
.fx-result .fc-hidden-list span { color: var(--fx-muted); }
.fx-result .fc-text-button { min-height: 46px; padding: 10px 14px; border: 1px solid #d9d3de; border-radius: 8px; background: transparent; color: var(--fx-ink); font-size: 14px; font-weight: 600; }
.fx-position-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 24px; }
.fx-position-grid>div { padding: 0; border: 0; background: none; }
.fx-position-grid p { margin-top: 8px; font-size: 17px; }
.fx-relations { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
.fx-relations button { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; min-height: 60px; border: 0; border-bottom: 1px solid var(--fx-line); border-radius: 0; background: transparent; text-align: left; color: var(--fx-ink); }
.fx-relations b { font-size: 16px; font-weight: 700; }
.fx-relations span { font-family: var(--f-ui); font-size: 20px; }
.fx-relations small { grid-column: 1 / -1; font-size: 14px; color: var(--fx-muted); }
.fx-element-graph { display: grid; grid-template-columns: 164px minmax(0,1fr); align-items: center; gap: 24px; margin: 24px 0; }
.fx-donut { display: block; width: 164px; height: 164px; margin: auto; overflow: visible; font-family: var(--f-ui); }
.fx-donut-number { font-family: var(--f-ui); font-size: 26px; font-weight: 800; fill: var(--fx-ink); }
.fx-donut-label { font-family: var(--f-ui); font-size: 14px; fill: var(--fx-muted); }
.fx-element-legend { display: grid; gap: 0; }
.fx-element-legend button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 4px; border: 0; border-radius: 6px; background: transparent; color: var(--fx-ink); }
.fx-element-legend [aria-pressed=true] { background: #f1eef5; }
.fx-element-legend b { color: var(--fx-color); font-family: var(--f-ui); font-size: 18px; font-weight: 700; white-space: nowrap; }
.fx-element-legend b>span { margin-left: 3px; color: var(--fx-ink); font-size: 16px; }
.fx-element-legend button>span { white-space: nowrap; font-size: 16px; font-variant-numeric: tabular-nums; }
.fx-element-legend small { margin-left: 6px; font-size: 14px; color: var(--fx-muted); }
.fx-wheel { display: block; width: 100%; max-width: 340px; margin: 24px auto 16px; overflow: visible; font-family: var(--f-ui); }
.fx-wheel g { cursor: pointer; }
.fx-wheel g[aria-pressed=true] circle { stroke-width: 2.5px; }
.fx-wheel g:focus-visible { outline: none; }
.fx-wheel g:focus-visible circle { stroke: var(--fx-accent); stroke-width: 3px; }
.fx-wheel-main { font-family: var(--f-ui); font-size: 18px; font-weight: 800; fill: var(--fx-color); }
.fx-wheel-sub { font-family: var(--f-ui); font-size: 17px; fill: var(--fx-ink); }
.fx-wheel-center { font-family: var(--f-ui); font-size: 17px; fill: var(--fx-muted); }
.fx-wheel-me { font-family: var(--f-ui); font-size: 22px; font-weight: 800; fill: var(--fx-ink); }
.fx-wheel-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.fx-god-rows { display: grid; gap: 0; }
.fx-god-row { padding: 20px 0; border-bottom: 1px solid var(--fx-line); }
.fx-god-row>button { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--fx-ink); text-align: left; }
.fx-god-row>button>b { font-size: 17px; font-weight: 700; }
.fx-god-row>button>span { font-size: 14px; color: var(--fx-muted); }
.fx-god-row>button>strong { margin-left: auto; font-size: 16px; font-weight: 600; }
.fx-god-row>button[aria-pressed=true]>b { color: var(--fx-accent); }
.fx-god-row>div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fx-one-god { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 0 8px; }
.fx-one-god>.fx-term { justify-content: flex-start; color: var(--fx-ink); font-size: 14px; padding-left: 0; }
.fx-one-god>b { font-size: 16px; font-weight: 600; }
.fx-god-bar { grid-column: 1 / -1; display: block; height: 4px; overflow: hidden; background: #eeeaf1; border-radius: 2px; }
.fx-god-bar i { display: block; height: 100%; background: #8c7c9e; }
.fx-strength-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 24px 0; }
.fx-strength-title p { margin-bottom: 6px; color: var(--fx-muted); font-size: 14px; }
.fx-strength-title strong { font-family: var(--f-ui); font-size: 28px; line-height: 1.5; font-weight: 800; }
.fx-badge { display: inline-block; padding: 0; border: 0; border-radius: 0; background: none; color: var(--fx-muted); font-size: 14px; line-height: 1.7; }
.fx-strength-scale { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 3px; height: 14px; margin: 24px 0 8px; }
.fx-strength-scale>span { display: block; min-height: 0; height: 14px; padding: 0; border: 0; border-radius: 2px; background: #e8e3ec; }
.fx-strength-scale .is-current { background: #665380; }
.fx-scale-ends { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; color: var(--fx-muted); font-size: 14px; }
.fx-result .fx-range { font-size: 17px; margin: 16px 0; }
.fx-facts { margin: 24px 0; }
.fx-facts>div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 12px 0; border-bottom: 1px solid var(--fx-line); }
.fx-facts dt { color: var(--fx-muted); font-size: 14px; }
.fx-facts dd { margin: 0; font-size: 17px; font-weight: 600; }
.fx-facts small { margin-left: 8px; font-size: 14px; color: var(--fx-muted); font-weight: 400; }
.fx-useful-top { display: flex; align-items: center; gap: 20px; margin: 24px 0; }
.fx-useful-top>strong { flex: 0 0 60px; padding: 0; background: none; border: 0; border-radius: 0; font-family: var(--f-ui); font-size: 52px; line-height: 1.2; font-weight: 700; color: var(--fx-color); }
.fx-useful-top h4 { font-size: 24px; font-weight: 800; }
.fx-useful-top p { font-size: 14px; color: var(--fx-muted); }
.fx-useful-top .fx-term { padding-left: 0; }
.fx-five-roles { display: grid; grid-template-columns: 1fr; gap: 0; margin: 24px 0; }
.fx-five-roles>div { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--fx-line); border-radius: 0; background: none; }
.fx-five-roles .fx-term { justify-content: flex-start; color: var(--fx-ink); font-size: 16px; }
.fx-five-roles b { font-family: var(--f-ui); font-size: 20px; color: var(--fx-color); }
.fx-unavailable { padding: 20px 0; font-size: 17px; background: none; border: 0; border-radius: 0; }
.fx-unavailable p { margin-top: 10px; color: var(--fx-muted); font-size: 17px; }
.fx-feature-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.fx-feature-grid>button { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--fx-line); border-radius: 0; background: transparent; color: var(--fx-ink); text-align: left; }
.fx-feature-grid>button>span:first-child { min-width: 0; }
.fx-feature-grid strong { display: block; font-size: 17px; font-weight: 700; }
.fx-feature-meaning { display: block; margin-top: 6px; font-size: 17px; line-height: 1.7; }
.fx-feature-grid small { display: block; margin-top: 8px; font-size: 14px; color: var(--fx-muted); }
.fx-row-arrow { flex: 0 0 20px; color: #9c94a2; font-family: var(--f-ui); font-size: 26px; line-height: 1; }
.fx-stage-pillar { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 24px 0; }
.fx-stage-pillar button { min-width: 0; min-height: 76px; padding: 8px 2px; border: 1px solid var(--fx-line); border-radius: 6px; background: transparent; color: var(--fx-ink); }
.fx-stage-pillar small { display: block; margin-bottom: 6px; font-size: 14px; color: var(--fx-muted); }
.fx-stage-pillar b { display: block; font-size: 16px; font-weight: 600; }
.fx-stage-cycle { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 24px 0; }
.fx-stage-cycle>span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 2px; color: var(--fx-muted); font-size: 16px; }
.fx-stage-cycle small { font-size: 14px; color: var(--fx-muted); }
.fx-stage-cycle .is-current { border-radius: 4px; background: #efebf5; color: var(--fx-accent); font-weight: 700; }
.fx-callout { margin-top: 24px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--fx-line); border-radius: 0; background: none; font-size: 17px; }
.fx-callout h4 { margin: 8px 0 12px; }
.fx-callout p+p { margin-top: 12px; }
.fx-luck-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 20px 0; font-size: 14px; }
.fx-decade-list,.fx-year-list { display: flex; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 4px 0 12px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.fx-decade-list>button,.fx-year-list>button { display: flex; flex: 0 0 108px; flex-direction: column; align-items: center; gap: 6px; min-height: 152px; min-width: 0; padding: 14px 10px; border: 0; border-right: 1px solid var(--fx-line); border-radius: 0; background: transparent; color: var(--fx-ink); scroll-snap-align: center; }
.fx-decade-list>button[aria-pressed=true],.fx-year-list>button[aria-pressed=true] { background: #f0ecf6; }
.fx-decade-list small,.fx-year-list small { font-size: 14px; color: var(--fx-muted); }
.fx-decade-list b,.fx-year-list b { font-family: var(--f-ui); font-size: 16px; font-weight: 600; }
.fx-decade-list>button>span:last-child { font-size: 14px; color: var(--fx-muted); }
.fx-glyph-pair { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.fx-glyph-pair b { padding: 0; border-radius: 0; background: none; color: var(--fx-color); font-family: var(--f-ui); font-size: 28px; font-weight: 700; line-height: 1.4; }
.fx-time-context { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 16px; }
.fx-time-context>b,.fx-time-context h4 { font-size: 18px; font-weight: 700; }
.fx-time-context p { font-size: 17px; line-height: 1.8; }
.fx-time-context p.fx-muted { margin: 4px 0 0; font-size: 14px; }
.fx-time-context>span { color: var(--fx-muted); font-size: 14px; }
.fx-year-picker { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 24px 0; }
.fx-year-picker>button { flex: 0 0 44px; min-height: 44px; padding: 4px; border: 1px solid #ded8e2; border-radius: 8px; background: transparent; color: var(--fx-ink); font-size: 26px; }
.fx-year-picker select { max-width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--fx-ink); font-family: var(--f-ui); font-weight: 700; font-size: 17px; }
.fx-month-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 24px 0; }
.fx-month-list>button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 118px; min-width: 0; padding: 12px 4px; border: 1px solid var(--fx-line); border-radius: 6px; background: transparent; color: var(--fx-ink); }
.fx-month-list>button[aria-pressed=true] { border-color: #9d8bb8; background: #f0ecf6; }
.fx-month-list>button>b { font-size: 16px; font-weight: 600; }
.fx-month-list small { font-size: 14px; color: var(--fx-muted); }
.fx-month-list .fx-glyph-pair b { font-size: 24px; }
.fx-month-detail { margin-top: 28px; }
.fx-period { margin: 20px 0; padding: 20px 0; border-bottom: 1px solid var(--fx-line); font-size: 17px; }
.fx-period p { font-size: 17px; }
.fx-period>div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 8px 0; }
.fx-period small { font-size: 14px; color: var(--fx-muted); }
.fx-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px 2px; margin: 24px 0; text-align: center; }
.fx-weekday { padding: 8px 0; font-size: 14px; color: var(--fx-muted); }
.fx-calendar>button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; min-width: 0; min-height: 88px; padding: 8px 0; border: 0; border-radius: 6px; background: transparent; color: var(--fx-ink); }
.fx-calendar>button[aria-pressed=true] { background: #eee8f5; color: #4a3471; }
.fx-calendar b { font-size: 16px; font-weight: 700; line-height: 1.5; }
.fx-calendar button>span { font-family: var(--f-ui); font-size: 14px; line-height: 1.5; white-space: nowrap; }
.fx-calendar small { font-size: 14px; line-height: 1.5; color: var(--fx-muted); white-space: nowrap; }
.fx-calendar i { font-size: 14px; line-height: 1.5; font-style: normal; color: var(--fx-accent); }
.fx-time-status { position: sticky; top: 54px; z-index: 4; min-height: 0; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--fx-line); background: var(--fx-paper); font-size: 14px; line-height: 1.7; color: var(--fx-muted); }
.fx-time-status:empty { display: none; }
.fx-time-status button { min-height: 44px; margin-left: 8px; padding: 8px 12px; border: 1px solid var(--fx-line); border-radius: 8px; background: none; color: var(--fx-ink); }

.fx-result details:not(.pv-more):not(.chapter):not(.report-menu)>summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; margin: 16px 0 0; padding: 16px 0; border: 0; border-bottom: 1px solid var(--fx-line); border-radius: 0; background: none; color: var(--fx-ink); font-family: var(--f-ui); font-size: 16px; font-weight: 600; line-height: 1.6; text-wrap: pretty; }
.fx-result details:not(.pv-more):not(.chapter):not(.report-menu)>summary::after { content: '+'; flex: 0 0 20px; display: block; min-width: 20px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--fx-muted); font-size: 24px; font-weight: 400; line-height: 1; text-align: center; }
.fx-result details[open]:not(.pv-more):not(.chapter):not(.report-menu)>summary::after { content: '−'; }
.fx-result details:not(.pv-more):not(.chapter):not(.report-menu)>summary:hover { background: transparent; color: var(--fx-accent); }
.fx-result details:not(.pv-more):not(.chapter):not(.report-menu)>summary:active { transform: none; }
.fx-result details[open]>summary { margin-bottom: 16px; }
.fx-result details p { margin: 12px 0; font-size: 17px; line-height: 1.8; }
.fx-footer { margin-top: 12px; padding-top: 12px; }
.fx-footer details :is(dt,dd,li,p,b) { font-size: 17px; line-height: 1.8; }
.fx-footer details dl { display: grid; gap: 16px; margin: 16px 0 24px; }
.fx-footer details dl>div { display: block; padding: 0; border: 0; }
.fx-footer details dt { margin-bottom: 4px; color: var(--fx-muted); font-size: 14px; }
.fx-footer details dd { margin: 0; overflow-wrap: anywhere; }
.fx-footer .warning-list { padding: 0; border: 0; border-radius: 0; background: none; }
.fx-footer .warning-list ul { padding-left: 20px; margin: 12px 0; }
.fx-footer .warning-list li { margin: 12px 0; }
.fx-footer>p { margin: 20px 0; font-size: 14px; line-height: 1.8; color: var(--fx-muted); }
.fx-footer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.fx-footer-actions button { min-height: 48px; padding: 12px; border: 1px solid #d9d3de; border-radius: 8px; background: transparent; color: var(--fx-ink); font-size: 16px; font-weight: 600; }
.fx-footer-actions button:last-child { grid-column: 1 / -1; border-color: var(--fx-accent); color: #fff; background: var(--fx-accent); }
.fx-result .fx-help { width: calc(100vw - 24px); max-width: 520px; max-height: 86dvh; margin: auto; padding: 28px 24px 16px; overflow: auto; overscroll-behavior: contain; border: 1px solid #e3dce8; border-radius: 12px; background: var(--fx-paper); color: var(--fx-ink); font-family: var(--f-body); font-size: 17px; line-height: 1.8; }
.fx-help::backdrop { background: rgb(24 18 30 / .4); }
.fx-help h3 { margin: 8px 0 24px; font-size: 23px; }
.fx-help section { margin: 24px 0; padding: 0; border: 0; background: none; }
.fx-help section h4 { margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.fx-help section p { font-size: 17px; line-height: 1.8; }
.fx-help .fx-help-care { margin: 24px 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 14px; color: var(--fx-muted); line-height: 1.8; }
.fx-result .fx-help-close { position: sticky; bottom: 0; display: block; width: 100%; min-height: 48px; margin-top: 24px; padding: 12px 20px; border: 0; border-radius: 8px; background: var(--fx-accent); color: #fff; font-size: 16px; font-weight: 700; }
@media(max-width: 600px) {
  .fc-result.fx-result { padding: 24px 20px 104px; }
}
@media(max-width: 420px) {
  .fc-result.fx-result { padding-left: 16px; padding-right: 16px; }
  .fx-header { gap: 10px; }
  .fx-header h2 { font-size: 24px; }
  .fx-element-graph { grid-template-columns: 1fr; gap: 20px; }
  .fx-element-legend { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
  .fx-element-legend button { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 0; min-height: 100px; }
  .fx-element-legend b { font-size: 17px; }
  .fx-element-legend b>span { margin-left: 2px; font-size: 16px; }
  .fx-element-legend button>span { font-size: 16px; }
  .fx-element-legend small { display: block; margin: 3px 0 0; font-size: 14px; }
  .fx-month-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .fx-glyph-pair b { font-size: 26px; }
  .fx-luck-meta { gap: 4px 12px; }
  .fx-help { padding-left: 20px; padding-right: 20px; }
}
@media(prefers-reduced-motion: reduce) {
  .fx-result * { transition: none !important; scroll-behavior: auto !important; }
}

#flow-dialog:has(.fx-reading-edition) { width: min(100%, 640px); max-width: 640px; }
.fc-result.fx-reading-edition { --fx-line: #e7e1d8; --fx-muted: #746e66; --fx-paper: #fffefb; --fx-ink: #342f2a; padding: 24px 24px 100px; line-height: 1.65; }
.fx-reading-edition h2 { font-size: 25px; }
.fx-reading-edition h3 { font-size: 21px; }
.fx-reading-edition .fx-header { gap: 12px; }
.fx-reading-edition .fx-profile { margin: 8px 0 14px; }
.fx-reading-edition .fx-profile-day { display: none; }
.fx-reading-edition .fx-block { padding: 26px 0; scroll-margin-top: 56px; }
.fx-reading-edition .fx-chart-section { padding-top: 8px; }
.fx-reading-edition .fx-block-head { margin-bottom: 12px; min-height: 44px; gap: 10px; }
.fx-reading-edition .fx-block-head>.fx-term { color: var(--fx-muted); }
.fx-reading-edition .fx-report-nav { position:static; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:0 12px; margin:12px 0; padding:0; border:0; background:transparent; box-shadow:none; }
.fx-reading-edition .fx-report-nav-label { flex:none; color:var(--fx-muted); font-size:14px; }
.fx-reading-edition .fx-report-nav button { flex:none; min-height:44px; padding:8px 0; border:0; font-size:14px; color:var(--fx-ink); text-decoration:underline; text-decoration-color:var(--fx-line); text-underline-offset:4px; }
.fx-reading-edition .fx-report-section { scroll-margin-top: 48px; }
.fx-reading-edition .fx-chart th:first-child { width: 50px; }
.fx-reading-edition .fx-chart thead th { padding: 4px 1px 10px; font-size: 16px; }
.fx-reading-edition .fx-chart :is(th,td) { padding-left: 2px; padding-right: 2px; }
.fx-reading-edition .fx-chart .fx-cell { min-height: 70px; padding: 8px 0; gap: 4px; border-radius: 5px; background: var(--fx-soft); }
.fx-reading-edition .fx-character { display: flex; align-items: baseline; justify-content: center; gap: 3px; white-space: nowrap; }
.fx-reading-edition .fx-character strong { font-family: var(--f-ui); font-size: 28px; line-height: 1.15; }
.fx-reading-edition .fx-character i { font-family: HanjaRound, var(--f-ui); font-size: 17px; font-style: normal; color: var(--fx-color); margin: 0; }
.fx-reading-edition .fx-cell-element { font-size: 14px; line-height: 1.25; color: var(--fx-color); }
.fx-reading-edition .fx-cell[aria-pressed=true],.fx-reading-edition .fx-cell.is-linked { box-shadow: inset 0 0 0 2px var(--fx-color); }
.fx-reading-edition .fx-chart .fx-unknown { background: #f1eee8; }
.fx-reading-edition .fx-unknown span { font-size: 14px; }
.fx-reading-edition .fx-god-table-row :is(th,td) { border-bottom: 0; }
.fx-reading-edition .fx-god-table-row .fx-term { min-height: 36px; padding: 4px 0; }
.fx-reading-edition .fx-chart .fx-small-row .fx-term { min-height: 38px; padding: 5px 0; }
.fx-reading-edition .fx-hidden-glyph { display: inline; font-family: HanjaRound, var(--f-ui); font-size: 16px; margin: 0 1px; }
.fx-reading-edition .fx-small-row td { padding-top: 4px; padding-bottom: 4px; }
.fx-reading-edition .fx-day-identity { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.fx-reading-edition .fx-day-identity p { font-size: 16px; }
.fx-reading-edition .fx-day-identity b { color: var(--fx-color); font-size: 19px; margin-left: 8px; }
.fx-reading-edition .fx-table-hint { font-size: 14px; color: var(--fx-muted); line-height: 1.65; margin: 8px 0 0; }
.fx-reading-edition .fx-table-hint>.fx-term { min-height: 36px; }
.fx-reading-edition .fx-result-sentence { margin: 0 0 12px; font-size: 18px; line-height: 1.6; }
.fx-reading-edition .fx-body { margin: 12px 0; line-height: 1.7; }
.fx-reading-edition .fx-muted { margin: 8px 0; line-height: 1.65; }
.fx-reading-edition .fx-note { margin: 10px 0; line-height: 1.65; }
.fx-reading-edition .fx-summary-meta { margin-left: auto; font-size: 14px; color: var(--fx-muted); font-weight: 400; }
.fx-result.fx-reading-edition details:not(.pv-more):not(.chapter):not(.report-menu)>summary { min-height: 48px; padding: 10px 0; margin: 0; border-bottom: 0; gap: 10px; font-size: 15px; font-weight: 500; color: var(--fx-muted); }
.fx-reading-edition .fx-details { margin-top: 8px; }
.fx-reading-edition .fx-details[open]>summary { color: var(--fx-ink); margin-bottom: 8px; }
.fx-reading-edition details p { line-height: 1.7; }
.fx-reading-edition .fx-relation-fold { border-top: 1px solid var(--fx-line); margin-top: 8px; }
.fx-reading-edition .fx-relations { display: flex; overflow-x: auto; gap: 6px; margin: 0 0 12px; padding: 2px 2px 8px; scrollbar-width: thin; }
.fx-reading-edition .fx-relations button { display: flex; flex-direction: column; flex: 0 0 auto; align-items: flex-start; justify-content: center; gap: 3px; min-height: 56px; padding: 7px 10px; border: 1px solid var(--fx-line); border-radius: 6px; background: transparent; }
.fx-reading-edition .fx-relations [aria-pressed=true] { border-color: #6d6253; background: #f3efe6; }
.fx-reading-edition .fx-relations b { font-size: 15px; }
.fx-reading-edition .fx-relations small { font-size: 14px; white-space: nowrap; }
.fx-reading-edition .fx-selection-note { font-size: 14px; margin: 8px 0; }
.fx-reading-edition .fx-selection-note:empty { display: none; }
.fx-reading-edition .fx-relation-chart { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 8px 0 14px; }
.fx-reading-edition .fx-relation-chart>div { display: grid; gap: 4px; text-align: center; }
.fx-reading-edition .fx-relation-chart small { font-size: 14px; color: var(--fx-muted); }
.fx-reading-edition .fx-relation-glyph { display: flex; justify-content: center; align-items: baseline; gap: 5px; padding: 7px 2px; border-radius: 5px; color: var(--fx-muted); background: #f4f1eb; }
.fx-reading-edition .fx-relation-glyph b { font-size: 22px; line-height: 1.25; font-weight: 500; }
.fx-reading-edition .fx-relation-glyph i { font-size: 15px; font-style: normal; font-family: HanjaRound, var(--f-ui); }
.fx-reading-edition .fx-relation-glyph.is-linked { color: var(--fx-color); background: var(--fx-soft); box-shadow: inset 0 0 0 2px var(--fx-color); }
.fx-reading-edition #fx-relation-explain>p { font-size: 16px; line-height: 1.65; margin: 6px 0; }
.fx-reading-edition .fx-feature-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: center; }
.fx-reading-edition .fx-feature-table :is(th,td) { font-size: 14px; padding: 6px 1px; border-bottom: 1px solid var(--fx-line); }
.fx-reading-edition .fx-feature-table th:first-child { width: 32%; text-align: left; }
.fx-reading-edition .fx-feature-table thead th { font-weight: 500; color: var(--fx-muted); }
.fx-reading-edition .fx-feature-table button { min-height: 44px; width: 100%; padding: 6px 0; border: 0; background: transparent; color: var(--fx-ink); font-size: 16px; text-align: left; }
.fx-reading-edition .fx-feature-table button>span { color: var(--fx-muted); }
.fx-reading-edition .fx-absent { color: #b8b0a5; }
.fx-reading-edition .fx-distribution-table { display: grid; gap: 2px; }
.fx-reading-edition .fx-distribution-table button { display: grid; grid-template-columns: 28px minmax(0,1fr) 64px; align-items: center; gap: 12px; min-height: 46px; padding: 6px 0; border: 0; background: none; color: var(--fx-ink); text-align: right; }
.fx-reading-edition .fx-distribution-table button>b { text-align: left; color: var(--fx-color); font-size: 17px; }
.fx-reading-edition .fx-distribution-table strong { font-size: 16px; font-weight: 600; }
.fx-reading-edition .fx-distribution-track { height: 10px; border-radius: 3px; background: var(--fx-soft); overflow: hidden; }
.fx-reading-edition .fx-distribution-track i { display: block; height: 100%; background: var(--fx-color); border-radius: 3px; }
.fx-reading-edition .fx-simple-gods { width: 100%; table-layout: fixed; border-collapse: collapse; }
.fx-reading-edition .fx-simple-gods :is(th,td) { padding: 10px 6px; border-bottom: 1px solid var(--fx-line); text-align: left; vertical-align: middle; }
.fx-reading-edition .fx-simple-gods th { width: 32%; padding-left: 0; font-weight: 400; }
.fx-reading-edition .fx-simple-gods .fx-term { display: inline-flex; justify-content: flex-start; min-height: 32px; padding: 2px 0; color: var(--fx-ink); font-size: 16px; }
.fx-reading-edition .fx-simple-gods th>.fx-term { font-weight: 700; }
.fx-reading-edition .fx-simple-gods :is(small,strong) { display: block; font-size: 14px; line-height: 1.5; }
.fx-reading-edition .fx-simple-gods strong { font-size: 17px; font-weight: 600; }
.fx-reading-edition .fx-simple-gods small { color: var(--fx-muted); }
.fx-reading-edition .fx-simple-gods .is-zero { color: var(--fx-muted); }
.fx-reading-edition .fx-simple-gods .is-zero strong { font-weight: 400; }
.fx-reading-edition .fx-wheel { margin: 8px auto; max-width: 286px; }
.fx-reading-edition .fx-strength-title { align-items: baseline; margin: 0 0 14px; }
.fx-reading-edition .fx-strength-title>strong { font-size: 27px; }
.fx-reading-edition .fx-strength-scale { margin: 12px 0 8px; }
.fx-reading-edition .fx-scale-ends { margin-bottom: 12px; }
.fx-reading-edition .fx-support-key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 0; font-size: 14px; color: var(--fx-muted); }
.fx-reading-edition .fx-support-key b { color: var(--fx-ink); }
.fx-reading-edition .fx-facts { margin: 8px 0 12px; }
.fx-reading-edition .fx-five-roles { margin: 8px 0 12px; }
.fx-reading-edition .fx-report-useful { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.fx-reading-edition .fx-report-useful strong { color: var(--fx-color); font-size: 27px; }
.fx-reading-edition .fx-report-useful span { font-size: 14px; color: var(--fx-muted); }
.fx-reading-edition .fx-time-row { padding: 22px 0; }
.fx-reading-edition .fx-time-row .fx-block-head { margin-bottom: 8px; }
.fx-reading-edition .fx-luck-meta { gap: 4px 12px; margin: -4px 0 8px; }
.fx-reading-edition .fx-luck-meta .fx-term { min-height: 36px; }
.fx-reading-edition .fx-luck-grid { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 4px; }
.fx-reading-edition .fx-luck-labels { display: grid; grid-template-rows: 24px 24px 46px 46px 24px 24px; padding-top: 4px; color: var(--fx-muted); }
.fx-reading-edition .fx-luck-labels span { display: flex; align-items: center; font-size: 14px; white-space: nowrap; }
.fx-reading-edition :is(.fx-decade-list,.fx-year-list,.fx-month-list) { display: flex; align-items: start; gap: 4px; margin: 0; padding: 4px 2px 10px; overflow-x: auto; min-width: 0; scrollbar-width: thin; scroll-snap-type: x proximity; }
.fx-reading-edition :is(.fx-decade-list,.fx-year-list,.fx-month-list)>button { display: grid; grid-template-rows: 24px 24px 46px 46px 24px 24px; align-items: center; justify-items: center; gap: 0; flex: 0 0 78px; min-height: 188px; padding: 0 2px; border: 0; border-radius: 5px; background: transparent; color: var(--fx-ink); scroll-snap-align: center; }
.fx-reading-edition :is(.fx-decade-list,.fx-year-list,.fx-month-list)>button[aria-pressed=true] { background: #f4f0e7; box-shadow: 0 0 0 1px #958674; }
.fx-reading-edition .fx-month-list>button { grid-template-rows: 24px 24px 46px 46px; min-height: 140px; }
.fx-reading-edition .fx-luck-period { font-size: 15px; font-weight: 700; }
.fx-reading-edition :is(.fx-luck-god,.fx-luck-stage) { font-size: 14px; line-height: 1.5; }
.fx-reading-edition .fx-luck-character { display: flex; align-items: baseline; justify-content: center; gap: 4px; width: 100%; padding: 4px 2px; background: var(--fx-soft); color: var(--fx-color); border-radius: 4px; }
.fx-reading-edition .fx-luck-character b { font-size: 24px; color: var(--fx-color); font-family: var(--f-ui); line-height: 1.3; }
.fx-reading-edition .fx-luck-character i { font-family: HanjaRound, var(--f-ui); font-style: normal; font-size: 14px; color: var(--fx-color); }
.fx-reading-edition .fx-year-picker { gap: 0; margin: 0; }
.fx-reading-edition .fx-year-picker>button { min-height: 44px; flex-basis: 32px; border: 0; padding: 4px; font-size: 25px; }
.fx-reading-edition .fx-year-picker select { padding: 6px 2px; font-size: 16px; }
.fx-reading-edition .fx-month-detail { margin-top: 4px; }
.fx-reading-edition .fx-period { padding: 12px 0; margin: 8px 0; }
.fx-reading-edition .fx-time-status { top: 46px; }
.fx-reading-edition .fx-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
.fx-reading-edition .fx-calendar-toolbar button { width: 44px; min-height: 44px; border: 1px solid var(--fx-line); border-radius: 6px; background: transparent; color: var(--fx-ink); font-size: 26px; }
.fx-reading-edition .fx-calendar-toolbar strong { font-size: 20px; }
.fx-reading-edition .fx-calendar { gap: 3px; margin: 8px 0 16px; }
.fx-reading-edition .fx-calendar>button { min-height: 112px; padding: 7px 0; gap: 2px; border: 1px solid #ede7de; border-radius: 4px; background: #faf8f3; }
.fx-reading-edition .fx-calendar>button[aria-pressed=true] { background: #f1ebfa; border-color: #8770b1; color: var(--fx-ink); }
.fx-reading-edition .fx-calendar button>.fx-day-reading { font-size: 15px; font-weight: 600; }
.fx-reading-edition .fx-calendar button>.fx-day-hanja { font-size: 14px; font-family: HanjaRound, var(--f-ui); color: var(--fx-muted); }
.fx-reading-edition .fx-calendar :is(small,i) { font-size: 14px; }
.fx-reading-edition .is-sunday { color: #a84835; }
.fx-reading-edition .is-saturday { color: #476a95; }
.fx-reading-edition .fx-callout { margin-top: 12px; padding-top: 12px; }
.fx-reading-edition .fx-footer { padding-top: 10px; }
.fx-reading-edition .fx-footer-actions { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 16px; }
.fx-reading-edition .fx-footer-actions button { padding: 8px 2px; font-size: 14px; min-width: 0; }
.fx-reading-edition .fx-footer-actions button:last-child { grid-column: auto; border-color: #d9d3de; background: transparent; color: var(--fx-ink); }
@media(max-width:420px) {
 .fc-result.fx-reading-edition { padding: 20px 16px 96px; }
 .fx-reading-edition .fx-chart th:first-child { width: 43px; }
 .fx-reading-edition .fx-character { gap: 2px; }
 .fx-reading-edition .fx-character strong { font-size: 25px; }
 .fx-reading-edition .fx-character i { font-size: 15px; }
 .fx-reading-edition .fx-simple-gods :is(th,td) { padding-right: 3px; padding-left: 3px; }
 .fx-reading-edition .fx-simple-gods th { padding-left: 0; }
 .fx-reading-edition .fx-simple-gods .fx-term { font-size: 15px; }
 .fx-reading-edition .fx-luck-grid { grid-template-columns: 44px minmax(0,1fr); }
 .fx-reading-edition :is(.fx-decade-list,.fx-year-list,.fx-month-list)>button { flex-basis: 72px; }
}

.fx-reading-edition #fx-relation-detail { scroll-margin-top: 60px; }

.fx-reading-edition .fx-simple-gods :is(th,td) { padding-top: 6px; padding-bottom: 6px; }
.fx-reading-edition .fx-god-metric { display: flex; align-items: center; justify-content: space-between; gap: 4px; flex-wrap: wrap; }
.fx-reading-edition .fx-god-metric strong { font-size: 16px; }
.fx-reading-edition .fx-simple-gods small.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.fx-reading-edition .fx-luck-labels.is-short { grid-template-rows: 24px 24px 46px 46px; }
.fx-reading-edition .fx-heading-context { margin-left: 12px; font-family: var(--f-ui); font-size: 14px; font-weight: 400; color: var(--fx-muted); white-space: nowrap; }
.fx-reading-edition :is(.fx-decade-list,.fx-year-list,.fx-month-list,.fx-relations)::-webkit-scrollbar { height: 5px; }
.fx-reading-edition :is(.fx-decade-list,.fx-year-list,.fx-month-list,.fx-relations)::-webkit-scrollbar-thumb { background: #c8bfb1; border-radius: 3px; }
#flow-dialog:has(.fx-reading-edition) .dlg-tabbar { max-width: 640px; width: min(100vw,640px); background: #fffefb; }

.fx-reading-edition .fx-god-metric { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 0; }

.fx-reading-edition { --fx-control-line: #d9d0c2; --fx-control-fill: #f8f5ef; }
.fx-reading-edition .fx-interaction-hint { margin: 0 0 14px; color: var(--fx-muted); font-size: 14px; line-height: 1.6; }
.fx-reading-edition .fx-term .fx-term-label { line-height: 1.5; }
.fx-reading-edition .fx-inline-term .fx-term-label { text-decoration: underline dotted #9f9382; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fx-reading-edition .fx-action-term { gap: 5px; min-height: 36px; padding: 6px 9px; border: 1px solid var(--fx-control-line); border-radius: 8px; background: #fffefb; color: #62594e; white-space: nowrap; }
.fx-reading-edition .fx-block-head>.fx-action-term { min-height: 40px; padding: 7px 9px; }
.fx-reading-edition .fx-info-icon { flex: 0 0 15px; width: 15px; height: 15px; }
.fx-reading-edition .fx-chart .fx-cell { position: relative; min-height: 82px; padding-top: 17px; padding-bottom: 7px; }
.fx-reading-edition .fx-cell-info { position: absolute; top: 5px; right: 5px; width: 14px; height: 14px; color: var(--fx-color); opacity: .8; }
.fx-reading-edition .fx-chart .fx-unknown { padding-top: 8px; }
.fx-reading-edition .fx-feature-table button { display: flex; align-items: center; gap: 5px; }
.fx-reading-edition .fx-feature-name { text-decoration: underline dotted #9f9382; text-underline-offset: 4px; }
.fx-reading-edition .fx-feature-table .fx-feature-chevron { margin-left: auto; flex: 0 0 auto; font-size: 20px; color: #897d6b; }
.fx-reading-edition .fx-distribution-table button { grid-template-columns: 26px minmax(0,1fr) 60px 16px; gap: 10px; min-height: 48px; border-bottom: 1px solid #eee8df; }
.fx-reading-edition .fx-distribution-table button:last-child { border-bottom: 0; }
.fx-reading-edition .fx-open-chevron { font-size: 22px; font-weight: 400; color: #897d6b; text-align: right; line-height: 1; }
.fx-result.fx-reading-edition details:not(.pv-more):not(.chapter):not(.report-menu)>summary { min-height: 50px; padding: 11px 12px; gap: 10px; border: 1px solid #e3dbce; border-radius: 8px; background: var(--fx-control-fill); color: #514a40; }
.fx-result.fx-reading-edition details:not(.pv-more):not(.chapter):not(.report-menu)>summary::after { content: ''; flex: 0 0 auto; min-width: 58px; color: #746858; font-size: 14px; line-height: 1.5; font-weight: 500; text-align: right; }
.fx-result.fx-reading-edition details[open]:not(.pv-more):not(.chapter):not(.report-menu)>summary::after { content: ''; }
.fx-reading-edition .fx-details[open]>summary { margin-bottom: 14px; }
.fx-reading-edition .fx-relation-fold { border-top: 0; margin-top: 8px; }
.fx-reading-edition .fx-block { padding-top: 28px; padding-bottom: 28px; }
.fx-reading-edition .fx-chart-section { padding-top: 8px; }
.fx-reading-edition .fx-block-head { margin-bottom: 14px; gap: 12px; }
.fx-reading-edition .fx-day-identity { margin-top: 12px; }
.fx-reading-edition .fx-result-sentence { margin-bottom: 14px; }
.fx-reading-edition .fx-simple-gods :is(th,td) { padding-top: 8px; padding-bottom: 8px; }
.fx-reading-edition .fx-simple-gods .fx-god-metric { min-height: 56px; justify-content: center; }
.fx-reading-edition .fx-god-metric strong { font-variant-numeric: tabular-nums; }
.fx-reading-edition .fx-wheel-hint { text-align: center; margin: 12px 0 4px; }
.fx-reading-edition .fx-wheel-key { gap: 8px 12px; }
.fx-reading-edition .fx-year-picker { gap: 4px; }
.fx-reading-edition .fx-year-picker>button { width: 40px; flex-basis: 40px; min-height: 40px; border: 1px solid var(--fx-control-line); border-radius: 7px; background: #fffefb; line-height: 1; }
.fx-reading-edition .fx-year-picker select { min-height: 40px; }
.fx-reading-edition .fx-luck-character { font-variant-numeric: tabular-nums; }
.fx-reading-edition .fx-calendar-toolbar { margin-bottom: 14px; }
.fx-reading-edition .fx-calendar>button { display: grid; grid-template-rows: 22px 22px 18px 18px 18px; justify-items: center; align-content: start; gap: 1px; height: 114px; min-height: 114px; padding: 6px 0; }
.fx-reading-edition .fx-calendar button>b { line-height: 22px; }
.fx-reading-edition .fx-calendar button>.fx-day-reading { line-height: 22px; }
.fx-reading-edition .fx-calendar button>.fx-day-hanja,.fx-reading-edition .fx-calendar :is(small,i) { line-height: 18px; }
.fx-reading-edition .fx-calendar .fx-weekday { padding-top: 6px; padding-bottom: 10px; }
@media(hover:hover) {
 .fx-reading-edition .fx-inline-term:hover .fx-term-label { text-decoration-style: solid; }
 .fx-reading-edition :is(.fx-action-term,.fx-distribution-table button,.fx-feature-table button):hover { background: #f4efe5; }
 .fx-reading-edition .fx-cell:hover { box-shadow: inset 0 0 0 1px var(--fx-color); }
}
@media(max-width:360px) {
 .fx-reading-edition .fx-distribution-table button { grid-template-columns: 24px minmax(0,1fr) 56px 14px; gap: 8px; }
 .fx-reading-edition .fx-feature-table th:first-child { width: 34%; }
 .fx-reading-edition .fx-action-term { padding-left: 7px; padding-right: 7px; }
 .fx-reading-edition .fx-year-picker { gap: 2px; }
 .fx-reading-edition .fx-year-picker>button { width: 36px; flex-basis: 36px; }
}

.fx-reading-edition .fx-inline-term:hover { background: transparent; }
@media(max-width:420px) {
 .fx-reading-edition .fx-chart th:first-child { width: 56px; }
 .fx-reading-edition .fx-hidden-glyph { font-size: 14px; margin-left: 1px; margin-right: 1px; }
}

.fx-reading-edition details{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.fx-reading-edition .fc-disclosure{margin-top:18px}
.fx-reading-edition details[open]>summary{margin-bottom:14px}

.fx-reading-edition button:active{transform:none}
.fx-reading-edition :is(.fx-decade-list,.fx-year-list,.fx-month-list)>button{border:1px solid transparent;box-shadow:none}
.fx-reading-edition :is(.fx-decade-list,.fx-year-list,.fx-month-list)>button[aria-pressed=true]{border-color:#958674;box-shadow:none}
@media(hover:hover){.fx-reading-edition .fx-cell:is([aria-pressed=true],.is-linked):hover{box-shadow:inset 0 0 0 2px var(--fx-color)}}

html.fx-help-open{overflow:hidden;scrollbar-gutter:stable}
.fx-result .fx-help{width:min(calc(100vw - 32px),520px);max-width:520px;max-height:min(88dvh,780px);margin:auto;padding:0;overflow:hidden;border:1px solid #e3dbce;border-radius:16px;background:var(--fx-paper)}
.fx-result .fx-help[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.fx-help-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:10px 20px;border-bottom:1px solid var(--fx-line);background:var(--fx-paper)}
.fx-help-toolbar .fx-help-back{margin:0;min-height:44px}
.fx-result .fx-help-toolbar .fx-help-close{position:static;flex:0 0 auto;width:auto;min-width:64px;min-height:44px;margin:0 0 0 auto;padding:10px 14px;border:0;border-radius:8px;background:#f3eee6;color:var(--fx-ink);font-size:14px;line-height:1.5;font-weight:600}
.fx-help-content{min-width:0;min-height:0;padding:8px 24px max(24px,env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty}
.fx-help-content #fx-help-title:focus{outline:none}
.fx-help-content section:first-of-type{margin-top:16px}
.fx-help-content :is(p,li,dd){word-break:keep-all;overflow-wrap:break-word}
.fx-reading-edition .fx-help .fx-term{min-height:44px}
@media(max-width:600px){
 .fx-result .fx-help{width:100%;max-width:100%;height:calc(100dvh - max(12px,env(safe-area-inset-top)));max-height:calc(100dvh - max(12px,env(safe-area-inset-top)));margin:auto 0 0;border-bottom:0;border-radius:16px 16px 0 0}
 .fx-help-toolbar{padding:10px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left))}
 .fx-help-content{padding:8px max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
 .fx-help-content .fc-positions{grid-template-columns:1fr}
}
@media(hover:hover){.fx-reading-edition .fx-help .fx-inline-term:hover{background:transparent}}

.fx-reading-edition :is(.fx-action-term,.fx-chart .fx-term,.fx-simple-gods .fx-term,.fx-luck-meta .fx-term){min-height:44px}
.fx-reading-edition .fx-year-picker>button{width:44px;flex-basis:44px;min-height:44px}
.fx-reading-edition .fx-chart :is(.fx-small-row,.fx-god-table-row) .fx-term{min-height:44px}
.fx-reading-edition .fx-year-picker select{min-height:44px}

.fx-reading-edition .fx-block-head{align-items:flex-start}
.fx-reading-edition .fx-section-copy{min-width:0;flex:1}
.fx-reading-edition .fx-concept-definition{display:inline-block;max-width:100%;margin:8px 0 0;padding:6px 10px;border-radius:4px;background:#f4eedf;color:#675540;font-size:15px;font-weight:400;line-height:1.65}
.fx-reading-edition .fx-time-row>.fx-concept-definition,.fx-reading-edition .fx-calendar-section>.fx-concept-definition{margin:-4px 0 18px}
.fx-reading-edition .fx-reading-label{display:block;margin-bottom:8px;color:#76624b;font-size:14px;font-weight:500;line-height:1.6}
.fx-reading-edition .fx-day-identity{align-items:center;padding:16px 0;border-top:1px solid var(--fx-line);border-bottom:1px solid var(--fx-line)}
.fx-reading-edition .fx-day-identity p{display:block}
.fx-reading-edition .fx-day-identity p>b{display:inline-block;margin:0;font-size:24px;font-weight:800;line-height:1.4;color:var(--fx-color)}
.fx-reading-edition .fx-relation-reading{margin-top:18px;padding:16px;border:1px solid #e3d8c6;border-radius:8px;background:#fffaf0}
.fx-reading-edition .fx-relation-reading h4{display:inline-block;padding:4px 10px;border:1px solid #dfd0b8;border-radius:5px;background:#f1e5cd;color:#57462e;font-size:18px;line-height:1.5}
.fx-reading-edition .fx-relation-pair{margin-top:12px;color:var(--fx-muted);font-size:14px;line-height:1.7}
.fx-reading-edition .fx-relation-pair b{font-weight:500}
.fx-reading-edition .fx-relation-meaning{margin-top:12px;color:var(--fx-ink);font-size:17px;line-height:1.85}
.fx-reading-edition .fx-place-meanings{display:grid;gap:0;margin:0 0 16px;padding:0}
.fx-reading-edition .fx-place-meanings>div{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:14px;padding:16px 0;border-bottom:1px solid var(--fx-line)}
.fx-reading-edition .fx-place-meanings dt{padding:6px 4px;border-radius:5px;background:#eee5d6;color:#665038;text-align:center;font-size:15px;font-weight:700;line-height:1.5}
.fx-reading-edition .fx-place-meanings dd{margin:0;font-size:17px;font-weight:400;line-height:1.85}
.fx-reading-edition .fx-element-name{display:grid;justify-items:start;gap:2px}
.fx-reading-edition .fx-element-name b{font-size:18px;line-height:1.4}
.fx-reading-edition .fx-element-name small{font-size:14px;font-weight:400;line-height:1.5;color:var(--fx-muted)}
.fx-reading-edition .fx-distribution-table button{grid-template-columns:42px minmax(0,1fr) 60px 16px;min-height:64px}
.fx-reading-edition .fx-simple-gods th{vertical-align:top;background:#f7f2e9}
.fx-reading-edition .fx-god-topic{display:block;margin-bottom:8px;font-size:16px;font-weight:700;line-height:1.5;color:var(--fx-ink)}
.fx-reading-edition .fx-simple-gods th>.fx-term{min-height:44px;padding:4px 6px;border:1px solid #dcccaf;border-radius:5px;background:#eee4d1;color:#6c5335;font-size:14px}
.fx-reading-edition .fx-simple-gods .fx-god-metric{align-items:flex-start;justify-content:flex-start;gap:8px;padding:4px 0}
.fx-reading-edition .fx-simple-gods .fx-god-metric>.fx-term{min-height:44px;padding:4px 6px;border:1px solid #e3dacb;border-radius:5px;background:#fffaf1;color:#6a5038}
.fx-reading-edition .fx-god-meaning{display:block;font-size:14px;font-weight:400;line-height:1.65;color:#675d4f;word-break:keep-all;overflow-wrap:break-word}
.fx-reading-edition .fx-god-metric strong{display:block;margin-top:2px;font-size:17px;font-weight:700;line-height:1.5;color:var(--fx-ink)}
.fx-reading-edition .fx-simple-gods td{vertical-align:top}
.fx-reading-edition .fx-simple-gods td.is-zero{opacity:1}
.fx-reading-edition .fx-simple-gods td.is-zero .fx-god-metric strong{color:var(--fx-muted)}
.fx-reading-edition .fx-support-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 0}
.fx-reading-edition .fx-support-pairs>div{padding:12px;border:1px solid #e5dac9;border-radius:6px;background:#fffaf1}
.fx-reading-edition .fx-support-pairs dt{font-size:14px;line-height:1.5;color:var(--fx-muted)}
.fx-reading-edition .fx-support-pairs dd{display:flex;align-items:baseline;gap:8px;margin:8px 0 0;color:var(--fx-color)}
.fx-reading-edition .fx-support-pairs b{font-size:24px;line-height:1.4}
.fx-reading-edition .fx-support-pairs dd>span{font-size:14px;color:var(--fx-muted)}
.fx-reading-edition .fx-report-useful{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--fx-line)}
.fx-reading-edition .fx-useful-value>small,.fx-reading-edition .fx-method-label>small{display:block;margin-bottom:8px;font-size:15px;font-weight:600;line-height:1.5;color:#62503f}
.fx-reading-edition .fx-useful-value strong{display:flex;align-items:baseline;gap:10px;color:var(--fx-color);font-size:28px;line-height:1.4}
.fx-reading-edition .fx-useful-value strong>span{font-size:17px;font-weight:400}
.fx-reading-edition .fx-method-label{display:block;margin:0;color:var(--fx-muted)}
.fx-reading-edition .fx-method-label>b{display:block;padding:0;border:0;border-radius:0;background:transparent;color:var(--fx-ink);font-size:16px;font-weight:700;line-height:1.5}
.fx-reading-edition .fx-reading-reason{padding:18px 0 0}
.fx-reading-edition .fx-reading-reason>h4{margin:0 0 4px;font-size:18px;font-weight:800;line-height:1.5;color:var(--fx-ink)}
.fx-reading-edition .fx-reading-reason .fx-body{margin-top:10px}
@media(max-width:360px){
 .fx-reading-edition .fx-concept-definition{font-size:14px;padding:6px 8px}
 .fx-reading-edition .fx-place-meanings>div{grid-template-columns:48px minmax(0,1fr);gap:10px}
 .fx-reading-edition .fx-distribution-table button{grid-template-columns:36px minmax(0,1fr) 56px 14px;gap:8px}
 .fx-reading-edition .fx-simple-gods :is(th,td){padding-left:6px;padding-right:6px}
 .fx-reading-edition .fx-god-topic{font-size:14px}
 .fx-reading-edition .fx-support-pairs>div{padding:10px}
}
.fx-reading-edition .fx-useful-value .fx-result-hanja{font-size:18px;font-style:normal;font-weight:400;color:var(--fx-muted)}
.fx-result.fx-reading-edition .fx-chart .fx-cell[data-fx-cell="day-stem"]{box-shadow:inset 0 0 0 2px var(--fx-color)}

.fx-reading-edition .fx-simple-gods th>.fx-term{padding:0;border:0;border-radius:0;background:transparent;color:var(--fx-muted)}
.fx-reading-edition .fx-meaning-label{margin:16px 0 0}
.fx-reading-edition .fx-relation-meaning{margin-top:6px}
.fx-reading-edition .fx-useful-reasons{display:grid;gap:0;margin:0;padding:0}
.fx-reading-edition .fx-useful-reasons>div{padding:16px 0;border-bottom:1px solid var(--fx-line)}
.fx-reading-edition .fx-useful-reasons dt{display:inline-block;padding:4px 8px;border-radius:4px;background:#f2eadb;color:#6a543a;font-size:14px;font-weight:700;line-height:1.5}
.fx-reading-edition .fx-useful-reasons dd{margin:10px 0 0;font-size:17px;line-height:1.85;color:var(--fx-ink)}
.fx-reading-edition .fx-useful-role{margin-top:18px}
.fx-reading-edition .fx-useful-role h5{margin:0;color:#5a4435;font-size:16px;font-weight:700;line-height:1.5}
.fx-reading-edition .fx-useful-role p{margin:8px 0 0;font-size:17px;line-height:1.7}
.fx-reading-edition .fx-useful-role p>strong{font-weight:500}
.fx-reading-edition .fx-role-classification{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:2px;color:#62503f;font-size:15px;line-height:1.7}
.fx-reading-edition .fx-role-classification b{color:var(--fx-ink);font-weight:600}
.fx-reading-edition .fx-role-classification .fx-key-help{padding-left:4px;padding-right:4px}

.fx-reading-edition .fx-simple-gods td{--fx-metric-inset:6px;position:relative;padding-left:var(--fx-metric-inset);padding-right:var(--fx-metric-inset);padding-bottom:46px}
.fx-reading-edition .fx-god-metric strong{position:absolute;left:var(--fx-metric-inset);right:var(--fx-metric-inset);bottom:10px;margin:0;padding:0}

.fx-reading-edition .fx-report-nav{position:static;display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:18px 0 24px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.fx-reading-edition .fx-contents-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.fx-reading-edition .fx-report-nav-label{font-size:14px;color:var(--fx-muted)}
.fx-reading-edition .fx-report-nav button{min-width:0;min-height:44px;padding:8px 3px;border:1px solid #d9d0c2;border-radius:6px;background:var(--fx-paper);color:var(--fx-ink);font-size:14px;font-weight:600;text-decoration:none}
.fx-reading-edition .fx-report-nav button::after{content:"↓";margin-left:4px;color:#8c7b69;font-size:14px}
.fx-reading-edition .fx-report-nav button[aria-current=location]{border-color:#958674;color:var(--fx-ink)}
.fx-reading-edition .fx-report-section,.fx-reading-edition .fx-block{scroll-margin-top:80px}
.fx-reading-edition .fx-concept-definition{display:block;margin:6px 0 0;padding:0;border:0;border-radius:0;background:transparent;color:var(--fx-muted);font-size:15px;line-height:1.7}
.fx-reading-edition .fx-key-help{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;padding:8px;border:0;border-radius:6px;background:transparent;color:#62594e;font-size:14px;white-space:nowrap}
.fx-reading-edition .fx-key-help .fx-info-icon{width:20px;height:20px;flex:0 0 20px}
.fx-reading-edition .fx-chart thead th{vertical-align:bottom;font-size:14px;line-height:1.5;padding-bottom:10px}
.fx-reading-edition .fx-chart thead th>span{display:block;word-break:keep-all}
.fx-reading-edition .fx-chart .fx-self-column small{display:block;margin-top:4px;font-size:14px;color:#5c493e;font-weight:700}
.fx-reading-edition .fx-day-guide{margin:14px 0 20px;padding:12px 0 0;font-size:16px;line-height:1.85;color:var(--fx-muted)}
.fx-reading-edition .fx-day-guide>b{color:var(--fx-color,var(--fx-ink));font-weight:700;white-space:nowrap}
.fx-reading-edition .fx-day-guide .fx-term{display:inline-flex;min-width:44px;min-height:44px;justify-content:center;padding:0 2px;vertical-align:baseline;font-size:16px;line-height:inherit}
.fx-result.fx-reading-edition details.fx-details:not(.pv-more):not(.chapter):not(.report-menu)>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;height:auto;margin:0;padding:12px 14px;border:1px solid #e3dacd;border-radius:7px;background:#f7f3ec;color:var(--fx-ink);font-size:16px;line-height:1.6;font-weight:600;list-style:none}
.fx-result.fx-reading-edition details.fx-details:not(.pv-more):not(.chapter):not(.report-menu)>summary::before{content:none}
.fx-result.fx-reading-edition details.fx-details:not(.pv-more):not(.chapter):not(.report-menu)>summary::after{content:'';position:static;flex:0 0 8px;min-width:8px;max-width:8px;width:8px;height:8px;margin:0 2px 4px 0;border:0;border-right:2px solid #756757;border-bottom:2px solid #756757;transform:rotate(45deg)}
.fx-result.fx-reading-edition details.fx-details[open]:not(.pv-more):not(.chapter):not(.report-menu)>summary::after{margin-top:5px;margin-bottom:0;transform:rotate(225deg)}
.fx-result.fx-reading-edition details.fx-details>summary::-webkit-details-marker{display:none}
.fx-reading-edition .fx-details{margin-top:16px}
.fx-reading-edition .fx-details[open]>summary{margin-bottom:16px}
.fx-reading-edition .fx-relation-fold>summary small{margin-left:8px;font-size:14px;font-weight:400;color:var(--fx-muted)}
.fx-reading-edition .fx-relation-intro{margin:14px 0 12px;font-size:15px;color:var(--fx-muted)}
.fx-reading-edition .fx-relation-reading{margin-top:16px;padding:16px 0;border:0;border-top:1px solid var(--fx-line);border-radius:0;background:transparent}
.fx-reading-edition .fx-relation-reading h4{padding:0;border:0;border-radius:0;background:transparent;color:var(--fx-ink);font-size:20px}
.fx-reading-edition .fx-relation-reading>.fx-reading-label:first-child{display:none}
.fx-reading-edition .fx-relation-pair{margin-top:8px;color:var(--fx-ink);font-size:15px}
.fx-reading-edition .fx-relation-chart small{line-height:1.5;word-break:keep-all}
.fx-reading-edition .fx-pillar-guide{margin-top:24px}
.fx-reading-edition .fx-pillar-meanings{margin-top:12px}
.fx-reading-edition .fx-pillar-meanings>div{padding:14px 0;border-bottom:1px solid var(--fx-line)}
.fx-reading-edition .fx-pillar-meanings dt{font-size:16px;font-weight:700}
.fx-reading-edition .fx-pillar-meanings dt small{font-size:14px;font-weight:400;color:var(--fx-muted)}
.fx-reading-edition .fx-pillar-meanings dd{margin-top:8px;font-size:17px;line-height:1.8}
.fx-reading-edition .fx-gods-table{width:100%;table-layout:fixed;border-collapse:collapse}
.fx-reading-edition .fx-gods-table :is(th,td){padding:7px 8px;border-bottom:1px solid var(--fx-line);vertical-align:middle;text-align:left}
.fx-reading-edition .fx-gods-table thead th{font-size:14px;font-weight:400;color:var(--fx-muted);background:#f7f3ec}
.fx-reading-edition .fx-gods-table thead th:first-child{width:35%}
.fx-reading-edition .fx-gods-table thead th:last-child{width:25%;text-align:right}
.fx-reading-edition .fx-gods-table tbody th{font-weight:400}
.fx-reading-edition .fx-gods-table .fx-god-topic{margin:0;font-size:16px}
.fx-reading-edition .fx-gods-table th>.fx-term{padding:4px 0;font-size:14px;color:var(--fx-muted)}
.fx-reading-edition .fx-gods-table td>.fx-term{padding:4px 0;min-height:44px;font-size:16px}
.fx-reading-edition .fx-gods-table .fx-god-ratio{text-align:right;font-variant-numeric:tabular-nums}
.fx-reading-edition .fx-god-ratio strong{display:block;font-size:17px;font-weight:700}
.fx-reading-edition .fx-god-ratio small{display:block;font-size:14px;color:var(--fx-muted)}
.fx-reading-edition .fx-time-instruction{margin:0 0 18px;font-size:16px;line-height:1.8;color:var(--fx-muted)}
.fx-reading-edition .fx-useful-reasons dt{padding:0;border:0;border-radius:0;background:transparent;color:#5a4435;font-size:16px;font-weight:700}
@media(hover:hover){.fx-reading-edition .fx-key-help:hover{background:#f3eee5}.fx-reading-edition .fx-report-nav button:not([aria-current]):hover{background:#f3eee5}}
@media(max-width:360px){.fx-reading-edition .fx-report-nav button{font-size:14px}.fx-reading-edition .fx-gods-table :is(th,td){padding-left:5px;padding-right:5px}.fx-reading-edition .fx-gods-table .fx-god-topic{font-size:15px}}

.fx-reading-edition #fx-chart-title{scroll-margin-top:76px}

.fx-reading-edition .fx-relations{flex-wrap:wrap;overflow:visible;gap:6px;padding:0;margin:12px 0 16px}

.fx-reading-edition .fx-chart th:first-child{width:64px}
.fx-reading-edition .fx-luck-grid{grid-template-columns:64px minmax(0,1fr)}
.fx-reading-edition .fx-luck-labels{grid-template-rows:24px 36px 46px 46px 36px 24px}
.fx-reading-edition .fx-luck-labels span{white-space:normal;word-break:keep-all;font-size:14px;font-weight:600;line-height:1.25;color:#62503f}
.fx-reading-edition :is(.fx-decade-list,.fx-month-list)>button{grid-template-rows:24px 36px 46px 46px 36px 24px;min-height:216px}
.fx-reading-edition .is-decade .fx-luck-labels,.fx-reading-edition .fx-decade-list>button{grid-template-rows:44px 36px 46px 46px 36px 24px}
.fx-reading-edition .fx-decade-list>button{min-height:236px}
.fx-reading-edition .fx-month-list>button,.fx-reading-edition .fx-luck-labels.is-short{grid-template-rows:24px 36px 46px 46px;min-height:152px}
.fx-reading-edition .fx-luck-period>b,.fx-reading-edition .fx-luck-period>small{display:block;line-height:1.4}
.fx-reading-edition .fx-luck-period>b{font-size:15px;font-weight:700}
.fx-reading-edition .fx-luck-period>small{font-size:14px;font-weight:400}
.fx-reading-edition .fx-period-selected{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin:16px 0}
.fx-reading-edition .fx-period-selected>b{font-size:18px}
.fx-reading-edition .fx-period-selected>span{font-size:15px;color:var(--fx-muted)}
.fx-reading-edition .fx-period-facts{margin:12px 0;padding:0}
.fx-reading-edition .fx-period-facts>div{padding:14px 0;border-bottom:1px solid var(--fx-line)}
.fx-reading-edition :is(.fx-period-facts,.fx-facts) dt,.fx-reading-edition .fx-data-label{font-size:16px;font-weight:700;line-height:1.6;color:#5a4435}
.fx-reading-edition .fx-period-facts dd{margin:8px 0 0;font-size:17px;line-height:1.85}
.fx-reading-edition .fx-year-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 20px;font-size:16px;font-weight:700}
.fx-reading-edition .fx-year-choice select{min-width:132px;min-height:48px;padding:9px 12px;border:1px solid #cfc4b5;border-radius:7px;background:#fffefb;color:var(--fx-ink);font-size:17px;font-weight:600}
.fx-reading-edition .fx-single-year{padding:16px 0;border-top:1px solid var(--fx-line);border-bottom:1px solid var(--fx-line)}
.fx-reading-edition .fx-year-result-title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.fx-reading-edition .fx-year-result-title>b{font-size:20px}.fx-reading-edition .fx-year-result-title>span{font-size:16px;color:var(--fx-muted)}
.fx-reading-edition .fx-year-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.fx-reading-edition .fx-year-pair .fx-data-label{margin-bottom:10px;font-size:15px}
.fx-reading-edition .fx-year-pair .fx-luck-character{min-height:68px;margin-bottom:6px}
.fx-reading-edition .fx-year-pair .fx-luck-character b{font-size:28px}
.fx-reading-edition .fx-year-role{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:16px}.fx-reading-edition .fx-year-role>span{font-size:14px;color:var(--fx-muted)}
.fx-reading-edition .fx-year-stage{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:15px}
.fx-reading-edition .fx-period-context{margin:12px 0;font-size:17px;font-weight:700}
.fx-reading-edition .fx-period h4{font-size:17px}.fx-reading-edition .fx-period-reading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:8px}
.fx-reading-edition .fx-month-relation{margin-top:12px;font-size:16px}.fx-reading-edition .fx-month-relation>b,.fx-reading-edition .fx-month-relation>span{display:block}
.fx-reading-edition .fx-feature-key{margin-top:8px;font-size:14px;line-height:1.7;color:#62503f}
.fx-reading-edition .fx-help-hanja{font-family:HanjaRound,var(--f-ui);font-size:20px;font-weight:400;color:var(--fx-muted)}

.fx-reading-edition .fx-year-element{margin:6px 0 0;font-size:15px;color:var(--fx-ink)}

.fx-reading-edition .fx-year-meaning{margin-top:4px;font-size:15px;line-height:1.7;color:var(--fx-muted)}

.fx-reading-edition .fx-year-god,.fx-reading-edition .fx-year-stage>b{font-size:17px;font-weight:700;color:var(--fx-ink)}
.fx-reading-edition .fx-period-god{font-size:16px}.fx-reading-edition .fx-period-god>b{font-weight:700}

.fx-reading-edition .fx-month-relation-meaning{margin:8px 0 0;font-size:16px;line-height:1.8;color:var(--fx-ink)}

.fx-supplement{--reader-ink:#40362f;--reader-muted:#76685d;color:var(--reader-ink)}
.fx-supplement .fx-reader-block{margin:0;padding:28px 0;border:0;border-bottom:1px solid #e9dfd2;border-radius:0;background:none;box-shadow:none}
.fx-reader-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px}
.fx-supplement .fx-reader-heading h3{margin:0;font-size:19px;line-height:1.4;letter-spacing:-.03em}
.fx-supplement .fx-key-help{flex:0 0 40px;min-width:40px;min-height:40px;padding:8px;color:#806d59;background:none;border:0;box-shadow:none}
.fx-reader-facts{display:grid}
.fx-supplement .fx-reader-fact{display:grid;grid-template-columns:minmax(72px,.8fr) minmax(0,1.7fr) 12px;align-items:center;gap:12px;width:100%;min-height:58px;padding:14px 0;border:0;border-bottom:1px solid #eee5d9;border-radius:0;background:none;text-align:left;color:inherit}
.fx-reader-fact:last-child{border-bottom:0}
.fx-reader-fact b{font-size:15px;font-weight:650;word-break:keep-all}
.fx-reader-fact>span{font-size:14px;line-height:1.7;color:var(--reader-muted);overflow-wrap:anywhere}
.fx-reader-fact>i{font-style:normal;color:#9a8772;font-size:22px}
.fx-reader-stage-grid{display:grid;grid-template-columns:64px repeat(4,minmax(0,1fr));align-items:stretch;gap:0;width:100%;text-align:center}
.fx-reader-stage-grid>span,.fx-reader-stage-grid>button{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:11px 1px;border:0;border-radius:0;background:none;color:inherit;font-size:14px;line-height:1.45}
.fx-reader-stage-grid>button{min-height:64px;text-decoration:underline;text-decoration-color:#c6b596;text-underline-offset:5px}
.fx-reader-stage-grid>button small,.fx-reader-stage-title small{font-size:14px;line-height:1.5;color:var(--reader-muted);margin-top:6px;text-decoration:none;word-break:keep-all}
.fx-reader-stage-grid>.fx-reader-stage-head{font-size:14px;color:var(--reader-muted);padding:4px 0}
.fx-reader-stage-grid>.fx-reader-stage-title{font-size:14px;color:var(--reader-muted);align-items:flex-start;text-align:left;word-break:keep-all}
.fx-reader-stage-branch{gap:2px!important;font-size:14px!important}
.fx-reader-stage-branch b{font-family:var(--f-ui,"Saju Round",sans-serif);font-size:24px;font-weight:500}
.fx-reader-stage-empty{font-size:14px!important;color:var(--reader-muted)!important}
.fx-reader-useful{margin:5px 0 0;font-size:23px}
.fx-reader-useful .fx-el{display:flex;align-items:center;gap:9px;color:var(--el)}
.fx-reader-useful b{font-family:var(--f-ui,"Saju Round",sans-serif);font-weight:500;font-size:26px}
.fx-reader-useful .fx-el>span{font-family:inherit;font-size:14px;color:var(--reader-muted)}
.fx-supplement #fx-panel-time{padding:26px 0 0;border:0;background:none}
.fx-reader-selectors{display:grid;grid-template-columns:1fr .85fr 1.25fr;gap:7px;margin:0 0 16px}
.fx-reader-selectors label{min-width:0}
.fx-reader-selectors select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;margin:0;padding:8px 14px 8px 8px;border:1px solid #dcd0bd;border-radius:10px;background:#fffdf8;color:var(--reader-ink);font:600 14px/1.4 var(--f-ui,"Saju Round",sans-serif);text-overflow:ellipsis;appearance:auto}
.fx-reader-basis{margin:0 0 16px!important;font-size:14px!important;line-height:1.65;color:var(--reader-muted)}
.fx-reader-cycle{margin:0 0 12px;padding:17px 16px 18px;border:0;border-radius:15px;background:#f3ecdf}
.fx-reader-year{margin-left:12px;background:#fbf6ec}
.fx-reader-month{margin-left:24px;background:#fffaf2}
.fx-reader-label{display:flex;align-items:center;gap:7px;margin:0 0 8px}
.fx-reader-label h4{margin:0!important;font:650 14px/1.5 var(--f-ui,"Saju Round",sans-serif)!important;color:var(--reader-ink)}
.fx-reader-label>span{margin-left:auto;font-size:14px;line-height:1.5;white-space:nowrap;color:var(--reader-muted)}
.fx-reader-label .fx-key-help{margin-left:auto;min-height:36px;min-width:36px;flex-basis:36px;padding:7px}
.fx-reader-label>span+.fx-key-help{margin-left:0}
.fx-reader-cycle h5{margin:0 0 9px!important;font-size:23px;line-height:1.4;font-weight:700;letter-spacing:-.025em;color:var(--reader-ink)}
.fx-reader-hanja{font-family:var(--f-ui,"Saju Round",sans-serif);font-size:17px;font-weight:400;color:var(--reader-muted);margin-left:5px;white-space:nowrap}
.fx-reader-period{font-size:14px!important;line-height:1.9!important;margin:0 0 8px!important;color:#76634e}
.fx-reader-meta{font-size:14px!important;line-height:1.8!important;color:var(--reader-muted);margin:6px 0!important}
.fx-reader-theme{font-size:17px!important;line-height:1.85!important;font-weight:550;margin:15px 0 10px!important;word-break:keep-all;overflow-wrap:anywhere}
.fx-reader-gods{display:flex;flex-wrap:wrap;gap:6px 16px;margin:12px 0 0;color:var(--reader-muted);font-size:14px}
.fx-reader-gods>span{display:inline-flex;align-items:center;gap:6px}
.fx-supplement .fx-reader-gods .fx-term{font-size:14px;min-height:30px;padding:3px 0;color:#796542;text-decoration:underline;text-decoration-color:#ccb88f;text-underline-offset:4px}
.fx-reader-note,.fx-reader-transition,.fx-reader-boundary{font-size:14px!important;line-height:1.85!important;color:#7a6252;margin:10px 0!important;word-break:keep-all}
.fx-reader-transition{margin:12px 0 12px 12px!important;padding:0 4px}
.fx-reader-boundary{padding:10px 12px;background:#f5edde;border-radius:10px}
.fx-reader-scope{margin:14px 0 22px!important;font-size:14px!important;line-height:1.8!important;color:var(--reader-muted);word-break:keep-all}
.fx-reader-browser{padding:14px 0;border-top:1px solid #e9dfd2;border-bottom:1px solid #e9dfd2;margin:0 0 26px}
.fx-reader-browser>summary{font-size:14px;font-weight:550;cursor:pointer;min-height:35px;line-height:35px}
.fx-luck-strip,.fx-year-strip{display:flex;gap:8px;overflow-x:auto;padding:10px 1px;scrollbar-width:thin}
.fx-luck-strip>button{flex:0 0 100px;display:flex;flex-direction:column;gap:5px;padding:10px 8px;min-height:110px;border:1px solid #e2d7c5;border-radius:10px;background:#fffdf8;color:inherit}
.fx-luck-strip small{font-size:14px;color:var(--reader-muted)}
.fx-luck-strip b{font-size:16px}
.fx-year-strip>button{flex:0 0 56px;min-height:42px;border:1px solid #e2d7c5;border-radius:8px;background:none;color:inherit;font-size:14px}
.fx-luck-strip>button.is-current,.fx-year-strip>button.is-current{border-color:#a78a5f;background:#f7edda;font-weight:650}
.fx-reader-calendar{padding:0 0 16px}
.fx-reader-calendar>.fx-reader-label h4{font-size:18px!important}
.fx-reader-calendar .fx-calendar-toolbar{margin:8px 0 16px}
.fx-supplement .fx-reader-calendar .fx-callout{border:0;border-radius:12px;background:#f6f0e6;padding:15px;margin:18px 0}
.fx-supplement .fx-reader-calendar .fx-callout h4{font-size:19px}
.fx-supplement .fx-footer{margin:0;padding:18px 0;border-top:1px solid #e9dfd2}
.mc-sheet-body .fx-supplement-table{width:100%;border-collapse:collapse;font-size:14px}
.mc-sheet-body .fx-supplement-table th,.mc-sheet-body .fx-supplement-table td{padding:9px 6px;text-align:left;border-bottom:1px solid #eee4d6}
.mc-sheet-body .fx-supplement-table button{border:0;background:none;padding:6px 0;text-decoration:underline;text-underline-offset:4px;font:inherit;color:#796542}
.mc-sheet-body .fx-table-hint{font-size:14px;line-height:1.8}
.fx-reader-hidden-help h4{margin:20px 0 6px}
.fx-reader-hidden-help p{margin:5px 0}
@media(max-width:360px){.fx-reader-selectors{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.fx-reader-day{grid-column:1/-1;width:132px;justify-self:end}.fx-reader-cycle{padding:14px 12px}.fx-reader-year{margin-left:8px}.fx-reader-month{margin-left:16px}.fx-reader-label>span{display:none}.fx-reader-label .fx-key-help{margin-left:auto}.fx-reader-stage-grid{grid-template-columns:53px repeat(4,minmax(0,1fr))}.fx-reader-stage-grid>button{font-size:14px}.fx-reader-selectors select{font-size:14px;padding-left:6px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){.fx-supplement *{scroll-behavior:auto!important}}
