/* Styling for the compact, non-interactive Snake animation. */
.snake-peek {
  position: fixed;
  top: calc(var(--disclaimer-height, 0px) + 14px);
  left: 14px;
  z-index: 140;
  width: 192px;
  overflow: hidden;
  border: 1px solid rgba(79, 63, 100, .18);
  border-radius: 15px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 16px 36px rgba(48, 36, 58, .16);
  color: var(--ink, #1d1d1b);
  font-family: var(--sans, system-ui, sans-serif);
  backdrop-filter: blur(12px);
}

.snake-peek-head { display: flex; height: 31px; align-items: center; justify-content: space-between; padding: 0 7px 0 10px; background: rgba(220, 208, 239, .7); color: #4f3f64; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.snake-peek-head span { display: inline-flex; align-items: center; gap: 6px; }
.snake-peek-head i { width: 6px; height: 6px; border-radius: 50%; background: #61724d; box-shadow: 0 0 0 3px rgba(97,114,77,.13); }
.snake-peek-head button { display: grid; width: 23px; height: 23px; place-items: center; border: 0; border-radius: 50%; padding: 0; background: transparent; color: #4f3f64; font-size: 19px; line-height: 1; cursor: pointer; }
.snake-peek-head button:hover { background: rgba(255,253,249,.75); }
.snake-peek canvas { display: block; width: 176px; height: 128px; margin: 8px auto 4px; border: 1px solid rgba(140,117,172,.12); border-radius: 9px; image-rendering: pixelated; }
.snake-peek p { margin: 0 0 8px; color: var(--ink-soft, #626159); font-size: 9px; font-weight: 700; letter-spacing: .02em; text-align: center; }

@media (max-width: 700px) { .snake-peek { top: calc(var(--disclaimer-height, 0px) + 8px); left: 8px; transform: scale(.84); transform-origin: top left; } }
@media (prefers-reduced-motion: reduce) { .snake-peek canvas { opacity: .9; } }
