/* Bug Hunt: the snippet is a column of line buttons that scrolls sideways on narrow screens. */
.bh-goal { color: var(--ink); font-size: 1rem; line-height: 1.5; margin-bottom: 0.9rem; }
.bh-code { overflow-x: auto; margin-bottom: 0.4rem; border: 1px solid var(--panel-edge); border-radius: 8px; background: #0c0c16; }
.bh-lines { display: inline-grid; min-width: 100%; padding: 0.3rem 0; vertical-align: top; }
.bh-line {
  display: flex; align-items: center; gap: 0.9rem; min-height: 44px; margin: 0; padding: 0 1rem 0 0;
  border: 0; border-left: 3px solid transparent; border-radius: 0; background: transparent;
  color: #d7e3ff; font: 0.92rem/1.4 var(--mono); text-align: left; white-space: pre; cursor: pointer;
}
.bh-line:hover:not(:disabled), .bh-line:focus-visible { background: rgba(var(--accent-rgb), 0.1); border-left-color: var(--accent); outline: none; }
.bh-line:disabled { cursor: default; color: #d7e3ff; opacity: 1; }
.bh-num { flex: none; width: 2.6rem; text-align: right; color: var(--ink-faint); user-select: none; -webkit-user-select: none; }
.bh-text { flex: none; }
.bh-line.is-right { background: rgba(74, 222, 128, 0.16); border-left-color: var(--ok); }
.bh-line.is-wrong { background: rgba(251, 113, 133, 0.16); border-left-color: var(--danger); }
.bh-line.is-bug { background: rgba(255, 225, 77, 0.14); border-left-color: var(--yel); }
.bh-line.is-right .bh-num, .bh-line.is-wrong .bh-num, .bh-line.is-bug .bh-num { color: var(--ink); }
.bh-result[hidden] { display: none; }
.bh-result .q-note { margin-top: 0.7rem; line-height: 1.5; }
.bh-fix-label { margin: 0.8rem 0 0.3rem; font-size: 0.85rem; color: var(--ink-soft); }
.bh-fix { margin-bottom: 0.9rem; border-color: rgba(74, 222, 128, 0.45); }
.bh-next { min-height: 44px; border-color: var(--accent); color: var(--ink); }
