    /* ========== 归档页 ========== */
    .archive-view,
    .home-view {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .archive-categories {
      flex: 0 0 auto;
      display: flex;
      flex-direction: column;
      min-height: 0;
      margin-bottom: 0;
    }

    .archive-tags-section {
      margin-top: 3rem;
      padding-bottom: 1.5rem;
    }

    .archive-tags-divider {
      border: none;
      border-top: 1px dashed rgba(100, 90, 60, 0.22);
      margin: 0 0 2rem;
    }

    .archive-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 12px;
    }

    .archive-tag {
      display: inline-block;
      background: transparent;
      border: 0.5px solid #9A9F82;
      padding: 5px 16px;
      border-radius: 40px;
      font-size: 0.75rem;
      color: #4A5E4A;
      cursor: pointer;
      backdrop-filter: blur(3px);
      transition: all 0.2s;
      font-weight: 300;
      background-color: rgba(220, 210, 185, 0.2);
      letter-spacing: 0.5px;
      font-family: 'Inter', -apple-system, 'PingFang SC', sans-serif;
      line-height: 1.5;
      text-decoration: none;
      user-select: none;
    }

    .archive-tag:hover {
      background-color: rgba(163, 168, 122, 0.15);
      border-color: #6E7F4E;
    }
    /* ========== 文集网格 ========== */
    .collections-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 24px;
      margin-top: 8px;
      padding-right: 16px;
    }

    .folder-card {
      cursor: pointer;
      text-decoration: none;
      color: inherit;
      transition: transform 0.15s;
    }

    .folder-card:hover {
      transform: translateY(-3px);
    }

    .folder-cover {
      border-radius: 8px 12px 8px 8px;
      padding: 1.2rem 0.8rem 1rem;
      box-shadow: 0 10px 16px -6px rgba(0, 0, 0, 0.12), inset 0 -2px 0 rgba(0, 0, 0, 0.06);
      border-bottom: 3px solid #2A4A2E;
      position: relative;
    }

    .folder-tab {
      position: absolute;
      top: -8px;
      left: 12px;
      width: 40px;
      height: 14px;
      background: #4A6E4E;
      border-radius: 6px 6px 0 0;
    }

    .folder-name {
      font-family: 'Times New Roman', 'Cormorant Garamond', serif;
      font-weight: 400;
      font-size: 1rem;
      font-style: italic;
      letter-spacing: 0.8px;
      color: #E0E6D2;
      margin-bottom: 6px;
      display: inline-block;
    }

    .folder-count {
      font-family: 'Inter', sans-serif;
      font-weight: 300;
      font-size: 0.7rem;
      color: #BCC7AD;
      margin-top: 4px;
      opacity: 0.85;
    }

    /* ========== 文集内页大外框 ========== */
    .collection-detail-panel {
      margin-top: 16px;
      padding: 1.5rem 1.8rem 1.5rem 2.2rem;
      background: #f5f0e5;
      border-left: 10px solid #6E7F4E;
      border-radius: 8px 16px 16px 8px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(210, 190, 160, 0.2);
      min-height: 300px;
    }

    body.night-mode .collection-detail-panel {
      background: #D9D2BE;
    }

    .detail-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.8rem;
      flex-wrap: wrap;
      gap: 10px;
    }

    .detail-header span {
      font-family: 'Times New Roman', serif;
      font-size: 1.5rem;
      font-style: italic;
      color: #5A4A3A;
    }

    .detail-header-actions {
      display: flex;
      gap: 10px;
    }

    /* 文章卡片 */
    .articles-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .article-card {
      background: #F7F3EA;
      background-image: repeating-linear-gradient(to bottom,
          transparent,
          transparent 23px,
          rgba(180, 170, 140, 0.08) 23px,
          rgba(180, 170, 140, 0.08) 24px);
      padding: 18px 16px 16px 16px;
      border-radius: 12px;
      border: 0.5px solid rgba(140, 120, 90, 0.12);
      box-shadow: inset 0 0 0 1px rgba(250, 245, 235, 0.8), 0 2px 8px rgba(0, 0, 0, 0.04);
      cursor: pointer;
      transition: transform 0.15s, background 0.2s;
      display: flex;
      flex-direction: column;
      min-height: 200px;
    }

    .article-card:hover {
      background: #FCF9F2;
      transform: translateY(-2px);
    }

    .article-card-title {
      font-family: 'Times New Roman', serif;
      font-size: 1rem;
      font-weight: 500;
      color: #4A5E4A;
      margin-bottom: 10px;
      letter-spacing: 0.3px;
    }

    .article-card-preview {
      font-family: 'Inter', sans-serif;
      font-size: 0.7rem;
      font-weight: 300;
      color: #6A7A5A;
      opacity: 0.85;
      line-height: 1.8;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
      flex: 1;
      margin-bottom: 16px;
    }

    .article-card-actions {
      display: flex;
      gap: 8px;
      justify-content: flex-end;
      margin-top: 8px;
      padding-top: 8px;
      border-top: 0.5px dashed rgba(140, 120, 90, 0.15);
    }

    .article-card-actions .btn {
      padding: 4px 12px;
      font-size: 0.65rem;
      background: rgba(220, 210, 185, 0.4);
      backdrop-filter: blur(2px);
    }

    /* 朝花夕拾 */
    .zhaohua-xishi {
      grid-column: 1 / -1;
      text-align: center;
      padding: 2rem 0;
      font-family: 'Times New Roman', 'Cormorant Garamond', serif;
      font-size: 1.2rem;
      font-style: italic;
      color: #7A6A5A;
      opacity: 0.2;
      letter-spacing: 4px;
    }

    .zhaohua-xishi-empty {
      grid-column: 1 / -1;
      text-align: center;
      padding: 8rem 0;
      font-family: 'Times New Roman', 'Cormorant Garamond', serif;
      font-size: 1.2rem;
      font-style: italic;
      color: #7A6A5A;
      opacity: 0.2;
      letter-spacing: 4px;
    }

    .collection-footer {
      margin-top: auto;
      display: flex;
      justify-content: flex-end;
      padding-top: 24px;
      padding-right: 16px;
      gap: 10px;
    }

    .flex-row {
      display: flex;
      gap: 8px;
    }

