/* Catalog structure only: shared palette and cards retain their existing design. */
.syj-minglu .syj-minglu__filters{margin:32px 0;display:grid;gap:0}
.syj-minglu .syj-minglu__facet{padding:24px 0;border-bottom:1px solid #c5a67655;min-width:0;scroll-margin-top:100px}
.syj-minglu .syj-minglu__facet h2{font-size:20px;font-weight:600;margin:0 0 16px;color:#2e6171}
.syj-minglu .syj-theme-domain__tags{gap:8px;flex-wrap:wrap}
.syj-minglu a[aria-current=true],.syj-minglu__modes a[aria-current=page]{color:#fff;background:#2e6171;border-color:#2e6171}
.syj-minglu .syj-minglu__theme-tree{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.syj-minglu .syj-minglu__theme-tree>li{min-width:0;max-width:100%;line-height:1.8}
.syj-minglu .syj-minglu__theme-tree a{display:inline-block;border:1px solid #c5a67666;padding:3px 10px;border-radius:6px;font-size:14px;overflow-wrap:anywhere;text-decoration:none}
.syj-minglu .syj-minglu__theme-tree a:hover{color:#b3483c;border-color:#b3483c}
.syj-minglu .syj-minglu__theme-tree a[aria-current=true]:hover{color:white;background:#b3483c}
.syj-minglu .syj-minglu__theme-tree small{opacity:.7;font-size:11px}
.syj-minglu .syj-minglu__theme-tree .syj-minglu__theme-tree{margin:8px 0 10px 14px;border-left:1px solid #c5a67655;padding-left:12px}
.syj-minglu>.syj-minglu__filters>.syj-minglu__facet>.syj-minglu__theme-tree{display:block}
.syj-minglu>.syj-minglu__filters>.syj-minglu__facet>.syj-minglu__theme-tree>li{margin-bottom:14px}
.syj-minglu .syj-minglu__clear{margin:12px 0 0;font-size:13px}
.syj-minglu .syj-minglu__sort{margin:24px 0}
.syj-minglu--poets .syj-theme-domain__image{aspect-ratio:3/4}
.syj-minglu--poets .syj-theme-domain__image img{aspect-ratio:3/4;object-fit:cover;width:100%;height:100%}
.syj-minglu .syj-theme-domain__foot{gap:12px;flex-wrap:wrap}
@media(max-width:600px){.syj-minglu .syj-minglu__facet{padding:20px 0}.syj-minglu .syj-minglu__theme-tree .syj-minglu__theme-tree{margin-left:7px;padding-left:7px}}

/* Only excess authors and descendant themes fold; primary facet sections stay visible. */
.syj-minglu .syj-minglu__theme-tree>li{position:relative;padding-right:32px}
.syj-minglu .syj-minglu__branch>summary{position:absolute;right:0;top:1px;display:grid;place-items:center;width:28px;height:28px;list-style:none;cursor:pointer;color:#315b68;border:1px solid #c5a67666;border-radius:5px}
.syj-minglu .syj-minglu__branch>summary::-webkit-details-marker{display:none}
.syj-minglu .syj-minglu__branch[open]>summary span{transform:rotate(180deg)}
.syj-minglu .syj-minglu__branch>summary:focus-visible,.syj-minglu .syj-minglu__more-authors>summary:focus-visible{outline:2px solid #315b68;outline-offset:3px}
.syj-minglu .syj-minglu__more-authors{margin-top:16px}
.syj-minglu .syj-minglu__more-authors>summary{display:inline-block;cursor:pointer;color:#315b68;border-bottom:1px dashed #c5a676;list-style:none;font-size:14px}
.syj-minglu .syj-minglu__more-authors .syj-minglu__when-open,.syj-minglu .syj-minglu__more-authors[open] .syj-minglu__when-closed{display:none}
.syj-minglu .syj-minglu__more-authors[open] .syj-minglu__when-open{display:inline}

/* V3.4 catalog presentation: intentionally scoped; no global rebuild. */
.syj-minglu{--minglu-blue:#315b68;--minglu-gold:#c5a676;--minglu-red:#af493e}
.syj-minglu .syj-theme-domain__intro{text-align:center;padding:35px 12px 28px;min-height:170px;display:flex;flex-direction:column;justify-content:center}
.syj-minglu .syj-theme-domain__intro h1{font-size:clamp(36px,4vw,54px);letter-spacing:.12em;color:#315b68}
.syj-minglu .syj-theme-domain__intro h1:after{content:'◇';display:block;font-size:15px;line-height:1;color:#c5a676;letter-spacing:0;margin-top:14px}
.syj-minglu .syj-theme-domain__intro p{font-weight:400;font-size:15px;letter-spacing:.12em;color:#8e6b37;margin-top:10px}
.syj-minglu .syj-minglu__modes{justify-content:center;gap:12px;margin:0 auto 32px}
.syj-minglu .syj-minglu__modes a{justify-content:center;min-width:150px;min-height:50px;padding:8px 32px;font-size:18px;border:1px solid #c5a676;border-radius:5px;background:#f8f5ed;color:#315b68}
.syj-minglu .syj-minglu__modes a[aria-current=page]{background:#315b68;color:white;border-color:#c5a676}
.syj-minglu .syj-minglu__filters{margin:0;display:block;border-top:1px solid #c5a67670}
.syj-minglu .syj-minglu__facet{display:grid;grid-template-columns:85px minmax(0,1fr);column-gap:14px;align-items:start;padding:15px 0;border-color:#c5a67655}
.syj-minglu .syj-minglu__facet h2{font-size:15px;line-height:32px;margin:0;font-weight:700;color:#315b68}
.syj-minglu .syj-minglu__facet>.syj-theme-domain__tags,.syj-minglu .syj-minglu__facet>.syj-minglu__theme-tree{margin:0;gap:5px 9px;min-width:0}
.syj-minglu .syj-minglu__facet .syj-theme-domain__tags a,.syj-minglu .syj-minglu__theme-tree a{border:1px solid transparent;background:transparent;border-radius:3px;font-weight:400;min-height:30px;padding:3px 8px;line-height:22px;color:#315b68}
.syj-minglu .syj-minglu__facet a:hover{color:#af493e;border-color:#c5a676}
.syj-minglu .syj-minglu__facet a[aria-current=true]{background:#315b68;color:white;border-color:#c5a676}
.syj-minglu .syj-minglu__facet>.syj-minglu__theme-tree{display:flex;flex-wrap:wrap;align-items:flex-start}
.syj-minglu .syj-minglu__facet>.syj-minglu__theme-tree>li{margin:0;min-height:30px;padding-right:28px}
.syj-minglu .syj-minglu__branch>summary{width:24px;height:26px;top:2px}
.syj-minglu .syj-minglu__facet .syj-minglu__clear,.syj-minglu .syj-minglu__facet>p,.syj-minglu .syj-minglu__facet>.syj-theme-domain__tags~.syj-theme-domain__tags{grid-column:2}
.syj-minglu .syj-minglu__toggle{grid-column:2;justify-self:end;cursor:pointer;border:0;background:transparent;color:#8e6b37;padding:5px 8px;font:inherit;font-size:14px}
.syj-minglu .syj-minglu__toggle:hover{color:#af493e}.syj-minglu .syj-minglu__toggle:focus-visible{outline:2px solid #315b68;outline-offset:2px}
.syj-minglu .syj-minglu__facet [hidden]{display:none!important}
.syj-minglu .syj-theme-domain__children{margin-top:22px}.syj-minglu .syj-theme-domain__children h2{font-size:16px}
.syj-minglu .syj-theme-domain__children .syj-theme-domain__tags a.syj-minglu__clear-all{color:#af493e;border-color:transparent;background:transparent;padding-inline:8px;font-weight:600;text-decoration:none}
.syj-minglu .syj-theme-domain__children .syj-theme-domain__tags a.syj-minglu__clear-all:hover{color:#87352e;border-color:transparent;text-decoration:underline;text-underline-offset:3px}

.syj-minglu .syj-minglu__sort{justify-content:flex-end;margin:20px 0 0}.syj-minglu .syj-theme-domain__works{margin-top:14px}
@media(max-width:600px){.syj-minglu .syj-theme-domain__intro{min-height:130px;padding:20px 5px}.syj-minglu .syj-theme-domain__intro h1{font-size:34px}.syj-minglu .syj-minglu__modes a{min-width:0;flex:1;padding:8px}.syj-minglu .syj-minglu__facet{grid-template-columns:62px minmax(0,1fr);gap:8px;padding:12px 0}.syj-minglu .syj-minglu__toggle{font-size:13px}}
@media(prefers-reduced-motion:reduce){.syj-minglu *{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:600px){.syj-minglu .syj-minglu__facet{grid-template-columns:74px minmax(0,1fr)}.syj-minglu .syj-minglu__facet h2{font-size:14px;white-space:nowrap}}

.syj-minglu>.syj-minglu__filters>.syj-minglu__facet>.syj-minglu__theme-tree{display:flex;flex-wrap:wrap}.syj-minglu>.syj-minglu__filters>.syj-minglu__facet>.syj-minglu__theme-tree>li{flex:0 0 auto}.syj-minglu>.syj-minglu__filters>.syj-minglu__facet>.syj-minglu__theme-tree>li:has(>details[open]){flex-basis:100%}

/* 名录卷首：标题装饰与双题签。 */
.syj-minglu .syj-theme-domain__intro{position:relative;isolation:isolate;overflow:hidden;min-height:250px;padding:60px 12px 30px}
.syj-minglu .syj-theme-domain__intro:before{content:"";position:absolute;top:12px;left:50%;width:min(420px,76%);height:46px;transform:translateX(-50%);background:url('../images/minglu-title-cloud.svg') center/contain no-repeat;pointer-events:none}
.syj-minglu .syj-theme-domain__intro h1{display:flex;align-items:center;justify-content:center;gap:24px;font-size:clamp(42px,5vw,66px);letter-spacing:.15em;line-height:1.3}
.syj-minglu .syj-theme-domain__intro h1:before,.syj-minglu .syj-theme-domain__intro h1:after{content:"";display:block;flex:0 1 115px;height:25px;margin:0;background:url('../images/minglu-title-flourish.svg') center/contain no-repeat}
.syj-minglu .syj-theme-domain__intro h1:after{transform:scaleX(-1)}
.syj-minglu .syj-theme-domain__intro p{color:#62736b;font-size:16px;letter-spacing:.08em;margin-top:14px}
.syj-minglu .syj-minglu__modes{display:flex;gap:0;width:min(440px,100%);height:auto;aspect-ratio:5/1;margin:4px auto 36px;background:url('../images/minglu-tab-v37-left.svg?v=20261118v37') center/100% 100% no-repeat}
.syj-minglu .syj-minglu__modes:has(a:nth-child(2)[aria-current=page]){background-image:url('../images/minglu-tab-v37-right.svg?v=20261118v37')}
.syj-minglu .syj-minglu__modes a,.syj-minglu .syj-minglu__modes a[aria-current=page]{position:relative;display:flex;flex:1;min-width:0;min-height:0;margin:0;padding:0 20px;border:0;border-radius:0;background:transparent;color:#315b68;font-size:21px;letter-spacing:.1em}
.syj-minglu .syj-minglu__modes a[aria-current=page]{color:#fff}
.syj-minglu .syj-minglu__modes a:hover:not([aria-current=page]){color:#af493e}
.syj-minglu .syj-minglu__modes a:focus-visible{outline:2px solid #af493e;outline-offset:2px}
@media(max-width:600px){.syj-minglu .syj-theme-domain__intro{min-height:190px;padding:52px 4px 24px}.syj-minglu .syj-theme-domain__intro:before{top:9px;height:35px}.syj-minglu .syj-theme-domain__intro h1{gap:8px;font-size:clamp(30px,9vw,38px);letter-spacing:.09em}.syj-minglu .syj-theme-domain__intro h1:before,.syj-minglu .syj-theme-domain__intro h1:after{flex-basis:42px;height:16px}.syj-minglu .syj-theme-domain__intro p{font-size:13px;letter-spacing:.02em}.syj-minglu .syj-minglu__modes{width:min(340px,100%);margin-bottom:28px}.syj-minglu .syj-minglu__modes a,.syj-minglu .syj-minglu__modes a[aria-current=page]{font-size:18px}}


/* 题签细修：保留标题两侧卷纹。 */
.syj-minglu .syj-theme-domain__intro{min-height:210px;padding:38px 12px 26px}
.syj-minglu .syj-theme-domain__intro:before{display:none}
@media(max-width:600px){.syj-minglu .syj-theme-domain__intro{min-height:160px;padding:28px 4px 20px}}

/* 名录题签字重与筛选选中态。 */
.syj-minglu .syj-minglu__modes a,.syj-minglu .syj-minglu__modes a[aria-current=page]{font-weight:700}
.syj-minglu .syj-minglu__facet a[aria-current=true],.syj-minglu .syj-minglu__facet a[aria-current=true]:hover{background:#315b68;border-color:#315b68;color:#fff}

/* 诗人筛选字号；作用域不影响作品名录。 */
.syj-minglu--poets .syj-minglu__facet h2{font-size:17px}
.syj-minglu--poets .syj-minglu__facet .syj-theme-domain__tags a{font-size:16px}
.syj-minglu--poets .syj-minglu__toggle{font-size:15px}
@media(max-width:600px){.syj-minglu--poets .syj-minglu__facet{grid-template-columns:76px minmax(0,1fr)}.syj-minglu--poets .syj-minglu__facet h2{font-size:16px}}

.syj-minglu .syj-minglu__poet-works{margin-left:auto}

.syj-minglu--poets .syj-theme-domain__verse{font-weight:400}

.syj-minglu .syj-minglu__filters > .syj-minglu__facet:last-child{border-bottom:0}

/* 作品名录：主题按文字页签逐级浏览，展开按钮与选项同行。 */
.syj-minglu .syj-minglu__facet:has(> .syj-minglu__toggle:not([hidden])){grid-template-columns:85px minmax(0,1fr) auto}
.syj-minglu .syj-minglu__facet>.syj-minglu__toggle{grid-column:3;grid-row:1;align-self:start;margin-left:5px;padding:5px 2px 5px 14px;border-left:1px solid #d7c3a4;white-space:nowrap;font-size:14px}
.syj-minglu .syj-minglu__toggle::after{content:'⌄';display:inline-block;margin-left:6px;color:#8e6b37}
.syj-minglu .syj-minglu__toggle[aria-expanded=true]::after{transform:rotate(180deg)}
.syj-minglu:not(.syj-minglu--poets) .syj-minglu__facet .syj-theme-domain__tags a,.syj-minglu:not(.syj-minglu--poets) .syj-minglu__theme-tree a{font-size:16px}
.syj-minglu .syj-minglu__theme-area{grid-column:2;min-width:0}
.syj-minglu .syj-minglu__theme-area .syj-minglu__theme-tree{display:flex;flex-wrap:wrap;gap:5px 9px;list-style:none;padding:0;margin:0}
.syj-minglu .syj-minglu__theme-area .syj-minglu__theme-tree>li{position:static;flex:0 0 auto;padding:0;margin:0;min-height:30px}
.syj-minglu .syj-minglu__theme-roots>li:not(:first-child)>a:is([aria-current=true],.is-ancestor){color:#315b68;background:transparent;border-color:transparent;border-bottom:2px solid #315b68;border-radius:0;font-weight:600}
.syj-minglu .syj-minglu__theme-area .syj-minglu__theme-children{margin-top:8px;padding:4px 9px;background:#f1e5d3;border-radius:4px;gap:3px 6px}
.syj-minglu .syj-minglu__theme-children>li+li{border-left:1px solid #c5a67688;padding-left:6px}
@media(max-width:600px){.syj-minglu .syj-minglu__facet:has(> .syj-minglu__toggle:not([hidden])){grid-template-columns:74px minmax(0,1fr) auto}.syj-minglu .syj-minglu__facet>.syj-minglu__toggle{padding-left:8px;font-size:13px}.syj-minglu:not(.syj-minglu--poets) .syj-minglu__facet .syj-theme-domain__tags a,.syj-minglu:not(.syj-minglu--poets) .syj-minglu__theme-tree a{font-size:15px}}

@media(max-width:600px){.syj-minglu:not(.syj-minglu--poets) .syj-minglu__facet:has(> .syj-minglu__toggle:not([hidden])) .syj-minglu__theme-children{width:calc(100% + 83px);max-width:calc(100vw - 116px)}}

/* 作品名录：选中项直接取消；细分主题保持轻简。 */
.syj-minglu .syj-minglu__theme-roots>li:not(:first-child)>a[aria-current=true],.syj-minglu .syj-minglu__theme-roots>li:not(:first-child)>a[aria-current=true]:hover{color:#fff;background:#315b68;border-color:#315b68;border-radius:3px}
.syj-minglu .syj-minglu__theme-area .syj-minglu__theme-children{background:transparent;padding:4px 0;gap:3px 6px}
.syj-minglu .syj-minglu__theme-children>li+li{border-left:0;padding-left:0}
.syj-minglu .syj-minglu__theme-children a{font-size:15px!important}
@media(max-width:600px){.syj-minglu .syj-minglu__theme-children a{font-size:14px!important}}

/* 筛选选项略微缩小，保留标题与层级区分。 */
.syj-minglu .syj-minglu__facet .syj-theme-domain__tags a,.syj-minglu .syj-minglu__theme-tree a{font-size:15px!important}
.syj-minglu .syj-minglu__theme-children a{font-size:14px!important}
@media(max-width:600px){.syj-minglu .syj-minglu__facet .syj-theme-domain__tags a,.syj-minglu .syj-minglu__theme-tree a{font-size:14px!important}.syj-minglu .syj-minglu__theme-children a{font-size:13px!important}}

/* 标题组与题签上下留白保持一致。 */
.syj-minglu .syj-theme-domain__intro{justify-content:flex-end;padding-bottom:32px}
.syj-minglu .syj-minglu__modes{margin-top:16px;margin-bottom:48px}
@media(max-width:600px){.syj-minglu .syj-theme-domain__intro{padding-bottom:24px}.syj-minglu .syj-minglu__modes{margin-top:12px;margin-bottom:36px}}

/* 仅具体筛选项选中时使用朱红，保留全部与条件汇总的原样式。 */
.syj-minglu .syj-minglu__facet a[data-option-id][aria-current=true],.syj-minglu .syj-minglu__facet a[data-option-id][aria-current=true]:hover,.syj-minglu .syj-minglu__facet .syj-minglu__theme-roots>li:not(:first-child)>a[data-option-id][aria-current=true]{background:#af493e;border-color:#af493e;color:#fff}

/* 复用 V3.7 路径：未选中题签主动悬停时显示朱红。 */
@media(hover:hover) and (pointer:fine){.syj-minglu .syj-minglu__modes:has(a:nth-child(1):hover:not([aria-current=page])){background-image:url('../images/minglu-tab-v37-hover-left.svg')}.syj-minglu .syj-minglu__modes:has(a:nth-child(2):hover:not([aria-current=page])){background-image:url('../images/minglu-tab-v37-hover-right.svg')}.syj-minglu .syj-minglu__modes a:hover:not([aria-current=page]){color:#fff}}
.syj-minglu .syj-minglu__modes:has(a:nth-child(1):focus-visible:not([aria-current=page])){background-image:url('../images/minglu-tab-v37-hover-left.svg')}
.syj-minglu .syj-minglu__modes:has(a:nth-child(2):focus-visible:not([aria-current=page])){background-image:url('../images/minglu-tab-v37-hover-right.svg')}
.syj-minglu .syj-minglu__modes a:focus-visible:not([aria-current=page]){color:#fff}

/* Keep pagination results visible below the site header. */
.syj-minglu #minglu-results{scroll-margin-top:100px}

/* Keep the existing flourishes around a wrap-friendly title, with each star tied to its label. */
.syj-minglu .syj-minglu__title-copy {
  min-inline-size: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.syj-minglu .syj-minglu__title-part {
  display: inline-block;
  max-inline-size: 100%;
}
.syj-minglu .syj-theme-domain__intro .syj-minglu__combination-title {
  gap: clamp(6px, 1.2vw, 16px);
  font-size: clamp(25px, 4vw, 52px);
  letter-spacing: .04em;
}
.syj-minglu .syj-minglu__combination-title::before,
.syj-minglu .syj-minglu__combination-title::after {
  flex-basis: clamp(20px, 5vw, 88px);
}
.syj-minglu .syj-minglu__title-star {
  display: inline-block;
  width: .32em;
  margin-inline: .1em .32em;
  color: #b3986f;
  vertical-align: .10em;
}
.syj-minglu .syj-minglu__title-star svg { display: block; width: 100%; height: auto; }
.syj-minglu .syj-minglu__title-mode {
  display: block;
  margin-top: .45em;
  font-size: .52em;
}
