/* Curva de emisión interactiva (halving.html) */
.hv { --hv-line: rgba(255,255,255,.09); }
.hv-lead { color: var(--text-secondary); line-height: 1.7; font-weight: 300; margin-bottom: 18px; }
.hv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 16px; }
.hv-stat { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: #000; min-width: 0; }
.hv-stat span { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 6px; }
.hv-stat b { display: block; font-family: var(--mono); font-weight: 600; font-size: 1.02rem; color: var(--text-primary); overflow-wrap: anywhere; }
.hv-stat b.hot { color: var(--btc-orange); }
.hv-stat small { display: block; font-size: .72rem; color: var(--text-secondary); margin-top: 4px; font-weight: 300; }
.hv-chart { position: relative; border: 1px solid var(--border); border-radius: 14px; background: #000; padding: 6px; touch-action: pan-y; }
.hv-chart svg { display: block; width: 100%; height: auto; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.hv-chart text { font-family: var(--mono); fill: #8e8e93; font-size: 10.5px; }
.hv-chart .hv-grid { stroke: var(--hv-line); stroke-width: 1; }
.hv-chart .hv-tick { stroke: rgba(247,147,26,.28); stroke-width: 1; stroke-dasharray: 2 4; }
.hv-chart .hv-area { fill: url(#hvGrad); }
.hv-chart .hv-curve { fill: none; stroke: #F7931A; stroke-width: 2.6; stroke-linejoin: round; }
.hv-chart .hv-mined { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linejoin: round; }
.hv-chart .hv-cursor line { stroke: #fff; stroke-width: 1.4; }
.hv-chart .hv-cursor circle { fill: #F7931A; stroke: #fff; stroke-width: 2; }
.hv-chart .hv-today line { stroke: #8e8e93; stroke-width: 1; stroke-dasharray: 3 3; }
.hv-chart .hv-today text { fill: #f5f5f7; }
.hv-chart .hv-lab-o { fill: #F7931A; }
.hv-axis-t { text-anchor: middle; }
.hv-ctrl { display: flex; align-items: center; gap: 12px; margin: 14px 0 10px; }
.hv-ctrl input[type=range] { flex: 1; min-width: 0; accent-color: #F7931A; height: 32px; cursor: pointer; }
.hv-btn { font: 600 .82rem var(--font); color: var(--text-primary); background: #000; border: 1px solid var(--line-strong, #333); border-radius: 999px; padding: 8px 14px; cursor: pointer; white-space: nowrap; min-height: 36px; }
.hv-btn:hover { border-color: var(--btc-orange); }
.hv-btn[aria-pressed=true], .hv-chip.on { background: var(--btc-orange); color: #000; border-color: var(--btc-orange); }
.hv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hv-chip { font: 600 .8rem var(--mono); color: var(--text-secondary); background: #000; border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; cursor: pointer; min-height: 34px; }
.hv-chip:hover { color: var(--text-primary); border-color: var(--btc-orange); }
.hv-sentence { color: var(--text-primary); font-weight: 400; line-height: 1.6; margin: 12px 0 4px; min-height: 3.2em; }
.hv-sentence b { color: var(--btc-orange); font-weight: 700; }
.hv-zoom { display: flex; gap: 8px; margin-left: auto; }
.hv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.hv-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .78rem; color: var(--text-secondary); margin-top: 10px; }
.hv-legend i { display: inline-block; width: 18px; height: 3px; background: #F7931A; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.hv-legend i.w { background: #fff; }
.hv-legend i.d { background: none; border-top: 2px dashed #8e8e93; height: 0; }
.hv-curve.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
.hv-curve.draw.go { stroke-dashoffset: 0; }
@media (max-width: 640px) {
  .hv-stats { grid-template-columns: repeat(2, 1fr); }
  .hv-zoom { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-curve.draw { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}
