/* governance scene: everything is absolutely placed on a 1170 x 884 canvas */
.sc-gv > * { position: absolute; }
.sc-gv-svg { left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sc-gv-wire { fill: none; stroke: var(--line); stroke-width: 2; }
.sc-gv-lbl { font-size: 18px; font-weight: 600; color: var(--mute); }

/* visitor bubble */
.sc-gv-say { max-width: 1100px; font-size: 28px; line-height: 1.3; padding: 18px 26px; border-radius: 22px 22px 22px 6px; background: rgba(255,255,255,.12); white-space: nowrap; }
.sc-gv-say.empty { color: var(--mute); background: rgba(255,255,255,.06); }

/* gates */
.sc-gv-halo { border-radius: 20px; box-shadow: 0 0 0 4px rgba(156,200,255,.5), 0 0 48px rgba(106,168,255,.55); }
.sc-gv-gate { border-radius: 16px; padding: 0 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sc-gv-gate b { font-size: 24px; font-weight: 700; }
.sc-gv-gate small { font-size: 17px; }
.sc-gv-gate.m { background: linear-gradient(140deg, #3a8cf0, #17467f); color: #fff; }
.sc-gv-gate.m small { color: rgba(255,255,255,.8); }
.sc-gv-gate.c { border: 2px solid #fff; background: rgba(0,0,0,.35); }
.sc-gv-gate.c b { font-family: var(--mono); font-size: 23px; }
.sc-gv-gate.c small { color: var(--fg2); }

/* candidate slot */
.sc-gv-frame { border: 1.5px dashed rgba(255,255,255,.22); border-radius: 14px; }
.sc-gv-cand { position: absolute; left: 0; top: 0; right: 0; bottom: 0; padding: 0 22px; display: flex; flex-direction: column; justify-content: center; gap: 6px; will-change: transform, opacity, filter; }
.sc-gv-cand code { font-family: var(--mono); font-size: 23px; color: #9cc8ff; white-space: nowrap; }
.sc-gv-cand small { font-family: var(--mono); font-size: 17px; color: var(--mute); }
.sc-gv-cand.bad code { color: #ffb3ad; }
.sc-gv-cand.forget code { color: #fff; }
.sc-gv-scan { position: absolute; top: 6px; bottom: 6px; left: 0; width: 4px; border-radius: 2px; background: #fff; box-shadow: 0 0 18px 4px rgba(255,255,255,.55); }
.sc-gv-scan.bad { background: #ff5b4f; box-shadow: 0 0 18px 4px rgba(255,91,79,.6); }

/* verdict */
.sc-gv-verdict { border-radius: 12px; font-family: var(--mono); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sc-gv-verdict.ok { background: rgba(63,212,155,.16); color: #9ff0cf; }
.sc-gv-verdict.bad { background: rgba(255,91,79,.18); color: #ffb3ad; }
.sc-gv-verdict.forget { background: #fff; color: #111; }

/* table */
.sc-gv-table { border-radius: 18px; border: 1px solid var(--card-line); background: rgba(0,0,0,.22); overflow: hidden; }
.sc-gv-row { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 220px 1fr 180px 160px; align-items: center; padding: 0 30px; font-family: var(--mono); font-size: 23px; color: #f4f4f4; }
.sc-gv-row.head { top: 0; height: 54px; font-family: var(--font); font-size: 18px; font-weight: 600; color: var(--mute); border-bottom: 1px solid var(--card-line); }
.sc-gv-row.body { height: 68px; border-bottom: 1px solid rgba(255,255,255,.06); }
.sc-gv-to { color: #3fd49b; }
.sc-gv-val { position: relative; justify-self: start; }
.sc-gv-strike { position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; background: currentColor; }
.sc-gv-marker { position: absolute; left: 0; top: 0; width: 6px; height: 48px; border-radius: 0 4px 4px 0; background: var(--amber); box-shadow: 0 0 14px rgba(243,184,78,.7); }
.sc-gv-ghost { position: absolute; left: 18px; right: 18px; height: 56px; border: 2px dashed rgba(255,91,79,.75); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: rgba(255,91,79,.07); }
.sc-gv-ghost code { font-family: var(--mono); font-size: 22px; color: #ffb3ad; }
.sc-gv-ghost span { font-size: 19px; font-weight: 700; color: #ff8f86; }
.sc-gv-chip { position: absolute; width: 258px; height: 64px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.55); display: flex; align-items: center; gap: 12px; padding: 0 18px; font-family: var(--mono); font-size: 19px; color: #f4f4f4; background: rgba(0,0,0,.25); }
.sc-gv-chip b { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #3fd49b; color: #111; font-size: 18px; flex: 0 0 auto; }
.sc-gv-none { position: absolute; left: 30px; right: 30px; font-size: 21px; color: var(--fg2); }

/* audit */
.sc-gv-audit { font-family: var(--mono); font-size: 18px; color: #f4f4f4; white-space: nowrap; }

/* story mode keeps the same canvas; nothing extra needed */
