.glass-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 48px);
  box-sizing: border-box;
  padding: 10px 18px;

  /* Liquid glass effect */
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);

  color: #fff;
  font-size: 0.85rem;
  line-height: 1.4;
  transition:
    background-color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-widget:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px) scale(1.03);
}

a.glass-widget:link,
a.glass-widget:visited {
  color: #fff;
  text-decoration: none;
}

a.glass-widget:hover,
a.glass-widget:active {
  color: #fff;
}

a.glass-widget:focus-visible {
  outline: 2px solid var(--hover);
  outline-offset: 3px;
}

.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
}

@media (max-width: 480px) {
  .glass-widget {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-widget {
    transition: none;
  }
}

/* 404 page */
.not-found {
  padding-block: clamp(1rem, 6vw, 4rem);
}

.not-found__eyebrow {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.not-found__eyebrow::before {
  content: "// ";
  color: var(--base08);
}

.not-found__title {
  margin: 0 0 1.5rem;
  color: var(--logo);
  font-size: clamp(4rem, 18vw, 8rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.not-found__title::before {
  content: none;
}

.not-found__terminal {
  display: grid;
  grid-template-columns: min-content minmax(0, 1fr);
  gap: 0 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  overflow-wrap: anywhere;
  background: var(--inner-bg);
  box-shadow: inset 3px 0 0 var(--logo);
  color: var(--off-fg);
}

.not-found__prompt {
  color: var(--logo);
}

.not-found__output {
  grid-column: 2;
  color: var(--base08);
}

.not-found__cursor {
  align-self: center;
  width: 0.6em;
  height: 1em;
  background: var(--fg);
  animation: cursor-blink 1.1s steps(1) infinite;
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .not-found__cursor {
    animation: none;
  }
}

/* Automatically generated recent notes list */
.recent-notes__date {
  color: var(--muted);
  white-space: nowrap;
}

.recent-notes__summary {
  display: block;
  color: var(--off-fg);
}
