/* SenseGames 瞬时呈现层；不改变真实文本、布局、焦点与点击。 */
.sg-code-layer {
  position: fixed;
  inset: 0;
  z-index: 1070;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  contain: strict;
}
.sg-code-echo, .sg-code-line, .sg-code-head { position: absolute; margin: 0; opacity: 0; pointer-events: none; }
.sg-code-echo { overflow: hidden; }
.sg-code-line { height: 1px; background: linear-gradient(90deg, transparent, currentColor); transform-origin: 0 50%; }
.sg-code-head {
  width: .3125rem;
  height: .3125rem;
  margin: -.15625rem 0 0 -.15625rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 .5rem currentColor;
}
.sg-code-toggle {
  appearance: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: .5rem 0;
  min-height: 2.75rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}
.sg-code-toggle[hidden] { display: none; }
.sg-code-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-code-motion-enabled="true"]) .sg-code-layer { display: none; }
}
