    @font-face {
      font-family: 'Berylium';
      src: url('/beryliumrg.otf') format('opentype');
      font-weight: normal;
    }

    @font-face {
      font-family: 'Berylium';
      src: url('/beryliumbd.otf') format('opentype');
      font-weight: bold;
    }

    :root {
      --bg-main: #C4B9A8;
      --bg-header: #D5CEBE;
      --bg-card: #F8F4EC;
      --bg-card-hover: #FFFFFF;
      --bg-card-changed: #FFF4E5;
      --border-dark: #2F2F2F;
      --border-light: rgba(47, 47, 47, 0.2);
      --text-main: #2F2F2F;
      --text-muted: #6B655C;
      --accent-brown: #8B4513;
      --accent-orange: #E65100;
      --accent-red: #C62828;
      --accent-blue: #1565C0;
      --accent-green: #2E7D32;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Berylium', Georgia, serif;
      background: #C4B9A8;
      color: #2f2f2f;
      min-height: 100vh;
    }

    /* ============================================
       Kopf und Filterleiste: gleiche Regeln wie zeitgleich.css
       ============================================ */
    /* Top Header */
    .header {
      background: var(--bg-header);
      padding: 0.8rem 2rem;
      border-bottom: 2px solid var(--border-dark);
      position: relative;
      z-index: 500;
    }

    .header-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1600px;
      margin: 0 auto;
    }

    .logo {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--text-main);
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 2px;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .logo .mirror {
      display: inline-block;
      transform: scaleX(-1);
    }

    .logo-badge {
      font-size: 0.75rem;
      font-weight: normal;
      background: var(--accent-brown);
      color: #FFF;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      letter-spacing: 1px;
      vertical-align: middle;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      gap: 1.2rem;
      align-items: center;
    }

    .nav-links a {
      color: var(--text-main);
      text-decoration: none;
      padding: 0.35rem 0.75rem;
      border-radius: 4px;
      transition: all 0.2s;
      font-size: 0.95rem;
      font-weight: bold;
    }

    .nav-links a:hover, .nav-links a.active {
      background: rgba(0,0,0,0.12);
      color: #000;
    }

    /* Sticky Control & Filter Bar */
    .control-bar {
      position: sticky;
      top: 0;
      z-index: 400;
      background: rgba(229, 222, 209, 0.96);
      backdrop-filter: blur(8px);
      border-bottom: 2px solid var(--border-dark);
      padding: 0.35rem 1rem;
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }

    .control-container {
      max-width: 100%;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 0.4rem 0.5rem;
      width: 100%;
    }

    /* Search input */
    .search-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .search-icon {
      position: absolute;
      left: 9px;
      font-size: 0.9rem;
      pointer-events: none;
      opacity: 0.7;
    }

    .search-input {
      padding: 0.3rem 1.6rem 0.3rem 1.9rem;
      font-family: 'Berylium', Georgia, serif;
      font-size: 0.85rem;
      border: 1.5px solid var(--border-dark);
      border-radius: 5px;
      background: #EFE8DC;
      color: var(--text-main);
      width: 175px;
      transition: all 0.2s ease;
    }

    .search-input:focus {
      outline: none;
      border-color: var(--accent-brown);
      background: #FFF;
      box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
      width: 230px;
    }

    .search-clear-btn {
      position: absolute;
      right: 6px;
      background: none;
      border: none;
      font-size: 0.9rem;
      cursor: pointer;
      color: var(--text-muted);
      display: none;
      padding: 2px 4px;
      border-radius: 50%;
    }

    .search-clear-btn:hover {
      color: var(--accent-red);
    }


    /* Quick time-range preset buttons (1h / 6h / 24h / 7d) */
    .time-preset-group {
      display: flex;
      gap: 0.2rem;
    }

    .time-preset-btn {
      padding: 0.18rem 0.4rem;
      font-family: 'Berylium', Georgia, serif;
      font-size: 0.72rem;
      font-weight: bold;
      background: #D5CEBE;
      border: 1px solid var(--border-dark);
      border-radius: 4px;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.15s ease;
    }

    .time-preset-btn:hover {
      background: var(--accent-brown);
      color: #FFF;
      border-color: var(--accent-brown);
    }

    /* Newspaper & Group Filter Button */
    .filter-drawer-toggle-btn {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.3rem 0.65rem;
      font-family: 'Berylium', Georgia, serif;
      font-size: 0.8rem;
      font-weight: bold;
      border: 1.5px solid var(--border-dark);
      border-radius: 5px;
      background: #EFE8DC;
      color: var(--text-main);
      cursor: pointer;
      transition: all 0.2s ease;
      user-select: none;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .filter-drawer-toggle-btn:hover, .filter-drawer-toggle-btn.active {
      background: #FFF;
      border-color: var(--accent-brown);
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }

    .filter-drawer-toggle-btn .badge {
      background: var(--accent-brown);
      color: #FFF;
      padding: 1px 5px;
      border-radius: 10px;
      font-size: 0.7rem;
    }

    .checkbox-label {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.8rem;
      font-weight: bold;
      cursor: pointer;
      user-select: none;
      background: rgba(0, 0, 0, 0.05);
      padding: 0.26rem 0.5rem;
      border-radius: 5px;
      border: 1px solid rgba(47, 47, 47, 0.2);
      transition: background 0.2s;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .checkbox-label:hover {
      background: rgba(0, 0, 0, 0.09);
    }

    .checkbox-label input {
      accent-color: var(--accent-brown);
      cursor: pointer;
    }

    /* Stats info badge */
    .stats-info {
      font-size: 0.78rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.35rem;
      margin-left: auto;
      flex-wrap: wrap;
    }

    .badge-pill {
      background: #E1D8CA;
      border: 1px solid rgba(47, 47, 47, 0.25);
      padding: 0.18rem 0.5rem;
      border-radius: 12px;
      font-weight: bold;
      color: var(--text-main);
      font-size: 0.74rem;
      white-space: nowrap;
    }

    .badge-pill.highlight {
      background: #FFE8D6;
      border-color: var(--accent-brown);
      color: var(--accent-brown);
    }

    /* ============================================
       FILTER DRAWER PANEL (GROUPS & NEWSPAPERS)
       ============================================ */
    .filter-drawer {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      max-height: 78vh;
      overflow-y: auto;
      background: #EFE7DA;
      border-bottom: 2px solid var(--border-dark);
      box-shadow: 0 16px 36px rgba(0,0,0,0.22);
      z-index: 450;
      padding: 1.2rem 2rem 1.8rem 2rem;
      animation: drawerSlideDown 0.2s ease-out;
    }

    @keyframes drawerSlideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .filter-drawer.open {
      display: block;
    }

    .drawer-content {
      max-width: 1600px;
      margin: 0 auto;
    }

    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      border-bottom: 1px solid rgba(47, 47, 47, 0.2);
      padding-bottom: 0.8rem;
      margin-bottom: 1rem;
    }

    .drawer-title {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .drawer-actions {
      display: flex;
      gap: 0.5rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .action-btn {
      padding: 0.35rem 0.75rem;
      font-family: 'Berylium', Georgia, serif;
      font-size: 0.8rem;
      font-weight: bold;
      background: #D5CEBE;
      border: 1px solid var(--border-dark);
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .action-btn:hover {
      background: var(--accent-brown);
      color: #FFF;
      border-color: var(--accent-brown);
    }

    .action-btn.close-btn {
      background: #C4B9A8;
      margin-left: 0.5rem;
    }

    .action-btn.close-btn:hover {
      background: var(--accent-red);
      color: #FFF;
    }

    /* Group Cards Grid */
    .drawer-section-title {
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--accent-brown);
      margin: 0.8rem 0 0.5rem 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .groups-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 0.6rem;
      margin-bottom: 1.2rem;
    }

    .group-card {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      background: #FFFDF9;
      border: 1.5px solid rgba(47, 47, 47, 0.2);
      border-radius: 6px;
      padding: 0.5rem 0.7rem;
      cursor: pointer;
      user-select: none;
      transition: all 0.15s ease;
    }

    .group-card:hover {
      border-color: var(--accent-brown);
      background: #FFF;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .group-card.is-active {
      border-color: var(--accent-brown);
      background: #FFF9F2;
    }

    .group-card input[type="checkbox"] {
      accent-color: var(--accent-brown);
      width: 16px;
      height: 16px;
      cursor: pointer;
    }

    .group-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .group-name {
      font-size: 0.85rem;
      font-weight: 800;
      color: var(--text-main);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .group-meta {
      font-size: 0.68rem;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Individual Newspapers Section */
    .np-search-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 0.6rem;
    }

    .np-search-input {
      padding: 0.4rem 0.8rem;
      font-family: 'Berylium', Georgia, serif;
      font-size: 0.85rem;
      border: 1px solid var(--border-dark);
      border-radius: 4px;
      background: #FFF;
      width: 220px;
    }

    .np-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 0.45rem;
      max-height: 280px;
      overflow-y: auto;
      padding: 0.5rem;
      background: #FFFDF9;
      border: 1.5px solid rgba(47, 47, 47, 0.2);
      border-radius: 6px;
    }

    .np-checkbox-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.3rem 0.5rem;
      border-radius: 4px;
      background: rgba(0,0,0,0.02);
      border: 1px solid transparent;
      cursor: pointer;
      user-select: none;
      font-size: 0.8rem;
      transition: all 0.12s;
    }

    .np-checkbox-item:hover {
      background: #F2ECE1;
      border-color: rgba(47,47,47,0.15);
    }

    .np-checkbox-item input[type="checkbox"] {
      accent-color: var(--accent-brown);
      width: 15px;
      height: 15px;
      cursor: pointer;
    }

    .np-badge-inline {
      font-size: 0.72rem;
      font-weight: bold;
      padding: 1px 5px;
      border-radius: 3px;
      border: 1px solid rgba(47,47,47,0.2);
      background: #E5DEC9;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 110px;
    }

    .np-article-count {
      font-size: 0.7rem;
      color: var(--text-muted);
      margin-left: auto;
    }

    .start-time-wrapper {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      flex-shrink: 0;
    }

    .start-time-label {
      font-size: 0.8rem;
      font-weight: bold;
      white-space: nowrap;
    }

    .time-preset-btn.active {
      background: var(--accent-brown);
      color: #FFF;
      border-color: var(--accent-brown);
    }

    .group-subdesc {
      font-size: 0.67rem;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .drawer-section-title small {
      font-weight: normal;
      color: var(--text-muted);
    }

    /* Layout: eine Spalte, die Filter sitzen in der Leiste oben */
    .layout {
      max-width: 1400px;
      margin: 0 auto;
      min-height: calc(100vh - 120px);
      background: #D5CEBE;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }

    /* Main Content */
    .main {
      flex: 1;
      padding: 1.5rem 2rem;
      background: #D5CEBE;
    }

    /* Stats Cards */
    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .stat-card {
      background: #E8E0D0;
      border: 1px solid #2f2f2f;
      border-radius: 4px;
      padding: 1.25rem;
    }

    .stat-card .label {
      color: #666;
      font-size: 0.85rem;
      margin-bottom: 0.4rem;
    }

    .stat-card .value {
      font-size: 2rem;
      font-weight: bold;
      color: #2f2f2f;
    }

    .stat-card:nth-child(1) .value {
      color: #8B4513;
    }

    .stat-card:nth-child(2) .value {
      color: #2E7D32;
    }

    .stat-card:nth-child(3) .value {
      color: #1565C0;
    }

    .stat-card .trend {
      font-size: 0.75rem;
      color: #666;
      margin-top: 0.4rem;
    }

    /* Changes List */
    .changes-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      border-bottom: 2px solid #2f2f2f;
      padding-bottom: 0.5rem;
    }

    .changes-header h2 {
      font-size: 1.4rem;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Load more sentinel for infinite scroll */
    .load-more-sentinel {
      text-align: center;
      padding: 1.5rem;
      color: #666;
      font-style: italic;
      background: rgba(139, 69, 19, 0.05);
      border: 1px dashed #8B4513;
      border-radius: 4px;
      margin: 1rem 0;
    }

    .change-card {
      background: #E8E0D0;
      border: 1px solid #2f2f2f;
      border-radius: 4px;
      padding: 1.25rem;
      margin-bottom: 1rem;
      transition: all 0.2s;
    }

    .change-card:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      transform: translateY(-2px);
    }

    .change-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.75rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid #bbb;
    }

    .newspaper-name {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: bold;
      color: #2f2f2f;
      font-size: 1rem;
    }

    .newspaper-name::before {
      content: '📰';
    }

    .time-ago {
      color: #666;
      font-size: 0.8rem;
      font-style: italic;
    }

    .title-change {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .old-title,
    .new-title {
      padding: 0.6rem 0.8rem;
      border-radius: 4px;
      line-height: 1.5;
      cursor: pointer;
      transition: background 0.2s;
    }

    .old-title:hover,
    .new-title:hover {
      filter: brightness(0.95);
    }

    .version-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: flex-start;
    }

    .version-datetime {
      font-size: 0.75rem;
      color: #666;
      min-width: 130px;
      flex-shrink: 0;
      font-family: 'Courier New', monospace;
      display: flex;
      flex-direction: column;
    }

    .version-datetime .pubdate {
      color: #333;
    }

    .version-datetime .adddate {
      font-size: 0.65rem;
      color: #888;
      margin-top: 1px;
    }

    .version-title {
      flex: 1;
      color: #2f2f2f;
    }

    .version-description {
      width: 100%;
      margin-top: 0.5rem;
      padding: 0.6rem;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 4px;
      font-size: 0.85rem;
      color: #444;
      border-left: 3px solid #8B4513;
    }

    .version-count {
      font-size: 0.7rem;
      background: rgba(0, 0, 0, 0.1);
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
      color: #666;
    }

    .change-indicators {
      display: flex;
      gap: 0.3rem;
      margin-left: 0.5rem;
      flex-shrink: 0;
    }

    .change-badge {
      font-size: 0.6rem;
      padding: 0.1rem 0.35rem;
      border-radius: 3px;
      font-weight: bold;
      text-transform: uppercase;
    }

    .change-badge.title-changed {
      background: rgba(139, 69, 19, 0.15);
      color: #8B4513;
      border: 1px solid rgba(139, 69, 19, 0.4);
    }

    .change-badge.desc-changed {
      background: rgba(30, 90, 160, 0.15);
      color: #1565C0;
      border: 1px solid rgba(30, 90, 160, 0.4);
    }

    /* Salmon for deleted/old - like in styles.js */
    .old-title {
      background: salmon;
      border-left: 3px solid #c0392b;
      color: #2f2f2f;
    }

    /* Lightgreen for inserted/new - like in styles.js */
    .new-title {
      background: lightgreen;
      border-left: 3px solid #27ae60;
      color: #2f2f2f;
    }

    .change-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 0.75rem;
      padding-top: 0.75rem;
      border-top: 1px solid #bbb;
    }

    /* AI Analysis Badge */
    .ai-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.3rem 0.6rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: bold;
      margin-right: 0.5rem;
    }

    .ai-badge.framing_shift {
      background: #ff6b35;
      color: white;
    }

    .ai-badge.factual_update {
      background: #4a90e2;
      color: white;
    }

    .ai-badge.clarification {
      background: #7cb342;
      color: white;
    }

    .ai-badge.clickbait_reduction {
      background: #26a69a;
      color: white;
    }

    .ai-badge.clickbait_increase {
      background: #ef5350;
      color: white;
    }

    .ai-badge.typo {
      background: #9e9e9e;
      color: white;
    }

    .ai-criticality {
      display: inline-flex;
      align-items: center;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      font-size: 0.7rem;
      font-weight: bold;
    }

    .ai-criticality.low {
      background: #c8e6c9;
      color: #2e7d32;
    }

    .ai-criticality.medium {
      background: #fff3e0;
      color: #e65100;
    }

    .ai-criticality.high {
      background: #ffcdd2;
      color: #c62828;
    }

    .ai-analysis-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 0.5rem;
      padding: 0.5rem;
      background: rgba(0, 0, 0, 0.03);
      border-radius: 4px;
    }

    .ai-reasoning {
      font-size: 0.8rem;
      color: #555;
      font-style: italic;
      width: 100%;
      margin-top: 0.3rem;
    }

    .topics {
      display: flex;
      gap: 0.5rem;
    }

    .topic-tag {
      background: rgba(139, 69, 19, 0.15);
      color: #8B4513;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      font-size: 0.75rem;
      border: 1px solid rgba(139, 69, 19, 0.3);
    }

    .article-link {
      color: #1565C0;
      text-decoration: none;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      font-weight: bold;
    }

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

    /* Loading */
    .loading {
      text-align: center;
      padding: 3rem;
      color: #666;
    }

    .spinner {
      width: 40px;
      height: 40px;
      border: 3px solid #bbb;
      border-top-color: #8B4513;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto 1rem;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* Usability Improvements Styles */
    .diff-word-del {
      background: rgba(192, 57, 43, 0.22);
      color: #721c24;
      text-decoration: line-through;
      padding: 1px 3px;
      border-radius: 3px;
    }

    .diff-word-ins {
      background: rgba(39, 174, 96, 0.28);
      color: #155724;
      font-weight: bold;
      padding: 1px 3px;
      border-radius: 3px;
    }

    .scroll-top-btn {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: #8B4513;
      color: #ffffff;
      border: none;
      border-radius: 50%;
      width: 46px;
      height: 46px;
      font-size: 1.3rem;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s ease;
      z-index: 999;
    }

    .scroll-top-btn.visible {
      opacity: 1;
      pointer-events: auto;
    }

    .skeleton-card {
      background: #E8E0D0;
      border: 1px solid #2f2f2f;
      border-radius: 4px;
      padding: 1.25rem;
      margin-bottom: 1rem;
    }

    .skeleton-line {
      height: 14px;
      background: linear-gradient(90deg, #d5cebe 25%, #e4ddcf 50%, #d5cebe 75%);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
      border-radius: 4px;
      margin-bottom: 0.6rem;
    }

    .skeleton-line.title {
      height: 22px;
      width: 85%;
    }

    .skeleton-line.short {
      width: 45%;
    }

    @keyframes shimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    .time-diff-badge {
      display: inline-block;
      font-size: 0.72rem;
      background: rgba(139, 69, 19, 0.12);
      color: #8B4513;
      border: 1px solid rgba(139, 69, 19, 0.3);
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      margin-left: 0.5rem;
      font-weight: bold;
      font-family: sans-serif;
    }

    /* Empty State */
    .empty-state {
      text-align: center;
      padding: 3rem;
      color: #666;
    }

    .empty-state .icon {
      font-size: 4rem;
      margin-bottom: 1rem;
    }

    /* Diff Modal */
    .diff-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 10000;
      overflow-y: auto;
      padding: 2rem;
    }

    .diff-modal.show {
      display: block;
    }

    .diff-modal-content {
      background: #F5F0E8;
      max-width: 900px;
      margin: 0 auto;
      border-radius: 12px;
      border: 2px solid #2f2f2f;
      padding: 2rem;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .diff-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      padding-bottom: 1rem;
      border-bottom: 2px solid #8B4513;
    }

    .diff-modal-header h2 {
      font-family: 'Berylium', serif;
      font-size: 1.8rem;
      color: #2f2f2f;
    }

    .diff-modal-close {
      background: #8B4513;
      color: #E8E0D0;
      border: none;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      font-size: 1rem;
      cursor: pointer;
      font-weight: bold;
    }

    .diff-modal-close:hover {
      background: #A0551A;
    }

    .diff-comparison {
      background: #E8E0D0;
      border: 1px solid #2f2f2f;
      border-radius: 8px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
    }

    .diff-comparison-header {
      font-weight: bold;
      margin-bottom: 1rem;
      color: #8B4513;
      font-size: 1.1rem;
    }

    .diff-section {
      background: #fff;
      padding: 1rem;
      border-radius: 6px;
      margin-bottom: 1rem;
      border: 1px solid #ddd;
    }

    .diff-section-title {
      font-weight: bold;
      color: #2f2f2f;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .diff-content {
      line-height: 1.8;
      font-size: 1rem;
    }

    .diff-content del {
      background: #ffcccb;
      color: #c0392b;
      text-decoration: line-through;
      padding: 2px 4px;
      border-radius: 3px;
    }

    .diff-content ins {
      background: #c3f5c3;
      color: #27ae60;
      text-decoration: none;
      padding: 2px 4px;
      border-radius: 3px;
    }

    .diff-content del:hover {
      background: #ff9999;
    }

    .diff-content ins:hover {
      background: #90ee90;
    }

    .version-count {
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .version-count:hover {
      transform: scale(1.1);
      text-decoration: underline;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .stats {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .header { padding: 0.6rem 1rem; }
      .header-top { flex-wrap: wrap; gap: 0.4rem; }
      .logo { font-size: 1.8rem; }
      .nav-links { gap: 0.3rem; flex-wrap: wrap; }
      .main { padding: 1rem; }
      .filter-drawer { padding: 1rem; }
      .stats-info { margin-left: 0; }
    }

    /* 3.9 - Verweis in die Zeitleiste, abgesetzt vom Link zum Artikel. */
    .article-link.timeline-link {
      margin-right: 0.75rem;
      opacity: 0.85;
    }

    .article-link.timeline-link:hover {
      opacity: 1;
    }
