:root {
  color-scheme: dark;
  --ink: #1c2222;
  --paper: #ecdfc8;
  --muted: #bcb7a9;
  --rail: clamp(208px, 15.8vw, 268px);
  --serif: 'Gallery Text', 'Source Han Serif SC', 'Noto Serif CJK SC', 'Songti SC', 'Microsoft YaHei', serif;
  --display: 'Gallery Brush', 'KaiTi', 'STKaiti', var(--serif);
  --roman: 'Gallery Roman', 'Baskerville', 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-track { background: #1b2423; border-inline: 1px solid #9f88543d; }
::-webkit-scrollbar-thumb {
  min-height: 42px; border: 3px solid #1b2423; border-radius: 8px;
  background: linear-gradient(90deg, #887650, #cbb389 46%, #9b8560);
}
::-webkit-scrollbar-thumb:hover { background: #d1b68a; }
::-webkit-scrollbar-thumb:active { background: #efc98d; }
::-webkit-scrollbar-corner { background: #1b2423; }
@supports not selector(::-webkit-scrollbar) {
  html, .rail { scrollbar-color: #b39a70 #1b2423; scrollbar-width: thin; }
}
body { margin: 0; min-height: 100vh; background: var(--ink); color: var(--paper); font: 16px/1.65 var(--serif); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:is(a,button):focus-visible { outline: 2px solid #f2d59a; outline-offset: 4px; }
::selection { background: #ac8e59; color: #111a1a; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; transform: translateY(-160%); padding: 8px 15px; background: var(--paper); color: var(--ink); }
.skip-link:focus { transform: none; }
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 3; isolation: isolate;
  display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden;
  border-right: 1px solid #af987258;
  background: linear-gradient(147deg, #151919 5%, #202626 68%, #2c3635);
}
.brand { display: block; flex: none; width: 84%; margin: clamp(22px,3.1vh,36px) auto 0; }
.brand img { display: block; width: 100%; height: auto; }
.brand:hover { filter: brightness(1.12); }
#navigation { display: grid; gap: clamp(4px, .8vh, 10px); margin: clamp(32px, 5.7vh, 63px) 0 30px; }
#navigation > [data-page] { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(40px, 5vh, 51px); gap: clamp(11px, .85vw, 16px); padding: 7px 12px 7px 15%; font-size: clamp(1rem, 1.03vw, 1.13rem); color: #d6cfbf; white-space: nowrap; }
#navigation > [data-page="notice"], #navigation > [data-page="commission"] { margin-top: clamp(4px, .8vh, 10px); }
#navigation > [data-page] i { font: 500 .99em/1 var(--roman); letter-spacing: .035em; }
#navigation canvas, .drawn-icon { width: 21px; height: 21px; flex: 0 0 auto; color: #b9aa90; }
#navigation > [data-page]::before {
  content: ''; position: absolute; z-index: -1; inset: 0 0 0 6%; opacity: 0;
  background: linear-gradient(93deg, #b49976cf, #967e5f98 46%, #a08b6922 85%, transparent);
  clip-path: polygon(0 50%, 4% 19%, 8% 12%, 10% 3%, 93% 3%, 100% 15%, 96% 32%, 100% 47%, 97% 63%, 100% 88%, 80% 95%, 10% 97%, 7% 85%, 4% 82%); transition: opacity .18s;
}
#navigation > [data-page]:is([aria-current],.current-author), #navigation > [data-page]:hover { color: #fff0da; }
#navigation > [data-page]:is([aria-current],.current-author)::before { opacity: 1; }
#navigation > [data-page]:is([aria-current],.current-author) canvas { color: #f9ebd3; }
#navigation > [data-page]:not([aria-current],.current-author):hover::before { opacity: .35; }
#navigation > [data-page]:focus-visible { outline-offset: -3px; }
#navigation > button {
  text-align: left; background: none; border: 0;
}
#navigation > button::after {
  content: ''; width: 7px; height: 7px; margin: 0 7% 3px auto;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .18s ease;
}
#navigation > button[aria-expanded="true"]::after { transform: translateY(3px) rotate(225deg); }
.sponsor-menu:not([hidden]) { display: grid; margin: 0 8% 0 calc(15% + 10px); border-left: 1px solid #bb9b6459; }
.sponsor-item {
  position: relative; padding: 7px 6px 7px clamp(21px,1.7vw,31px);
  font-size: .96rem; letter-spacing: .09em; color: #d3c9b7; text-shadow: 0 1px 4px #111;
}
.sponsor-item::before {
  content: ''; position: absolute; left: -4px; top: calc(50% - 4px);
  width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid #ac956d; background: #202626;
}
.sponsor-item:is(:hover,:focus-visible,[aria-current]) { color: #ffe2a8; background: linear-gradient(90deg,#bd975423,transparent); }
.sponsor-item[aria-current]::before { background: #edc585; box-shadow: 0 0 9px #eeb76266; }
@media (min-width: 681px) and (max-height: 790px) {
  #navigation { margin-block: 24px; gap: 4px; }
  .sponsor-item { padding-block: 5px; }
}
.rail-landscape { position: absolute; z-index: -1; inset: auto 0 0; height: 48%; pointer-events: none; background: url('d745cdae13e9743afb21.webp') 47% bottom / cover no-repeat; opacity: .88; filter: brightness(.85); mask-image: linear-gradient(0deg, #000 3%, #000 48%, #0007 75%, transparent); }
.rail::after { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 58px; background: url('e966d139728c2b212be2.webp') center top / 124% 97px no-repeat; transform: scaleX(-1); opacity: .53; pointer-events: none; }

main { position: relative; margin-left: var(--rail); min-height: 100vh; isolation: isolate; }
main:focus { outline: none; }
main::before { content: ''; position: fixed; inset: 0 0 0 var(--rail); z-index: -2; pointer-events: none; background: linear-gradient(100deg, #151b1ceb 2%, #192021dd 49%, #1c222292 89%), url('8d4cef426595f20af0e3.webp') 69% 28% / cover no-repeat; }
main:not([data-view="home"])::after { content: ''; pointer-events: none; position: fixed; top: -65px; left: var(--rail); z-index: -1; width: clamp(210px, 21vw, 370px); height: 155px; background: url('e966d139728c2b212be2.webp') left / 100% 100% no-repeat; opacity: .54; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: #c0ad90; font-size: .94rem; font-weight: 400; letter-spacing: .17em; }
.eyebrow::before, .ink-rule { content: ''; height: 1px; background: linear-gradient(90deg, #b39a7366, #c6ac84aa); }
.eyebrow::before { width: 36px; }

.inner-page { max-width: 1510px; margin: 0 auto; padding: clamp(36px, 5.6vh, 72px) clamp(35px, 5vw, 92px) 62px; }
.section-head { margin-bottom: 22px; }
.section-head .eyebrow { font: 500 18px/1.15 var(--roman); letter-spacing: .22em; color: #c7b393; }
.section-title { margin: 12px 0 0; font: 400 clamp(42px, 3.8vw, 68px)/1.15 var(--display); color: #ecdfc9; }
.collection-nav { display: flex; align-items: stretch; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 25px; border-bottom: 1px solid #ae95674d; }
.collection-tab { position: relative; display: inline-flex; align-items: center; padding: 8px 6px 10px; color: #c0b8a8; font-size: 1rem; letter-spacing: .07em; }
.collection-tab[aria-current] { color: #f1d9b2; }
.collection-tab[aria-current]::after { content: ''; position: absolute; bottom: -1px; height: 2px; inset-inline: 0; background: #d1b185; }
.collection-tab:hover { color: #f5e4c8; }
[data-view="portraits"] .section-head { display: grid; grid-template-columns: 1fr auto; align-items: center; }
[data-view="portraits"] .section-title { grid-area: 1 / 1; margin: 0; }
.portrait-author { margin-right: .15em; font: 500 .96em/1 var(--roman); letter-spacing: .025em; }
[data-view="mods"] .section-title { margin-top: 0; }
.workshop-hint { grid-area: 2 / 1 / 3 / -1; margin: 12px 0 4px; color: #d7cbb8; font-size: clamp(1rem,1.1vw,1.2rem); }
.workshop-hint strong { color: #f0ce96; font-weight: 400; letter-spacing: .05em; }
[data-view="mods"] .workshop-hint strong { margin-inline-start: .25em; }
.author-nav {
  grid-area: 1 / 2; gap: 0; margin: 0; padding: 3px;
  background: #162020ed; border: 1px solid #ad9268; box-shadow: 0 4px 18px #0b131336;
}
.author-nav .collection-tab {
  justify-content: center; gap: 9px; min-width: clamp(106px, 9vw, 148px); padding: 10px 16px;
  font: 500 21px/1.15 var(--roman); letter-spacing: .09em;
}
.author-nav .drawn-icon { color: inherit; width: 19px; height: 19px; }
.author-nav .collection-tab:hover { background: #ae956722; }
.author-nav .collection-tab[aria-current] { color: #1c2521; background: linear-gradient(115deg,#c7ad85,#ead7b6,#ccb289); }
.author-nav .collection-tab[aria-current]::after { display: none; }
.author-nav .collection-tab:focus-visible { outline-offset: 1px; z-index: 1; }
.cover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 23px; }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; gap: 26px; }
.catalog-card { min-width: 0; margin: 0; }
.catalog-frame { position: relative; padding: 4px; border: 1px solid #ac936b94; background: #162020; box-shadow: 0 6px 16px #0e151544; }
.catalog-frame::before::before { content: ''; position: absolute; z-index: 1; inset: -1px; pointer-events: none; background: linear-gradient(#e0c69a,#e0c69a) left top / 17px 1px, linear-gradient(#e0c69a,#e0c69a) left top / 1px 13px, linear-gradient(#cead7a,#cead7a) right bottom / 17px 1px, linear-gradient(#cead7a,#cead7a) right bottom / 1px 13px; background-repeat: no-repeat; }
.catalog-art { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain; background: #202323; }
.catalog-caption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 13px; padding-top: 10px; }
.catalog-name { margin: 0; color: #eee1c9; font: 400 clamp(17px, 1.26vw, 24px)/1.45 var(--serif); }
.catalog-credit { color: #d6bd93; font-size: .94rem; }
.catalog-subject { color: #b4ad9d; font-size: .85rem; }
.catalog-status { color: #dcad9c; font-size: .84rem; }
.feature-grid .catalog-card { position: relative; }
.feature-grid .catalog-frame { transition: border-color .18s, box-shadow .18s; }
.mod-open {
  margin-left: auto; padding: 3px 2px 3px 8px; border: 0; background: none;
  color: #dfc49a; font-size: .9rem; letter-spacing: .08em; -webkit-tap-highlight-color: transparent;
}
.mod-open::before { content: ''; position: absolute; inset: 0; z-index: 2; }
.mod-open::after {
  content: ''; display: inline-block; width: .42em; height: .42em; margin: 0 .18em .1em .6em;
  border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg);
}
.mod-open:focus-visible { outline: none; }
.mod-open:focus-visible::before { outline: 2px solid #f2d59a; outline-offset: 4px; }
.feature-grid .catalog-card:is(:hover,:focus-within,:active) .catalog-frame { border-color: #f1d095; box-shadow: 0 5px 22px #b796542e; }
.feature-grid .catalog-card:is(:hover,:focus-within) .mod-open { color: #fff0ce; }
/* 开关介绍框时保持列表宽度，避免底部卡片随滚动条跳动。 */
html:has(.mod-dialog) { scrollbar-gutter: stable; }
html:has(.mod-dialog[open]) { overflow: hidden; }
.mod-dialog {
  width: min(1080px, 92vw); max-height: 90svh; padding: 0; overflow: hidden;
  color: var(--paper); border: 1px solid #c3a778; background: #202a29;
  box-shadow: 0 22px 75px #0009;
}
.mod-dialog[open] { display: flex; flex-direction: column; animation: gallery-rise .2s ease-out; }
.mod-dialog::backdrop { background: #090f10bf; backdrop-filter: blur(5px); }
.mod-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 15px 12px 24px; border-bottom: 1px solid #af92635c;
  background: linear-gradient(100deg,#202b29,#22302ce0),url('f0d73b5b7596edc35e79.webp') center 68% / cover;
}
.mod-title { margin: 0; font: 400 clamp(20px, 2vw, 29px)/1.4 var(--serif); }
.mod-close { flex: none; width: 38px; height: 38px; background: transparent; border: 1px solid #af92636e; color: #e5c99e; font: 26px/1 Georgia,serif; }
.mod-close:hover { background: #ad92682e; color: white; }
.mod-body {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 3vw, 42px);
  padding: 24px 28px 28px; overflow: auto; overscroll-behavior: contain; overflow-wrap: anywhere;
}
.mod-body:focus-visible { outline: 1px solid #f2d59a; outline-offset: -3px; }
.mod-overview { align-self: start; }
@media (min-width: 821px) and (min-height: 760px) {
  .mod-overview { position: sticky; top: 0; }
}
.mod-cover { display: block; width: 100%; height: auto; border: 1px solid #b99f736e; margin-bottom: 18px; }
.mod-overview .eyebrow { flex-wrap: wrap; gap: 6px 10px; letter-spacing: .08em; color: #debf90; }
.mod-overview .eyebrow::before { width: 24px; }
.mod-version { margin-left: auto; padding: 1px 9px; border: 1px solid #b79a635e; color: #ebd9b9; letter-spacing: .04em; }
.mod-description { margin: 10px 0 0; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.mod-note { margin: 12px 0 0; color: #c2cebf; }
.mod-notice { margin-top: 20px; padding: 13px 16px; background: #b6794520; border-left: 2px solid #c89364; }
.mod-notice h3 { margin: 0; color: #f2c79b; font: 400 1.07rem/1.5 var(--serif); }
.mod-notice p { margin: 6px 0 0; color: #ecdfcf; line-height: 1.8; }
.mod-sections { line-height: 1.85; color: #e1dacd; }
.mod-sections section + section { margin-top: 23px; }
.mod-sections .subhead { margin-bottom: 12px; color: #eed2a2; font-size: 1.35rem; }
.mod-sections p { margin: 0; }
.mod-sections p + p { margin-top: 9px; }
.mod-sections ol { margin: 0; padding-left: 2.1em; }
.mod-sections li { padding-left: .15em; }
.mod-sections li + li { margin-top: 10px; }
.mod-sections li::marker { color: #d4b47f; content: counter(list-item) '、'; }
.workshop-link { display: flex; align-items: center; justify-content: center; gap: .55em; }
.workshop-link::after { content: '↗'; font: 1em/1 system-ui; }
.access-note { margin: 6px 0 0; text-align: center; color: #c7c4b8; font-size: .82rem; line-height: 1.55; }
.mod-overview .workshop-entry { margin: -5px 0 19px; }
.mod-overview .workshop-link {
  min-height: 45px; padding: 8px 12px; letter-spacing: .07em; color: #ffe4ae;
  background: linear-gradient(105deg,#293731,#38453b 50%,#293731);
  border: 1px solid #c4a46d; outline: 1px solid #dbb97955; outline-offset: -4px;
}
.mod-overview .workshop-link:is(:hover,:focus-visible) {
  background: #e4c692; color: #14221f; outline-color: #594527;
}
.tutorial-link {
  display: flex; align-items: center; justify-content: center; gap: .75em; margin-top: 20px; padding: 10px 14px;
  color: #f0d7ab; border: 1px solid #b99865; background: #b99a5c16;
}
.tutorial-link::after { content: '↗'; font-family: system-ui; }
.tutorial-link:is(:hover,:focus-visible) { color: #17201f; background: #dfc59c; }
main:not([data-view])::before, main[data-view="home"]::before { content: none; }
.joint-collection { margin-top: 40px; }
.subhead { display: flex; align-items: center; gap: 17px; margin: 0 0 18px; color: #e6d6bc; font: 400 23px/1.35 var(--serif); }
.subhead::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #b89b766e, transparent); }
.issue-nav { margin-bottom: 30px; }
.style-page { max-width: 1600px; padding-top: clamp(24px, 4vh, 50px); container-type: inline-size; }
/* 题字与说明落在左侧墨色上，右上保留各宗门的主景。切换栏目时恢复通用月景。 */
main.has-scene::before {
  background:
    linear-gradient(90deg,#101919dd 0%,#101919a6 36%,#101919a6 57%,transparent 76%),
    linear-gradient(180deg,#10191a1c 0%,#10191a17 24%,#10191a85 51%,#10191aba 100%),
    var(--scene) right top / cover no-repeat, #182321;
}

.style-period { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.style-period .issue-nav { margin: 0; gap: 10px; border: 0; }
.style-period .collection-tab { padding: 1px 9px; font-size: .9rem; }
.style-period .collection-tab[aria-current] { border: 1px solid #ae7257; color: #ffc397; background: #672d2394; }
.style-period .collection-tab[aria-current]::after { display: none; }
.style-page .section-title { display: flex; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: clamp(40px,3.35vw,58px); }
.issue-overview { max-width: 1190px; }
.pack-intro {
  margin: 0 0 26px; padding-left: 18px; border-left: 2px solid #c7a66c;
  white-space: pre-line; font-size: clamp(16px,1.14vw,20px); line-height: 1.95;
  color: #f1e4ce; text-shadow: 0 2px 7px #101616;
}
.issue-covers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px,2vw,32px); }
.issue-card {
  display: block; border: 1px solid #ae9267; background: linear-gradient(110deg,#25332f,#161f20);
  box-shadow: 0 10px 28px #060d0e55;
}
.issue-card:is(:hover,:focus-visible) { border-color: #ffe2a6; background: linear-gradient(110deg,#39433a,#24302b); }
.issue-art { position: relative; aspect-ratio: 5 / 3; }
.sponsor-cover-art { display: block; width: 100%; height: 100%; object-fit: contain; }
.issue-caption { display: flex; align-items: center; gap: 1em; padding: 11px 4%; color: #c9b997; border-top: 1px solid #b998625c; }
.issue-caption strong { margin-right: auto; font-size: clamp(17px,1.4vw,23px); font-weight: 400; letter-spacing: .09em; color: #f4ddaf; }
.issue-caption .button-arrow { margin-right: 4px; }
.back-to-issue { color: #ddc69e; margin-left: 5px; padding-left: 17px; border-left: 1px solid #bb9c6b66; font-size: .94rem; }
.back-to-issue:hover { color: #ffedc9; text-decoration: underline; text-underline-offset: .3em; }
.style-page:has(.theme-title) .section-head { margin-bottom: 12px; }
.style-page .theme-title { margin-top: 15px; }
.style-page .theme-title.has-lettering { font-size: 0; }
.theme-lettering { display: none; height: clamp(66px,5.7vw,96px); max-width: 100%; object-fit: contain; object-position: left; filter: drop-shadow(0 2px 5px #101315); }
.has-lettering .theme-lettering { display: block; }
.theme-intro {
  width: min(70%, 52em); margin: 0 0 clamp(23px,3.4vh,38px);
  font-size: clamp(16px,1.04vw,19px); line-height: 1.87; color: #efe5d4;
  text-shadow: 0 1px 4px #090e0f,0 1px 11px #090e0f;
}
.theme-intro p { margin: .38em 0 0; text-wrap: pretty; }
.theme-quote { margin: 0 0 .6em; color: #f3d298; font-size: clamp(18px,1.29vw,23px); line-height: 1.65; letter-spacing: .08em; }
.theme-quote::before { content: ''; display: inline-block; width: 1.9em; height: 1px; vertical-align: .32em; margin-right: .72em; background: linear-gradient(90deg,#b48d50,#f5d9a1); }
.form-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,1.6vw,30px); }
@container (min-width: 1300px) {
  .form-gallery:has(.form-row:nth-child(3)) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.form-row {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 4fr 3fr 3fr; container-type: inline-size;
  border: 1px solid #b69968; background: #182120; box-shadow: 0 10px 30px #080e104d;
}
.form-row::after { content: ''; position: absolute; inset: 5px; border: 1px solid #e1c38a45; pointer-events: none; }
.character-name {
  position: absolute; z-index: 2; top: 0; left: 1.9%; margin: 0;
  writing-mode: vertical-rl; text-orientation: upright; white-space: nowrap;
  font: 400 clamp(13px,3.75cqw,23px)/1.2 var(--serif); letter-spacing: .14em;
  width: 2.16em; padding: 1.36em .48em 2.42em; color: #ffebbd;
  filter: drop-shadow(0 2px 3px #050c0dc4); text-shadow: 0 1px 2px #04100f;
}
/* 只拉伸玉牌中段，保留上下纹样和朱珠流苏的比例。 */
.character-name::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-image: url('05c4205901848a2a3c55.svg') 38 12 66 fill / 1.368em .432em 2.376em stretch;
}
.name-title { color: #f1bc92; font-size: .76em; letter-spacing: .1em; }
.form-panel { position: relative; margin: 0; min-width: 0; }
.form-row > .form-panel + .form-panel::before {
  content: ''; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 1px; pointer-events: none;
  background: linear-gradient(#d8b77785,#f4d89bc7 36%,#e6c38dab 75%,#d8b77785);
  box-shadow: 1px 0 #0e151736;
}
.form-art { display: block; width: 100%; height: auto; aspect-ratio: 3 / 5; }
.form-row > .form-panel:first-of-type .form-art { aspect-ratio: 4 / 5; }
.form-panel figcaption {
  position: absolute; bottom: 5%; width: 100%; display: flex; align-items: center; justify-content: center; gap: .8em;
  color: #eadfcf; font-size: clamp(12px,2.65cqw,17px); letter-spacing: .16em; text-shadow: 0 1px 5px #000;
}
.form-row > .form-panel:first-of-type figcaption { color: #ffe2aa; font-size: clamp(15px,3.25cqw,21px); }
.form-row > .form-panel:first-of-type figcaption::before, .form-row > .form-panel:first-of-type figcaption::after {
  content: ''; width: 14%; height: 1px; background: linear-gradient(90deg, transparent, #deb97d);
}
.form-row > .form-panel:first-of-type figcaption::after { transform: rotate(180deg); }
.two-forms { grid-template-columns: 1fr 1fr; }
.two-forms .form-art, .form-row.two-forms > .form-panel:first-of-type .form-art { aspect-ratio: 1; }
/* 四形态沿用整组 2:1 的画幅，主形态仍占四成。 */
.four-forms { grid-template-columns: 2fr repeat(3,1fr); }
.four-forms .form-panel:not(:first-of-type) .form-art { aspect-ratio: 2 / 5; object-fit: cover; }
.four-forms .form-panel:not(:first-of-type) figcaption { letter-spacing: .05em; font-size: clamp(12px,2.5cqw,17px); }
.style-empty { grid-column: 1 / -1; margin: 0; padding: 35px 0; color: #ded2bf; border-block: 1px solid #bfa37555; }

.intro-text, .contact-note p { margin: 0; color: #ddd4c3; font-size: 1.03rem; line-height: 1.95; }

.text-link { position: relative; color: #deccaf; padding-bottom: 2px; border-bottom: 1px solid #b4976d79; }
.text-link:hover { color: #fff1d9; border-color: #e7d1ab; }
.commission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 39px); margin: 27px 0; max-width: 1200px; }
.artist-card {
  --accent: #e0b79a; --wash: #594039; position: relative; overflow: hidden;
  border: 1px solid #ab926877; background: #202827;
  box-shadow: inset 0 0 0 4px #151c1a6b, 0 12px 28px #10161640;
}
.artist-card.musi { --accent: #bdcfc1; --wash: #3d5650; }
.artist-head {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(21px, 2.1vw, 35px); border-bottom: 1px solid #b9a17477;
  background: linear-gradient(95deg, var(--wash), #24312cc4), url('f0d73b5b7596edc35e79.webp') 57% 62% / cover;
}
.artist-card.musi .artist-head { background-position: 0 0, 17% 85%; }
.artist-head::before { content: ''; position: absolute; inset: 5px; border: 1px solid #dfc9a232; pointer-events: none; }
.artist-name { margin: 0; color: #f1e4cc; font: 500 clamp(43px, 4.2vw, 70px)/1 var(--roman); letter-spacing: .065em; }
.artist-specialty { margin: 5px 0 0; color: #e4d8c4; font-size: .95rem; letter-spacing: .055em; }
.artist-crest { width: clamp(72px, 6.1vw, 102px); aspect-ratio: 1; height: auto; color: var(--accent); }
.terms { margin: 7px clamp(18px, 1.9vw, 32px) 12px; line-height: 1.65; }
.terms > div { display: grid; grid-template-columns: max-content 1fr; align-items: baseline; gap: clamp(14px,1.4vw,25px); padding-block: 12px; }
.terms > div + div { border-top: 1px solid #a78f662d; }
.terms dt { display: inline-flex; align-items: center; gap: .55em; color: #d7c4a4; font-size: .92rem; }
.term-icon { width: 19px; height: 19px; flex: none; align-self: center; color: var(--accent); }
.terms dd { margin: 0; color: #efe5d3; }
.contact-note {
  max-width: 1200px; display: flex; align-items: start; gap: clamp(16px,1.9vw,29px); padding: 19px 25px;
  border-block: 1px solid #ae986750; background: linear-gradient(90deg, #b39d7629, #95865f0e);
}
.contact-seal { flex: none; width: 42px; height: 42px; margin-top: 3px; color: #d6b785; }
.contact-note .subhead { font-size: 21px; margin-bottom: 6px; }
.contact-note .subhead::after { display: none; }
.contact-entry { margin-top: 14px; }
.contact-entry h3 { margin: 0; color: #d6be95; font-size: 1rem; }
.contact-qr { display: block; max-width: 150px; height: auto; margin-top: 8px; }
.notice-page > :is(section,dl) { max-width: 1140px; }
.notice-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px,2vw,32px); margin: 0; }
.notice-prices > div {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 18px;
  padding: clamp(19px,1.7vw,28px) clamp(22px,2.1vw,34px);
  border: 1px solid #ad9467; outline: 1px solid #e3c38740; outline-offset: -6px;
  background: linear-gradient(100deg,#162c2bf7,#18332fbd 55%,#18232299),url('f0d73b5b7596edc35e79.webp') 10% 66% / cover;
}
.notice-prices > div + div {
  background: linear-gradient(100deg,#3b3021fa,#4b3823bd 52%,#24261ee0),url('f0d73b5b7596edc35e79.webp') 84% 41% / cover;
}
.notice-prices dt { font-size: clamp(23px,1.85vw,31px); letter-spacing: .12em; color: #f3dfbc; }
.discount-seal { display: inline-block; vertical-align: .2em; margin-left: .65em; padding: 0 .45em; border: 1px solid #b77755; color: #ffd4ab; background: #682f25cf; font-size: 15px; letter-spacing: .08em; }
.notice-prices dd { margin: 0; text-shadow: 0 1px 5px #101816; }
.notice-prices .price { grid-area: 1 / 2 / 3 / 3; color: #ffdfa3; font: 500 clamp(42px,4vw,68px)/1 var(--roman); font-variant-numeric: lining-nums; }
.price-detail { color: #f2e6d1; }
.notice-page .subhead { margin: 27px 0 12px; font-size: clamp(23px,1.85vw,30px); }
.notice-lines { margin: 0; padding-inline: clamp(16px,1.9vw,30px); background: linear-gradient(100deg,#22302feb,#1b2828c7); border-block: 1px solid #a58e666b; }
.notice-lines > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 1em; padding: 12px 0; line-height: 1.85; }
.notice-lines > div + div { border-top: 1px solid #aa93643e; }
.notice-lines dt { color: #e6c792; letter-spacing: .1em; }
.notice-lines dd { margin: 0; }
.notice-lines a { display: inline-block; margin-left: .5em; padding: 0; color: #f6cf8d; }
.limited-benefits, .art-benefits, .flower-gallery { max-width: 1140px; }
:is(.limited-benefits,.art-benefits,.flower-gallery) .subhead { font-size: clamp(26px, 2vw, 32px); letter-spacing: .04em; }
.benefit-subline { display: flex; align-items: center; gap: 14px; margin: 30px 0 14px; }
.benefit-subline .subhead { margin: 0; }
.benefit-subline .subhead::after { display: none; }
.benefit-subline::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg,#ac977266,transparent); }
.offer-deadline { margin: 0; padding: 2px 10px; border: 1px solid #a78e6469; background: #25302ded; color: #ead3ab; font-size: .95rem; letter-spacing: .05em; }
.offer-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(15px, 2vw, 30px); margin: 0; }
.offer-pair > div {
  position: relative; overflow: hidden; padding: clamp(21px, 2.3vw, 36px); min-height: 153px;
  border: 1px solid #bfa47c91; box-shadow: inset 0 0 0 4px #17232277;
  background: linear-gradient(111deg,#3d3a2ff2,#3d4034d4 58%,#2a3534ab), url('f0d73b5b7596edc35e79.webp') 12% 65% / cover;
}
.offer-pair > div + div { background: linear-gradient(111deg,#253a36f2,#2d3936e3 49%,#303d3acc), url('f0d73b5b7596edc35e79.webp') 74% 50% / cover; }
.offer-pair > div::after { content: ''; position: absolute; bottom: -19px; right: -17px; width: 108px; height: 43px; pointer-events: none; opacity: .54; background: url('e966d139728c2b212be2.webp') center / 100% 100% no-repeat; }
.offer-pair dt { margin: 0 0 13px; color: #f1d9af; font: 400 clamp(28px, 2.45vw, 40px)/1.2 var(--serif); letter-spacing: .05em; }
.offer-pair dd { margin: 0; color: #e6dccb; font-size: 1rem; line-height: 1.8; }
.art-benefits { margin-top: 31px; }
.benefit-list { margin: 0; padding: 3px 1.6em 3px 3.7em; background: linear-gradient(90deg,#293431ed,#25302fc9 67%,#25302f9e); border-block: 1px solid #a58e666b; }
.benefit-list li { padding: 15px 0 15px .32em; line-height: 1.8; color: #eadfcf; }
.benefit-list li + li { border-top: 1px solid #aa93643e; }
.benefit-list li::marker { content: counter(list-item) '、'; color: #e8c48d; font-variant-numeric: lining-nums; }
.art-benefits .cover-grid:not(.feature-grid) { margin-top: 24px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.flower-gallery { margin-top: 36px; scroll-margin-top: 32px; }
.flower-gallery .benefit-subline { margin-bottom: 6px; }
.flower-gallery h2:focus { outline: none; }
.flower-gallery h2:focus-visible { text-decoration: underline 1px #c2a678; text-underline-offset: .2em; }
.flower-note { margin: 0 0 18px; color: #ded2bf; }
.dlc-note { display: inline-block; color: #f5ce8d; }
.flower-row {
  container-type: inline-size; position: relative; display: grid; grid-template-columns: 4fr 5fr;
  border: 1px solid #b69968; background: #182120; box-shadow: 0 10px 30px #080e104d;
}
.flower-row + .flower-row { margin-top: clamp(18px,1.7vw,28px); }
.flower-row::after { content: ''; position: absolute; inset: 5px; border: 1px solid #e1c38a45; pointer-events: none; }
.flower-name {
  position: absolute; z-index: 1; top: 0; left: 1.6%; margin: 0; padding: .72em .28em .52em;
  writing-mode: vertical-rl; font: 400 clamp(16px,2cqw,23px)/1.35 var(--serif); letter-spacing: .22em;
  color: #ffe4b1; background: linear-gradient(#162825,#203632f5); border: 1px solid #bf9f6a; border-top: 0;
  box-shadow: 0 3px 10px #0d151563;
}
.flower-pair, .flower-extra { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.flower-extra { grid-template-columns: repeat(5,minmax(0,1fr)); }
.flower-row .form-panel::after { content: ''; position: absolute; inset: 0; border-left: 1px solid #d7bd8540; pointer-events: none; }
.flower-pair .form-art { aspect-ratio: 4 / 5; }
.flower-extra .form-art { aspect-ratio: 2 / 5; }
.flower-pair figcaption { color: #ffe2aa; font-size: clamp(15px,1.7cqw,20px); }
.flower-pair figcaption::before, .flower-pair figcaption::after { content: ''; width: 12%; height: 1px; background: linear-gradient(90deg,transparent,#deb97d); }
.flower-pair figcaption::after { transform: rotate(180deg); }
.flower-extra figcaption { font-size: clamp(12px,1.4cqw,16px); letter-spacing: .08em; }
@media (max-width: 980px) {
  .flower-row { grid-template-columns: minmax(0,1fr); }
  .flower-extra figcaption { font-size: clamp(11px,3cqw,15px); letter-spacing: 0; }
}
.missing-art { display: grid; min-height: 60px; place-items: center; color: #e8d8ba; }
@media (min-width: 1570px) { .cover-grid:not(.feature-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1200px) {
  #navigation > [data-page] { padding-left: 14%; gap: 11px; }
  #navigation canvas { width: 20px; height: 20px; }
  .inner-page { padding-inline: 34px; }
  .commission-grid { gap: 18px; }
}
@media (max-width: 950px) {
  :root { --rail: 196px; }
  .inner-page { padding-inline: 24px; }
  .cover-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

  .commission-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .theme-intro { width: 100%; }
  .issue-caption { gap: .55em; }
  .character-name { font-size: clamp(16px,4.5cqw,21px); }
  .form-row.four-forms { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .issue-covers, .form-gallery { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row:not(.two-forms) > .form-panel:first-of-type { grid-column: 1 / -1; }
  .form-row:not(.two-forms) > .form-panel:nth-of-type(2)::before { display: none; }
  .form-row:not(.two-forms) > .form-panel:not(:first-of-type)::after {
    content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: #e6c38dab; pointer-events: none;
  }
  .form-panel figcaption { bottom: 7%; font-size: .93rem; }
  .mod-body { display: flex; flex-direction: column; gap: 24px; }
  .mod-overview, .mod-sections { width: 100%; flex: none; }
  .mod-dialog { width: min(92vw, 620px); }
  .feature-grid, .offer-pair, .notice-prices { grid-template-columns: minmax(0,1fr); }
  [data-view="portraits"] .section-head { display: block; }
  .author-nav { width: fit-content; margin-top: 18px; }
}
@media (max-width: 680px) {
  .notice-lines > div { grid-template-columns: 1fr; gap: 3px; }
  .notice-prices > div { padding: 16px; gap: 4px; }
  .notice-prices .price { grid-area: 1 / 2; }
  .price-detail { grid-column: 1 / -1; }
  [data-view="portraits"] .section-title { font-size: clamp(30px, 8.6vw, 42px); }
  [data-view="mods"] .section-title { font-size: clamp(24px, 7.6vw, 40px); }
  .workshop-hint { margin-top: 9px; }
  .author-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .mod-body { padding-block: 16px 22px; }
  .mod-heading, .mod-body { padding-inline: 16px; }
  .mod-close { width: 44px; height: 44px; }
  .mod-dialog { max-height: 90dvh; }
  .author-nav .collection-tab { min-height: 44px; }
  .contact-note { padding-inline: 12px; }
  .contact-copy { min-width: 0; overflow-wrap: anywhere; }
  :root { --rail: 0px; }
  .rail {
    position: relative; width: 100%; border: 0; border-bottom: 1px solid #af987258;
    background: #14201f;
  }
  .rail-landscape, .rail::after { display: none; }
  /* 山月横幅和导航分层，切换宗门时画面保持不动。 */
  .brand {
    position: relative; display: grid; place-items: center; width: 100%; margin: 0;
    padding: 12px 0 10px; border-bottom: 1px solid #b997616b;
    background: linear-gradient(90deg,#11202040,#101a19b8 32%,#101a19c4 65%,#14201e21 90%),
      linear-gradient(0deg,#14201f 0%,transparent 60%),url('f0d73b5b7596edc35e79.webp') center top / cover;
  }
  .brand img { width: clamp(184px,55vw,254px); filter: drop-shadow(0 2px 4px #080e0d); }
  #navigation {
    display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0;
    margin: 0 clamp(7px,2.6vw,18px) 4px;
    background: linear-gradient(90deg,transparent,#a68c584f 18%,#a68c584f 82%,transparent) center 57px / 100% 1px no-repeat;
  }
  #navigation > [data-page] {
    min-width: 0; min-height: 57px; margin: 0; padding: 6px 0 7px;
    flex-direction: column; justify-content: center; gap: 3px;
    color: #e4d9c6; font-size: clamp(13px,3.65vw,15px); line-height: 1.3; letter-spacing: .06em;
    background: linear-gradient(transparent,#b49a6454,transparent) right center / 1px 65% no-repeat;
  }
  #navigation > :is([data-page="notice"],[data-page="commission"]) { background: none; }
  #navigation canvas { display: block; width: 20px; height: 20px; color: #d5b782; }
  #navigation > [data-page]::before {
    inset: 0 2px 1px; clip-path: none;
    background: radial-gradient(ellipse at bottom,#b9934d38,transparent 80%),
      linear-gradient(90deg,transparent,#dfbc79 32%,#ffdf95 50%,#dfbc79 68%,transparent) center bottom / 84% 1px no-repeat;
  }
  #navigation > [data-page]:is([aria-current],.current-author),
  #navigation > [data-page]:is([aria-current],.current-author) canvas { color: #ffda8d; }
  #navigation > [data-page]:is([aria-current],.current-author) > span::before {
    content: ''; position: absolute; bottom: -1px; left: 50%; width: 5px; height: 5px;
    transform: translateX(-50%) rotate(45deg); background: #f7d38e; box-shadow: 0 0 0 2px #273028;
  }
  #navigation > [data-page]:active { background-color: #d5b78217; }
  #navigation > button { letter-spacing: .01em; }
  #navigation > button i { letter-spacing: .02em; }
  #navigation > button::after {
    position: absolute; top: 15px; left: calc(50% + 17px); width: 5px; height: 5px;
    margin: 0; color: #d5b782;
  }
  .sponsor-menu:not([hidden]) {
    order: 1; grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap;
    margin: 0 0 -4px; border: 0; border-top: 1px solid #c6a26a45;
    background: linear-gradient(90deg,transparent,#0a131366,transparent);
  }
  .sponsor-item { display: grid; place-items: center; padding: 6px 9px; min-height: 44px; font-size: .9rem; letter-spacing: .04em; }
  .sponsor-item::before { display: none; }
  .sponsor-item[aria-current] { color: #ffda91; background: none; box-shadow: inset 0 -2px #d7b57b; }
  .inner-page { padding: 24px 18px 40px; }
  .cover-grid, .art-benefits .cover-grid:not(.feature-grid) { grid-template-columns: 1fr; }
  .benefit-subline { flex-wrap: wrap; }
  .terms > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 570px) { #navigation .sponsor-prefix { display: none; } }
@media (max-width: 350px) {
  #navigation { margin-inline: 5px; }
  .sponsor-item { padding-inline: 6px; font-size: .84rem; }
}
@keyframes gallery-rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes rule-open { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
.inner-page { animation: gallery-rise .28s ease-out both; }
.collection-tab[aria-current]::after { transform-origin: left; animation: rule-open .24s ease-out; }
.collection-tab, .text-link, #navigation > [data-page] { transition: color .17s, border-color .17s, background-color .17s; }
#navigation > [data-page]::before { transform-origin: left; transition: opacity .18s, transform .2s ease-out; }
@media (min-width: 681px) {
  #navigation > [data-page]:not([aria-current],.current-author):not(:hover)::before { transform: scaleX(.91); }
}
#navigation > [data-page]:active::before { opacity: .8; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
