    @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;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Berylium', Georgia, serif;
      background: #C4B9A8;
      color: #2f2f2f;
      min-height: 100vh;
    }

    /* Header - Zeitungsstil */
    .header {
      background: #D5CEBE;
      padding: 1rem 2rem;
      text-align: center;
      border-bottom: 2px solid #2f2f2f;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1400px;
      margin: 0 auto;
    }

    .logo {
      font-family: 'Berylium', serif;
      font-size: 3rem;
      font-weight: 800;
      color: #2f2f2f;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .logo .mirror {
      display: inline-block;
      transform: scaleX(-1);
    }

    .subhead {
      border-bottom: 1px solid #2f2f2f;
      border-top: 1px solid #2f2f2f;
      padding: 8px 0;
      font-size: 14px;
      text-align: center;
      max-width: 1400px;
      margin: 0.5rem auto 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
    }

    .nav-links a {
      color: #2f2f2f;
      text-decoration: none;
      padding: 0.4rem 0.8rem;
      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.1);
    }

    .search-box {
      display: flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.5);
      border: 1px solid #2f2f2f;
      border-radius: 4px;
      padding: 0.4rem 0.8rem;
      width: 280px;
    }

    .search-box input {
      background: none;
      border: none;
      color: #2f2f2f;
      width: 100%;
      outline: none;
      font-size: 0.95rem;
      font-family: 'Berylium', serif;
    }

    .search-box input::placeholder {
      color: #666;
    }

    /* Layout */
    .layout {
      display: flex;
      min-height: calc(100vh - 120px);
      max-width: 1400px;
      margin: 0 auto;
      background: #D5CEBE;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }

    /* Sidebar */
    .sidebar {
      width: 260px;
      background: #CCC2B0;
      padding: 1.5rem;
      border-right: 1px solid #2f2f2f;
    }

    .sidebar h3 {
      color: #2f2f2f;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 0.75rem;
      margin-top: 1.25rem;
      border-bottom: 1px solid #2f2f2f;
      padding-bottom: 0.5rem;
    }

    .sidebar h3:first-child {
      margin-top: 0;
    }

    .filter-group label {
      display: flex;
      align-items: center;
      padding: 0.4rem;
      cursor: pointer;
      border-radius: 4px;
      transition: background 0.2s;
      font-size: 0.9rem;
    }

    .filter-group label:hover {
      background: rgba(0, 0, 0, 0.05);
    }

    .filter-group input[type="checkbox"] {
      margin-right: 0.6rem;
      accent-color: #8B4513;
    }

    .filter-group input[type="radio"] {
      margin-right: 0.6rem;
      accent-color: #8B4513;
    }

    .checkbox-option {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem;
      background: rgba(139, 69, 19, 0.1);
      border: 1px solid rgba(139, 69, 19, 0.3);
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .checkbox-option:hover {
      background: rgba(139, 69, 19, 0.15);
    }

    .checkbox-option input[type="checkbox"] {
      accent-color: #8B4513;
      width: 14px;
      height: 14px;
    }

    .checkbox-option span {
      font-size: 0.85rem;
      color: #2f2f2f;
    }

    .newspaper-count {
      margin-left: auto;
      background: rgba(0, 0, 0, 0.1);
      padding: 0.15rem 0.4rem;
      border-radius: 8px;
      font-size: 0.7rem;
      color: #666;
    }

    /* 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;
    }

    .search-clear-btn {
      cursor: pointer;
      opacity: 0.6;
      margin-left: 6px;
      font-size: 1.1rem;
      line-height: 1;
      font-weight: bold;
      user-select: none;
    }

    .search-clear-btn:hover {
      opacity: 1;
      color: #8B4513;
    }

    .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;
    }

    .sidebar-quick-actions {
      display: flex;
      gap: 0.4rem;
      margin-bottom: 0.6rem;
    }

    .sidebar-quick-btn {
      flex: 1;
      font-size: 0.75rem;
      padding: 0.3rem 0.5rem;
      background: rgba(0, 0, 0, 0.07);
      border: 1px solid rgba(0, 0, 0, 0.2);
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s;
      font-weight: bold;
      color: #2f2f2f;
    }

    .sidebar-quick-btn:hover {
      background: rgba(139, 69, 19, 0.15);
      border-color: #8B4513;
    }

    .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) {
      .sidebar {
        width: 220px;
      }

      .stats {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .layout {
        flex-direction: column;
      }

      .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
      }

      .search-box {
        width: 200px;
      }
    }

    /* 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;
    }
