.emp-market-pulse {
  --emp-ink: #172033;
  --emp-muted: #536174;
  --emp-line: #e5e9ee;
  --emp-soft: #f7f8fa;
  --emp-accent: #f5a623;
  --emp-ease: cubic-bezier(.23, 1, .32, 1);
  width: 100%;
  min-width: 0;
  margin-block: 24px 32px;
  color: var(--emp-ink);
  font: inherit;
  line-height: 1.7;
  text-align: right;
  isolation: isolate;
}
.emp-market-pulse *, .emp-market-pulse *::before, .emp-market-pulse *::after { box-sizing: border-box; }
.emp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.emp-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--emp-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 3px 14px rgb(23 32 51 / 3%);
}
.emp-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.emp-market-pulse .emp-card-title { margin: 0; color: var(--emp-ink); font: inherit; font-size: 20px; line-height: 1.6; font-weight: 700; }
.emp-card-kicker { color: var(--emp-muted); font-size: 12px; padding: 3px 10px; border-radius: 20px; background: var(--emp-soft); }
.emp-gauge-wrap { position: relative; width: min(100%, 320px); margin: 16px auto 0; aspect-ratio: 320 / 190; container-type: inline-size; }
.emp-market-pulse .emp-gauge { display: block; width: 100%; height: auto; max-width: none; overflow: visible; direction: ltr; }
.emp-gauge-endpoint { fill: var(--emp-muted); font-family: inherit; font-size: 13px; font-weight: 500; direction: ltr; }
.emp-gauge-reading { position: absolute; inset: 43% 14% auto; text-align: center; }
.emp-market-pulse .emp-index-value { margin: 0; color: var(--emp-ink); font-size: 38px; font-size: clamp(28px, 14cqw, 46px); line-height: 1.12; font-weight: 750; font-variant-numeric: tabular-nums; text-align: center; }
.emp-index-total { display: block; margin-top: 3px; color: var(--emp-muted); font-size: 12px; font-size: clamp(10px, 3.75cqw, 12px); line-height: 1.6; font-weight: 400; }
.emp-market-pulse .emp-index-status { margin: 7px 0 0; color: var(--emp-ink); font-size: 15px; font-size: clamp(12px, 4.7cqw, 15px); line-height: 1.6; font-weight: 650; text-align: center; }
.emp-alt-scale { display: flex; justify-content: space-between; direction: ltr; margin: 6px 0 20px; color: var(--emp-muted); font-size: 12px; }
.emp-alt-scale span { direction: rtl; }
.emp-market-pulse .emp-annual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--emp-soft); }
.emp-annual .emp-metric { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; }
.emp-annual .emp-metric + .emp-metric { border-inline-start: 1px solid var(--emp-line); }
.emp-market-pulse .emp-market-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin: 0; padding-block: 4px 20px; }
.emp-market-pulse .emp-metric dt { color: var(--emp-muted); font-size: 13px; font-weight: 400; margin: 0 0 4px; }
.emp-market-pulse .emp-metric dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; color: var(--emp-ink); font-size: 17px; line-height: 1.55; font-weight: 650; margin: 0; }
.emp-number { font-variant-numeric: tabular-nums; white-space: nowrap; }
.emp-number, .emp-index-value bdi, .emp-updated time, .emp-market-pulse .emp-source-link { direction: ltr; unicode-bidi: isolate; }
.emp-unit { font-size: 12px; font-weight: 450; color: var(--emp-muted); }
.emp-missing { color: var(--emp-muted); font-size: 13px; font-weight: 400; }
.emp-card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--emp-line); }
.emp-market-pulse .emp-updated { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 0 0 5px; color: var(--emp-muted); font-size: 12px; line-height: 1.7; text-align: right; }
.emp-updated time { font-variant-numeric: tabular-nums; }
.emp-market-pulse .emp-buy-cta { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; width: 100%; margin-top: 16px; padding: 10px 14px; border: 1px solid transparent; border-radius: 12px; background: var(--emp-accent); color: #261b09; font: inherit; font-size: 15px; font-weight: 650; line-height: 1.6; text-align: center; text-decoration: none; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-tap-highlight-color: transparent; transition: transform 140ms var(--emp-ease), background-color 140ms ease; }
.emp-cta-arrow { flex: 0 0 20px; }
.emp-market-pulse .emp-buy-cta:active { transform: scale(.98); background: #e99a19; }
.emp-market-pulse .emp-buy-cta:focus-visible, .emp-market-pulse .emp-source-link:focus-visible { outline: 3px solid #67501e; outline-offset: 4px; }
.emp-fng-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); direction: ltr; gap: 8px; margin: 24px 0; }
.emp-fng-legend span { direction: rtl; position: relative; padding-top: 14px; color: var(--emp-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.emp-fng-legend span::before { content: ''; position: absolute; width: 6px; height: 6px; top: 0; left: calc(50% - 3px); border-radius: 50%; background: var(--emp-dot); }
.emp-legend-extreme-fear { --emp-dot: #d94c58; }
.emp-legend-fear { --emp-dot: #e9973e; }
.emp-legend-neutral { --emp-dot: #e4bd42; }
.emp-legend-greed { --emp-dot: #88ae56; }
.emp-legend-extreme-greed { --emp-dot: #388967; }
.emp-market-pulse .emp-description { margin: 0 0 24px; padding: 16px; border-radius: 12px; background: var(--emp-soft); color: var(--emp-muted); font-size: 14px; line-height: 1.9; text-align: right; }
.emp-market-pulse .emp-attribution { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 0; color: var(--emp-muted); font-size: 13px; line-height: 1.7; text-align: right; }
.emp-market-pulse .emp-source-link { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; border-radius: 4px; color: var(--emp-ink); font: inherit; font-weight: 500; text-decoration: underline; text-decoration-color: #aab4c2; text-underline-offset: 4px; touch-action: manipulation; }
.emp-market-pulse .emp-notice { margin: 12px 0 0; color: var(--emp-muted); font-size: 13px; line-height: 1.8; text-align: right; }
.emp-gauge-empty { display: grid; place-items: center; min-height: 190px; margin-block: 16px 0; padding: 24px; color: var(--emp-muted); font-size: 14px; text-align: center; }
@media (hover: hover) and (pointer: fine) {
  .emp-market-pulse .emp-buy-cta:hover { background: #f0a01b; color: #261b09; }
  .emp-market-pulse .emp-source-link:hover { text-decoration-color: currentColor; }
}
@media (max-width: 767px) {
  .emp-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .emp-card { padding: 20px; border-radius: 16px; }
  .emp-market-pulse { margin-block: 20px 28px; }
  .emp-fng-legend { margin-block: 20px; }
}
@media (max-width: 400px) {
  .emp-card { padding: 16px; }
  .emp-market-pulse .emp-card-title { font-size: 18px; }
  .emp-market-pulse .emp-metric dd { font-size: 16px; }
  .emp-market-pulse .emp-market-stats { gap: 16px 10px; }
  .emp-fng-legend { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .emp-market-pulse .emp-buy-cta { transition: none; }
  .emp-market-pulse .emp-buy-cta:active { transform: none; }
}
