:root {
  --background: #282a36;
  --foreground: #f8f8f2;
  --accent: #bd93f9;
}

/* Dracula palette overrides */
a { color: #8be9fd; }
a:hover { color: #50fa7b; }

pre, code { background: #1e1f29; }

strong { color: #ff79c6; }

.header__logo a .logo { color: #f8f8f2; }

.menu a { color: #f8f8f2; }
.menu a:hover { color: #50fa7b; }

.post-title a { color: #f8f8f2; }
.post-title a:hover { color: #bd93f9; }

blockquote {
  border-left-color: #6272a4;
  color: #f8f8f2;
}

::selection {
  background: #44475a;
  color: #f8f8f2;
}

/* ── Mobile fixes ── */

@media (max-width: 684px) {
  /* Scale down man-page <pre> to fit without wrapping */
  .index-content pre {
    font-size: 0.55rem !important;
    line-height: 1.45;
    overflow-x: auto;
  }

  /* Reduce list indentation */
  ul, ol {
    margin-left: 2ch;
  }

  /* Tighter blockquotes */
  blockquote {
    padding: 15px;
  }

  /* Wrap tables in scrollable area */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
