.work-icon { width: 23px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.gallery-key, .reading-types { display: flex; flex-wrap: wrap; gap: 24px; color: #beaab7; font-size: 12px; }
.gallery-key span, .reading-types span { display: inline-flex; align-items: center; gap: 8px; }
.work-list { list-style: none; padding: 0; margin: 30px 0 0; max-width: 760px; }
.work-list li { border-top: 1px solid #373039; }
.work-list li:last-child { border-bottom: 1px solid #373039; }
.work-list a { display: flex; align-items: center; gap: 18px; padding: 23px 8px; color: #e9c3cf; transition: background .15s; }
.work-list a:hover, .work-list a:focus-visible { background: #211c25; }
.work-types { display: flex; gap: 5px; width: 54px; flex: none; }
.work-title { text-decoration: underline; text-underline-offset: 6px; font-size: 17px; }
.work-list .link-icon { margin-left: auto; }
.reading-shell { max-width: 740px; margin: 0 auto; padding: 46px 0 70px; }
.gallery-back { display: inline-flex; align-items: center; gap: 10px; color: #dec0cf; font-size: 14px; }
.gallery-back span { color: #9d929f; font-size: 12px; margin-left: 6px; }
.work-nav-icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.reading-heading { display: block; padding: 0 0 32px; margin: 60px 0 52px; padding-bottom: 32px; border-bottom: 1px solid #483844; }
.reading-heading > p { font-size: 10px; letter-spacing: .16em; color: #a89aa6; }
.reading-heading h1 { font-size: clamp(25px, 4vw, 36px); font-weight: 500; line-height: 1.6; margin: 16px 0 23px; }
.story-prose { font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-size: 17px; line-height: 2.25; color: #ded8dd; letter-spacing: .04em; }
.story-block { margin-bottom: 1.7em; }
.story-prose p { margin: 0; }
.story-prose .narration { text-indent: 1em; }
.story-prose ruby { ruby-align: space-between; }
.story-prose rt { font-size: .55em; }
.story-illustration { margin: 44px 0; }
.story-illustration img { display: block; width: 100%; height: auto; }
.rista-illustration { width: 88%; margin-left: auto; margin-right: auto; }
.rista-illustration figcaption { margin-top: 20px; text-align: center; font-size: 14px; font-weight: 400; }
.work-related-links { margin: 24px 0; }
.work-link-tag { font-size: 12px; margin: 0 0 12px; }
.work-link-card { display: flex; overflow: hidden; border: 1px solid #4b3b45; color: inherit; text-decoration: none; }
.work-link-card > img { width: 32%; object-fit: contain; background: #fff; }
.work-link-card-text { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-width: 0; }
.work-link-card-text strong { font-size: 15px; line-height: 1.6; }
.work-link-card-text > span { font-size: 13px; line-height: 1.7; }
.work-link-card-text small { font-size: 12px; opacity: .7; }
.work-link-card:hover { border-color: #d8afc0; }
@media (max-width: 540px) { .work-link-card { flex-direction: column; } .work-link-card > img { width: 100%; } }
.work-source { font-size: 12px; margin: 36px 0; }
.work-source a { color: #a897a6; text-decoration: underline; text-underline-offset: 4px; }
.work-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid #483844; padding-top: 28px; margin-top: 46px; }
.work-pagination a { display: flex; flex-direction: column; gap: 10px; color: #e9c3cf; padding: 12px 0; }
.work-pagination span { color: #a89aa6; font-size: 12px; }
.work-pagination strong { font-size: 15px; font-weight: 500; line-height: 1.6; }
.next-work { grid-column: 2; text-align: right; }
.bottom-back { margin-top: 42px; }
@media (max-width: 600px) { .reading-shell { padding-top: 30px; } .reading-heading { margin-top: 42px; } .story-prose { font-size: 16px; line-height: 2.15; } .work-list a { gap: 12px; } .work-title { font-size: 15px; } .work-pagination { gap: 14px; } }

#gallery.work-gallery { padding-top: 38px; }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin-top: 20px; }
.work-list li, .work-list li:last-child { border: 0; }
.work-list a { display: inline-flex; gap: 8px; padding: 4px 0; }
.work-list a:hover, .work-list a:focus-visible { background: none; color: #fff0f5; }
.work-list .work-icon { width: 18px; height: 22px; }
.work-types { width: auto; gap: 3px; }
.work-title { font-size: 14px; text-underline-offset: 3px; }
.work-list .link-icon { display: none; }
.gallery-back + .work-pagination { margin-top: 24px; padding-top: 14px; border-top: 0; }
.gallery-back + .work-pagination + .reading-work .reading-heading { margin-top: 30px; }
@media (max-width: 440px) { .work-list { gap: 8px 16px; } .work-title { font-size: 12px; } .work-list a { gap: 5px; } }

.gallery-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 900px; margin-inline: auto; }
.gallery-columns .work-list { display: flex; flex-direction: column; gap: 8px; }
.art-description { border-top: 1px solid #483844; border-bottom: 1px solid #483844; padding: 20px 0; line-height: 1.9; }
.art-description p { margin: 8px 0; }
.art-postscript { margin-top: 40px; border-top: 1px solid #483844; padding-top: 24px; line-height: 1.9; }
.art-postscript h2 { font-size: 18px; font-weight: 500; }
.art-postscript img { display: block; width: 100%; height: auto; margin-top: 24px; }
.reading-work > .work-source { border-top: 1px solid #483844; padding-top: 20px; }
@media (max-width: 440px) { .gallery-columns { gap: 16px; } }

.art-description + .work-source { border-top: 0; padding-top: 0; margin-top: 24px; }

.gallery-columns .work-types { display: flex; width: 60px; flex: 0 0 60px; gap: 3px; }
.work-type-slot { display: inline-flex; width: 18px; flex: 0 0 18px; }

.work-excerpt { margin-top: 36px; }

@media (min-width: 761px) { .game-comic { max-width: 560px; margin-left: auto; margin-right: auto; } }

#gallery h2 { margin-bottom: 18px; }
.gallery-columns .work-list { margin-top: 0; }

.page-liber .liber-section > h2 { padding-left: 0; }
.page-liber .liber-section > h2::before { content: ""; display: inline-block; width: .64em; height: 1.25em; margin-right: .4em; vertical-align: -.2em; background: url('/src/ico/treble-clef.svg') center / contain no-repeat; filter: invert(84%) sepia(12%) saturate(588%) hue-rotate(295deg); }
