/* Exact artwork and geometry from the selected third concept. Labels stay live. */
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-timeline {
 --axis-top: url('/assets/luck-axis-top-06f6cbba96b1.webp');
 --axis-token: url('/assets/luck-axis-token-clean-413e9a308ec0.webp');
 --axis-card: url('/assets/luck-axis-card-9de06b935f1c.webp');
 --axis-active: url('/assets/luck-axis-active-9e032b7834c3.webp');
 --axis-node: url('/assets/luck-axis-node-4a15175ab48d.webp');
 --axis-foot: url('/assets/luck-axis-foot-177932ac0b35.webp');
 --axis-title: url('/assets/luck-axis-title-71ab86724d46.webp');
 --axis-banner: url('/assets/luck-axis-banner-099614213186.webp');
 container-type:inline-size; position:relative; isolation:isolate; box-sizing:border-box;
 width:min(100%,1024px); max-width:1024px; margin:0 auto; padding:min(83.6%,856px) 0 0;
 border:0; border-radius:0; overflow:hidden; background:url('/assets/luck-jade-ground-dde7c0a1f9d6.webp') center/100% 100% no-repeat,#edf5e9; color:#103d29;
 mask-image:linear-gradient(to right,transparent,#000 12px,#000 calc(100% - 12px),transparent),linear-gradient(to bottom,transparent,#000 20px,#000 calc(100% - 24px),transparent);
 mask-composite:intersect;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-timeline::before {
 content:''; position:absolute; inset:0 0 auto; height:83.6cqw; z-index:-1; pointer-events:none;
 background:var(--axis-top) center top/100% 100% no-repeat;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-timeline>h3 {
 position:absolute; top:6.4cqw; left:20.4%; display:flex; justify-content:center; align-items:center;
 width:59.2%; max-width:none; height:10.3cqw; min-height:0; margin:0; padding:0 6%;
 border:0; border-image:none; border-radius:0; box-shadow:none; background:none;
 color:#073c27; font:700 6.25cqw/1.15 var(--display); letter-spacing:.02em; text-align:center;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years :is(.luck-timeline>h3,.journey-heading h4) .chart-detail-icon {display:none}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .year-controls {
 position:absolute; top:18.7cqw; left:5.5%; display:grid; grid-template-columns:27% 39.5% 27%; justify-content:space-between;
 width:89%; max-width:none; height:7.3cqw; margin:0; padding:0; gap:0;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .year-controls>* {
 display:block; box-sizing:border-box; width:100%; min-width:0; height:100%; min-height:0;
 margin:0; padding:0 5%; border:0; border-image:none; border-radius:0; box-shadow:none; background:none;
 color:#103d29; font:700 4.05cqw/1.2 var(--display); text-align:center; white-space:nowrap; appearance:none;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .year-controls>select {
 padding-right:14%; padding-left:9%;
 background:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="12" viewBox="0 0 20 12"%3E%3Cpath d="m2 2 8 8 8-8" fill="none" stroke="%23103d29" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') right 8% center/5% auto no-repeat;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .year-controls>button:disabled {opacity:.4;cursor:not-allowed}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years {
 position:absolute; top:29cqw; left:6.2%; display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
 grid-template-rows:15cqw 16.8cqw; width:87.6%; height:31.8cqw; margin:0; padding:0; gap:0; border:0;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button {
 position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
 width:100%; min-width:0; height:100%; min-height:0; margin:0; padding:3.1cqw 0 0; gap:.55cqw;
 border:0; border-image:none; border-radius:0; box-shadow:none; background:none;
 color:#073c27; font:500 3.05cqw/1.1 var(--display);
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button::before,
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button::after {content:none}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button>span {color:inherit}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button b {color:inherit;font:700 5.1cqw/1.1 var(--display)}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button.selected-year {padding-top:2.6cqw;gap:.5cqw;background:none;color:#fff9df;font-size:3cqw}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button.selected-year b {font-size:4.45cqw;line-height:1}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button.selected-year::before {
 content:''; position:absolute; top:-1.9cqw; left:calc(50% - 7.6cqw); width:15.2cqw; height:18.95cqw; z-index:-1;
 border:0; outline:0; border-radius:0; box-shadow:none; background:var(--axis-token) center/100% 100% no-repeat;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button small {
 min-height:0; margin:0; padding:0 .6cqw; border:1px solid #d1ad5e; border-radius:10px;
 background:#fff0be; color:#594215; font:700 2.4cqw/1.2 var(--display); text-decoration:none;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button.selected-year small {
 position:absolute; top:11.6cqw; left:calc(50% - 3.8cqw); display:flex; align-items:center; justify-content:center;
 box-sizing:border-box; width:7.6cqw; height:3.1cqw; min-height:0; margin:0; padding:0;
 border:1px solid #d1ad5e; border-radius:999px; background:linear-gradient(#fff6d7,#f5dda0);
 color:#634614; font:700 2.25cqw/1 var(--display); text-decoration:none;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button.selected-year:has(small+small) small {
 left:calc(50% - 4.9cqw); width:4.9cqw; border-radius:999px 0 0 999px; border-right:0; font-size:1.95cqw;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button.selected-year:has(small+small) small+small {
 left:50%; border-left:0; border-right:1px solid #d1ad5e; border-radius:0 999px 999px 0;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .viewing-year {
 position:absolute; top:61.5cqw; left:3.3%; display:flex; align-items:center; justify-content:center;
 box-sizing:border-box; width:93.4%; max-width:none; height:9.5cqw; min-height:0; margin:0; padding:0 6%;
 border:0; border-image:none; border-radius:0; box-shadow:none; background:none; color:#0b3e29;
 font:700 4.1cqw/1.25 var(--display); text-align:center; text-wrap:balance; word-break:keep-all; overflow-wrap:normal;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .viewing-year {gap:.7cqw}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .viewing-year-current {white-space:nowrap}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .viewing-year.is-multiline {
 flex-direction:column; gap:.3cqw; padding:.9cqw 8.5%; font-size:3cqw; line-height:1.16;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .viewing-year.is-multiline .viewing-year-separator {display:none}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .viewing-year.is-multiline .viewing-year-luck {white-space:nowrap}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-journey {
 position:static; margin:0; padding:0 0 17cqw; border:0; background:var(--axis-foot) center bottom/100% auto no-repeat;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-heading {position:static;display:block;height:0;margin:0;padding:0}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-heading h4 {
 position:absolute; top:74cqw; left:24.6%; display:flex; align-items:center; justify-content:center;
 width:50.8%; max-width:none; height:8.4cqw; min-height:0; margin:0; padding:0 7%;
 border:0; border-image:none; border-radius:0; box-shadow:none; background:none; color:#073c27;
 font:700 5.6cqw/1.15 var(--display); letter-spacing:.06em; white-space:nowrap;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-hint {display:none}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail {
 position:relative; width:82%; max-width:none; margin:0 8% 0 10%; padding:0; overflow:visible;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail ol {
 position:relative; display:grid; grid-template-columns:minmax(0,1fr); gap:1.3cqw;
 width:100%; min-width:0; margin:0; padding:.9cqw 0 0 6cqw; list-style:none;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail ol::before {
 content:''; position:absolute; left:1.7cqw; top:0; bottom:0; width:.45cqw;
 background:linear-gradient(90deg,#c08c2d,#fff3bf 45%,#c08c2d); border-radius:50%;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li {
 position:relative; isolation:isolate; display:grid; grid-template-columns:29% 21% 50%; align-items:center; gap:0;
 box-sizing:border-box; width:100%; max-width:none; height:7.1cqw; min-height:0; margin:0; padding:0 5%;
 border:0; border-image:none; border-radius:0; box-shadow:none; background:var(--axis-card) center/100% 100% no-repeat; text-align:left;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li::before,
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li[data-active=true]::before {content:none}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail .journey-dot,
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li[data-active=true] .journey-dot {
 position:absolute; top:calc(50% - 1.8cqw); left:-4.2cqw; width:3.6cqw; height:3.6cqw;
 border:0; outline:0; border-radius:0; box-shadow:none; background:var(--axis-node) center/contain no-repeat;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail strong {
 grid-column:2; grid-row:1; margin:0; color:#093e2b; font:700 4.7cqw/1.1 var(--display); white-space:nowrap;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-dates {
 grid-column:1; grid-row:1; margin:0; color:#344916; font:500 3.1cqw/1.1 var(--display); white-space:nowrap;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-selected {
 grid-column:3; grid-row:1; display:flex; align-items:center; justify-content:space-between; gap:1.4cqw;
 width:100%; min-height:0; margin:0; padding:0 0 0 3cqw; border:0; border-radius:0; background:none; color:#fff6d9;
 font:600 3cqw/1.2 var(--display); white-space:nowrap;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years li:not([data-active=true]) .journey-selected {visibility:hidden}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-current-label {
 display:flex; align-items:center; justify-content:center; width:13.8cqw; min-width:0; height:3.5cqw;
 margin-left:-.3cqw; padding:0; color:#5c4014; font:700 2.5cqw/1.1 var(--display); white-space:nowrap;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-current-year {font-size:3cqw;color:#fff8df}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li[data-active=true] {
 height:9.7cqw; min-height:0; border:0; border-radius:0; box-shadow:none; background:var(--axis-active) center/100% 100% no-repeat;
}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li[data-active=true] :is(strong,.journey-dates) {color:#fff8df}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li[data-active=true] .journey-selected {border:0;background:none;color:#fff8df}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-note {display:none}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-empty {margin:0;padding:16px 8%;text-align:center;color:#244d36}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .handoff-note {margin:0 5% 20px;background:#f7fbf1;border:1px solid #c4ae6c}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .year-reading {margin:0;padding:24px 5%;background:#fafcf7}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years :is(.years>button,.year-controls>*,.journey-dates):focus-visible {outline:2px solid #225f42;outline-offset:2px}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button.selected-year:focus-visible {outline:none}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button.selected-year:focus-visible::before {filter:drop-shadow(0 0 1px #fff) drop-shadow(0 0 4px #164c34)}
.celestial-site.celestial-palace .export-layout #chart-years#chart-years .journey-rail ol {grid-template-columns:minmax(0,1fr)}
@media(max-width:600px){
 .celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .luck-timeline {padding-top:min(83.6%,856px)}
 .celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .years>button b {font-size:5.1cqw}
 .celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-heading h4 {font-size:5.6cqw}
 .celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail strong {font-size:4.7cqw}
 .celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-dates {font-size:3.1cqw}
 .celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .viewing-year {font-size:4.1cqw}
}
@media print{.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li{break-inside:avoid}}
/* Saved images omit interactive year controls; retain the same jade artwork. */
.celestial-site.celestial-palace.celestial-palace .export-layout #chart-years#chart-years .luck-timeline {padding-top:2cqw}
.celestial-site.celestial-palace.celestial-palace .export-layout #chart-years#chart-years .luck-timeline::before {display:none}
.celestial-site.celestial-palace.celestial-palace .export-layout #chart-years#chart-years :is(.year-controls,.years) {display:none}
.celestial-site.celestial-palace.celestial-palace .export-layout #chart-years#chart-years .luck-timeline>h3,
.celestial-site.celestial-palace.celestial-palace .export-layout #chart-years#chart-years .journey-heading h4 {
 position:static; width:61%; height:11.8cqw; margin:0 auto 2cqw; padding:0 6%; background:var(--axis-title) center/100% 100% no-repeat;
}
.celestial-site.celestial-palace.celestial-palace .export-layout #chart-years#chart-years .viewing-year {
 position:static; width:95%; height:10cqw; margin:0 auto 3cqw; background:var(--axis-banner) center/100% 100% no-repeat;
}
.celestial-site.celestial-palace.celestial-palace .export-layout #chart-years#chart-years .journey-heading {height:auto}

/* Keep the selected-year meaning readable within the active jade row. */
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-rail li[data-active=true] .journey-selected {flex-direction:column;justify-content:center;gap:.3cqw;width:100%;box-sizing:border-box;padding:.3cqw 0;background:#356748;border-radius:1cqw;}
.celestial-site.celestial-palace.celestial-palace #chart-years#chart-years .journey-current-label {width:auto;height:auto;margin:0;padding:.25cqw .8cqw;border-radius:1cqw;background:#f5e5b9;font-size:2.3cqw;line-height:1.2;}
