/* ============================================
   SWISS TOPOLOGY V2 — Peak Map + Drawer
   Warm cream, terracotta accent, contour lines
   ============================================ */

:root {
  --bg: #FAF8F5;
  --text: #1A1A1A;
  --text-secondary: #6B6560;
  --text-muted: #9A9490;
  --accent: #C75B3A;
  --accent-light: rgba(199, 91, 58, 0.08);
  --contour: #C75B3A;
  --border: #E0DAD0;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 96px;

  /* Flashlight cursor position */
  --mouse-x: -9999px;
  --mouse-y: -9999px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ---- Links ---- */
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

/* ---- Noise texture ---- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---- Contour background ---- */
.topo-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.topo-bg svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contour-line {
  fill: none;
  stroke: var(--contour);
  stroke-linecap: round;
}

.pathway {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  transition: opacity 0.3s ease;
}

/* ---- Fog-of-war overlay ---- */
.fog {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--bg);
  opacity: 0.92;
  transition: opacity 0.4s ease;
  -webkit-mask-image: radial-gradient(
    circle 420px at var(--mouse-x) var(--mouse-y),
    transparent 0%,
    transparent 45%,
    black 100%
  );
  mask-image: radial-gradient(
    circle 420px at var(--mouse-x) var(--mouse-y),
    transparent 0%,
    transparent 45%,
    black 100%
  );
}

.fog.fog--dimmed {
  opacity: 0.5;
}

/* ---- Terrain (single viewport map) ---- */
.terrain {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ---- Coordinates ---- */
.coordinates {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 2;
}

.coordinates span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---- Villages (peak markers) ---- */
.village {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 2;
  user-select: none;
}

.village-rings {
  display: block;
  overflow: visible;
  pointer-events: none;
}

.village-rings circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
}

/* Label centered on the rings */
.village-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

.village-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1px;
}

.village-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero peak — larger, clickable */
.village--hero {
  cursor: pointer;
}

.village--hero .village-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
}

/* Village hover state */
.village:hover .village-title {
  color: var(--accent);
}
.village--hero:hover .village-title {
  color: var(--text);
}

/* ---- Drawer (retro digital window) ---- */
.drawer {
  position: fixed;
  left: 50%;
  top: 0;
  width: 60%;
  max-height: 80vh;
  z-index: 10;
  background: var(--bg);
  border: 1px solid rgba(199, 91, 58, 0.35);
  border-top: none;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
  transform: translate(-50%, -100%);
  will-change: transform;
  box-shadow: none;
}

.drawer-scroll {
  max-height: 80vh;
  overflow-y: auto;
}

/* Scanline overlay */
.drawer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(199, 91, 58, 0.018) 2px,
    rgba(199, 91, 58, 0.018) 4px
  );
  z-index: 1;
}

/* Drawer inner content area — padding applied via main rule below */

.drawer-close {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100%;
  height: auto;
  background: var(--bg);
  border: none;
  border-bottom: 1px solid rgba(199, 91, 58, 0.2);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-xs) var(--space-sm);
  transition: color 0.2s ease, background 0.2s ease;
  line-height: 1;
  letter-spacing: 0.05em;
}

.drawer-close:hover {
  color: var(--accent);
  background: rgba(199, 91, 58, 0.08);
}

.drawer-panel {
  display: none;
  padding: var(--space-lg);
}

.drawer-panel.is-active {
  display: block;
}

/* Drawer backdrop (dims map when open) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

.drawer-backdrop.is-active {
  pointer-events: auto;
}

/* ---- Drawer content styles ---- */
.section-marker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px dashed rgba(199, 91, 58, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-marker::before {
  content: '>';
  color: var(--accent);
  font-weight: 500;
  animation: blink 1.2s step-end infinite;
}

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

.marker-num {
  color: var(--accent);
  font-weight: 500;
}

.drawer-panel h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.2;
}

.drawer-panel p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.drawer-panel .lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.drawer-panel .detail {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.region-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: none;
  transition: color 0.2s ease;
}

.region-link::before {
  content: '→ ';
  color: rgba(199, 91, 58, 0.4);
}

.region-link:hover {
  color: var(--accent);
}

.region-link:hover::before {
  color: var(--accent);
}

blockquote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--accent);
  background: rgba(199, 91, 58, 0.03);
  border-right: 1px dashed rgba(199, 91, 58, 0.12);
}

/* ---- SoundCloud ---- */
.soundcloud-embed {
  margin-top: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

/* ---- Tags ---- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
  cursor: default;
}

.tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Drawer links (per-panel) ---- */
.drawer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px dashed rgba(199, 91, 58, 0.2);
}

.drawer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-bottom: none;
  transition: color 0.2s ease;
}

.drawer-links a::before {
  content: '→ ';
  color: rgba(199, 91, 58, 0.4);
}

.drawer-links a:hover {
  color: var(--accent);
}

.drawer-links a:hover::before {
  color: var(--accent);
}

/* ---- Archive Gallery ---- */
.archive-gallery {
  margin-top: var(--space-md);
}

.archive-month {
  margin-bottom: var(--space-lg);
}

.archive-month-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px dashed rgba(199, 91, 58, 0.15);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.archive-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(199, 91, 58, 0.1);
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.archive-thumb:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(199, 91, 58, 0.3);
}

.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: 1px solid rgba(199, 91, 58, 0.3);
  color: rgba(250, 248, 245, 0.7);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: var(--space-xs) var(--space-sm);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(199, 91, 58, 0.25);
  color: rgba(250, 248, 245, 0.6);
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lightbox-nav:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.lightbox-prev { left: var(--space-md); }
.lightbox-next { right: var(--space-md); }

.lightbox-caption {
  max-width: 70vw;
  max-height: 8vh;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(250, 248, 245, 0.6);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.lightbox-caption:empty {
  display: none;
}

.lightbox-counter {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(250, 248, 245, 0.5);
  letter-spacing: 0.1em;
}

/* ---- Bookshelf ---- */
.bookshelf-shelves {
  margin-top: var(--space-md);
}

.bookshelf-category {
  margin-bottom: var(--space-lg);
}

.bookshelf-category-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px dashed rgba(199, 91, 58, 0.15);
}

.bookshelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-sm);
}

.book-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm);
  border: 1px solid rgba(199, 91, 58, 0.1);
  transition: border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  border-bottom: none;
}

.book-card:hover {
  border-color: rgba(199, 91, 58, 0.3);
}

.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  margin-bottom: var(--space-xs);
  background: rgba(199, 91, 58, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-cover-placeholder {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  text-align: center;
  padding: var(--space-xs);
  line-height: 1.4;
  word-break: break-word;
}

.book-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 2px;
}

.book-author {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ---- Fun Facts ---- */
.funfacts-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.funfact-card {
  padding: var(--space-sm) var(--space-md);
  border-left: 2px solid rgba(199, 91, 58, 0.25);
  background: rgba(199, 91, 58, 0.02);
}

.funfact-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.funfact-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Recommendations ---- */
.recommendations-list {
  margin-top: var(--space-md);
}

.rec-category {
  margin-bottom: var(--space-lg);
}

.rec-category-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px dashed rgba(199, 91, 58, 0.15);
}

.rec-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rec-entry {
  display: block;
  padding: var(--space-sm);
  border: 1px solid rgba(199, 91, 58, 0.08);
  border-bottom: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.rec-entry:hover {
  border-color: rgba(199, 91, 58, 0.25);
  background: rgba(199, 91, 58, 0.03);
}

.rec-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.rec-byline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.rec-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 4px;
}

/* ---- Hot Takes ---- */
.hottakes-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hottake-card {
  padding: var(--space-sm) var(--space-md);
  border-left: 2px solid rgba(199, 91, 58, 0.35);
  background: rgba(199, 91, 58, 0.03);
  position: relative;
}

.hottake-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

.hottake-tag {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* ---- Key Ideas ---- */
.keyideas-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.keyidea-card {
  padding: var(--space-md);
  border: 1px solid rgba(199, 91, 58, 0.15);
  background: rgba(199, 91, 58, 0.02);
}

.keyidea-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.keyidea-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.keyidea-image {
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(199, 91, 58, 0.1);
}

.keyidea-related {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---- Publications ---- */
.publications-section {
  margin-top: var(--space-lg);
}

.publications-section h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px dashed rgba(199, 91, 58, 0.15);
}

.pub-entry {
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
  border-left: 2px solid rgba(199, 91, 58, 0.15);
}

.pub-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.pub-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.pub-venue {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1px;
}

.pub-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
  display: inline-block;
}

.pub-link:hover {
  text-decoration: underline;
}

/* ---- Initial hidden states ---- */
.village {
  opacity: 0;
}

/* ---- Responsive — Mobile (keep the map, shrink it) ---- */
@media (max-width: 768px) {
  /* Fog off on mobile — no cursor */
  .fog {
    display: none;
  }

  /* Scale down ring sizes via CSS transform on the whole terrain */
  .village-rings {
    transform: scale(0.6);
    transform-origin: center center;
  }

  .village-label {
    transform: translate(-50%, -50%) scale(0.85);
  }

  .village-title {
    font-size: 0.65rem;
  }

  .village-num {
    font-size: 0.5rem;
  }

  .village--hero .village-title {
    font-size: 0.72rem;
  }

  .coordinates span {
    font-size: 0.55rem;
  }

  /* Drawer: full-width on mobile */
  .drawer {
    width: 100%;
    left: 0;
    transform: translateY(-100%);
    border-radius: 0;
    max-height: 85vh;
    border-left: none;
    border-right: none;
  }

  .drawer-scroll {
    max-height: 85vh;
  }

  .drawer-panel {
    padding: var(--space-md);
  }

  .drawer-panel h2 {
    font-size: 1.3rem;
  }

  .drawer-panel p {
    font-size: 0.95rem;
  }

  .drawer-panel .lead {
    font-size: 1.05rem;
  }

  blockquote {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .soundcloud-embed iframe {
    height: 100px;
  }

  .tags span {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .coordinates {
    display: none;
  }
}

/* ---- Easter egg: fog toggle ---- */
.fog-toggle {
  position: fixed;
  z-index: 4;
  font-size: 1.2rem;
  opacity: 0.25;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s ease;
  padding: 10px;
  line-height: 1;
}

.fog-toggle:hover {
  opacity: 0.7;
}

/* ---- AGI modal ---- */
.agi-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.agi-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.agi-modal-box {
  max-width: 480px;
  padding: 48px 40px 40px;
  background: var(--bg);
  border: 1px solid rgba(199, 91, 58, 0.35);
  text-align: center;
}

.agi-modal-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 32px;
}

.agi-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agi-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border: 1px solid rgba(199, 91, 58, 0.3);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.agi-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(199, 91, 58, 0.05);
}

.agi-btn--love {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Paperclips ---- */
.paperclip {
  position: fixed;
  z-index: 150;
  font-size: 1.4rem;
  pointer-events: none;
  opacity: 0;
  user-select: none;
}

@keyframes paperclip-drift {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}

.last-updated {
  position: fixed;
  bottom: 1rem;
  left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}
