/* Old/new look switch, shared by the new site (inlined in page.njk) and the
   classic snapshot (/classic/look-switch.css). Plain values, no site tokens,
   so it renders the same on top of either design. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .32s; }

.look-switch {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 11px;
  border: 1px solid #2b3954;
  border-radius: 999px;
  background: rgb(21 30 48 / .86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px -10px rgb(0 0 0 / .7);
  color: #e8ecf3 !important;
  font: 500 13px/1 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .02em;
  text-decoration: none !important;
  transition: border-color .14s, box-shadow .2s, translate .14s cubic-bezier(.2, .8, .2, 1);
}
.look-switch:hover {
  border-color: #ff7a33;
  box-shadow: 0 0 22px -6px #ff7a33;
  translate: 0 -1px;
}
.look-switch:focus-visible { outline: 2px solid #55cfe8; outline-offset: 3px; }
.look-switch svg { width: 16px; height: 16px; flex: none; color: #ff7a33; }
@media print { .look-switch { display: none; } }
