#bRuse { white-space: nowrap; }
#bRuse[aria-pressed="true"] { background: #33d6c214; color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
#caseMenu .pop { display: none; width: max-content; min-width: 175px; }
#caseMenu.open .pop { display: grid; gap: 4px; }
#caseMenu .pop button { text-align: left; }
.ruse-active :is(#rep,#al,#labels .co) { display: none; }
.opmode #src.case-source { display: block !important; }
.opmode #src.off { display: none !important; }
.release-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; }
.release-label output { font: 700 18px var(--mono); color: var(--teal); white-space: nowrap; }
.release-panel input[type="range"] { display: block; width: 100%; margin: 7px 0 0; accent-color: var(--teal); }
.release-note { margin: 4px 0 0; }
.release-chart { margin: 10px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
.release-chart figcaption { font-size: 12px; }
.release-panel .release-chart svg { height: auto; cursor: default; }
.release-plot-grid, .release-plot-lag { fill: none; stroke: var(--line); }
.release-plot-lag { stroke: var(--mute); stroke-dasharray: 3 3; }
.release-plot-flow { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; }
.release-chart-axis { display: flex; justify-content: space-between; color: var(--mute); font-size: 10px; }
.release-fit-credit { margin: 0; }
.release-method summary { color: var(--mute); font-size: 12px; cursor: pointer; }
.release-method a, .release-route-credit a, .release-fit-credit a { color: var(--blue); }
.release-method ul { margin: 6px 0 0; padding-left: 17px; }

.release-route-overlay { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.release-route-overlay[hidden], .release-route-end[hidden] { display: none; }
#app[data-release-reach="tagus"] #tagus-pins { visibility: hidden; }
.release-route-end { position: absolute; left: 0; top: 0; width: 1px; height: 1px; white-space: nowrap; }
.release-route-end i { position: absolute; top: -4px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #ffc680; border: 1px solid var(--ink); }
.release-route-end b { position: absolute; bottom: 6px; left: 0; transform: translateX(-50%); padding: 3px 6px; background: #0b0d11eb; border-radius: 6px; font-size: 11px; }
.release-route-end small { color: var(--mute); }
.release-route-credit { position: absolute; right: 372px; bottom: 128px; font-size: 10px; padding: 4px 6px; border-radius: 5px; background: #0b0d11eb; pointer-events: auto; }
.release-route-credit span { margin-right: 7px; color: #ffc680; }
.release-route-credit span::before { content: ''; display: inline-block; width: 13px; height: 2px; margin-right: 4px; background: currentColor; vertical-align: middle; }

@media (max-width: 1000px) {
  #caseMenu .pop { left: 0; right: auto; }
  .release-route-credit { right: 8px; bottom: 8px; }
}
