.telemetry-ticker {
  position: relative;
  z-index: 1;
  width: auto;
  min-width: 0;
  margin: 12px 28px 0;
  padding: 8px 0 9px;
  border: 1px solid #17677c;
  border-radius: 12px;
  background: linear-gradient(110deg, #092635, #101a24 65%);
  box-shadow: 0 3px 20px #00d7ef12;
}
.telemetry-ticker__heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: space-between;
  padding: 0 12px 7px;
  font: 9px var(--mono);
  color: #91adbd;
}
.telemetry-ticker__heading strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dffaff;
  letter-spacing: 1.5px;
}
.telemetry-ticker__viewport {
  max-height: 82px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scroll-snap-type: y proximity;
  scrollbar-width: thin;
  scrollbar-color: #32677d transparent;
  -webkit-overflow-scrolling: touch;
}
.telemetry-ticker__viewport:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
.telemetry-ticker__row {
  width: 100%;
  overflow: hidden;
  padding: 3px 0;
  scroll-snap-align: start;
}
.telemetry-ticker__row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
.telemetry-ticker__track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: telemetry-marquee 65s linear infinite;
}
.telemetry-ticker__row[data-ticker-row="metrics"] .telemetry-ticker__track {
  animation-direction: reverse;
}
.telemetry-ticker__row[data-ticker-row="sources"] .telemetry-ticker__track {
  animation-duration: 90s;
}
.telemetry-ticker__group {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding-right: 10px;
}
.telemetry-pill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #2a3944;
  border-radius: 7px;
  background: #101921;
  color: #bcd0dd;
  font: 10px var(--mono);
  line-height: 1.4;
  white-space: nowrap;
}
.telemetry-pill b { color: #a5bfcc; font-weight: 500; }
.telemetry-pill em { color: #dffaff; font-style: normal; }
.telemetry-pill[data-tone="ok"] { border-color: #17677c; }
.telemetry-pill[data-tone="ok"] em { color: #63e5cf; }
.telemetry-pill[data-tone="warn"] em { color: #f4c173; }
.telemetry-pill[data-tone="off"] em { color: #91adbd; }
@keyframes telemetry-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.deck-panel { scroll-margin-top: var(--deck-scroll-top, 80px); }
@media (max-width: 520px) {
  .telemetry-ticker { margin: 8px 12px 0; padding: 7px 0; }
  .telemetry-ticker__heading { padding: 0 10px 6px; gap: 4px; font-size: 8px; }
  .telemetry-ticker__heading strong { letter-spacing: .7px; }
  .telemetry-ticker__viewport { max-height: 42px; }
  .telemetry-pill { padding: 7px 9px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .telemetry-ticker { position: static; }
  .telemetry-ticker .live-dot { animation: none; }
  .telemetry-ticker__track { animation: none; transform: none; width: 100%; min-width: 0; }
  .telemetry-ticker__group { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-start; padding: 3px 12px; }
  .telemetry-ticker__group[aria-hidden="true"] { display: none; }
  .telemetry-pill { flex: 0 1 auto; min-width: 0; max-width: 100%; flex-wrap: wrap; white-space: normal; overflow-wrap: anywhere; }
}

/* Two additional independent rows: source-attributed market snapshots and publisher headlines. */
.telemetry-ticker__row[data-ticker-row="prices"] .telemetry-ticker__track {
  animation-duration: 78s;
  animation-direction: reverse;
}
.telemetry-ticker__row[data-ticker-row="news"] .telemetry-ticker__track {
  animation-duration: 112s;
}
.telemetry-ticker__link-item {display:flex;min-width:0;max-width:100%}
.telemetry-ticker__row[data-ticker-row="news"] .telemetry-pill {
  max-width: min(82vw, 480px);
  text-decoration: none;
}
.telemetry-ticker__row[data-ticker-row="news"] .telemetry-pill em {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.telemetry-ticker__row[data-ticker-row="news"] a.telemetry-pill:hover,
.telemetry-ticker__row[data-ticker-row="news"] a.telemetry-pill:focus-visible {
  border-color: var(--cyan, #43dcef);
  outline: 1px solid var(--cyan, #43dcef);
}
.telemetry-ticker .telemetry-pill small {color: #8daeba;font-size: 9px;flex: 0 0 auto}
@media (prefers-reduced-motion: reduce) {
  .telemetry-ticker__row[data-ticker-row="news"] .telemetry-pill {max-width: 100%}
  .telemetry-ticker__row[data-ticker-row="news"] .telemetry-pill em {white-space: normal; overflow-wrap: anywhere}
}
