.gold-market{max-width:1244px;margin:16px auto 0;padding:10px 16px 8px;background:#eeeee7;border:1px solid #dedfd4;display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr);gap:6px 20px;align-items:center;border-radius:3px}
.gold-market[hidden],.gold-market [hidden]{display:none!important}
.gold-eyebrow{display:none}
.gold-market h2{font-size:17px;line-height:1.25;font-weight:400;letter-spacing:.3px}
.gold-market-copy{display:grid;grid-template-columns:max-content auto;align-items:baseline;justify-content:start;gap:2px 12px;min-width:0}
.gold-market-copy>p:not(.gold-eyebrow){font-size:11px;line-height:1.3;color:#64695d;margin:0;white-space:nowrap}
.gold-market-copy>p>span{margin-left:8px;font-size:10px}
.gold-market-copy>a{grid-column:1/-1;justify-self:start;display:inline-block;font-size:10px;line-height:1.4;color:#64695d;margin:0;padding:0;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.gold-market-live{position:relative;min-height:0;min-width:0}
#goldWidgetHost:empty{display:none}
.gold-market-live iframe{display:block;max-width:100%}
.gold-market-fallback{min-height:44px;display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:12px;line-height:1.4;color:#6b705f}
.gold-market-fallback>span{min-width:0;overflow-wrap:anywhere}
.gold-market-fallback button{flex:none;border:1px solid #c4c8ba;border-radius:3px;min-height:44px;padding:7px 12px;font-size:12px}
.gold-market-note{grid-column:1/-1;text-align:right;font-size:10px;line-height:1.35;color:#797d71;border-top:1px solid #dfe1d6;margin:0;padding-top:5px}
.gold-market[data-state="error"] .gold-market-note{display:none}
.gold-market[data-state="error"] #goldWidgetHost{display:none}
.gold-market[data-state="error"] .gold-market-live{min-height:0}
/* Locally rendered quote: provider attribution stays visible in the header/meta. */
.gold-quote{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:2px 10px;min-width:0;line-height:1.25}
.gold-quote-price{font-size:28px;line-height:1.1;font-weight:500;letter-spacing:-.4px;font-variant-numeric:tabular-nums;color:var(--ink,#292b29);white-space:nowrap}
.gold-quote-unit,.gold-quote-change{font-size:11px;line-height:1.3;color:#64695d;font-variant-numeric:tabular-nums}
.gold-quote-change[data-direction="up"]{color:#426044}.gold-quote-change[data-direction="down"]{color:#965849}
.gold-quote-meta{flex-basis:100%;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:2px 10px;min-width:0;font-size:10px;line-height:1.35;color:#737766}
.gold-quote-meta a,.gold-quote-source{font-size:10px;color:#64695d;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.gold-quote-meta time,.gold-quote-time{font-variant-numeric:tabular-nums}
/* Embedded providers retain their natural dimensions and full attribution. */
.gold-market .tradingview-widget-copyright{font-family:var(--sans);font-size:13px;text-align:center;line-height:18px}
.gold-market .tradingview-widget-copyright .blue-text{color:#2962ff}
.gold-market .tradingview-widget-copyright .trademark{color:#6a7380}
@media(max-width:1320px){.gold-market{margin-left:38px;margin-right:38px}}
@media(max-width:650px){
  .gold-market{margin:10px 18px 0;padding:9px 12px 7px;grid-template-columns:minmax(0,1fr);gap:5px}
  .gold-market-copy{grid-template-columns:minmax(0,1fr) auto;justify-content:stretch;gap:1px 8px}
  .gold-market h2{font-size:15px;line-height:20px}
  .gold-market-copy>p:not(.gold-eyebrow){font-size:10px;line-height:14px;text-align:right}
  .gold-market-copy>p>span{display:none}
  .gold-market-copy>a{font-size:10px;line-height:14px}
  .gold-quote{justify-content:space-between;gap:2px 8px}
  .gold-quote-price{font-size:26px;line-height:29px}
  .gold-quote-meta{justify-content:space-between;font-size:10px;line-height:13px}
  .gold-market-fallback{min-height:40px;justify-content:space-between;gap:8px;font-size:11px;line-height:1.35}
  .gold-market-fallback button{min-height:44px;padding:6px 10px;font-size:11px}
  .gold-market-note{text-align:left;font-size:9px;line-height:12px;padding-top:4px}
  .gold-market[data-state="error"]{padding-top:7px;padding-bottom:7px;row-gap:2px}
}
@media(max-width:370px){.gold-market{margin-left:14px;margin-right:14px;padding-left:10px;padding-right:10px}.gold-market-copy{column-gap:5px}.gold-quote-price{font-size:25px}}
