/* QuoteMedia is the single investor-site ticker. */
.aeth-qmod-shell {
  position: fixed;
  z-index: 1003;
  top: 0;
  right: 0;
  left: 0;
  height: var(--aeth-ticker-height, 37px);
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(10, 19, 21, .92);
  transition: transform 300ms ease, opacity 300ms ease;
}
body:has(.aetr-nav--hidden, .aetr-nav--ticker-collapsed, .aetr-nav--menu-open) .aeth-qmod-shell,
.aeth-qmod-shell.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.aeth-qmod .tickers-wrap {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 30px);
  width: min(1280px, 100%);
  max-width: 1280px;
  min-width: 0;
  height: var(--aeth-ticker-height, 37px);
  min-height: var(--aeth-ticker-height, 37px);
  margin: 0 auto;
  padding: 0 clamp(24px, 7.5vw, 87px);
  font-size: .9rem;
  line-height: 1.25;
}
@media (max-width: 640px) {
  .aeth-qmod-shell { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x; }
  .aeth-qmod .tickers-wrap { width: max-content; max-width: none; min-width: max-content; margin: 0; justify-content: flex-start; }
}
.aeth-qmod .qmod-miniquotes .qmod-quote > span {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: nowrap; white-space: nowrap;
  min-height: 35px;
  color: #f4f5f0; font-family: 'Dmsans 18 Pt', Arial, sans-serif; font-size: .9rem; line-height: 1.25;
}
.aeth-qmod .qmod-miniquotes .qmod-shortname,
.aeth-qmod .qmod-miniquotes .qmod-longname,
.aeth-qmod .qmod-miniquotes .qmod-last,
.aeth-qmod .qmod-miniquotes .qmod-last-currency .qmod-currency,
.aeth-qmod .qmod-miniquotes .qmod-change-icon,
.aeth-qmod .qmod-miniquotes .qmod-change,
.aeth-qmod .qmod-miniquotes .qmod-dayrange-group,
.aeth-qmod .qmod-miniquotes .qmod-datetime-group,
.aeth-qmod .qmod-miniquotes .qmod-reload-group,
.aeth-qmod .qmod-miniquotes .qmod-change-group .qmod-bracket { display: none !important; }
.aeth-qmod .qmod-miniquotes .qmod-quote .qmod-symbol,
.aeth-qmod .qmod-miniquotes .qmod-quote .qmod-exshname,
.aeth-qmod .qmod-miniquotes .qmod-quote .qmod-last-currency { display: block; }
.aeth-qmod .qmod-miniquotes .qmod-quote .qmod-segment { padding-right: 0; }
.aeth-qmod .qmod-miniquotes .qmod-symbol { order: 1; color: #f4f5f0; font-size: .86rem; font-weight: 700; letter-spacing: .07em; text-decoration: none; }
.aeth-qmod .qmod-miniquotes .qmod-exshname { order: 2; color: #aeb8b6; font-size: .86rem; letter-spacing: .07em; text-transform: uppercase; }
.aeth-qmod .qmod-miniquotes .qmod-last-currency { order: 3; color: #b7df00; font-size: 1rem; font-weight: 500; }
.aeth-qmod .qmod-miniquotes .qmod-change-group { order: 4; font-weight: 600; font-variant-numeric: tabular-nums; }
.aeth-qmod .qmod-miniquotes .qmod-volume-group { order: 5; display: inline-flex; align-items: center; margin-left: -8px; color: #aeb8b6; font-weight: 400; }
.aeth-qmod .qmod-miniquotes .qmod-change-group.qmod-ch-up { color: #b7df00; }
.aeth-qmod .qmod-miniquotes .qmod-change-group.qmod-ch-down { color: #f04444; }
.aeth-qmod .qmod-miniquotes .qmod-change-group.qmod-ch-up .qmod-change-percent::before { content: '+'; }
.aeth-qmod .qmod-miniquotes .qmod-volume::before { content: '(Vol: '; }
.aeth-qmod .qmod-miniquotes .qmod-volume::after { content: ')'; }
.aeth-qmod .qmod-miniquotes .qmod-volume-group::after { margin-left: 4px; color: #f4f5f0; font-size: .78rem; }
.aeth-qmod .qmod-miniquotes .qmod-change-group.qmod-ch-up ~ .qmod-volume-group::after { content: '\25B2'; }
.aeth-qmod .qmod-miniquotes .qmod-change-group.qmod-ch-down ~ .qmod-volume-group::after { content: '\25BC'; }

/* Keep QuoteMedia's credit in the footer's brand column, below its logo. */
footer .footer_col.is-brand {
  align-self: stretch !important;
  padding-bottom: 0 !important;
}
footer .footer_col.is-brand [data-qmod-attribution] {
  display: block !important;
  width: 100%;
  margin-top: auto;
  padding-bottom: 1rem;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}
.qmf-link { white-space: nowrap; }
.qmf-logo { padding-top: 5px; }
footer .footer_col.is-brand [data-qmod-attribution] a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 991px) {
  footer .footer_col.is-brand { align-self: auto !important; }
  footer .footer_col.is-brand [data-qmod-attribution] { margin-top: 1rem; text-align: center; }
}

/* Use the selected exchange's QuoteMedia quote in the comparison view. */
body.aetherion-stock-details #main .ai-quote-price.aeth-qmod-price-compare {
  display: flex; flex-direction: column; justify-content: center;
}
.aeth-qmod-price-compare > strong, .aeth-qmod-price-compare > span { display: none !important; }
.aeth-qmod-card-quote { min-width: 0; }
.aeth-qmod-card-quote strong { display: block; color: #111; font-size: clamp(2.2rem,3.2vw,2.8rem); line-height: 1.05; white-space: nowrap; }
.aeth-qmod-card-change { display: block; margin: 3px 0 7px; font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.aeth-qmod-card-change.is-up { color: #13834b; }
.aeth-qmod-card-change.is-down { color: #c53232; }
.aeth-qmod-card-volume:not([hidden]) { display: block; color: #6c7472; font-size: .76rem; line-height: 1.3; }
.aeth-qmod-time-replaced > span:not(.aeth-qmod-quote-time) { display: none !important; }
body.aetherion-stock-details #main .ai-stock-chart-heading { margin: 0 0 1rem; }
