:root {
  color-scheme: dark;
  --bg: #10121d; --surface: #1b1e2c; --text: #f3f1f5;
  --muted: #b3b5c5; --pink: #f9b8d1; --line: #ffffff16;
  --radius: 20px; --page-width: 1360px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; scrollbar-gutter: stable; }
body { margin: 0; background: radial-gradient(ellipse at 7% 10%, #32213765, transparent 35%), radial-gradient(ellipse at 98% 30%, #202d4250, transparent 32%), var(--bg); color: var(--text); font: 400 1rem/1.65 'Be Vietnam Pro', sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 1px solid var(--line); background: var(--surface); }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; text-decoration: none; }
button, a, input, select { touch-action: manipulation; }
:is(button, a, input, select):focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
button:not(:disabled):hover { border-color: var(--pink); }
button, a { transition: color .2s, background .2s, border-color .2s, transform .25s; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--pink); color: #3c2031; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.giftbar { padding: 9px 20px; background: #f3c4d8; color: #503143; text-align: center; font-size: .625rem; font-weight: 500; letter-spacing: .19em; }
.giftbar span { margin-inline: 12px; }
.site-header, main, .site-footer { width: min(var(--page-width), 90%); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 5; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: #10121deb; backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 2.5rem; line-height: 1; font-weight: 800; letter-spacing: -.075em; flex-shrink: 0; }
.brand > span { color: var(--pink); font-size: 2rem; font-weight: 400; }
.brand small { margin-left: 7px; font-size: .6875rem; line-height: 1.4; font-weight: 400; letter-spacing: .045em; }
nav { display: flex; align-items: center; gap: 32px; font-size: .8125rem; }
nav :is(a, button) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; color: var(--muted); white-space: nowrap; }
nav button { background: transparent; border: 0; }
nav :is(a, button):hover, nav .active { color: var(--pink); }
nav .active { position: relative; }
nav .active::after { content: ''; position: absolute; height: 3px; width: 3px; border-radius: 50%; background: var(--pink); left: 50%; bottom: 2px; }
nav .icon { color: var(--pink); width: 18px; height: 18px; }
.edition { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .625rem; letter-spacing: .13em; }
.edition > span { width: 5px; height: 5px; background: #cbd0b1; border-radius: 50%; box-shadow: 0 0 12px #cbd0b130; }
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 42px 0 32px; }
.eyebrow { margin: 0; color: var(--pink); font-size: .625rem; font-weight: 500; letter-spacing: .16em; }
.eyebrow > span { margin-right: 5px; }
h1 { margin: 16px 0 0; font-size: clamp(2.125rem, 3.8vw, 3.5rem); font-weight: 500; line-height: 1.23; letter-spacing: -.055em; }
h1 em { font-family: 'Playfair Display', Georgia, serif; color: var(--pink); font-weight: 500; letter-spacing: -.035em; }
.intro-aside { padding-bottom: 3px; }
.intro-note { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.95; }
.surprise-button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; padding: 9px 14px; border-color: #f9b8d12c; border-radius: 100px; background: #f9b8d107; color: var(--pink); font-size: .75rem; }
.surprise-button .icon { width: 17px; height: 17px; }
.surprise-button .arrow { margin-left: 6px; }
.surprise-button:hover .arrow { transform: translateX(3px); }
.featured { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); gap: 20px; min-height: 450px; }
.hero { position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid #ffffff20; }
.art { padding: 0; border: 0; overflow: hidden; background: #0b101b; text-align: left; }
.art img { width: 100%; height: 100%; display: block; transition: transform .7s; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image img { object-fit: cover; object-position: 55% center; }
.hero-image:focus-visible { outline-offset: -6px; }
.shade { position: absolute; inset: 0; background: linear-gradient(0deg, #111623ee, #0b152844 52%, transparent 78%), linear-gradient(90deg, #0b162f40, transparent 60%); pointer-events: none; }
.hero-copy { position: absolute; left: 32px; right: 30px; bottom: 28px; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid #ffffff40; border-radius: 100px; background: #111b3038; backdrop-filter: blur(8px); font-size: .5625rem; letter-spacing: .14em; }
.hero h2 { margin: 13px 0 8px; font: 500 clamp(2rem, 3.1vw, 2.875rem)/1.1 'Playfair Display', Georgia, serif; letter-spacing: -.025em; text-shadow: 0 2px 15px #0a163750; }
.hero h2 em { font-weight: 500; color: #ffe0ed; }
.hero p { margin: 0; font-size: .75rem; color: #e1e0e9; }
.view { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; margin-top: 16px; padding: 10px 16px; border-radius: 100px; border-color: var(--pink); background: var(--pink); color: #442637; font-size: .75rem; font-weight: 500; pointer-events: auto; }
.view:hover { background: #ffd0e2; }
.hero-number { position: absolute; top: 21px; right: 24px; pointer-events: none; color: #fff; text-shadow: 0 1px 8px #09172d; font-size: .5625rem; letter-spacing: .14em; }
.side { display: grid; grid-template-rows: 1.35fr 1fr; gap: 18px; min-width: 0; }
.note { position: relative; overflow: hidden; padding: 24px 27px 18px; border: 1px solid #ffe7dc60; border-radius: var(--radius); background: linear-gradient(135deg, #f5e2dc, #e8c9d3); color: #593944; }
.tiny { margin: 0; font-size: .5625rem; letter-spacing: .16em; color: #76545f; }
.note-star { position: absolute; top: 46px; right: 22px; font-size: 4.5rem; line-height: 1; color: #a56e85; opacity: .4; }
.note h3 { margin: 16px 0 10px; font-size: 1.375rem; line-height: 1.32; font-weight: 400; letter-spacing: -.025em; }
.note h3 em { color: #955570; font: 500 1.625rem/1.26 'Playfair Display', Georgia, serif; }
.note button { display: inline-flex; align-items: center; gap: 28px; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid #59394430; background: transparent; font-size: .75rem; }
.note button:hover { border-color: #593944; }
.note button .icon { width: 17px; height: 17px; }
.mini { position: relative; min-height: 180px; border-radius: var(--radius); border: 1px solid #ffffff20; }
.mini img { object-fit: cover; }
.mini::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, #0a173bdd); pointer-events: none; }
.mini > span { position: absolute; z-index: 1; bottom: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .8125rem; }
.journeys { padding-top: 52px; }
.journey-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.journey-heading h2 { margin: 10px 0 0; font: 500 1.75rem/1.35 'Playfair Display', Georgia, serif; letter-spacing: -.025em; }
.journey-heading > p { margin: 0 0 2px; font-size: .75rem; color: var(--muted); }
.journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.journey { position: relative; display: block; min-width: 0; aspect-ratio: 1.45; overflow: hidden; border: 1px solid #ffffff1c; border-radius: 16px; background: var(--surface); }
.journey::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, #111522dd 90%); pointer-events: none; }
.journey img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s; }
.journey-index { position: absolute; top: 14px; left: 17px; z-index: 1; font-size: .625rem; color: #fff; text-shadow: 0 1px 7px #080d18; }
.journey-copy { position: absolute; bottom: 17px; left: 17px; right: 35px; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.journey-copy small { color: #f4d9e5; font-size: .5rem; letter-spacing: .08em; }
.journey-copy strong { font-size: .875rem; font-weight: 500; line-height: 1.5; }
.journey > .icon { position: absolute; right: 13px; bottom: 19px; z-index: 1; width: 17px; height: 17px; }
.collection { padding-top: 64px; }
.collection:focus { outline: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head h2 { margin: 10px 0 0; font: 500 clamp(1.75rem, 2.8vw, 2.375rem)/1.35 'Playfair Display', Georgia, serif; letter-spacing: -.025em; }
.count { margin: 0; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.count > span:first-child { font: 500 2.75rem/1 'Playfair Display', Georgia, serif; color: var(--pink); }
.count > span:last-child { color: var(--muted); font-size: .6875rem; border-left: 1px solid var(--line); padding-left: 12px; }
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 25px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 14px; border-radius: 100px; background: transparent; color: var(--muted); font-size: .75rem; }
.tabs .selected { border-color: var(--pink); background: var(--pink); color: #402533; }
.tabs small { display: inline-grid; place-items: center; min-width: 22px; font-size: .625rem; opacity: .8; }
.tabs .saved-filter { margin-left: auto; border-color: #f9b8d12c; color: var(--pink); }
.tabs .saved-filter.selected { color: #402533; }
.tabs .icon { width: 16px; height: 16px; }
.gallery-controls { display: flex; align-items: flex-end; gap: 16px; }
.gallery-controls label { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: .6875rem; min-width: 0; }
.search-label { flex: 1; }
.film-label { width: 330px; }
.search-field { position: relative; display: block; }
.search-field > .icon { position: absolute; top: 15px; left: 16px; color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.gallery-controls :is(input, select) { width: 100%; min-height: 48px; border: 1px solid #ffffff1f; border-radius: 12px; background: #1b1e2c90; padding: 12px 16px; font-size: .875rem; }
.gallery-controls input { padding-left: 46px; }
.gallery-controls select { text-overflow: ellipsis; }
.gallery-controls input::placeholder { color: #969bae; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; }
.result-actions { display: flex; align-items: center; flex-shrink: 0; gap: 18px; }
.motion-toggle { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; font-size: .6875rem; color: var(--pink); background: transparent; }
.motion-toggle::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 8px; vertical-align: middle; border-radius: 50%; background: var(--muted); }
.motion-toggle[aria-pressed="true"]::before { background: var(--pink); box-shadow: 0 0 8px #f9b8d150; }
.gallery-status { margin: 14px 0; color: var(--muted); font-size: .6875rem; line-height: 1.6; }
.text-button { flex-shrink: 0; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--pink); font-size: .6875rem; text-decoration: underline; text-underline-offset: 4px; }
.gallery-error { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; margin: 0 0 24px; background: #302331; border: 1px solid #f9b8d14a; border-radius: 12px; font-size: .875rem; }
.gallery-error p { margin: 0; }
.gallery-error button, .image-message button, .empty-state button { flex-shrink: 0; min-height: 44px; padding: 9px 18px; border-radius: 100px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-item { min-width: 0; padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg, #24263565, #181b2850); transition: border-color .25s, transform .25s; }
.media-frame { position: relative; }
.card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; }
.card img { object-fit: contain; }
.motion-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.card .zoom { z-index: 1; }
.card:focus-visible { outline-offset: 3px; }
.zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #ffffff35; border-radius: 50%; background: #101727cc; color: #fff; backdrop-filter: blur(8px); }
.zoom .icon { width: 16px; height: 16px; }
.save-art { position: absolute; z-index: 2; top: 9px; right: 9px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; border-color: #ffffff35; background: #101727cc; color: #fff; backdrop-filter: blur(8px); }
.favorite[aria-pressed="true"] { color: var(--pink); border-color: #f9b8d160; }
.favorite[aria-pressed="true"] .icon { fill: currentColor; }
.card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 14px 4px 0; color: #dbadc2; font-size: .5625rem; letter-spacing: .055em; }
.card-meta span:last-child { color: var(--muted); }
.gallery-item h3 { margin: 7px 4px 5px; font-size: .9375rem; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
.gallery-item p { margin: 0 4px; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.illustration-grid .card { aspect-ratio: 4 / 5; background: #171b29; }
.image-unavailable { display: grid; place-items: center; }
.image-error { padding: 24px; color: var(--muted); font-size: .875rem; text-align: center; }
.gallery-more { text-align: center; padding-top: 34px; }
.gallery-more button { min-height: 48px; padding: 12px 26px; border-radius: 100px; background: #ffffff06; color: var(--pink); font-size: .8125rem; }
.empty-state { padding: 44px 20px; text-align: center; border: 1px dashed #f9b8d12f; border-radius: var(--radius); background: #f9b8d104; }
.empty-state > .icon { color: var(--pink); width: 32px; height: 32px; }
.empty-state h3 { margin: 16px 0 10px; font-size: 1.125rem; font-weight: 500; }
.empty-state p { max-width: 440px; margin-inline: auto; color: var(--muted); font-size: .875rem; }
.empty-state button { margin-top: 12px; color: var(--pink); }
.closing { position: relative; margin-top: 64px; padding: 60px 0 56px; border-top: 1px solid var(--line); text-align: center; background: radial-gradient(ellipse at 50% 55%, #32233860, transparent 60%); }
.closing-orbit { display: grid; place-items: center; width: 80px; height: 52px; margin: 0 auto; border: 1px solid #f9b8d125; border-radius: 50%; transform: rotate(-18deg); }
.closing-orbit > span { display: block; color: var(--pink); font-size: 2rem; transform: rotate(18deg); }
.closing p { margin: 24px 0 22px; font: 500 clamp(1.875rem, 3.1vw, 2.75rem)/1.4 'Playfair Display', Georgia, serif; }
.closing em { color: var(--pink); }
.closing small { display: block; font-size: .5625rem; letter-spacing: .16em; color: var(--muted); }
.closing button { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; margin-top: 24px; padding: 9px 18px; background: transparent; border-radius: 100px; color: var(--pink); font-size: .75rem; }
.closing button .icon { width: 16px; height: 16px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0 30px; border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 1.875rem; }
.site-footer .brand > span { font-size: 1.625rem; }
.site-footer .brand small { font-size: .625rem; }
.site-footer p, .site-footer > a:last-child { margin: 0; font-size: .75rem; color: var(--muted); }
.site-footer > a:last-child { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; }
dialog { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #ffffff26; border-radius: var(--radius); background: #141725; color: var(--text); }
dialog::backdrop { background: #070915ed; backdrop-filter: blur(12px); }
#viewer { width: min(1280px, calc(100vw - 32px)); height: min(900px, calc(100dvh - 32px)); }
#viewer[open] { display: flex; flex-direction: column; }
.viewer-top, .viewer-bottom { flex-shrink: 0; display: flex; align-items: center; gap: 20px; padding: 13px 20px; }
.viewer-top { justify-content: space-between; border-bottom: 1px solid var(--line); }
.viewer-top > div:first-child { min-width: 0; }
.viewer-top h2 { margin: 4px 0 0; font-size: .875rem; line-height: 1.5; font-weight: 500; }
.viewer-top .eyebrow { font-size: .5rem; }
.viewer-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff24; border-radius: 50%; background: #ffffff06; line-height: 1; }
.viewer-stage { position: relative; display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; padding: 12px; background: #090d16; overflow: hidden; touch-action: pan-y pinch-zoom; }
#viewImage, #viewVideo { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.image-message { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; max-width: 400px; padding: 24px; text-align: center; }
.image-message p { margin: 0; color: var(--muted); font-size: .875rem; }
.spinner { width: 30px; height: 30px; border: 2px solid #f9b8d12a; border-top-color: var(--pink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-bottom { justify-content: center; border-top: 1px solid var(--line); }
#prev .icon { transform: rotate(180deg); }
.viewer-info { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 165px; text-align: center; font-size: .8125rem; }
.viewer-info small { color: var(--muted); font-size: .625rem; }
#letter { width: 560px; padding: 44px 46px; background: #f2e3dd; color-scheme: light; color: #60444c; box-shadow: 0 30px 120px #0006; }
#letter::before { content: ''; position: absolute; inset: 10px; border: 1px solid #b2899835; border-radius: 14px; pointer-events: none; }
#letter .icon-button { border-color: #60444c30; background: transparent; }
#letter .eyebrow { color: #9e6179; }
.close-letter { position: absolute; top: 18px; right: 18px; }
.letter-symbol { display: block; margin-bottom: 24px; color: #aa6b84; font: 400 3rem/1 'Playfair Display', Georgia, serif; }
#letter h2 { margin: 20px 0; font: 500 2.25rem/1.3 'Playfair Display', Georgia, serif; color: #8f536b; }
#letter p:not(.eyebrow) { font-size: .875rem; line-height: 1.95; color: #60444c; }
#letter .signature { margin-top: 28px; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 1.125rem; color: #955570; }
.save-notice { position: fixed; left: 50%; bottom: 24px; z-index: 6; max-width: calc(100vw - 32px); padding: 12px 20px; border: 1px solid #f9b8d140; border-radius: 100px; background: #272333f5; box-shadow: 0 10px 40px #0005; color: #f5d2e2; font-size: .75rem; text-align: center; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.save-notice.visible { transform: translate(-50%, 0); opacity: 1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .art:hover img, .journey:hover img { transform: scale(1.035); }
  .gallery-item:hover { transform: translateY(-3px); border-color: #f9b8d13c; }
  .journey:hover { transform: translateY(-3px); border-color: #f9b8d16b; }
}
@media (min-width: 1600px) { .featured { min-height: 520px; } }
@media (max-width: 1100px) {
  .edition { display: none; }
  .featured { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); }
  .hero-copy { left: 26px; right: 26px; bottom: 26px; }
  .note { padding: 22px; }
  .note-star { right: 14px; font-size: 3.25rem; }
  .film-label { width: 280px; }
  .tabs .saved-filter { margin-left: 0; }
}
@media (max-width: 800px) {
  .intro { align-items: flex-start; }
  .intro-aside { max-width: 215px; padding-top: 24px; }
  .intro-note br { display: none; }
  .featured { grid-template-columns: 1fr; min-height: 0; }
  .hero { min-height: 440px; }
  .side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .note { padding: 24px; }
  .note h3 { font-size: 1.5rem; }
  .mini { min-height: 252px; }
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { aspect-ratio: 1.6; }
  .journey-copy strong { font-size: 1rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .count > span:first-child { font-size: 2.25rem; }
  .count > span:last-child { white-space: normal; max-width: 90px; }
  .film-label { width: 260px; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 132px; }
  .giftbar { padding: 9px 8px; font-size: .5rem; letter-spacing: .12em; }
  .giftbar span { margin-inline: 4px; }
  .site-header { flex-wrap: wrap; gap: 2px; padding: 16px 0 8px; min-height: 0; }
  .brand { font-size: 2rem; }
  .brand > span { font-size: 1.625rem; }
  .brand small { font-size: .625rem; }
  nav { width: 100%; justify-content: space-between; gap: 16px; font-size: .75rem; }
  .intro { display: block; padding: 28px 0 26px; }
  h1 { font-size: clamp(1.875rem, 8.3vw, 2.75rem); line-height: 1.27; }
  .eyebrow { font-size: .5625rem; letter-spacing: .1em; }
  .intro-aside { max-width: none; padding: 0; margin-top: 20px; }
  .intro-note { max-width: 330px; font-size: .8125rem; }
  .surprise-button { margin-top: 15px; }
  .hero { min-height: 0; }
  .hero-image { position: relative; display: block; aspect-ratio: 1672 / 941; height: auto; }
  .hero-image img { object-fit: contain; }
  .shade { display: none; }
  .hero-copy { position: relative; inset: auto; padding: 22px; background: linear-gradient(125deg, #272330, #191d2b); }
  .hero-number { top: 12px; right: 14px; font-size: .4375rem; }
  .pill { color: var(--pink); background: transparent; border-color: #f9b8d135; font-size: .5rem; }
  .hero h2 { font-size: 2rem; margin-top: 15px; line-height: 1.2; }
  .hero h2 br { display: none; }
  .hero p { color: var(--muted); line-height: 1.8; }
  .view { margin-top: 18px; }
  .side { gap: 12px; }
  .note { padding: 18px; border-radius: 16px; }
  .tiny { font-size: .5rem; letter-spacing: .08em; }
  .note h3 { font-size: 1.125rem; line-height: 1.4; }
  .note h3 em { font-size: 1.375rem; }
  .note-star { font-size: 2.5rem; top: 48px; right: 8px; opacity: .3; }
  .note button { font-size: .6875rem; gap: 12px; }
  .mini { min-height: 232px; border-radius: 16px; }
  .mini > span { left: 14px; right: 14px; bottom: 16px; font-size: .75rem; line-height: 1.5; }
  .mini > span .icon { width: 16px; height: 16px; }
  .mini img { object-position: 57%; }
  .journeys { padding-top: 36px; }
  .journey-heading { display: block; margin-bottom: 18px; }
  .journey-heading h2 { font-size: 1.5rem; }
  .journey-heading > p { margin-top: 10px; font-size: .6875rem; }
  .journey-grid { gap: 12px; }
  .journey { aspect-ratio: .95; border-radius: 14px; }
  .journey-copy { bottom: 14px; left: 13px; right: 20px; }
  .journey-copy strong { font-size: .8125rem; }
  .journey-copy small { font-size: .4375rem; letter-spacing: .06em; }
  .journey-index { top: 12px; left: 13px; }
  .journey > .icon { right: 10px; bottom: 14px; width: 14px; height: 14px; }
  .collection { padding-top: 42px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head h2 { font-size: 1.625rem; }
  .count > span:first-child { font-size: 2rem; }
  .count > span:last-child { max-width: none; }
  .tabs { margin: 22px 0 20px; padding-bottom: 18px; gap: 6px; }
  .tabs button { padding: 9px 11px; font-size: .6875rem; gap: 6px; }
  .gallery-controls { flex-direction: column; align-items: stretch; gap: 14px; }
  .gallery-controls :is(input, select) { font-size: 1rem; }
  .film-label { width: 100%; }
  .results-bar { flex-wrap: wrap; align-items: center; gap: 2px; padding-block: 12px; }
  .gallery-status { width: 100%; margin: 0; font-size: .6875rem; }
  .result-actions { flex-wrap: wrap; gap: 18px; }
  .gallery-error { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-item { padding: 10px 10px 16px; border-radius: 16px; }
  .gallery-item h3 { font-size: .9375rem; }
  .illustration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .illustration-grid .gallery-item { padding: 7px 7px 12px; }
  .illustration-grid .card-meta { font-size: .5rem; }
  .illustration-grid .card-meta span:last-child { display: none; }
  .illustration-grid h3 { font-size: .8125rem; line-height: 1.6; }
  .illustration-grid p { font-size: .6875rem; }
  .illustration-grid .zoom { display: none; }
  .illustration-grid .save-art { top: 4px; right: 4px; }
  .closing { margin-top: 42px; padding: 40px 0; }
  .closing small { font-size: .5rem; letter-spacing: .08em; }
  .site-footer { flex-wrap: wrap; gap: 16px; }
  .site-footer p { display: none; }
  .viewer-top, .viewer-bottom { padding: 10px 12px; gap: 12px; }
  .viewer-top h2 { font-size: .75rem; }
  .viewer-top .eyebrow { letter-spacing: .04em; }
  .viewer-info { min-width: 0; }
  .viewer-info small { max-width: 150px; }
  .viewer-stage { padding: 6px; }
  #letter { padding: 38px 26px 26px; }
  #letter h2 { font-size: 1.875rem; }
  .save-notice { bottom: 16px; width: max-content; border-radius: 14px; }
}
@media (max-width: 360px) {
  .side { grid-template-columns: 1fr; }
  .note h3 br { display: none; }
  .note h3 { max-width: 230px; line-height: 1.5; }
  .note-star { top: 34px; right: 20px; }
  .mini { min-height: 180px; }
  .illustration-grid { grid-template-columns: 1fr; }
  .illustration-grid h3 { font-size: .9375rem; }
  .illustration-grid .card-meta span:last-child { display: inline; }
}
@media (max-height: 500px) { .viewer-top, .viewer-bottom { padding-block: 6px; } .viewer-info small { display: none; } .viewer-top .eyebrow { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* A separate reading room; artwork filters continue to belong to the gallery. */
.manga-mode :is(.intro, .featured, .journeys, .collection) { display: none; }
.manga-room { padding-top: 28px; }
.manga-room:focus { outline: 0; }
.manga-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); font-size: .75rem; }
.manga-back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.manga-back:hover { color: var(--pink); }
.manga-intro { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 26px 0 36px; }
.manga-intro h1 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.manga-description { margin: 20px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.95; }
.manga-seal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 170px; height: 170px; border: 1px solid #f9b8d130; border-radius: 50%; color: var(--pink); transform: rotate(9deg); background: radial-gradient(circle, #f9b8d108, transparent 70%); flex-shrink: 0; }
.manga-seal .icon { width: 26px; height: 26px; }
.manga-seal > span { text-align: center; font: 500 1rem/1.3 'Playfair Display', Georgia, serif; letter-spacing: .08em; }
.manga-seal small { font-size: .5rem; letter-spacing: .15em; }
.manga-spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 30px; padding: 28px 42px 28px 24px; border: 1px solid #a8cbbb25; border-radius: 22px; background: radial-gradient(ellipse at 0 50%, #6a8c7b38, transparent 50%), linear-gradient(120deg, #253430, #202631 70%); overflow: hidden; }
.manga-spotlight-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 230px; }
.manga-spotlight-art img { display: block; max-width: 85%; height: 255px; object-fit: contain; transform: rotate(-5deg); filter: drop-shadow(15px 20px 15px #0005); }
.manga-spotlight-copy { padding: 15px 0; }
.manga-spotlight-copy .eyebrow { color: #cce2d4; }
.manga-spotlight-copy h2 { margin: 16px 0 12px; font: 500 clamp(1.5rem, 2.5vw, 2.125rem)/1.35 'Playfair Display', Georgia, serif; }
.manga-spotlight-copy h2 em { color: #d4e8de; font-weight: 500; }
.manga-spotlight-copy > p:not(.eyebrow) { max-width: 580px; font-size: .8125rem; line-height: 1.8; color: #c3cbcb; }
.manga-featured-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.manga-featured-tags span { padding: 5px 10px; border: 1px solid #bed6ca25; border-radius: 100px; color: #c5d9ce; font-size: .625rem; }
.manga-spotlight .view { background: #d0e5d8; border-color: #d0e5d8; color: #284439; margin-top: 20px; }
.manga-library-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 54px; }
.manga-library-head h2 { margin: 10px 0 0; font: 500 1.875rem/1.4 'Playfair Display', Georgia, serif; }
.manga-library-head > p { margin: 0 0 3px; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.manga-library-head strong { font-size: 1rem; color: var(--pink); font-weight: 500; }
.manga-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.manga-search { position: relative; flex: 1; max-width: 430px; min-width: 0; }
.manga-search > .icon { position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.manga-search input { width: 100%; min-height: 48px; padding: 12px 16px 12px 46px; border: 1px solid #ffffff1f; border-radius: 12px; background: #1b1e2c90; font-size: .875rem; }
.manga-search input::placeholder { color: #969bae; }
.manga-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.manga-filters button { min-height: 44px; padding: 9px 14px; border-radius: 100px; background: transparent; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.manga-filters button[aria-pressed="true"] { color: #402533; background: var(--pink); border-color: var(--pink); }
.manga-filters small { margin-left: 6px; font-size: .625rem; opacity: .8; }
.manga-results { min-height: 20px; margin: 16px 0 22px; color: var(--muted); font-size: .6875rem; }
.manga-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.manga-card { min-width: 0; }
.manga-card-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; overflow: hidden; text-align: left; border-radius: 18px; background: #1b1e2c85; border-color: var(--line); }
.manga-card-cover { position: relative; display: block; flex-shrink: 0; width: 100%; aspect-ratio: 1.15; background: radial-gradient(ellipse at 50% 45%, #ffffff12, transparent 75%), color-mix(in srgb, var(--book-accent) 11%, #1b1e2c); }
.manga-card-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 25px 20px 34px; object-fit: contain; filter: drop-shadow(8px 13px 10px #0005); transition: transform .35s; }
.manga-card-badge { position: absolute; left: 13px; bottom: 11px; padding: 4px 8px; border: 1px solid #ffffff25; border-radius: 100px; color: #f0e8ef; font-size: .5rem; letter-spacing: .06em; background: #10121da8; }
.manga-card-copy { display: flex; flex-direction: column; width: 100%; flex: 1; padding: 19px 20px 20px; }
.manga-card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--book-accent); font-size: .5rem; letter-spacing: .07em; }
.manga-card-title { display: block; margin: 12px 0 4px; font-size: 1.125rem; line-height: 1.5; font-weight: 500; }
.manga-card-author { color: var(--muted); font-size: .6875rem; }
.manga-card-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 13px; color: var(--muted); font-size: .75rem; line-height: 1.85; }
.manga-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; color: var(--book-accent); font-size: .625rem; }
.manga-card-bottom .icon { width: 17px; height: 17px; }
.manga-cover-fallback { display: none; position: absolute; inset: 25px; align-items: center; justify-content: center; padding: 20px; text-align: center; border: 1px solid #ffffff30; border-radius: 8px; color: var(--pink); font: 500 1.25rem/1.4 'Playfair Display', Georgia, serif; }
.cover-unavailable .manga-cover-fallback { display: flex; }
.manga-reading-note { display: flex; align-items: flex-start; gap: 13px; max-width: 790px; margin: 30px auto 0; color: var(--muted); font-size: .75rem; line-height: 1.9; }
.manga-reading-note > .icon { color: var(--pink); width: 18px; height: 18px; margin-top: 3px; }
.manga-dialog { width: min(960px, calc(100vw - 32px)); height: min(880px, calc(100dvh - 32px)); }
.manga-dialog[open] { display: flex; flex-direction: column; }
.manga-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-shrink: 0; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.manga-dialog-top h2 { margin: 4px 0 0; font-size: 1.125rem; line-height: 1.5; font-weight: 500; }
.manga-dialog-top .eyebrow { font-size: .5rem; }
.manga-dialog-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 28px; min-height: 0; }
.manga-detail-intro { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: center; }
.manga-detail-cover { position: relative; min-height: 220px; padding: 10px; background: #ffffff05; border: 1px solid var(--line); border-radius: 12px; }
.manga-detail-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.manga-author { margin: 0 0 12px; color: var(--pink); font-size: .75rem; }
.manga-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.manga-detail-tags > span { padding: 5px 10px; border: 1px solid #ffffff25; border-radius: 100px; color: var(--muted); font-size: .625rem; }
.manga-detail-tags .manga-status-tag { border-color: #f9b8d135; color: var(--pink); }
#mangaDetailSummary { margin: 15px 0 10px; color: #d6d6df; font-size: .875rem; line-height: 1.95; }
.manga-volume-note { margin: 0; color: var(--muted); font-size: .75rem; }
.manga-reading { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.manga-reading h3, .manga-volumes h3 { margin: 0 0 16px; font: 500 1.5rem/1.4 'Playfair Display', Georgia, serif; }
.manga-read-links { display: grid; gap: 10px; }
.manga-read-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid #f9b8d130; border-radius: 12px; background: #f9b8d105; }
.manga-read-link:hover { background: #f9b8d10d; border-color: #f9b8d160; }
.manga-read-link > span { display: flex; flex-direction: column; gap: 4px; }
.manga-read-link strong { color: #f6d4e3; font-size: .8125rem; font-weight: 500; }
.manga-read-link small { color: var(--muted); font-size: .6875rem; }
.manga-read-link > .icon { color: var(--pink); width: 18px; height: 18px; transform: rotate(-45deg); }
.manga-access-note { margin: 16px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.9; }
.manga-volumes { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.manga-volumes > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.manga-volumes > div:first-child > span { color: var(--pink); font-size: .6875rem; }
#mangaVolumeHelp { margin: 0 0 18px; color: var(--muted); font-size: .75rem; line-height: 1.9; }
.manga-volume-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.manga-volume-grid a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #ffffff04; font-size: .6875rem; }
.manga-volume-grid a:hover { color: var(--pink); border-color: #f9b8d160; }
.manga-volume-grid .icon { width: 12px; height: 12px; color: var(--muted); transform: rotate(-45deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .manga-card-open:hover .manga-card-cover img { transform: translateY(-5px) rotate(-2deg); } }
@media (max-width: 1100px) { .manga-toolbar { flex-direction: column; align-items: stretch; gap: 16px; } .manga-search { max-width: none; } .manga-card-copy { padding-inline: 16px; } }
@media (max-width: 800px) {
  .manga-seal { width: 130px; height: 130px; }
  .manga-seal span { font-size: .8125rem; }
  .manga-spotlight { padding: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 22px; }
  .manga-spotlight-art img { height: 230px; }
  .manga-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .manga-library-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .manga-volume-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .manga-room { padding-top: 20px; }
  .manga-intro { padding: 24px 0 30px; }
  .manga-intro h1 { font-size: clamp(1.75rem, 7.8vw, 2.5rem); }
  .manga-seal { display: none; }
  .manga-description { font-size: .8125rem; margin-top: 18px; }
  .manga-description br { display: none; }
  .manga-spotlight { display: block; padding: 22px; border-radius: 18px; }
  .manga-spotlight-art { min-height: 210px; }
  .manga-spotlight-art img { height: 210px; }
  .manga-spotlight-copy { padding: 24px 0 0; }
  .manga-spotlight-copy h2 { font-size: 1.5rem; }
  .manga-featured-tags { gap: 6px; }
  .manga-featured-tags span { font-size: .5625rem; }
  .manga-library-head { margin-top: 36px; }
  .manga-library-head h2 { font-size: 1.5rem; }
  .manga-search input { font-size: 1rem; }
  .manga-filters { gap: 6px; }
  .manga-filters button { padding: 9px 11px; font-size: .6875rem; }
  .manga-grid { gap: 14px; }
  .manga-card-cover { aspect-ratio: .78; }
  .manga-card-cover img { padding: 18px 12px 32px; }
  .manga-card-copy { padding: 13px 12px 16px; }
  .manga-card-title { font-size: .875rem; margin-top: 9px; }
  .manga-card-meta { font-size: .4375rem; gap: 6px; }
  .manga-card-meta > span:first-child { display: none; }
  .manga-card-author { font-size: .625rem; }
  .manga-card-summary { -webkit-line-clamp: 3; font-size: .6875rem; }
  .manga-card-bottom { padding-top: 14px; font-size: .5625rem; line-height: 1.7; }
  .manga-card-bottom .icon { width: 14px; height: 14px; }
  .manga-card-badge { left: 7px; bottom: 10px; font-size: .4375rem; padding: 3px 5px; }
  .manga-reading-note { font-size: .6875rem; }
  .manga-dialog-top { padding: 13px 16px; }
  .manga-dialog-top h2 { font-size: .875rem; }
  .manga-dialog-top .eyebrow { font-size: .4375rem; letter-spacing: .06em; }
  .manga-dialog-scroll { padding: 20px 16px; }
  .manga-detail-intro { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; align-items: start; }
  .manga-detail-cover { min-height: 150px; padding: 7px; }
  .manga-author { font-size: .6875rem; }
  .manga-detail-tags > span { font-size: .5625rem; padding: 4px 8px; }
  #mangaDetailSummary { font-size: .75rem; line-height: 1.85; }
  .manga-volume-note { font-size: .6875rem; }
  .manga-reading, .manga-volumes { margin-top: 24px; padding-top: 24px; }
  .manga-reading h3, .manga-volumes h3 { font-size: 1.25rem; }
  .manga-read-link { padding: 13px; }
  .manga-read-link strong { font-size: .75rem; }
  .manga-read-link small { font-size: .625rem; }
  .manga-volumes > div:first-child { flex-wrap: wrap; gap: 0; margin-bottom: 12px; }
  .manga-volumes h3 { margin-bottom: 4px; }
  .manga-volume-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .manga-volume-grid a { padding: 9px 8px; font-size: .625rem; }
}
@media (max-width: 360px) { .manga-grid { grid-template-columns: 1fr; } .manga-card-cover { aspect-ratio: 1.15; } .manga-card-title { font-size: 1rem; } .manga-card-badge { font-size: .5rem; } .manga-card-copy { padding: 17px; } .manga-volume-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-height: 500px) { .manga-dialog-top { padding-block: 8px; } .manga-dialog-top .eyebrow { display: none; } }
