:root {
  --paper: #f4f1ea;
  --surface: #fbfaf6;
  --ink: #252924;
  --muted: #6c7067;
  --accent: #a94d34;
  --line: #d5d4c9;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.8 var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { color: var(--ink); background: #e7c3ab; }
.skip { position: absolute; top: -80px; left: 24px; z-index: 9; padding: 12px 20px; background: var(--surface); }
.skip:focus { top: 10px; }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 94px; border-bottom: 1px solid var(--line); gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 12px; font: italic 700 25px/1 Georgia, serif; letter-spacing: -.045em; }
.brand-dot { width: 8px; height: 8px; background: var(--accent); }
.masthead nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 30px; font-size: 13px; }
.masthead nav a { position: relative; padding-block: 8px; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--accent); }
.micro { font: 11px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { margin: 0 0 16px; font-size: 12px; letter-spacing: .07em; color: var(--accent); }
.home-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 80px; padding: 58px 0 44px; }
.home-intro h1 { margin: 0; font: 600 clamp(32px, 3.6vw, 46px)/1.35 var(--serif); letter-spacing: -.035em; }
.author-note { padding-bottom: 4px; max-width: 370px; justify-self: end; }
.author-name { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.author-note p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); }
.section-label h2 { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .07em; }
.featured-work { display: grid; grid-template-columns: .92fr 1.08fr; background: var(--surface); border: 1px solid var(--line); }
.feature-copy { padding: 37px 36px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.feature-meta { display: flex; width: 100%; justify-content: space-between; color: var(--muted); font-size: 11px; }
.feature-meta .work-index { color: var(--accent); font: italic 23px/1 Georgia, serif; }
.game-label { font-size: 14px; margin: 27px 0 9px; }
.feature-copy h2 { margin: 0; font: 600 clamp(25px, 2.8vw, 34px)/1.42 var(--serif); letter-spacing: -.03em; }
.feature-desc { margin: 17px 0 24px; max-width: 340px; font-size: 14px; color: var(--muted); line-height: 1.95; }
.topics { display: flex; flex-wrap: wrap; gap: 7px 14px; color: #5c6258; font-size: 11px; margin-top: auto; }
.topics span + span::before { content: "/"; color: #b2b4a8; margin-right: 14px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; padding: 11px 18px; background: var(--accent); color: #fffaf3; font-size: 13px; margin-top: 21px; border: 1px solid var(--accent); transition: background .18s ease; }
.primary-link:hover { background: #873b27; }
.primary-link span:last-child { font-size: 20px; line-height: 1; }
.cover-link { display: block; min-width: 0; border-left: 1px solid var(--line); }
.cover-stage { position: relative; height: 100%; min-height: 418px; background: #eaece3; overflow: hidden; isolation: isolate; }
.cover-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#87917d14 1px, transparent 1px), linear-gradient(90deg, #87917d14 1px, transparent 1px); background-size: 45px 45px; }
.cover-stage::after { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid #87917d27; border-radius: 50%; top: -50px; right: -38px; z-index: -1; }
.figure-topline { display: flex; justify-content: space-between; align-items: center; padding: 25px 26px 0; font: 10px/1.6 var(--sans); letter-spacing: .09em; color: #65705e; }
.figure-topline strong { font: 500 15px/1 Georgia, serif; color: #374034; letter-spacing: .02em; }
.weapon-frame { height: 270px; display: flex; align-items: center; justify-content: center; padding: 5px 18px 0; }
.weapon-frame img { width: 100%; height: 100%; object-fit: contain; transform: rotate(-5deg); filter: drop-shadow(0 13px 9px #39413320); transition: transform .4s ease; }
.cover-link:hover .weapon-frame img { transform: rotate(-5deg) translateY(-4px); }
.plot-strip { position: absolute; bottom: 0; width: 100%; padding: 14px 24px 16px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 22px; border-top: 1px solid #78836b30; background: #e7eadebb; }
.plot-label { font-size: 11px; color: #5d6756; line-height: 1.7; }
.plot-label strong { display: block; color: #384232; font-size: 12px; font-weight: 500; }
.plot-label small { font-size: 9px; }
.plot-strip img { width: 100%; height: 74px; object-fit: contain; }
.chapter-quicklinks { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-top: 0; font-size: 12px; }
.chapter-quicklinks a { display: flex; justify-content: space-between; padding: 14px 22px; gap: 14px; transition: background .18s; }
.chapter-quicklinks a + a { border-left: 1px solid var(--line); }
.chapter-quicklinks a:hover { background: #e9e5db; color: var(--accent); }
.chapter-quicklinks em { font: italic 14px/1.7 Georgia, serif; color: var(--accent); margin-right: 10px; }
.secondary-work { margin-top: 26px; display: grid; grid-template-columns: 178px 1fr 42px; gap: 32px; align-items: center; padding: 24px 26px 24px 0; border-bottom: 1px solid var(--line); }
.orbit-art { position: relative; height: 148px; background: #e5e7ef; overflow: hidden; }
.orbit-art svg { width: 100%; height: 100%; }
.secondary-work .game-label { margin: 0 0 6px; color: var(--muted); font-size: 11px; }
.secondary-work h2 { margin: 0; font: 600 24px/1.45 var(--serif); letter-spacing: -.02em; }
.secondary-work p { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.out-link { color: var(--accent); font-size: 26px; justify-self: end; }
.secondary-work:hover h2 { color: var(--accent); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.portfolio-card { display: flex; flex-direction: column; min-width: 0; }
.portfolio-card .feature-copy { min-height: 326px; padding: 27px 30px 25px; }
.portfolio-card .feature-copy h2 { margin-top: 23px; font-size: 28px; line-height: 1.5; }
.portfolio-card .work-subtitle { display: block; margin-top: 5px; font-size: 23px; font-weight: 500; }
.portfolio-card .feature-desc { max-width: none; min-height: 55px; margin: 15px 0 19px; }
.portfolio-card .cover-link { border-left: 0; border-top: 1px solid var(--line); }
.portfolio-card .cover-stage { height: 266px; min-height: 0; }
.portfolio-card .figure-topline { padding: 18px 22px 0; }
.portfolio-card .weapon-frame { height: 178px; padding: 0 22px 10px; }
.portfolio-card .plot-strip { padding: 9px 20px 10px; gap: 20px; }
.portfolio-card .plot-strip img { height: 57px; }
.portfolio-card .chapter-quicklinks { border: 0; border-top: 1px solid var(--line); margin-top: auto; }
.portfolio-card .chapter-quicklinks a { padding: 13px 14px; font-size: 11px; gap: 7px; }
.portfolio-card .chapter-quicklinks em { margin-right: 7px; font-size: 12px; }
.starrail-work .work-index { color: #596b84; }
.starrail-work .primary-link { background: #596b84; border-color: #596b84; }
.starrail-work .primary-link:hover { background: #43536b; }
.orbit-stage { height: 266px; background: #e5e7ef; position: relative; overflow: hidden; }
.orbit-stage .figure-topline { color: #5c6c86; }
.orbit-stage .figure-topline strong { color: #43536b; }
.orbit-stage .orbit-art { height: 207px; width: 100%; background: transparent; }
.orbit-stage .orbit-art svg { width: 100%; transform: scale(1.08); }
.orbit-caption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 15px; padding: 12px 22px; border-top: 1px solid #78869d35; font-size: 11px; color: #596b84; background: #e0e3ecbd; }
.work-footnote { display: flex; justify-content: space-between; gap: 20px; padding: 13px 22px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); margin-top: auto; }
.portfolio-grid + * { margin-top: 24px; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; color: var(--muted); font-size: 11px; padding-block: 29px 38px; }
.page-footer .footer-author { color: var(--ink); }
.breadcrumb { padding-top: 28px; color: var(--muted); font-size: 11px; }
.breadcrumb span { margin-inline: 12px; color: #a5a99b; }
.series-cover { display: grid; grid-template-columns: 1fr 1.04fr; padding-top: 34px; align-items: stretch; gap: 40px; }
.series-copy { padding: 13px 0 14px; display: flex; flex-direction: column; align-items: flex-start; }
.series-copy .eyebrow { margin-bottom: 21px; }
.series-copy .game-title { display: block; font: 15px/1.6 var(--sans); letter-spacing: .015em; margin-bottom: 11px; }
.series-copy h1 { margin: 0; font: 600 clamp(28px, 3.3vw, 40px)/1.42 var(--serif); letter-spacing: -.04em; }
.series-copy .subtitle { color: var(--muted); font-size: 14px; line-height: 1.95; margin: 22px 0 13px; max-width: 410px; }
.cover-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.text-link { margin-top: 21px; font-size: 12px; border-bottom: 1px solid #abae9f; }
.series-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 10px; color: var(--muted); margin-top: auto; padding-top: 31px; }
.series-cover .cover-stage { min-height: 398px; border: 1px solid var(--line); }
.series-cover .weapon-frame { height: 260px; }
.thesis { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: start; }
.thesis h2 { font: 600 27px/1.65 var(--serif); letter-spacing: -.03em; margin: 0; }
.thesis p { color: var(--muted); font-size: 14px; margin: 0; line-height: 2; }
.chapter-section { padding: 45px 0 30px; }
.chapter-section .section-label { border-top: 0; margin-bottom: 10px; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.chapter-card { border-top: 2px solid var(--ink); padding-top: 15px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.chapter-card:nth-child(2) { border-top-color: #72849a; }
.chapter-card:nth-child(3) { border-top-color: var(--accent); }
.chapter-heading { display: flex; align-items: baseline; justify-content: space-between; width: 100%; margin-bottom: 16px; }
.chapter-number { font: italic 25px/1 Georgia, serif; }
.chapter-heading span:last-child { color: var(--muted); font-size: 10px; }
.chapter-card h3 { font: 600 22px/1.6 var(--serif); margin: 0 0 11px; }
.chapter-card p { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0 0 19px; }
.chapter-figure { width: 100%; aspect-ratio: 1.8; background: #fff; margin-top: auto; overflow: hidden; border: 1px solid var(--line); }
.chapter-figure img { width: 100%; height: 100%; object-fit: contain; padding: 5px; transition: transform .25s ease; }
.chapter-card:hover .chapter-figure img { transform: scale(1.035); }
.chapter-card .read-chapter { padding-top: 15px; font-size: 12px; color: var(--accent); width: 100%; display: flex; justify-content: space-between; }
.research-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 12px; }
.research-details summary { padding: 20px 0; font-size: 13px; cursor: pointer; display: flex; justify-content: space-between; list-style: none; }
.research-details summary::-webkit-details-marker { display: none; }
.research-details summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.research-details[open] summary::after { content: "−"; }
.overview-content { padding: 0 0 24px; font-size: 13px; line-height: 1.9; }
.overview-content p { max-width: 890px; }
.table-wrap { overflow: auto; margin-block: 15px 22px; }
.table-hint { font-size: 10px; color: var(--muted); margin-bottom: -8px; }
table { border-collapse: collapse; width: 100%; min-width: 650px; font-size: 12px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }
.overview-content a { text-decoration: underline; text-underline-offset: 3px; }
.article-note { color: var(--muted); font-size: 11px; }
.appendix-link { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 22px; font-size: 11px; color: var(--muted); }
.appendix-link a { border-bottom: 1px solid #b3b6a9; }
@media (max-width: 960px) {
  .container { width: calc(100% - 56px); }
  .home-intro { gap: 40px; padding-top: 43px; }
  .feature-copy { padding: 28px 25px; }
  .feature-desc { font-size: 13px; }
  .weapon-frame { height: 250px; padding-inline: 10px; }
  .plot-strip { gap: 12px; padding-inline: 17px; }
  .series-cover { gap: 26px; }
  .series-meta { gap: 5px 12px; }
  .thesis { gap: 35px; }
  .chapter-grid { gap: 19px; }
  .chapter-card h3 { font-size: 20px; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .masthead { min-height: 73px; gap: 18px; }
  .wordmark { font-size: 22px; }
  .masthead nav { gap: 17px; font-size: 11px; }
  .home-intro { display: block; padding: 34px 0 29px; }
  .home-intro h1 { font-size: 33px; }
  .home-intro .eyebrow { margin-bottom: 12px; }
  .author-note { max-width: none; margin-top: 23px; }
  .author-name { margin-bottom: 5px; font-size: 12px; }
  .author-note p:last-child { font-size: 12px; line-height: 1.8; }
  .featured-work { grid-template-columns: 1fr; }
  .feature-copy { padding: 24px 25px 25px; }
  .game-label { margin-top: 21px; }
  .feature-copy h2 { font-size: 29px; }
  .feature-desc { max-width: none; margin: 12px 0 17px; }
  .primary-link { margin-top: 17px; font-size: 12px; padding: 10px 16px; }
  .cover-link { border-left: 0; border-top: 1px solid var(--line); }
  .cover-stage { min-height: 292px; }
  .figure-topline { padding: 18px 19px 0; font-size: 9px; }
  .weapon-frame, .series-cover .weapon-frame { height: 177px; padding: 0 10px; }
  .plot-strip { padding: 9px 18px 10px; gap: 14px; }
  .plot-strip img { height: 59px; }
  .plot-label { font-size: 10px; }
  .plot-label strong { font-size: 11px; }
  .plot-label small { font-size: 8px; }
  .chapter-quicklinks a { font-size: 10px; padding: 13px 10px; gap: 5px; }
  .chapter-quicklinks em { margin-right: 5px; font-size: 12px; }
  .secondary-work { grid-template-columns: 88px 1fr 17px; gap: 16px; padding: 20px 0; margin-top: 16px; }
  .orbit-art { height: 110px; }
  .secondary-work h2 { font-size: 19px; }
  .secondary-work p { font-size: 11px; line-height: 1.8; margin-top: 6px; }
  .secondary-work .game-label { font-size: 10px; }
  .out-link { font-size: 23px; }
  .page-footer { font-size: 10px; padding-block: 25px 30px; gap: 20px; }
  .breadcrumb { padding-top: 21px; }
  .series-cover { display: block; padding-top: 23px; }
  .series-copy { padding: 0 0 25px; }
  .series-copy .eyebrow { font-size: 11px; margin-bottom: 17px; }
  .series-copy h1 { font-size: 32px; }
  .series-copy .game-title { font-size: 13px; }
  .series-copy .subtitle { margin-block: 17px 4px; font-size: 13px; }
  .cover-actions { gap: 24px; }
  .text-link { margin-top: 17px; }
  .series-meta { padding-top: 21px; font-size: 9px; }
  .series-cover .cover-stage { min-height: 292px; }
  .thesis { display: block; margin-top: 34px; padding-top: 23px; }
  .thesis h2 { font-size: 23px; }
  .thesis p { font-size: 12px; margin-top: 17px; line-height: 1.95; }
  .chapter-section { padding-top: 22px; }
  .chapter-grid { grid-template-columns: 1fr; gap: 31px; }
  .chapter-card { padding-top: 15px; }
  .chapter-heading { margin-bottom: 12px; }
  .chapter-card h3 { font-size: 22px; margin-bottom: 8px; }
  .chapter-card h3 br { display: none; }
  .chapter-card p { font-size: 12px; margin-bottom: 14px; }
  .chapter-figure { aspect-ratio: 1.85; }
}
@media (max-width: 860px) {
  .portfolio-grid { grid-template-columns: 1fr; gap: 28px; }
  .portfolio-card .feature-copy { min-height: 0; padding: 24px 25px; }
  .portfolio-card .feature-copy h2 { font-size: 27px; margin-top: 20px; }
  .portfolio-card .work-subtitle { font-size: 22px; }
  .portfolio-card .feature-desc { min-height: 0; margin: 12px 0 17px; }
  .portfolio-card .weapon-frame { padding-inline: 14px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 28px); }
  .home-intro h1 { font-size: 29px; }
  .feature-copy { padding-inline: 20px; }
  .series-copy h1 { font-size: 28px; }
  .chapter-quicklinks a { padding-inline: 7px; font-size: 9px; }
  .secondary-work { grid-template-columns: 69px 1fr 14px; gap: 12px; }
  .secondary-work h2 { font-size: 17px; }
  .portfolio-card .feature-copy { padding-inline: 18px; }
  .portfolio-card .feature-copy h2 { font-size: 24px; }
  .portfolio-card .work-subtitle { font-size: 20px; }
  .portfolio-card .chapter-quicklinks a { padding-inline: 8px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  body { background: white; }
  .container { width: 100%; }
  .masthead, .cover-actions, .page-footer { display: none; }
  .series-cover { padding-top: 0; }
  .chapter-card { break-inside: avoid; }
}
.v2-entry{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #c8cbbc;margin-top:15px;padding-top:12px;font-size:13px;font-weight:600;color:#a14f38;text-decoration:none}.v2-entry:hover{text-decoration:underline}

.workshop-link{padding:7px 11px;border:1px solid #cfc5af;border-radius:3px;color:#76633c!important;white-space:nowrap}.workshop-link:hover{background:#ece6d8}@media(max-width:620px){.masthead nav{gap:13px}.workshop-link{padding:5px 8px}}
