/* A shared midnight bookshelf; the novels retain their own players and art. */
.vn-library {
  background: radial-gradient(ellipse at 50% 0, #303136 0, #16181c 65%);
  color: #eeeee9;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  min-height: 100vh;
}
.vn-library a { text-underline-offset: .25em; }
.vn-library a:focus-visible { outline: 3px solid #8ce1d7; outline-offset: 6px; }
.vn-skip { position: absolute; top: -8rem; left: 1rem; z-index: 10; background: #eeeee9; color: #16181c; padding: .75rem 1rem; }
.vn-skip:focus { top: 1rem; }
.vn-nav { max-width: 1120px; margin: auto; padding: 1.5rem 2rem; display: flex; justify-content: space-between; gap: 1.5rem; font-size: .9375rem; color: #c8d3d3; }
.vn-nav a:hover, .vn-footer a:hover { color: #fff; text-decoration: underline; }
.vn-header { text-align: center; padding: 2rem 1.5rem 2.75rem; }
.vn-header h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 1.1; margin: 0 0 1rem; }
.vn-header h1 em { color: #b8d2ce; font-weight: 400; }
.vn-header p { color: #d2d4d3; font-size: 1.125rem; line-height: 1.6; margin: 0 auto 1rem; max-width: 42ch; }
.vn-count { font-size: .875rem; color: #b8c0c0; }
.vn-shelf { max-width: 940px; padding: 0 2rem 3rem; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
.vn-book { min-width: 0; display: flex; flex-direction: column; }
.vn-cover { display: block; width: min(100%, 280px); aspect-ratio: 2 / 3; margin: 0 auto; position: relative; overflow: hidden; border-radius: 2px 7px 7px 2px; background: #0f1114; box-shadow: -5px 0 0 -2px #08090b, 0 15px 30px #0006; transition: transform .25s ease; }
.vn-cover:hover { transform: translateY(-5px); }
.vn-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #0005, transparent 8%), linear-gradient(180deg, transparent 45%, #07090dee 100%); }
.vn-cover img { width: 100%; height: 100%; object-fit: cover; }
.vn-cover-title { position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; z-index: 1; color: #fff; font-family: Georgia, serif; font-size: 1.6rem; line-height: 1.15; text-wrap: balance; }
.vn-blurb { padding: 1.75rem 0 0; flex: 1; display: flex; flex-direction: column; }
.vn-blurb h2 { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; line-height: 1.25; margin-bottom: .6rem; }
.vn-meta { font-size: .875rem; line-height: 1.5; color: #b8d2ce; margin-bottom: 1rem; }
.vn-premise { font-size: 1rem; line-height: 1.65; color: #d2d4d3; margin-bottom: 1rem; }
.vn-sound { font-size: .875rem; line-height: 1.5; color: #b8c0c0; margin-bottom: 1.5rem; }
.vn-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: auto; }
.vn-begin { display: inline-flex; align-items: center; gap: 1rem; padding: .65rem 1rem; border: 1px solid #8ca9a4; border-radius: 3px; color: #e1f1ed; font-size: 1rem; }
.vn-begin:hover { background: #2b403d; }
.vn-footer { max-width: 940px; margin: 0 auto; padding: 2rem 2rem 3rem; border-top: 1px dashed #555e60; color: #b8c0c0; text-align: center; font-size: .875rem; line-height: 1.8; }
.vn-footer a { text-decoration: underline; }
@media (max-width: 640px) {
  .vn-nav { padding: 1.25rem; font-size: .875rem; }
  .vn-header { padding: 1.5rem 1.25rem 2.5rem; }
  .vn-desktop-break { display: none; }
  .vn-shelf { grid-template-columns: 1fr; max-width: 420px; padding: 0 1.5rem 2.5rem; gap: 3rem; }
  .vn-footer { margin: 0 1.5rem; padding: 1.5rem 0 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vn-cover { transition: none; }
  .vn-cover:hover { transform: none; }
}
