/* Zeitraum-Kasten auf der Trade-by-Trade-Kurve (Landing + Homepage). */
.trade-chart-panel {
  position: relative;
  width: 100%;
}
.trade-period-box {
  position: absolute;
  top: auto;
  /* Unter den Kerzen-Hochs, knapp über der X-Achse. */
  bottom: 44px;
  right: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  max-width: min(280px, calc(100% - 24px));
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(229, 181, 59, 0.38);
  background: rgba(8, 14, 11, 0.82);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.trade-period-kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4d979;
  line-height: 1.2;
}
.trade-period-value {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #f5f2e8;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
  max-height: 3.2em;
  overflow: hidden;
}
@media (max-width: 560px) {
  .trade-period-box {
    top: auto;
    bottom: 36px;
    right: 8px;
    padding: 8px 10px;
    max-width: min(220px, calc(100% - 16px));
  }
  .trade-period-value {
    font-size: 11px;
  }
}

/* Mobile Scroll-Performance für Swing-Landingpages (Gold/BTC/GBP). */
@media (max-width: 900px) {
  html {
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  #gold-particles,
  .ambient-matrix,
  #letter-glitch-canvas,
  .cursor-premium-glow,
  body::before {
    display: none !important;
  }

  header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(3, 7, 5, 0.94) !important;
  }

  header.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .glass,
  .feature,
  .metric,
  .performance-card,
  .quote-card,
  .image-trail-card,
  .trade-journey-card,
  .letter-glitch-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-scroll-card {
    transition: none !important;
  }

  .mobile-scroll-card.mobile-active {
    box-shadow: none !important;
    background: inherit !important;
    border-color: rgba(76, 255, 105, 0.28) !important;
  }

  .reveal-premium,
  .numeric-animate {
    will-change: auto !important;
  }
}
