#heroV2Root .home-fx-ticker {
  position: relative;
  flex: 0 0 auto;
  color: #fff;
}

#heroV2Root .home-fx-ticker summary {
  display: flex;
  align-items: center;
  width: 282px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  list-style: none;
  box-sizing: border-box;
}

#heroV2Root .home-fx-ticker summary::-webkit-details-marker {
  display: none;
}

#heroV2Root .home-fx-ticker summary:hover,
#heroV2Root .home-fx-ticker[open] summary {
  background: rgba(15, 23, 42, 0.38);
}

#heroV2Root .home-fx-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

#heroV2Root .home-fx-inline-rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 0 7px;
  white-space: nowrap;
}

#heroV2Root .home-fx-inline-rate + .home-fx-inline-rate {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

#heroV2Root .home-fx-inline-rate b {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

#heroV2Root .home-fx-inline-rate span {
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-overflow: ellipsis;
}

#heroV2Root .home-fx-compact {
  display: none;
  width: 100%;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}

#heroV2Root .home-fx-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 950;
  width: 232px;
  overflow: hidden;
  border: 1px solid #d7dde6;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
}

#heroV2Root .home-fx-popover-head,
#heroV2Root .home-fx-popover-row,
#heroV2Root .home-fx-popover-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#heroV2Root .home-fx-popover-head {
  padding: 12px 13px;
  border-bottom: 1px solid #e7eaf0;
}

#heroV2Root .home-fx-popover-head strong {
  font-size: 13px;
}

#heroV2Root .home-fx-popover-head > span {
  color: #16775a;
  font-size: 10px;
  font-weight: 800;
}

#heroV2Root .home-fx-popover-row {
  min-height: 38px;
  padding: 8px 13px;
}

#heroV2Root .home-fx-popover-row + .home-fx-popover-row {
  border-top: 1px solid #eef0f4;
}

#heroV2Root .home-fx-popover-row > span {
  color: #667085;
  font-size: 11px;
}

#heroV2Root .home-fx-popover-row strong {
  color: #182230;
  font-size: 12px;
  white-space: nowrap;
}

#heroV2Root .home-fx-popover-foot {
  padding: 8px 13px;
  border-top: 1px solid #e7eaf0;
  background: #f7f8fa;
  color: #667085;
  font-size: 10px;
}

#heroV2Root .home-fx-popover-foot time {
  color: #344054;
  font-weight: 700;
}

#heroV2Root .navbar.scrolled .home-fx-ticker {
  color: #344054;
}

#heroV2Root .navbar.scrolled .home-fx-ticker summary {
  border-color: #d7dde6;
  background: #fff;
}

#heroV2Root .navbar.scrolled .home-fx-ticker summary:hover,
#heroV2Root .navbar.scrolled .home-fx-ticker[open] summary {
  background: #f3f5f7;
}

#heroV2Root .navbar.scrolled .home-fx-inline-rate + .home-fx-inline-rate {
  border-left-color: #d7dde6;
}

#heroV2Root .home-fx-ticker.is-unavailable [data-home-fx-value],
#heroV2Root .home-fx-ticker.is-unavailable .home-fx-popover-foot time {
  color: #b54708;
}

/* The complete three-currency ticker needs 282px. Collapse it before the
   navigation starts shrinking text into two lines (not only at tablet width). */
@media (max-width: 1319px) {
  #heroV2Root .home-fx-ticker summary {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }

  #heroV2Root .home-fx-inline {
    display: none;
  }

  #heroV2Root .home-fx-compact {
    display: block;
  }
}

@media (max-width: 400px) {
  #heroV2Root .home-fx-ticker summary {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }

  #heroV2Root .home-fx-popover {
    position: fixed;
    top: 58px;
    right: 10px;
    width: min(232px, calc(100vw - 20px));
  }
}
