/* The price strip under the hero of the home page: currencies with their price in chaos orbs, moving slowly.
   Shared by every theme. It takes the accent and text colours of the Material theme, which each theme sets,
   and a translucent band, so the fixed picture of a theme stays visible. */
.cp-prices {
  overflow: hidden;
  border-block: 1px solid var(--cp-line, rgba(255, 255, 255, 0.12));
  background: rgba(8, 10, 16, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cp-prices[hidden] { display: none; }
body[data-md-color-scheme="default"] .cp-prices { background: rgba(255, 255, 255, 0.62); }
.cp-prices__track {
  display: flex;
  width: max-content;
  animation: cp-prices-move 60s linear infinite;
}
.cp-prices:hover .cp-prices__track,
.cp-prices:focus-within .cp-prices__track { animation-play-state: paused; }
.cp-prices__list {
  display: flex;
  gap: 2.4rem;
  margin: 0;
  padding: 0.7rem 1.2rem;
  list-style: none;
}
.cp-prices__list li { display: flex; gap: 0.6rem; align-items: baseline; white-space: nowrap; }
.cp-prices__name { color: var(--md-default-fg-color--light); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.cp-prices__value { color: var(--md-accent-fg-color); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.cp-prices__source {
  margin: 0;
  padding: 0.35rem 1.2rem 0.5rem;
  color: var(--md-default-fg-color--light);
  font-size: 0.7rem;
  text-align: center;
}
@keyframes cp-prices-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .cp-prices { overflow-x: auto; }
  .cp-prices__track { animation: none; }
  .cp-prices__list[aria-hidden="true"] { display: none; }
}
