/* Smart components and Diagram and map: one replay at a time, chosen with tabs above the stage. */
.fan-tabs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem }
html:not(.js) .fan-tabs { display: none }
.fan-tabs [role="tab"] { min-height: 2.5rem; padding: .45rem 1rem; border: 1px solid color-mix(in srgb, var(--cat-deep) 45%, transparent); border-radius: 99px;
  background: color-mix(in srgb, #fffdf4 70%, transparent); color: #233a2f; font: 600 .82rem/1.2 ui-monospace, Menlo, monospace; cursor: pointer }
.fan-tabs [role="tab"]:hover { border-color: var(--cat-deep) }
.fan-tabs [role="tab"][aria-selected="true"] { border-color: var(--cat-deep); background: var(--cat-deep); color: #fffdf4 }
.fan-tabs [role="tab"]:focus-visible { outline: 3px solid color-mix(in srgb, var(--cat-deep) 55%, #f0cd7f); outline-offset: 2px }
.fan-boards > .replay[hidden] { display: none }
/* Mermaid a person pastes keeps its lines. */
#fan-mindmap .rp-turn.you .rp-code { background: #eef1e4; color: #21392f }
