.traffic-chart { width: 100%; margin: 0; }
.traffic-chart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.traffic-chart-kicker { display: block; color: #6b6b64; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.traffic-chart-value { display: flex; align-items: baseline; gap: 9px; margin-top: 5px; }
.traffic-chart-value strong { font-size: clamp(42px, 6vw, 68px); line-height: .95; letter-spacing: -.055em; }
.traffic-chart-value small { max-width: 105px; color: #6b6b64; font-size: 12px; font-weight: 750; line-height: 1.2; }
.traffic-chart-badge { flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; background: #ffd400; font-size: 12px; font-weight: 900; }
.traffic-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -5px 0 15px; color: #6b6b64; font-size: 11px; font-weight: 750; }
.traffic-chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.traffic-chart-legend i { display: inline-block; width: 22px; height: 0; border-top: 3px solid #191a18; }
.traffic-chart-legend .after i { border-top: 2px dashed #8b8d86; }
.traffic-chart-stage { position: relative; height: 430px; overflow: hidden; border: 1px solid rgba(25,26,24,.16); border-radius: 22px; background: rgba(255,255,255,.76); }
.traffic-chart--compact .traffic-chart-stage { height: 330px; }
.traffic-chart canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.traffic-chart-tooltip { position: absolute; z-index: 2; width: 190px; max-width: calc(100% - 20px); padding: 10px 12px; color: #fffdf7; background: #191a18; border-radius: 11px; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); box-shadow: 0 12px 30px rgba(25,26,24,.18); }
.traffic-chart-tooltip strong, .traffic-chart-tooltip span { display: block; }
.traffic-chart-tooltip strong { font-size: 13px; }
.traffic-chart-tooltip span { margin-top: 2px; color: rgba(255,255,255,.76); font-size: 12px; }
.traffic-chart-caption { margin: 13px 0 0; color: #6b6b64; font-size: 12px; line-height: 1.45; }

@media (max-width: 680px) {
  .traffic-chart-head { align-items: flex-start; }
  .traffic-chart-value { display: block; }
  .traffic-chart-value small { display: block; max-width: 160px; margin-top: 7px; }
  .traffic-chart-stage, .traffic-chart--compact .traffic-chart-stage { height: 300px; }
}
