#matrix-fondo {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  pointer-events: none;
}

:root[data-tema="claro"] #matrix-fondo {
  opacity: 0.11;
}

#app.app-shell {
  position: relative;
  z-index: 1;
  background: transparent;
}

.theme-btn {
  display: grid;
  width: 38px;
  height: 38px;
  align-self: center;
  margin-left: 12px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--accent);
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s,
    box-shadow 0.18s;
}

.theme-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--line-soft);
}

@media (prefers-reduced-motion: reduce) {
  #matrix-fondo {
    opacity: 0.12;
  }
}
