/* Original TSR Archive artwork, stone background, black links and serif type.
   Only the arrangement of information blocks adapts to the viewport. */
.home-page { margin: 8px; color: #000; background: #ccc url("/archive/dd1/rock.jpg"); font: 16px/1.4 "Times New Roman", Times, serif; }
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page a, .home-page a:visited { color: #000; }
.home-page a:focus-visible, .home-page button:focus-visible, .home-page input:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.home-page [hidden] { display: none !important; }
.home-page button, .home-page input { font: inherit; color: #000; }
.home-page button { cursor: pointer; }
.home-page hr { margin: 28px 0; border: 0; border-top: 1px solid #777; border-bottom: 1px solid #eee; }
.library-shell { max-width: 1100px; margin: 0 auto; }
.library-skip { position: absolute; z-index: 1100; top: 8px; left: 8px; transform: translateY(-200%); padding: 10px 16px; background: #eee; border: 1px solid #000; }
.library-skip:focus { transform: none; }
.library-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.library-header { text-align: center; padding-top: 12px; }
.library-header h1 { margin: 0; font-size: 2em; line-height: 1; }
.library-emblem { display: block; width: 262px; height: auto; margin: 0 auto; }
.library-lead { margin: 14px 0 10px; }
.library-header nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; font-weight: bold; }
.library-header nav a { padding: 6px 0; }
.home-page h2 { margin: 0 0 24px; text-align: center; font-size: 26px; line-height: 1.2; }
.library-catalogue, .library-search { scroll-margin-top: 20px; }
.library-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; list-style: none; padding: 0 12px; margin: 0; }
.library-categories li { min-width: 0; }
.library-categories a { display: flex; flex-direction: column; align-items: center; height: 100%; text-align: center; text-decoration: none; font-weight: bold; }
.library-category-art { display: flex; align-items: center; justify-content: center; width: 100%; height: 100px; margin-bottom: 12px; }
.library-category-art img { display: block; max-width: 100%; height: auto; }
.library-category-description { max-width: 32ch; text-decoration: underline; }
.library-search { max-width: 680px; margin: 0 auto; }
.library-search-controls { display: flex; gap: 8px; }
.library-search input { min-width: 0; width: 100%; min-height: 44px; padding: 8px 10px; border: 2px inset #ccc; border-radius: 0; background: #fff; }
.library-search input::placeholder { color: #555; opacity: 1; }
.library-search button, .library-blog-button { min-height: 44px; padding: 8px 20px; border: 2px outset #eee; border-radius: 0; background: #ddd; font-weight: bold; }
.library-search button:hover, .library-blog-button:hover { background: #eee; }
.library-search button:disabled { opacity: .65; cursor: wait; }
.library-search-status, .library-counts { margin: 10px 0 0; text-align: center; font-size: 14px; }
.library-search-results { margin-top: 24px; }
.library-search-results h3 { margin: 0 0 12px; font-size: 22px; }
.library-search-results ol { list-style: none; padding: 0; margin: 0 0 16px; }
.library-search-results li { border-bottom: 1px solid #888; }
.library-result-link { display: block; padding: 12px 0; }
.library-result-title { display: block; font-size: 19px; font-weight: bold; }
.library-result-meta { display: block; font-size: 14px; margin-top: 4px; text-decoration: none; }
.library-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.library-posts > li { min-width: 0; }
.library-post { height: 100%; border: 1px solid #777; background: #e6e6e6; }
.library-post:hover { border-color: #000; background: #eee; }
.library-post-link { display: flex; flex-direction: column; height: 100%; padding: 20px; text-decoration: none; overflow-wrap: anywhere; }
.library-post-topic { font-size: 14px; margin: 0 0 8px; }
.library-post h3 { margin: 0; font-size: 21px; line-height: 1.2; text-decoration: underline; }
.library-post-excerpt { margin: 14px 0 20px; }
.library-post footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; font-size: 13px; }
.library-post-date { margin: 0; }
.library-post-read { text-decoration: underline; font-weight: bold; }
.library-blog-action { text-align: center; margin: 24px 0 0; }
.library-blog-button { display: inline-block; }
.library-footer nav { display: grid; grid-template-columns: repeat(4, minmax(0, 158px)); justify-content: center; align-items: center; gap: 20px; }
.library-footer nav img { display: block; width: 158px; height: auto; }
.library-disclaimer { margin: 28px 0 0; font-size: 12px; line-height: 1.4; }
.library-footer .consent-footer { padding: 20px 0; font: inherit; }
.library-footer #cookie-settings { border: 2px outset #eee; border-radius: 0; background: #ddd; color: #000; font: inherit; }
@media (max-width: 900px) {
  .library-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .library-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding: 0 4px; }
  .library-footer nav { grid-template-columns: repeat(2, minmax(0, 158px)); gap: 12px; }
}
@media (max-width: 600px) {
  .library-header { padding-top: 8px; }
  .library-header nav { gap: 6px 20px; }
  .home-page hr { margin: 24px 0; }
  .home-page h2 { font-size: 24px; margin-bottom: 20px; }
  .library-category-art { height: 90px; margin-bottom: 8px; }
  .library-category-description { font-size: 15px; }
  .library-posts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .library-post-link { padding: 18px; }
  .library-search button { padding: 8px 14px; }
}
