/* 内页采用横向条目、单栏正文和侧置图集导航。 */
.s50-pagehead { position: relative; padding: 48px 44px 32px; margin-top: 34px; background: var(--s50-white); border-bottom: 3px solid var(--s50-gold); }
.s50-pagehead h1 { font-size: clamp(30px, 3.3vw, 46px); margin: 12px 0 18px; max-width: 950px; overflow-wrap: anywhere; }
.s50-intro { font-size: 16px; color: var(--s50-muted); max-width: 800px; }
.s50-pagehead > p:last-child { margin-top: 22px; }
.s50-pagehead .s50-crumb { margin-top: 30px; }
.s50-crumb { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 11px; color: var(--s50-muted); }
.s50-crumb a { text-decoration: underline; text-underline-offset: 4px; }
.s50-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 22px; border-bottom: 1px solid var(--s50-line); }
.s50-filters a { padding: 7px 18px; color: var(--s50-muted); font-size: 13px; border: 1px solid var(--s50-line); }
.s50-filters a:hover, .s50-filters a[aria-current], .s50-filters a.is-active { color: var(--s50-white); background: var(--s50-ink); border-color: var(--s50-ink); }
.s50-catalog { padding-top: 38px; }
.s50-catalog .s50-section-head h2 { font-size: 22px; }
.s50-catalog .s50-cards { display: block; }
.s50-catalog .s50-card { display: grid; grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "copy photo"; align-items: center; gap: 36px; padding: 28px; margin-bottom: 20px; }
.s50-catalog .s50-card-photo { grid-area: photo; }
.s50-catalog .s50-card-photo img { aspect-ratio: 16 / 10; }
.s50-catalog .s50-card-copy { grid-area: copy; padding: 0; }
.s50-catalog .s50-card-meta { justify-content: flex-start; gap: 20px; }
.s50-catalog .s50-card h3 { font-size: clamp(21px, 2vw, 27px); max-width: 800px; }
.s50-catalog .s50-card-copy > p { -webkit-line-clamp: 3; margin-top: 18px; font-size: 14px; }
.s50-pager { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: 13px; }
.s50-pager ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.s50-pager a, .s50-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--s50-line); background: var(--s50-white); }
.s50-pager a:hover, .s50-pager .active > a, .s50-pager .active > span, .s50-pager a[aria-current], .s50-pager .current { background: var(--s50-ink); color: var(--s50-gold); border-color: var(--s50-ink); }
.s50-pager .disabled > span, .s50-pager .disabled > a { color: #757575; background: transparent; }
.s50-empty { text-align: center; padding: 50px 25px; border: 1px dashed var(--s50-line); background: var(--s50-white); }
.s50-empty h2, .s50-empty h3 { font-size: 22px; margin-bottom: 12px; }
.s50-empty p { color: var(--s50-muted); font-size: 14px; margin-bottom: 20px; }
.s50-contact-band { padding: 36px 40px; margin: 10px 0 62px; background: #EBE3D3; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-left: 4px solid var(--s50-gold-ink); }
.s50-contact-band h2 { font-size: clamp(22px, 2vw, 30px); margin-top: 8px; }
.s50-contact-band .s50-button { flex-shrink: 0; background: var(--s50-ink); color: var(--s50-white); border-color: var(--s50-ink); }
/* 详情的阅读信息是横条，不占用正文侧栏。 */
.s50-story { padding-top: 32px; }
.s50-story > .s50-crumb { max-width: 980px; margin-inline: auto; }
.s50-story-head { max-width: 980px; margin: 34px auto 32px; padding-left: 26px; border-left: 4px solid var(--s50-gold); }
.s50-story-head h1 { margin: 14px 0 20px; font-size: clamp(29px, 3vw, 44px); line-height: 1.45; overflow-wrap: anywhere; }
.s50-story-deck { color: var(--s50-muted); font-size: 15px; max-width: 850px; }
.s50-story-byline { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font-size: 12px; color: var(--s50-muted); }
.s50-story-cover { max-width: 980px; margin: 0 auto; }
.s50-story-cover img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.s50-story-cover figcaption { font-size: 11px; text-align: right; padding: 10px 0; color: var(--s50-muted); }
.s50-reading-panel { max-width: 980px; margin: 26px auto 0; padding: 36px 64px 50px; border: 1px solid var(--s50-line); background: var(--s50-white); }
.s50-reading-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--s50-line); font-size: 11px; color: var(--s50-muted); }
.s50-reading-meta .s50-kicker { font-size: 9px; }
.s50-reading-meta a { text-decoration: underline; text-underline-offset: 4px; }
.s50-copy-link { font-size: 11px; color: var(--s50-gold-ink); background: transparent; border: 0; border-bottom: 1px solid var(--s50-line); padding: 4px 0; }
.s50-copy-status { font-size: 11px; }
.s50-prose { font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; min-width: 0; }
.s50-prose > * + * { margin-top: 20px; }
.s50-prose h2 { font-size: 27px; margin: 36px 0 20px; padding-left: 16px; border-left: 3px solid var(--s50-gold); }
.s50-prose h3 { font-size: 22px; margin: 26px 0 16px; }
.s50-prose h4 { font-size: 18px; margin-top: 22px; }
.s50-prose a { color: var(--s50-gold-ink); text-decoration: underline; text-underline-offset: 4px; }
.s50-prose img, .s50-prose mip-img { max-width: 100%; height: auto; margin: 24px auto; }
.s50-prose video, .s50-prose iframe { max-width: 100%; }
.s50-prose ul, .s50-prose ol { padding-left: 28px; }
.s50-prose li { margin-top: 8px; }
.s50-prose blockquote { margin: 26px 0; padding: 22px 28px; background: var(--s50-paper); border-left: 3px solid var(--s50-gold); color: var(--s50-muted); }
.s50-prose table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.s50-prose th, .s50-prose td { border: 1px solid var(--s50-line); padding: 10px 15px; }
.s50-prose th { background: var(--s50-paper); }
.s50-prose pre { max-width: 100%; overflow-x: auto; padding: 22px; font-size: 13px; background: var(--s50-paper); }
.s50-prose hr { border: 0; border-top: 1px solid var(--s50-line); margin-block: 32px; }
.s50-story-tags { padding-top: 32px; }
.s50-neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 28px auto 0; }
.s50-neighbors a { padding: 22px 26px; border: 1px solid var(--s50-line); background: var(--s50-white); min-width: 0; }
.s50-neighbors span { display: block; color: var(--s50-gold-ink); font-size: 11px; margin-bottom: 10px; }
.s50-neighbors strong { font-size: 14px; font-weight: 500; }
.s50-neighbors a:nth-child(2) { text-align: right; }
/* 图集主画面与缩略图并列，继续使用可抓取的真实分页链接。 */
.s50-gallery-wrap { padding-block: 40px 52px; background: #EDE9E0; }
.s50-gallery-head { padding-bottom: 30px; }
.s50-gallery-head .s50-kicker { margin-top: 32px; }
.s50-gallery-head h1 { font-size: clamp(29px, 3vw, 44px); margin: 12px 0 16px; }
.s50-gallery-head > p:last-child { color: var(--s50-muted); max-width: 860px; }
.s50-gallery-view { display: grid; grid-template-columns: minmax(0, 1fr) 156px; gap: 20px; align-items: start; }
.s50-gallery-stage { min-width: 0; background: var(--s50-ink); }
.s50-gallery-stage > a { display: block; }
.s50-gallery-stage img { width: 100%; height: auto; aspect-ratio: 14 / 9; max-height: 700px; object-fit: contain; }
.s50-gallery-stage figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding: 18px 22px; color: #D6D7D8; font-size: 11px; }
.s50-gallery-stage figcaption > span:first-child { color: var(--s50-gold); }
.s50-filmstrip { display: grid; grid-template-columns: 1fr; gap: 12px; max-height: 650px; overflow-y: auto; padding: 4px; scrollbar-color: var(--s50-gold-ink) transparent; }
.s50-filmstrip a { position: relative; display: block; border: 2px solid transparent; padding: 3px; }
.s50-filmstrip a[aria-current], .s50-filmstrip a:hover { border-color: var(--s50-gold-ink); }
.s50-filmstrip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.s50-filmstrip span { position: absolute; bottom: 3px; right: 3px; padding: 2px 8px; font-size: 10px; background: var(--s50-ink); color: var(--s50-white); }
.s50-gallery-story { max-width: 850px; margin-inline: auto; }
.s50-about-photo { margin-top: 28px; }
.s50-about-photo img { width: 100%; aspect-ratio: 30 / 13; object-fit: cover; }
.s50-about-photo figcaption { margin-top: 12px; font-size: 12px; color: var(--s50-muted); }
.s50-about-editorial { max-width: 880px; margin-inline: auto; }
.s50-about-label { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--s50-line); padding-bottom: 24px; margin-bottom: 30px; }
.s50-about-label > span { font-size: 25px; font-weight: 700; color: var(--s50-gold-ink); line-height: 1.2; }
.s50-about-label > p { font-size: 12px; color: var(--s50-muted); }
.s50-feature-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.s50-feature-list article { padding: 28px; background: var(--s50-white); border: 1px solid var(--s50-line); border-bottom: 3px solid var(--s50-gold); }
.s50-feature-list article > span { display: block; font-size: 30px; font-weight: 300; color: var(--s50-gold-ink); margin-bottom: 14px; }
.s50-feature-list h3 { font-size: 20px; margin-bottom: 14px; }
.s50-feature-list p { font-size: 13px; color: var(--s50-muted); }
.s50-feature-list .s50-kicker { margin-bottom: 18px; color: var(--s50-gold-ink); font-size: 11px; }
.s50-tag-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.s50-tag-index a { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px; font-size: 16px; background: var(--s50-white); border: 1px solid var(--s50-line); }
.s50-tag-index a > span:last-child { color: var(--s50-gold-ink); flex-shrink: 0; }
.s50-tag-index a:hover { background: #EBE3D3; border-color: var(--s50-gold); }
.s50-search-form { display: flex; gap: 12px; max-width: 880px; margin: 34px auto 0; }
.s50-search-form input { flex: 1; min-width: 0; padding: 14px 20px; border: 1px solid var(--s50-line); background: var(--s50-white); color: var(--s50-ink); font-size: 16px; }
.s50-search-form .s50-button { flex-shrink: 0; }
.s50-search-results { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.s50-search-results article { position: relative; min-width: 0; padding: 30px; background: var(--s50-white); border: 1px solid var(--s50-line); }
.s50-search-results article > span { display: block; font-size: 12px; color: var(--s50-gold-ink); border-bottom: 1px solid var(--s50-line); padding-bottom: 12px; margin-bottom: 18px; }
.s50-search-results h2 { font-size: 23px; margin-bottom: 16px; }
.s50-search-results p { font-size: 14px; color: var(--s50-muted); margin-bottom: 18px; }
.s50-search-results time { font-size: 11px; color: var(--s50-gold-ink); }
.s50-error { font-size: clamp(80px, 12vw, 160px); line-height: 1.2; letter-spacing: -.08em; font-weight: 800; color: var(--s50-gold-ink); margin-top: 20px; }
@media (max-width: 960px) {
    .s50-pagehead { padding: 36px 30px 28px; }
    .s50-catalog .s50-card { grid-template-columns: minmax(0, 1fr) 230px; padding: 22px; gap: 24px; }
    .s50-reading-panel { padding: 30px 36px 40px; }
    .s50-feature-list, .s50-tag-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s50-gallery-view { grid-template-columns: minmax(0, 1fr) 115px; gap: 14px; }
    .s50-filmstrip { max-height: 470px; }
    .s50-contact-band { padding: 30px; }
}
@media (max-width: 640px) {
    .s50-pagehead { padding: 28px 22px; margin-top: 22px; }
    .s50-pagehead h1 { font-size: 29px; }
    .s50-intro { font-size: 14px; }
    .s50-crumb { gap: 7px 9px; }
    .s50-filters { gap: 8px; }
    .s50-filters a { font-size: 12px; padding: 6px 12px; }
    .s50-catalog .s50-card { grid-template-columns: 1fr; grid-template-areas: "photo" "copy"; gap: 0; padding: 0; margin-bottom: 24px; }
    .s50-catalog .s50-card-copy { padding: 22px; }
    .s50-catalog .s50-card h3 { font-size: 22px; }
    .s50-contact-band { display: block; padding: 28px 22px; margin-bottom: 40px; }
    .s50-contact-band .s50-button { margin-top: 22px; }
    .s50-story-head { padding-left: 18px; margin-block: 28px; }
    .s50-story-head h1 { font-size: 28px; }
    .s50-story-deck { font-size: 14px; }
    .s50-story-cover img { aspect-ratio: 4 / 3; }
    .s50-reading-panel { padding: 24px 20px 32px; }
    .s50-reading-meta { gap: 10px 16px; }
    .s50-prose { font-size: 16px; }
    .s50-prose h2 { font-size: 24px; }
    .s50-prose h3 { font-size: 21px; }
    .s50-neighbors { grid-template-columns: 1fr; gap: 12px; }
    .s50-neighbors a:nth-child(2) { text-align: left; }
    .s50-gallery-wrap { padding-block: 24px 32px; }
    .s50-gallery-view { display: block; }
    .s50-gallery-stage figcaption { font-size: 10px; padding: 14px 16px; }
    .s50-filmstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 290px; margin-top: 18px; gap: 8px; }
    .s50-about-photo img { aspect-ratio: 4 / 3; }
    .s50-feature-list { gap: 12px; }
    .s50-feature-list article { padding: 22px 16px; }
    .s50-feature-list h3 { font-size: 18px; }
    .s50-tag-index { gap: 10px; }
    .s50-tag-index a { padding: 16px; font-size: 14px; }
    .s50-search-form { flex-direction: column; margin-top: 24px; }
    .s50-search-results { grid-template-columns: 1fr; }
    .s50-search-results article { padding: 24px; }
    .s50-search-results h2 { font-size: 22px; }
    .s50-pager a, .s50-pager span { min-width: 36px; min-height: 36px; padding: 5px 10px; }
}
@media (max-width: 359px) {
    .s50-feature-list, .s50-tag-index { grid-template-columns: 1fr; }
}
@media print {
    .s50-reading-meta, .s50-story-tags, .s50-neighbors, .s50-contact-band, .s50-filters, .s50-search-form, .s50-pager { display: none !important; }
    .s50-reading-panel { border: 0; padding: 0; max-width: none; }
    .s50-pagehead { padding: 20px 0; margin: 0; }
    .s50-prose { font-size: 12pt; }
    .s50-gallery-view { display: block; }
    .s50-filmstrip { display: none; }
}
