/* Live reference chart; existing homepage navigation, gold and cream design retained. */
#panel-chart .chart-header{gap:18px;flex-wrap:wrap}
.home-quote{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;flex-wrap:wrap}
.home-quote>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.home-quote>div>span{font-size:.75rem;color:#aaa18f}
#chart-live-mid{font-size:clamp(1.65rem,2.5vw,2.25rem);line-height:1.2;font-weight:500;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:#f4e5bc}
.home-feed-state{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid #a38b5547;border-radius:3px;color:#c6b992;font-size:.75rem;line-height:1.4;white-space:nowrap}
.home-feed-state:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.home-feed-state[data-state="live"]{color:#f3d58b;border-color:#d8b36a70;background:#d8b36a0a}
.home-feed-state[data-state="delayed"],.home-feed-state[data-state="stale"],.home-feed-state[data-state="unavailable"]{color:#dfb484;border-color:#9c765347}
.home-quote-meta{display:flex;justify-content:space-between;gap:6px 18px;flex-wrap:wrap;margin-top:12px;font-size:.75rem;color:#aaa18f;line-height:1.5;font-variant-numeric:tabular-nums}
#panel-chart .chart-space{margin-top:12px}
#market-chart{display:block;width:100%;height:290px;max-width:100%;touch-action:pan-y}
#market-chart:focus-visible{outline-offset:2px}
.home-candle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;min-height:40px;margin-top:8px}
#chart-candle-readout{font-size:.75rem;color:#c2b89f;line-height:1.7;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#chart-latest,#chart-refresh{font-size:.75rem;line-height:1.4;min-height:34px;padding:7px 10px;border:1px solid #a38b5555;border-radius:3px;background:#d8b36a09;color:#ead8ad}
#chart-latest:hover,#chart-refresh:hover{border-color:#d8b36a;background:#d8b36a14}
#chart-refresh:disabled{opacity:.55;cursor:wait}
#panel-chart .home-chart-footer{display:flex;flex-direction:column;align-items:stretch;gap:9px;border-top:1px solid #d8b36a22;padding-top:12px;margin-top:10px;font-size:.75rem;color:#aaa18f;line-height:1.6}
.home-chart-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.home-chart-legend{display:flex;gap:18px;font-size:.75rem;color:#c2b89f}
.home-chart-legend>span{display:inline-flex;align-items:center;gap:7px}
.home-chart-legend i{display:inline-block;width:8px;height:13px;border-radius:1px}
.gold-candle{background:linear-gradient(#9a6c21 0%,#d8b36a 42%,#fff0bd 58%,#b88632 100%);border:1px solid #f3d58b}
.silver-candle{background:linear-gradient(#424952 0%,#68717c 42%,#aab2bc 58%,#505863 100%);border:1px solid #aeb7c2}
#chart-caption,#chart-provenance{overflow-wrap:anywhere}
.home-chart-details{color:#a69b84;font-size:.75rem}
.home-chart-details summary{cursor:pointer;color:#c6b284;width:fit-content}
.home-chart-details p{margin:8px 0 0;overflow-wrap:anywhere;max-width:70ch}
.home-chart-help{margin:10px 0 0;font-size:.6875rem;line-height:1.65;color:#8f8778}
@media(max-width:620px){#market-chart{height:240px}.home-quote{margin-top:17px;gap:11px}.home-quote>div{gap:9px}.home-quote-meta{display:grid;gap:4px}.home-feed-state{font-size:.6875rem;padding:5px 7px}.home-chart-help{font-size:.6875rem}.home-chart-legend{gap:12px}.home-candle-row{gap:7px}}
@media(max-width:360px){#market-chart{height:225px}.home-quote{align-items:flex-start}.home-feed-state{font-size:.6875rem}.home-chart-tools{gap:9px}}
