/* A black silhouette above the scene, below navigation, learning cards and controls.
   A fine pale halo keeps black readable on the dark stage; the artwork stays #000. */
.schrodingers-cat {
  position: fixed; left: 0; top: 0; z-index: 9; pointer-events: auto;
  appearance: none; margin: 0; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: inherit; font: inherit; cursor: pointer;
  touch-action: manipulation; min-width: 44px; min-height: 44px;
  user-select: none; -webkit-user-select: none; contain: layout style;
}
.schrodingers-cat[hidden] { display: none; }
.schrodingers-cat svg { display: block; width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 0 0.7px #f6f4ed) drop-shadow(0 1px 1px rgb(246 244 237 / 45%)); }
.schrodingers-cat svg { pointer-events: none; }
.schrodingers-cat[data-variant="cats-eye-1"] svg { filter: none; }
.sim-cat-viewer { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 2px 6px; box-sizing: border-box; color: var(--ui-pane-text-start, #b9cbe3); cursor: pointer; white-space: normal; }
.sim-cat-viewer[hidden] { display: none; }
.sim-cat-viewer input { width: 16px; height: 16px; margin: 0; flex-shrink: 0; accent-color: #5af1e5; }
.sim-cat-viewer:has(input:disabled) { cursor: default; opacity: .55; }
.sim-cat-viewer:focus-within { outline: 2px solid #99e6de; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 759px), (pointer: coarse) { .sim-cat-viewer { min-height: 44px; padding: 6px 10px; font-size: calc(13px * var(--app-text-scale, 1)); } }
@media (max-width: 759px) and (min-height: 500px) { .sim-cat-viewer { grid-column: 1 / -1; } }
@media (min-width: 480px) and (max-width: 959px) and (max-height: 499px) {
  html[data-deck-persistent="true"]:not([data-mobile-ui="true"]) #sim-links { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  html[data-deck-persistent="true"]:not([data-mobile-ui="true"]) #sim-links a, .sim-cat-viewer { flex: 0 0 auto; white-space: nowrap; box-sizing: border-box; }
}
.schrodingers-cat:focus-visible { outline: 2px solid #5af1e5; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .schrodingers-cat { display: none !important; } }
