/* Match the visible and document reading order at every width. */
.celestial-site.celestial-palace #chart-years#chart-years .luck-timeline>*,
.celestial-site.celestial-palace #chart-years#chart-years .luck-journey{order:0}
.celestial-site.celestial-palace .chart-analysis>.pillar-inspector{margin-block:32px}
.celestial-site.celestial-palace .chart-navigation{display:flex;flex-wrap:wrap;gap:6px}
.celestial-site.celestial-palace .chart-navigation a{flex:1 1 0;min-width:40px;white-space:nowrap}
#chart-supplements{scroll-margin-top:24px}
#chart-supplements:focus-visible{outline:2px solid #526e54;outline-offset:6px}
@media(max-width:480px){
 .celestial-site.celestial-palace .chart-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .celestial-site.celestial-palace .chart-navigation a{min-height:44px}
}
.celestial-site.celestial-palace #chart-years .luck-sequence{
 container-type:inline-size;position:relative;width:min(100%,1024px);margin-inline:auto;
 --axis-foot:url('/assets/luck-axis-foot-177932ac0b35.webp');
 --axis-node:url('/assets/luck-axis-node-4a15175ab48d.webp');
 --axis-card:url('/assets/luck-axis-card-9de06b935f1c.webp');
 --axis-active:url('/assets/reading-active-40658b2ba8fe.webp');
 --axis-journey-title:url('/assets/reading-journey-title-ce2b19e4edad.webp');
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-sequence>.luck-journey{margin:0 auto 32px;padding:24px 0 64px}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-sequence>.luck-journey .journey-heading{height:auto;margin:0 0 24px}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-sequence>.luck-journey .journey-heading h4{
 position:static;width:min(100%,480px);height:72px;margin:0 auto;padding:0 16%;box-sizing:border-box;
 background:var(--axis-journey-title) center/100% 100% no-repeat;font-size:28px;line-height:1.3;
}
@media(max-width:680px){
 .celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-sequence>.luck-journey{padding:16px 12px 64px;box-sizing:border-box}
 .celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-sequence>.luck-journey .journey-heading h4{height:58px;font-size:26px}
}
@media(max-width:480px){
 .celestial-site.celestial-palace.celestial-palace .result-paper .jade-chart .chart-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .celestial-site.celestial-palace.celestial-palace .result-paper .jade-chart .chart-navigation a{width:auto;min-width:44px;min-height:44px}
}
