.nw-album-wrap {
    --nw-album-border: color-mix(in srgb, currentColor 16%, transparent);
    --nw-album-muted: color-mix(in srgb, currentColor 76%, transparent);
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 48px);
    color: inherit;
}
.nw-album-wrap *, .nw-album-lightbox * { box-sizing: border-box; }
.nw-album-head, .nw-album-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.nw-album-head { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--nw-album-border); }
.nw-album-wrap .nw-album-eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--nw-album-muted); }
.nw-album-wrap .nw-album-title { margin: 0; color: inherit; font-size: clamp(32px, 4.5vw, 54px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.nw-album-intro { margin: 16px 0 0; max-width: 48ch; font-size: 15px; line-height: 1.7; color: var(--nw-album-muted); }
.nw-album-total { display: inline-flex; align-items: center; flex-shrink: 0; padding: 9px 15px; border: 1px solid var(--nw-album-border); border-radius: 999px; font-size: 13px; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nw-album-grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.nw-album-collections { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(24px, 4.5vw, 64px); }
.nw-album-card { min-width: 0; margin: 0; }
.nw-album-wrap .nw-album-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.nw-album-card-link:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 8px; }
.nw-album-skin-0 { --nw-album-binding: light-dark(#44505a, #596874); }
.nw-album-skin-1 { --nw-album-binding: light-dark(#754c36, #93684e); }
.nw-album-skin-2 { --nw-album-binding: light-dark(#62694b, #7c8561); }
.nw-album-skin-3 { --nw-album-binding: light-dark(#9a6049, #b47960); }
.nw-album-skin-4 { --nw-album-binding: light-dark(#405f74, #587e96); }
.nw-album-skin-5 { --nw-album-binding: light-dark(#6d4b65, #8a6681); }
.nw-album-skin-6 { --nw-album-binding: light-dark(#927340, #ad8c55); }
.nw-album-closed-book, .nw-album-open-book {
    --nw-album-paper: light-dark(color-mix(in srgb, Canvas 95%, CanvasText 5%), color-mix(in srgb, Canvas 82%, CanvasText 18%));
    --nw-album-cover: light-dark(color-mix(in srgb, Canvas 91%, CanvasText 9%), color-mix(in srgb, Canvas 74%, CanvasText 26%));
    --nw-album-cloth: repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgb(0 0 0 / .1) 0 1px, transparent 1px 3px);
    color-scheme: var(--nw-album-book-scheme, light dark);
    color: CanvasText;
}
.nw-album-closed-book { position: relative; isolation: isolate; width: calc(100% - 5px); aspect-ratio: 1.6; margin: 0 5px 26px 0; border-radius: 3px 5px 5px 3px; background: linear-gradient(100deg, transparent 25%, rgb(255 255 255 / .08) 55%, rgb(0 0 0 / .05)), var(--nw-album-cover); box-shadow: 0 8px 12px rgb(0 0 0 / .14), inset 0 0 0 1px rgb(0 0 0 / .09); transition: transform .25s ease; }
.nw-album-card:hover .nw-album-closed-book, .nw-album-card-link:focus-visible .nw-album-closed-book { transform: translateY(-3px); }
.nw-album-closed-book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 23%; border-radius: 3px 0 0 3px; background: var(--nw-album-cloth), linear-gradient(90deg, rgb(0 0 0 / .22), transparent 15%, rgb(255 255 255 / .08) 22%, transparent 30%, transparent 86%, rgb(0 0 0 / .22) 96%), var(--nw-album-binding); border-right: 1px dashed #e8e8e8; box-shadow: inset 1px 0 rgb(255 255 255 / .2), 1px 0 rgb(0 0 0 / .16); }
.nw-album-closed-book::after { content: ""; position: absolute; z-index: -1; inset: 4px -4px -4px 14%; border-radius: 0 4px 4px 0; border-right: 4px double color-mix(in srgb, CanvasText 25%, Canvas); border-bottom: 4px double color-mix(in srgb, CanvasText 25%, Canvas); box-shadow: 1px 1px 0 var(--nw-album-binding); }
.nw-album-card-media { position: absolute; z-index: 1; left: 37.5%; top: 50%; display: block; width: 48%; aspect-ratio: 1; transform: translateY(-50%); overflow: hidden; border-radius: 2px; background: var(--nw-album-paper); box-shadow: 0 0 0 4px color-mix(in srgb, Canvas 75%, transparent), 0 1px 5px rgb(0 0 0 / .15); }
.nw-album-card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.nw-album-wrap .nw-album-card-media img, .nw-album-wrap .nw-album-thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.nw-album-wrap .nw-album-thumb img { transition: transform .5s ease; }
.nw-album-thumb:hover img, .nw-album-thumb:focus-visible img { transform: scale(1.035); }
.nw-album-card-media img { opacity: var(--nw-album-cover-opacity, 1); }
.nw-album-card-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 6px; font-size: clamp(9px, .8vw, 11px); text-align: center; }
.nw-album-card-empty svg { width: 24px; height: 24px; }
.nw-album-card-body { display: flex; flex-direction: column; flex: 1; padding: 4px 4px 0; }
.nw-album-wrap .nw-album-card-title { margin: 0 0 10px; color: inherit; font-size: clamp(15px, 1.5vw, 20px); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.nw-album-card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 12px; line-height: 1.5; color: var(--nw-album-muted); }
.nw-album-card-meta li { max-width: 100%; overflow-wrap: anywhere; }
.nw-album-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--nw-album-border); font-size: 12px; line-height: 1.5; }
.nw-album-photo-count, .nw-album-card-cta { display: inline-flex; align-items: center; gap: 6px; }
.nw-album-photo-count { color: var(--nw-album-muted); }
.nw-album-photo-count svg { width: 14px; height: 14px; }
.nw-album-card-cta { font-weight: 600; }
.nw-album-card-cta > svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nw-album-card:hover .nw-album-card-cta > svg { transform: translate(2px, -2px); }
.nw-album-wrap .nw-album-back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px; color: inherit; font-size: 13px; line-height: 1.5; text-decoration: none; }
.nw-album-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.nw-album-back:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.nw-album-single-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 260px); gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: 48px; }
.nw-album-story { min-width: 0; }
.nw-album-story:only-child { grid-column: 1 / -1; }
.nw-album-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.nw-album-chip { max-width: 100%; padding: 5px 11px; border: 1px solid var(--nw-album-border); border-radius: 6px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.nw-album-desc { max-width: 65ch; margin-top: 22px; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.nw-album-desc > :last-child { margin-bottom: 0; }
.nw-album-desc img { max-width: 100%; height: auto; }
.nw-album-details { display: grid; gap: 18px; margin: 0; padding: 8px 0 8px 26px; border-left: 1px solid var(--nw-album-border); }
.nw-album-details dt { margin-bottom: 4px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--nw-album-muted); }
.nw-album-details dd { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.nw-album-gallery-head { margin-bottom: 26px; padding-top: 28px; border-top: 1px solid var(--nw-album-border); }
.nw-album-wrap .nw-album-gallery-head h2 { margin: 0; color: inherit; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.nw-album-gallery-head p { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: var(--nw-album-muted); }
.nw-album-volume { display: grid; gap: 36px; }
.nw-album-open-book { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 16px 16px; border-radius: 12px; background: var(--nw-album-cloth), var(--nw-album-binding); box-shadow: 0 12px 22px rgb(0 0 0 / .18), inset 0 0 0 1px rgb(255 255 255 / .18); }
.nw-album-open-book::after { content: ""; position: absolute; z-index: 2; top: 12px; bottom: 16px; left: calc(50% - 24px); width: 48px; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(0 0 0 / .04) 25%, rgb(0 0 0 / .24) 47%, rgb(255 255 255 / .16) 50%, rgb(0 0 0 / .18) 53%, transparent); }
.nw-album-page { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 480px; padding: 28px 32px 22px; border-radius: 4px 0 0 4px; border-left: 5px double color-mix(in srgb, CanvasText 20%, Canvas); background: linear-gradient(90deg, rgb(0 0 0 / .04), transparent 9%, transparent 90%, rgb(0 0 0 / .05)), var(--nw-album-paper); }
.nw-album-page + .nw-album-page { border-left: 0; border-right: 5px double color-mix(in srgb, CanvasText 20%, Canvas); border-radius: 0 4px 4px 0; background: linear-gradient(90deg, rgb(0 0 0 / .05), transparent 10%, transparent 91%, rgb(0 0 0 / .04)), var(--nw-album-paper); }
.nw-album-page-label { display: flex; align-items: center; justify-content: center; min-height: 76px; margin-bottom: 24px; padding: 14px 18px; border: 1px solid var(--nw-album-border); border-radius: 3px; font-size: 15px; font-weight: 600; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.nw-album-page-label > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-album-page:first-child .nw-album-page-label { border: 0; background: linear-gradient(rgb(0 0 0 / .18), rgb(0 0 0 / .18)), var(--nw-album-cloth), var(--nw-album-binding); color: #fff; }
.nw-album-page-number { align-self: center; margin-top: auto; padding-top: 24px; font-size: 10px; font-variant-numeric: tabular-nums; opacity: .65; }
.nw-album-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px 18px; }
.nw-album-photo { min-width: 0; margin: 0; padding: 6px 6px 0; background: color-mix(in srgb, Canvas 98%, CanvasText 2%); box-shadow: 0 1px 4px rgb(0 0 0 / .13); }
.nw-album-wrap .nw-album-thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 1px; overflow: hidden; background: color-mix(in srgb, currentColor 5%, transparent); color: inherit; cursor: zoom-in; text-decoration: none; }
.nw-album-thumb:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.nw-album-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--nw-album-border); border-radius: 8px; background: var(--nw-album-surface, Canvas); color: inherit; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.nw-album-zoom svg { width: 18px; height: 18px; }
.nw-album-thumb:hover .nw-album-zoom, .nw-album-thumb:focus-visible .nw-album-zoom { opacity: 1; transform: none; }
.nw-album-caption { display: flex; align-items: start; gap: 6px; min-height: 40px; margin: 8px 2px; font-size: 11px; line-height: 1.5; }
.nw-album-photo-number { flex-shrink: 0; min-width: 20px; padding-top: 1px; font-size: 10px; font-variant-numeric: tabular-nums; color: var(--nw-album-muted); }
.nw-album-caption-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.nw-album-empty { padding: clamp(32px, 8vw, 80px) 24px; border: 1px dashed var(--nw-album-border); border-radius: 16px; text-align: center; }
.nw-album-empty h2 { margin: 0 0 10px; color: inherit; font-size: 23px; font-weight: 500; }
.nw-album-empty p { margin: 0; font-size: 14px; color: var(--nw-album-muted); }
.nw-album-pagination { margin-top: 36px; }
.nw-album-pagination:empty { display: none; }
.nw-album-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nw-album-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--nw-album-border); border-radius: 9px; color: inherit; font-size: 13px; text-decoration: none; }
.nw-album-pagination a.page-numbers:hover { background: color-mix(in srgb, currentColor 6%, transparent); }
.nw-album-pagination .page-numbers.current { border-color: currentColor; font-weight: 600; }
.nw-album-pagination .page-numbers.dots { border: 0; }
.nw-album-lightbox { position: fixed; inset: 0; box-sizing: border-box; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0 clamp(16px, 3vw, 40px); border: 0; background: var(--lb-surface, Canvas); color: var(--lb-ink, CanvasText); }
.nw-album-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.nw-album-lightbox::backdrop { background: color-mix(in srgb, currentColor 45%, transparent); }
.nw-album-lb-bar { display: flex; align-items: center; gap: 18px; min-height: 76px; border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.nw-album-lb-title { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 500; }
.nw-album-lb-count { flex-shrink: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.nw-album-lightbox .nw-album-lb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 13px; line-height: 1.5; cursor: pointer; }
.nw-album-lightbox .nw-album-lb-btn[hidden] { display: none; }
.nw-album-lightbox .nw-album-lb-btn:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
.nw-album-lightbox .nw-album-lb-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.nw-album-lightbox .nw-album-lb-close { flex-shrink: 0; width: 44px; padding: 10px; }
.nw-album-lb-close svg { width: 22px; height: 22px; }
.nw-album-lb-stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; min-width: 0; min-height: 0; width: 100%; margin: 0 auto; padding: 24px 0 12px; }
.nw-album-lb-frame { display: flex; align-items: center; justify-content: center; min-height: 0; }
.nw-album-lightbox .nw-album-lb-img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; }
.nw-album-lb-caption { max-width: 72ch; max-height: 16vh; margin-inline: auto; overflow: auto; font-size: 13px; line-height: 1.7; text-align: center; overflow-wrap: anywhere; white-space: pre-wrap; }
.nw-album-lb-caption:empty { display: none; }
.nw-album-lb-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding-block: 16px; }
.nw-album-lb-hint { font-size: 11px; }
body.nw-album-lb-open { overflow: hidden; }
@media (max-width: 1024px) {
    .nw-album-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .nw-album-single-head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .nw-album-details { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--nw-album-border); }
    .nw-album-open-book { grid-template-columns: minmax(0, 1fr); padding: 10px 12px 14px; }
    .nw-album-open-book::after { display: none; }
    .nw-album-page { min-height: 0; padding: 26px 32px; border-right: 5px double color-mix(in srgb, CanvasText 20%, Canvas); border-radius: 4px 4px 0 0; }
    .nw-album-page + .nw-album-page { padding-top: 0; border-left: 5px double color-mix(in srgb, CanvasText 20%, Canvas); border-radius: 0 0 4px 4px; background: linear-gradient(90deg, rgb(0 0 0 / .04), transparent 9%, transparent 91%, rgb(0 0 0 / .04)), var(--nw-album-paper); }
    .nw-album-page-number, .nw-album-page-blank { display: none; }
}
@media (max-width: 640px) {
    .nw-album-head { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 28px; padding-bottom: 24px; }
    .nw-album-collections { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .nw-album-card-meta { gap: 4px 8px; font-size: 11px; }
    .nw-album-card-foot { gap: 6px; font-size: 11px; }
    .nw-album-photo-count, .nw-album-card-cta { gap: 5px; }
    .nw-album-photo-count svg { width: 12px; height: 12px; }
    .nw-album-card-cta > svg { width: 14px; height: 14px; }
    .nw-album-page, .nw-album-page + .nw-album-page { padding: 18px 12px; border-width: 3px; }
    .nw-album-page + .nw-album-page { padding-top: 0; }
    .nw-album-page-label { min-height: 64px; margin-bottom: 18px; padding: 12px; font-size: 13px; }
    .nw-album-photos { gap: 18px 12px; }
    .nw-album-photo { padding: 4px 4px 0; }
    .nw-album-single-head { margin-bottom: 32px; }
    .nw-album-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nw-album-back { margin-bottom: 26px; }
    .nw-album-gallery-head { align-items: start; gap: 16px; }
    .nw-album-gallery-head .nw-album-total { padding: 7px 11px; }
    .nw-album-caption { gap: 4px; font-size: 10px; }
    .nw-album-photo-number { min-width: 14px; font-size: 9px; }
    .nw-album-zoom { right: 6px; bottom: 6px; width: 24px; height: 24px; }
    .nw-album-zoom svg { width: 14px; height: 14px; }
    .nw-album-zoom { opacity: 1; transform: none; }
    .nw-album-lb-bar { min-height: 66px; gap: 12px; }
    .nw-album-lb-title { font-size: 13px; }
    .nw-album-lb-stage { padding-top: 16px; }
    .nw-album-lb-hint { display: none; }
    .nw-album-lb-nav { min-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
    .nw-album-wrap *, .nw-album-lightbox * { transition: none !important; animation: none !important; }
    .nw-album-card:hover .nw-album-closed-book, .nw-album-card-link:focus-visible .nw-album-closed-book { transform: none; }
    .nw-album-thumb:hover img, .nw-album-thumb:focus-visible img { transform: none; }
}
