/* Panel "en vivo" — distribución nuevos vs. recurrentes */

.panel--live .live__sub {
  margin-bottom: 14px;
}

.audience-type {
  margin-top: 4px;
}

.audience-type__track {
  display: flex;
  flex-direction: row;
  gap: 4px;
  height: 14px;
  width: 100%;
  border-radius: 8px;
  overflow: visible;
}

.audience-type__fillwrap {
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  width: 0;
  min-width: 0;
  transition: width 0.88s cubic-bezier(0.2, 0.78, 0.2, 1);
}

.audience-type--in .audience-type__fillwrap[data-key='new'] {
  width: var(--new-pct, 32%);
  transition-delay: 0.05s;
}

.audience-type--in .audience-type__fillwrap[data-key='ret'] {
  width: var(--ret-pct, 68%);
  transition-delay: 0.14s;
}

.audience-type__fill {
  height: 100%;
  width: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.audience-type__fill--new {
  background: linear-gradient(90deg, #5a9eb8, #7be0ff);
  box-shadow: 0 0 0 1px rgba(28, 18, 8, 0.06) inset;
}

.audience-type__fill--return {
  background: linear-gradient(90deg, #6b4a18, var(--gold));
  box-shadow: 0 0 0 1px rgba(28, 18, 8, 0.06) inset;
}

.audience-type__pct {
  font-size: 10px;
  font-weight: 700;
  font-family: 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.02em;
  color: rgba(250, 248, 244, 0.95);
  text-shadow: 0 1px 2px rgba(28, 18, 8, 0.25);
  white-space: nowrap;
  padding: 0 4px;
  opacity: 0;
  transition: opacity 0.35s ease 0.45s;
}

.audience-type--in .audience-type__pct {
  opacity: 1;
}

.audience-type__legend {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-type__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-2);
}

.audience-type__legend li b {
  margin-left: auto;
  font-family: 'Geist Mono', ui-monospace, monospace;
  color: var(--fg);
  font-weight: 600;
}

.audience-type__legend .audience-type__n {
  font-size: 12px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  color: var(--fg-3);
  min-width: 2.5em;
  text-align: right;
}

.audience-type__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.audience-type__dot--new {
  background: linear-gradient(135deg, #5a9eb8, #7be0ff);
}

.audience-type__dot--return {
  background: var(--gold);
}

.panel--live .live__foot {
  flex-wrap: wrap;
  gap: 8px 12px;
  line-height: 1.35;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
