:root {
  /* Single control for banner scroll speed — change this one line (value in pixels/second).
     Both banner rows will use this to compute their animation duration so they move at the same
     physical speed regardless of content width. Example: --banner-speed-px: 120; */
  --banner-speed-px: 60;
  /* fallback duration if needed */
  --banner-speed-seconds: 150s;
}

.banner-row {

  --banner-bg: #fff;
  --banner-fg: #000;
  --banner-border: #000;
  --banner-brand-color: var(--banner-fg);
  --banner-item-gap: 33px;
  --banner-track-offset: 30rem;
  background: var(--banner-bg);
  color: var(--banner-fg);
  font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
  width: 100vw;
  margin: 0;
  padding: 9px 20px 9px 0;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  border-top: 1px solid var(--banner-border);
  border-bottom: 1px solid var(--banner-border);

}

.banner-row--finance {

  --banner-bg: #fff;
  --banner-fg: #000;
  --banner-border: #000;
  --banner-brand-color: #000;
  --banner-track-offset: 12rem;
  margin-top: 0;

}

.banner-row--news {

  --banner-bg: #d52b26;
  --banner-fg: #fff;
  --banner-border: #8e1411;
  --banner-brand-color: #000;
  --banner-track-offset: 10rem;
  --banner-item-gap: 12px;

}

.banner-row__inner {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;

}

.banner-row__scroller {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;

}

.banner-row__items {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  animation: bannerScroll var(--banner-speed-seconds, 150s) linear infinite;
  animation-delay: var(--banner-animation-delay, 0ms);

}

.banner-row__items-track {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--banner-item-gap, 33px);
  padding-left: var(--banner-track-offset, 30rem);
  flex: 0 0 auto;
  width: max-content;

}

.banner-row__inner {

  min-height: 24px;
  overflow: hidden;
  position: relative;

}

.banner-row__scroller {

  flex: 0 0 auto;
  min-width: max-content;
  will-change: transform;

}

.banner-row__brand {

  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--banner-brand-color);
  background: var(--banner-bg);
  font-family: "Segoe UI", "Roboto", "Helvetica", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  padding: 3px 10px 3px 12px;
  margin: 0;
  z-index: 1;
  user-select: none;
  white-space: nowrap;

}

.banner-row__brand:visited {

  color: var(--banner-brand-color);
  text-decoration: none;

}

.banner-row__brand:hover {

  color: var(--banner-brand-color);
  text-decoration: none;

}

.banner-row__brand:focus {

  color: var(--banner-brand-color);
  text-decoration: none;

}

.banner-row__brand:active {

  color: var(--banner-brand-color);
  text-decoration: none;

}

.banner-row__items {

  flex: 0 0 auto;
  min-width: max-content;
  gap: var(--banner-item-gap);
  padding-left: var(--banner-track-offset);
  width: max-content;
  animation: bannerScroll var(--banner-speed-seconds, 150s) linear infinite;
  animation-delay: var(--banner-animation-delay, 0ms);

}

.banner-row:hover .banner-row__items,
.banner-row:focus-within .banner-row__items {

  animation-play-state: paused;

}

@keyframes bannerScroll {

  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }

}

.banner-row__item {

  display: inline-flex;
  align-items: center;
  line-height: 1.1;
  white-space: nowrap;
  flex: none;

}

.banner-row__item-link {

  display: inline-flex;
  align-items: center;
  line-height: 1.1;
  white-space: nowrap;
  flex: none;

}

.banner-row__item {

  font-weight: 600;

}

.banner-row__item-main {

  color: inherit;

}

.banner-row__item-change.up,
.banner-row__item-change[data-tone="up"],
.banner-row__item-change[data-tone="bullish"] {

  color: #137333 !important;

}

.banner-row__item-change.down,
.banner-row__item-change[data-tone="down"],
.banner-row__item-change[data-tone="bearish"] {

  color: #b42318 !important;

}

.banner-row__item-change {

  margin-left: 6px;

}

.banner-row--news .banner-row__item-link {

  color: #fff;
  font-weight: 700;
  text-decoration: none;

}

.banner-row--news .banner-row__item-link:visited {

  color: #fff;
  text-decoration: none;

}

.banner-row--news .banner-row__item-link:hover {

  color: #fff;
  text-decoration: none;

}

.banner-row--news .banner-row__item-link:focus {

  color: #fff;
  text-decoration: none;

}

.banner-row--news .banner-row__item-link:active {

  color: #fff;
  text-decoration: none;

}

#global-banner-stack {
  position: fixed;
  /* allow a small visual gap below the header so the finance (LCM) row
     doesn't sit too high — consumers may override --banner-stack-offset */
  top: calc(var(--header-height, 0px) + var(--banner-stack-offset, 0px));
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: transparent;
  transform: translateZ(0) translateY(var(--header-offset, 0px));
  transition: transform 220ms cubic-bezier(.2, .9, .2, 1);

}

#global-banner-stack>section {

  width: 100%;

}

#global-banner-stack>section:first-child.banner-row,
#finance-banner.banner-row--finance {

  border-top: none;

}

.app-store-banner {
  margin-top: 0;
  background-color: purple;
  color: white;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 0;
  width: 100vw
}

.app-store-banner h3 {
  margin: 0;
  text-decoration: none
}

.app-store-banner a {
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: 600
}
