.notebook-links {display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px}
.notebook-links a {display: inline-flex; align-items: center; min-height: 44px}
.views {align-items: stretch; gap: 0; flex-wrap: nowrap}
.sheet {padding-block: clamp(30px, 5vw, 68px) 25px}
.sheet-number {margin-bottom: .6rem; color: var(--aqua); font-size: .9rem}
.sheet h1 {font-size: clamp(2rem, 4vw, 4.2rem)}
.sheet-figure {margin-top: 1.3rem; background: #142328}
.sheet-figure img {width: 100%; object-fit: contain; height: clamp(225px, 55svh, 650px)}
.sheet-figure figcaption {border-top: 1px solid var(--edge); padding: 1rem clamp(.8rem, 2vw, 2rem); color: #d1e1dd}
.turn-page {display: flex; justify-content: space-between; align-items: stretch; gap: 12px; margin: .85rem 0 1.8rem}
.turn-page a {display: inline-flex; min-height: 46px; align-items: center; border: 1px solid #60817d; padding-inline: 18px}
.turn-page a[rel=next] {margin-left: auto}
.sheet-index ol {width: 100%; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit,minmax(min(145px,100%),1fr))}
.sheet-index a {display: flex; flex-direction: column; height: 100%; gap: 5px; border: 1px solid var(--edge); padding: 7px; text-decoration: none; font-size: .875rem}
.sheet-index a[aria-current=page] {border-color: var(--aqua); box-shadow: inset 0 -2px var(--aqua)}
.sheet-index a:hover {text-decoration: underline}
.sheet-index img {width: 100%; aspect-ratio: 3; object-fit: contain; background: #142328}
@media(max-width:600px) {
  .sheet-index ol {grid-template-columns: repeat(3,minmax(0,1fr));gap: 8px}
  .sheet-index a {font-size: .8125rem; padding: 5px}
  .sheet-figure img {height: clamp(182px, 50vw, 350px)}
  .turn-page {margin: .6rem 0 1.3rem}
}
