/* 全站統一頂部分頁列（以 stories.html 排版與字型為準） */
.snav { position: sticky; top: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 2.5rem; background: oklch(9% 0.01 30 / 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid oklch(23% 0.012 30 / 0.4); font-family: 'Jost', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif; font-weight: 300; line-height: 1.85; color: oklch(95% 0.006 60); }
.snav.fixed { position: fixed; inset-inline: 0; }
.snav a { color: inherit; text-decoration: none; }
.snav-logo { font-family: 'Cormorant Garamond', 'Cinzel', 'Noto Serif TC', serif; font-size: 1rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.snav-logo em { font-style: normal; color: oklch(65% 0.12 75); }
.snav-links { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; }
.snav-links a { opacity: 0.6; transition: opacity 220ms; }
.snav-links a.active { opacity: 1; color: oklch(65% 0.12 75); }
@media (hover: hover) and (pointer: fine) { .snav-links a:hover { opacity: 1; color: oklch(65% 0.12 75); } }
@media (max-width: 900px) {
  .snav { flex-wrap: wrap; row-gap: .5rem; padding: 1rem 1.25rem .6rem; }
  .snav-links { width: 100%; gap: .85rem; overflow-x: auto; scrollbar-width: none; font-size: .84rem; letter-spacing: .03em; white-space: nowrap;
    -webkit-mask-image: linear-gradient(to right, #000 93%, transparent); mask-image: linear-gradient(to right, #000 93%, transparent); }
  .snav-links::-webkit-scrollbar { display: none; }
  .snav-links a { opacity: .75; }
}
html { scroll-padding-top: 84px; }
@media (max-width: 900px) { html { scroll-padding-top: 96px; } }
