.market-header { display: flex; align-items: center; gap: 20px; padding: 10px 16px; background: #fff; border-bottom: 1px solid #eee; flex-wrap: wrap; min-height: 48px; .market-header-loading { color: #999; font-size: 0.875rem; } .market-title { .symbol { font-size: 1.25rem; font-weight: 700; color: #222; } .pair { font-size: 0.875rem; color: #999; margin-left: 2px; } } .market-price { .current-price { font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; } } .market-change { display: flex; gap: 6px; font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; } .market-stats { display: flex; gap: 16px; margin-left: auto; .stat { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; .label { font-size: 0.688rem; color: #999; } .value { font-size: 0.813rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #333; } } .volume-stat { .volume-sparkline-wrapper { position: relative; .volume-sparkline { flex-shrink: 0; cursor: pointer; border-radius: 3px; transition: background 0.15s; &:hover { background: #f5f5f5; } } .volume-popover { position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); padding: 8px 12px; white-space: nowrap; z-index: 100; display: flex; flex-direction: column; gap: 2px; .volume-popover-label { font-size: 0.625rem; color: #999; } .volume-popover-value { font-size: 0.813rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #333; } } } } } .up { color: hsl(var(--crypto-up)); } .down { color: hsl(var(--crypto-down)); } .neutral { color: hsl(var(--crypto-neutral)); } } @media (max-width: 640px) { .market-header { gap: 8px; padding: 8px 12px; .market-stats { width: 100%; margin-left: 0; justify-content: space-between; } } }