.desktop-site-header, .desktop-site-footer, .reader-site-brand { display: none; }

@media (min-width: 1024px) {
  .catalog-site { --red: #a41626; --ink: #17181b; --muted: #777b82; font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif; }
  .desktop-site-header { display: block; background: #fff; border-bottom: 1px solid #eeeeef; }
  .desktop-site-nav { display: flex; align-items: center; gap: 64px; width: calc(100% - 80px); max-width: 1200px; min-height: 80px; margin: 0 auto; }
  .desktop-brand { display: flex; align-items: center; flex: 0 0 80px; min-height: 64px; }
  .desktop-brand img { display: block; width: 80px; height: 56px; object-fit: contain; }
  .desktop-primary-nav { display: flex; align-self: stretch; gap: 40px; }
  .desktop-primary-nav a { position: relative; display: flex; align-items: center; color: #17181b; text-decoration: none; font-size: 15px; line-height: 24px; white-space: nowrap; }
  .desktop-primary-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: transparent; }
  .desktop-primary-nav a:hover, .desktop-primary-nav a[aria-current=page] { color: #a41626; }
  .desktop-primary-nav a[aria-current=page]::after { background: #a41626; }
  .desktop-contact { display: flex; flex-direction: column; gap: 3px; margin-left: auto; color: #17181b; text-align: right; text-decoration: none; white-space: nowrap; }
  .desktop-contact span { color: #777b82; font-size: 11px; line-height: 16px; }
  .desktop-contact strong { color: #a41626; font-size: 19px; line-height: 26px; font-weight: 600; }
  .catalog-site .header { width: calc(100% - 80px); max-width: 1200px; margin: 32px auto 0; padding: 0; border: 0; }
  .catalog-site .hero { max-width: none; }
  .catalog-site .hero-content { max-width: none; padding: 36px 40px; }
  .catalog-site .library-banner:not([hidden]) ~ .hero-content { min-height: 300px; justify-content: flex-end; }
  .catalog-site .library-banner img { object-position: center 40%; }
  .catalog-site .library-banner::after { background: rgba(10, 14, 17, .48); }
  .catalog-site .nav { min-height: 48px; max-width: none; }
  .catalog-site h1 { font-size: 32px; line-height: 44px; font-weight: 600; }
  .catalog-site .list-heading { min-height: 44px; margin: 0 0 12px; }
  .catalog-site .list-heading h2 { font-size: 14px; line-height: 22px; font-weight: 400; }
  .catalog-site .heading-label { gap: 10px; }
  .catalog-site .count { font-size: 13px; }
  .catalog-site .search-area { width: 540px; max-width: 100%; }
  .catalog-site .search { min-height: 48px; border: 1px solid #e6e6e8; border-radius: 4px; padding-right: 3px; box-shadow: none; }
  .catalog-site .search input { font-size: 14px; }
  .catalog-site .search-submit { flex-basis: 40px; width: 40px; height: 40px; background: #a41626; border-radius: 3px; }
  .catalog-site .search-submit img { filter: brightness(0) invert(1); opacity: 1; }
  .catalog-site .search-submit:hover { background: #85121f; }
  .catalog-site main { width: calc(100% - 80px); max-width: 1200px; min-height: 300px; padding: 4px 0 64px; }
  .catalog-site .catalog-section { margin: 34px 0 0; }
  .catalog-site .category-heading { position: relative; gap: 12px; padding: 0 0 18px; border-bottom: 1px solid #e6e6e8; }
  .catalog-site .category-heading::before { position: absolute; left: 0; bottom: -1px; width: 40px; height: 3px; background: #a41626; }
  .catalog-site .category-heading h3 { font-size: 22px; line-height: 32px; font-weight: 500; }
  .catalog-site .category-count { color: #8c8c93; font-size: 13px; }
  .catalog-site .category-files { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .catalog-site .file-row { min-height: 168px; gap: 20px; padding: 24px 8px 24px 0; border-bottom: 1px solid #ededee; transition: background-color .18s ease, border-color .18s ease; }
  .catalog-site .file-row:hover { background: #fafafa; border-color: #a41626; }
  .catalog-site .file-type { flex-basis: 80px; width: 80px; height: 112px; border-radius: 2px; font-size: 13px; }
  .catalog-site .file-name { font-size: 16px; line-height: 26px; font-weight: 500; }
  .catalog-site .file-meta { margin-top: 12px; font-size: 12px; line-height: 20px; }
  .catalog-site .file-arrow { flex-basis: 18px; width: 18px; height: 18px; opacity: .5; }
  .catalog-site .status { padding-top: 32px; }
  .catalog-site .load-more { min-height: 44px; min-width: 144px; border-color: #a41626; border-radius: 4px; color: #a41626; }
  .catalog-site .load-more:hover { color: #fff; background: #a41626; }
  .desktop-site-footer { display: block; padding: 32px 0; border-top: 1px solid #e8e8ea; background: #f7f7f8; }
  .desktop-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: calc(100% - 80px); max-width: 1200px; margin: 0 auto; }
  .desktop-footer-company { display: flex; flex-direction: column; gap: 6px; color: #777b82; font-size: 12px; line-height: 20px; }
  .desktop-footer-company strong { color: #333; font-size: 14px; font-weight: 500; }
  .desktop-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
  .desktop-footer-links a { color: #777b82; text-decoration: none; font-size: 12px; }
  .desktop-footer-links a:hover { color: #a41626; }

  .reader-site-brand { display: flex; align-items: center; flex: 0 0 72px; width: 72px; height: 44px; margin-right: 8px; }
  .reader-site-brand img { display: block; width: 60px !important; height: 42px !important; object-fit: contain; }
  .reader-modern .reader-header { gap: 10px; padding: 0 24px; border-top: 2px solid #a41626; border-bottom-color: #e6e6e8; }
  .reader-modern .reader-title { font-size: 16px; line-height: 24px; font-weight: 500; color: #17181b; }
  .reader-modern .reader-tool { border: 1px solid transparent; border-radius: 4px; }
  .reader-modern .reader-tool:hover { border-color: #e4d7d9; background: #f8f1f2; }
  .reader-modern .reader-tool:focus-visible, .reader-modern .reader-page-input:focus-visible { outline-color: #a41626; }
  .reader-modern .reader-header .reader-tool[aria-label="分享资料"] { background: #a41626; }
  .reader-modern .reader-header .reader-tool[aria-label="分享资料"]:hover { background: #85121f; }
  .reader-modern .reader-header .reader-tool[aria-label="分享资料"] img { filter: brightness(0) invert(1); }
  .reader-modern .reader-footer { gap: 12px; border-top-color: #e6e6e8; }
  .reader-modern .reader-page-input { border-color: #d8d8dc; background: #fff; color: #a41626; }
  .reader-modern .reader-share-actions button:hover { color: #a41626; border-color: #a41626; }
}

@media (min-width: 1280px) {
  .catalog-site .category-files { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-site .file-row { transition: none; }
}
