    @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap');

    .terminal {
      --bbs-main: #ffffff;
      --bbs-dim: #888888;
      --bbs-bg: #0a0a0a;

      max-width: 80ch;
      margin: 0 auto;
      background: none;
      color: var(--bbs-main);
      font-family: 'IBM Plex Mono', monospace;
      font-size: 14px;
      line-height: 1.5;
      position: relative;
    }

    .terminal::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .terminal .bbs-header {
      text-align: center;
      margin-bottom: 24px;
      white-space: pre;
      font-size: 12px;
    }

    .terminal .status-bar {
      border: 1px solid var(--bbs-dim);
      padding: 8px 12px;
      margin-bottom: 16px;
      display: flex;
      justify-content: space-between;
    }

    .terminal .post {
      border: 1px solid var(--bbs-dim);
      margin-bottom: 12px;
    }

    .terminal .post-header {
      background: var(--bbs-main);
      color: var(--bbs-bg);
      padding: 6px 10px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
    }

    .terminal .post-header a {
      color: var(--bbs-bg);
      text-decoration: none;
    }

    .terminal .post-header a:hover {
      text-decoration: underline;
    }

    .terminal .post-body {
      padding: 12px;
      white-space: pre-wrap;
      word-wrap: break-word;
    }

    .terminal .post-footer {
      padding: 6px 10px;
      border-top: 1px dashed var(--bbs-dim);
      color: var(--bbs-dim);
      font-size: 12px;
    }

    .terminal .blink {
      animation: blink 1s step-end infinite;
    }

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

    .terminal .loading {
      text-align: center;
      padding: 40px;
    }

    .terminal .bbs-header.rainbow {
      animation: rainbow 1.5s linear infinite;
    }

    @keyframes rainbow {
      0%   { color: #ff0000; }
      16%  { color: #ff8000; }
      33%  { color: #ffff00; }
      50%  { color: #00ff00; }
      66%  { color: #0080ff; }
      83%  { color: #8000ff; }
      100% { color: #ff0000; }
    }

    /* Pagination */
    .terminal .pagination {
      margin-top: 20px;
      padding: 12px;
      border: 1px solid var(--bbs-dim);
      text-align: center;
      font-size: 14px;
    }

    .terminal .pagination .page-label {
      color: var(--bbs-dim);
      margin-right: 8px;
    }

    .terminal .pagination a {
      color: var(--bbs-main);
      text-decoration: none;
      margin: 0 4px;
    }

    .terminal .pagination a:hover {
      color: var(--bbs-bg);
      background: var(--bbs-main);
    }

    .terminal .pagination .current {
      color: #ffff00;
      font-weight: bold;
    }

    .terminal .pagination .ellipsis {
      color: var(--bbs-dim);
      margin: 0 4px;
    }