body.overflow-replay .simulation-only,
body.overflow-replay #legend,
body.overflow-replay #official-reference,
body.overflow-replay #btn-overflow-replay,
body.overflow-replay #btn-first-person { display: none !important; }
body.overflow-replay #overflow-replay-panel { display: block; }
.overflow-badge { display: inline-block; padding: 5px 9px; border: 1px solid #48634f;
  border-radius: 6px; background: #263f35; color: #c2ddcc; font-size: 11px; }
.overflow-times { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.overflow-times button { padding: 9px 12px; border: 1px solid #b9cbc4; border-radius: 6px;
  background: #f7faf8; color: #244f48; cursor: pointer; }
.overflow-times button[aria-pressed="true"] { color: #fff; background: #285e52; border-color: #285e52; }
.overflow-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 18px 0; }
.overflow-kpis > div { border-top: 1px solid #3c5148; padding-top: 10px; }
.overflow-kpis span { display: block; font-size: 11px; line-height: 1.4; color: #b3c6bd; }
.overflow-kpis strong { display: block; margin-top: 5px; font-size: 22px; color: #e4eee9; }
.overflow-options { display: grid; gap: 10px; font-size: 12px; }
.overflow-options label { cursor: pointer; }
#overflow-focus { padding: 9px 12px; border: 1px solid #668e7b; border-radius: 6px;
  background: #2e5142; color: #e7f3eb; cursor: pointer; text-align: left; }
#overflow-focus:disabled { opacity: .5; cursor: default; }
.overflow-key { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; margin: 16px 0; }
.overflow-key i { display: inline-block; width: 11px; height: 11px; margin-right: 5px; border-radius: 2px; }
.overflow-liquid { background: #382218; }.overflow-sediment { background: #694a34; }
.overflow-exit { display: inline-block; margin: 16px 0 4px; font-size: 12px; color: #9fd2b9; }
body.overflow-replay #connection-status { color: #9ecbb7; }
body.overflow-replay #panel h1 { font-size: 21px; }
.overflow-cell-popup { color: #233b32; font-size: 12px; line-height: 1.65; }
.overflow-cell-popup strong { display: block; margin-bottom: 5px; }
.overflow-cell-popup span { display: block; }

/* Repetición guardada: agentes de flujo por calles */
body.street-replay .simulation-only,
body.street-replay #legend,
body.street-replay #official-reference,
body.street-replay #btn-overflow-replay,
body.street-replay #btn-street-replay,
body.street-replay #btn-first-person { display: none !important; }
body.street-replay #street-replay-panel { display: block; }
body.street-replay #connection-status { color: #9ecbb7; }
body.street-replay #panel h1 { font-size: 21px; }
.sr-player { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 6px 0 4px; }
#sr-play { width: 38px; height: 34px; border: 1px solid #668e7b; border-radius: 6px; background: #2e5142;
  color: #e7f3eb; cursor: pointer; font-size: 14px; }
#sr-slider { width: 100%; accent-color: #b07a45; }
#sr-time { font-variant-numeric: tabular-nums; font-size: 18px; color: #e4eee9; min-width: 52px; text-align: right; }
.sr-summary { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 4px 0 16px; font-size: 12px; }
.sr-summary dt { color: #b3c6bd; }
.sr-summary dd { margin: 0; color: #e4eee9; font-variant-numeric: tabular-nums; text-align: right; }
#sr-focus { padding: 9px 12px; border: 1px solid #668e7b; border-radius: 6px; background: #2e5142;
  color: #e7f3eb; cursor: pointer; text-align: left; }
.sr-key-hill, .sr-key-street { border-radius: 50% !important; border: 1px solid #fff7ea; }
.sr-key-hill { background: #e0893a; } .sr-key-street { background: #3b1f0b; }
