/* Reader and navigation additions; scoped to preserve the existing site layout. */
body > header nav a[aria-current="page"] {
  color: #05634A;
  background: #F5EEDC;
  border-bottom: 3px solid #C9A44C;
  border-radius: 6px 6px 0 0;
  font-weight: 700;
  padding: .35em .55em;
}
body > header nav a[aria-current="page"]:focus-visible { outline: 3px solid #C9A44C; outline-offset: 3px; }
.button, .search button, .reader-nav a {
  box-shadow: 0 3px 0 #05634A, 0 7px 14px rgba(5,99,74,.16);
  transition: box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}
.button:hover, .search button:hover, .reader-nav a:hover { box-shadow: 0 4px 0 #05634A, 0 9px 18px rgba(5,99,74,.2); transform: translateY(-1px); }
.button:active, .search button:active, .reader-nav a:active { box-shadow: 0 1px 0 #05634A; transform: translateY(2px); }
.button:disabled, .search button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.reader-nav a { display: inline-flex; align-items: center; padding: .65em .9em; border: 1px solid #C9A44C; border-radius: 6px; background: #FFF9EE; }
.reader .chapter-content { overflow-wrap: break-word; }
.reader-copy-notice { margin: 1em 0; font-size: .9rem; color: #52645C; }
@media (max-width: 700px) { .reader-nav { gap: 1rem; } .reader-nav a { max-width: 48%; } }
@media (prefers-reduced-motion: reduce) { .button, .search button, .reader-nav a { transition: none; } .button:hover, .search button:hover, .reader-nav a:hover, .button:active, .search button:active, .reader-nav a:active { transform: none; } }
