.news-host { display: block; width: 100%; border: 0; background: #182d3c; }
iframe.news-host, .news-host iframe { display: block; width: 100%; height: calc(3rem + 1px); border: 0; }

.quote-bar {
  --quote-gold: #725321;
  --quote-up: #a72e3c;
  --quote-down: #285ba0;
  color: #173247;
  background: #edf3f6;
  border-block: 1px solid #d4dfe5;
  scroll-margin-top: 1rem;
}
.quote-bar-inner { display: flex; align-items: center; gap: .75rem; height: 54px; min-width: 0; }
.quote-bar-label { flex: none; font-weight: 750; color: var(--quote-gold); white-space: nowrap; }
.quote-bar-track {
  display: flex; flex: 1 1 auto; align-items: center; min-width: 0;
  overflow-x: auto; overscroll-behavior-inline: contain;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.quote-bar-track > li { flex: 0 0 auto; scroll-snap-align: start; }
.quote-bar-track > .quote-tape-cell { flex: 0 0 clamp(16rem, 39vw, 43rem); }
.quote-tape { display: block; width: 100%; height: 54px; border: 0; }
.quote-bar-mode { color: #455764; font-size: 1rem; padding-block: .65rem; flex: none; }
.quote-bar-track > li + li { border-left: 1px solid #ccd7de; }
.quote-bar-link, .quote-bar-all {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  text-decoration: none; white-space: nowrap; font-size: 1rem; font-weight: 680;
}
.quote-bar-link { padding-inline: clamp(.47rem, .91vw, 1.2rem); }
.quote-bar-link:hover, .quote-bar-all:hover { color: var(--quote-gold); text-decoration: underline; }
.quote-bar-link:focus-visible, .quote-bar-all:focus-visible { outline-offset: -3px; }
.quote-bar-value, .quote-bar-change { font-variant-numeric: tabular-nums; }
.quote-bar-change.up { color: var(--quote-up); }
.quote-bar-change.down { color: var(--quote-down); }
.quote-bar-note { color: #4e6271; font-size: .875rem; font-weight: 560; }
.quote-bar-all {
  position: relative; flex: none; padding-inline: .8rem .12rem;
  border-left: 1px solid #ccd7de; color: var(--quote-gold);
}

.markets-band {
  --market-ink: #183245;
  --market-muted: #4b6070;
  --market-edge: #cfdbe2;
  --market-gold: #735524;
  --market-rise: #a72e3c;
  --market-fall: #285ba0;
  color: var(--market-ink);
  background: #f0f4f6;
  border-block: 1px solid #d8e2e8;
}
.markets-inner { min-width: 0; padding-block: clamp(1.45rem, 2.2vw, 2.5rem); }
.market-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: .45rem; color: var(--market-muted); }
.market-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; }
.market-heading h1 { margin: 0; font-size: clamp(1.7rem, 2.4vw, 2.4rem); letter-spacing: -.04em; }
.market-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .85rem; }
.market-toggle {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: .42rem .82rem; border: 1px solid #8799a3; border-radius: .48rem;
  background: #fff; color: #234252; font-size: 1rem; line-height: 1.35; font-weight: 700; text-decoration: none;
}
.market-toggle:hover { background: #fffbf1; border-color: #a78b51; }
.market-disclosure { margin: .38rem 0 .7rem; color: var(--market-muted); line-height: 1.5; }
.market-track {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(.6rem, 1vw, .95rem); min-width: 0; margin-top: .85rem; padding-bottom: .68rem;
}
.market-card {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
  padding: .95rem 1rem .8rem; border: 1px solid var(--market-edge); border-radius: 12px;
  background: #fff; box-shadow: 0 2px 6px #1427350b; scroll-margin-block-start: 1rem;
}
.market-card:target { border-color: #9a7430; box-shadow: 0 0 0 2px #d9c69f; }
.market-card-top { width: 100%; min-width: 0; margin-bottom: .38rem; }
.market-region { color: var(--market-muted); font-size: .84rem; font-weight: 650; letter-spacing: .015em; }
.market-name { margin: .12rem 0 0; font-size: clamp(1.14rem, 1.6vw, 1.42rem); line-height: 1.25; word-break: keep-all; overflow-wrap: anywhere; }
.market-state { margin: .58rem 0 .4rem; color: var(--market-muted); font-size: 1rem; }
.market-source {
  display: inline-flex; align-items: center; align-self: flex-start; min-height: 36px;
  margin-top: auto; padding: .26rem 0; color: var(--market-gold); font-size: 1rem; font-weight: 680;
  text-underline-offset: .2em; overflow-wrap: anywhere;
}
.market-source:hover { color: #392c17; }
.quote-original { color: #20475a; font-weight: 700; text-underline-offset: .22em; }
.market-session { margin-top: auto; padding-top: .9rem; }
.market-session ~ .market-source { margin-top: .2rem; }
.market-card .tradingview-widget-copyright { font: .8rem/1.4 system-ui,sans-serif; color: #465d6b; }
.market-card .tradingview-widget-copyright a { color: #31556d; }
.market-fx { border-color: #d4be92; background: #fffcf6; }
.market-value {
  display: block; margin-top: .46rem; color: #142b3a; font-size: clamp(1.65rem, 2.36vw, 2.15rem);
  line-height: 1.18; font-weight: 760; letter-spacing: -.035em; font-variant-numeric: tabular-nums;
}
.market-unit { margin-left: .16em; color: var(--market-muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.market-change { margin-top: .15rem; font-size: 1rem; line-height: 1.35; font-weight: 750; font-variant-numeric: tabular-nums; }
.market-change.up, .fx-chart.up, .market-fx:has(.market-change.up) .fx-chart { color: var(--market-rise); }
.market-change.down, .fx-chart.down, .market-fx:has(.market-change.down) .fx-chart { color: var(--market-fall); }
.market-change.flat { color: var(--market-muted); }
.fx-chart { display: block; width: 100%; max-width: 17rem; height: 2.8rem; margin-block: .48rem; color: #526a77; }
.fx-chart polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.market-meta { display: block; color: var(--market-muted); font-size: .875rem; line-height: 1.5; }
.market-widget { display: block; align-self: stretch; width: 100%; min-height: 190px; height: 212px; margin-block: .5rem; border: 0; background: #fff; }
.market-terms { margin-top: .55rem; color: var(--market-muted); }
.market-terms summary { min-height: 42px; padding-block: .43rem; color: #324f60; font-size: 1rem; font-weight: 680; cursor: pointer; }
.market-terms p, .market-terms li { margin: .35rem 0; max-width: 85ch; font-size: 1rem; }
.market-terms a { color: var(--market-gold); }
.market-terms summary:focus-visible { outline: 2px solid #926b30; outline-offset: 2px; }

@media (max-width: 680px) {
  iframe.news-host, .news-host iframe { height: calc(3.15rem + 1px); }
  .quote-bar-inner { width: calc(100% - 24px); gap: 0; }
  .quote-bar-label { display: none; }
  .quote-bar-link { padding-inline: .68rem; }
  .quote-bar-track > li:first-child .quote-bar-link { padding-left: .25rem; }
  .quote-bar-all { padding-inline: .62rem .12rem; gap: .25rem; }
  .quote-bar-all::before {
    content: ""; position: absolute; inset: 0 100% 0 auto; width: .85rem; pointer-events: none;
    background: linear-gradient(90deg, transparent, #edf3f6);
  }
  .markets-inner { padding-block: 1.28rem; }
  .market-heading { align-items: flex-start; }
  .market-card { padding: .85rem; }
  .market-tools { gap: .4rem; }
  .market-terms { margin-top: .34rem; }
  .market-terms summary { min-height: 44px; }
}
@media (max-width: 430px) {
  .quote-bar-fx time { display: none; }
}
