@font-face {
  font-family: "Field Cover";
  src: url("/masthead.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f6f3e9;
  --ink: #233a2e;
  --text: #26352d;
  --quiet: #536151;
  --rule: #a6ad98;
  --red: #a43a25;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --cover: "Field Cover", var(--serif);
  --sans: "PingFang SC", "Microsoft Yahei", "Noto Sans CJK SC", sans-serif;
  --mono: "Courier New", monospace;
  background: var(--paper);
  color: var(--text);
  font: 100%/1.65 var(--sans);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
[hidden], .symbols { display: none !important; }
a { color: inherit; text-underline-offset: .24em; }
button, textarea { font: inherit; }
a, button { touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9c5427; outline-offset: 4px; }
h1:focus, #view:focus { outline: none; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: #dadcc0; }
.shell { width: min(1220px, calc(100% - clamp(36px, 10vw, 160px))); margin: 0 auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; border-bottom: 2px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand span { font: 900 1.52rem/1 var(--cover); letter-spacing: .025em; }
.masthead nav { display: flex; align-self: stretch; gap: clamp(18px, 3.3vw, 48px); }
.masthead nav a { display: flex; align-items: center; position: relative; text-decoration: none; font-size: .94rem; color: #434d42; }
.masthead nav a[aria-current] { color: var(--red); font-weight: 650; }
.masthead nav a[aria-current]::after { position: absolute; bottom: 15px; left: 0; width: 100%; height: 2px; background: var(--red); content: ""; }
.cover { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(18px, 3.8vw, 65px); padding: clamp(44px, 5.6vw, 85px) 0 clamp(44px, 4.7vw, 70px); }
.eyebrow, .section-kicker { color: var(--red); font-weight: 700; font-size: .82rem; letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { display: block; width: 28px; height: 2px; background: currentColor; }
.eyebrow i { color: #9d9c8a; font-style: normal; font-weight: 400; }
.cover h1 { font: 900 clamp(4rem, 6.4vw, 6.6rem)/1.13 var(--cover); letter-spacing: -.06em; margin: 22px 0 24px; color: var(--ink); }
.cover h1 span { color: var(--red); }
.deck { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.9; }
.cover-actions, .actions, .facts { display: flex; align-items: center; flex-wrap: wrap; }
.cover-actions { margin-top: 30px; gap: 22px; }
.action, .quiet-button { border: 1px solid var(--ink); padding: 10px 18px; color: var(--ink); background: transparent; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; line-height: 1.45; }
.action { min-height: 47px; border-color: var(--red); background: var(--red); color: #fff9ed; }
.cover .action { padding: 13px 23px; font-size: 1.04rem; }
.action:hover { background: #812c1d; border-color: #812c1d; }
.ui-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; flex-shrink: 0; }
.facts { gap: 14px; color: var(--quiet); font-size: .88rem; }
.facts span { display: flex; align-items: center; gap: 5px; }
.facts svg { width: 16px; height: 16px; }
.kit { align-self: center; min-width: 0; position: relative; }
.drawing { position: relative; padding: 12px 12px 18px; }
.drawing::before, .drawing::after { content: ""; position: absolute; z-index: 1; width: 14px; height: 14px; }
.drawing::before { left: 0; top: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.drawing::after { right: 0; bottom: 9px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.drawing img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; filter: brightness(1.105); }
.kit figcaption { display: flex; align-items: center; gap: 10px; color: var(--quiet); font-size: .77rem; letter-spacing: .04em; }
.kit figcaption span[lang] { font-family: var(--mono); font-weight: 700; letter-spacing: .14em; }
.kit figcaption i { height: 1px; background: var(--rule); flex: 1; }
.role-section { border-top: 2px solid var(--ink); padding: 25px 0 8px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.section-heading h2 { color: var(--ink); font: 900 clamp(1.75rem, 2.3vw, 2.25rem)/1.3 var(--cover); margin-top: 3px; }
.section-kicker[lang], .role-en { font-family: var(--mono); }
.section-kicker[lang] { font-size: .75rem; }
.index-link, .back-link { color: var(--quiet); font-size: .91rem; }
.index-link:hover, .back-link:hover, .source:hover, footer a:hover { color: var(--red); }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); }
.role-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 15px; padding: 22px clamp(13px, 1.9vw, 31px) 20px; color: var(--ink); text-decoration: none; }
.role-card + .role-card { border-left: 1px solid var(--rule); }
.role-card:hover, .quiet-button:hover, .guide-item:hover { background: #e9e9d9; }
.role-art { display: grid; place-items: center; width: 45px; height: 45px; background: #e4e6d7; border: 1px solid #b9c0a9; }
.role-art svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: miter; }
.role-en { display: block; color: var(--quiet); font-size: .75rem; letter-spacing: .08em; font-weight: 700; line-height: 1.2; }
.role-card h3 { font: 900 1.45rem/1.4 var(--cover); }
.role-card p { grid-column: 1 / -1; color: var(--quiet); font-size: .9rem; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 17px 0 22px; font-size: .79rem; color: var(--quiet); border-top: 1px solid var(--rule); }
footer b { font-weight: 400; color: var(--rule); margin: 0 4px; }
.inner-page { max-width: 860px; margin: 0 auto; padding: clamp(35px,5vw,68px) 0 22px; min-height: 65vh; }
.page-top { margin-bottom: 21px; }
.page-title { color: var(--ink); font: 800 clamp(2rem,4.5vw,3.8rem)/1.28 var(--serif); letter-spacing: -.035em; margin: 12px 0 0; text-wrap: pretty; }
.inner-page:has(.option-list) { max-width: 740px; }
.inner-page:has(.option-list) .page-title { font-size: clamp(1.9rem,3.4vw,2.8rem); line-height: 1.45; }
.question-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--quiet); font-size: .93rem; }
.progress-track { height: 4px; margin: 8px 0 22px; background: #d9daca; }
.progress-track span { display: block; height: 100%; background: var(--red); }
.option-list { display: grid; gap: 10px; }
.option { display: flex; width: 100%; align-items: center; gap: 14px; border: 1px solid var(--rule); text-align: left; padding: 13px 16px; color: var(--ink); background: transparent; line-height: 1.55; }
.key { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--rule); color: var(--quiet); font: bold .9rem/1 var(--mono); }
.option[aria-pressed=true] { border-color: var(--red); background: #eee5d6; }
@media (hover: hover) { .option:hover { background: #e9e9d9; border-color: var(--ink); } }
.actions { margin: 24px 0 12px; gap: 12px; }
.back-link { display: inline-block; padding: 6px 0; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-list .quiet-button { padding: 8px 18px; }
.filter-list [aria-current] { color: var(--paper); background: var(--ink); }
.guide-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.guide-item { display: grid; grid-template-columns: minmax(5em,1fr) 2fr auto; align-items: center; gap: 12px; text-decoration: none; padding: 13px 6px; border-bottom: 1px solid var(--rule); }
.guide-name { font: 750 1.32rem var(--serif); }
.guide-moniker { color: var(--quiet); }
.role-tag { font-size: .85rem; color: var(--quiet); }
.result-quote { border-block: 1px solid var(--rule); border-left: 4px solid var(--ink); padding: 17px 21px; background: #e8ebdc; margin-bottom: 18px; }
.result-quote .guide-moniker { margin: 5px 0 2px; font: 750 1.6rem var(--serif); color: var(--ink); }
blockquote { margin: 8px 0 0; }
.detail-block { padding: 19px 0; border-bottom: 1px solid var(--rule); }
.detail-block h2 { margin-bottom: 6px; font: 750 1.35rem/1.5 var(--serif); color: var(--ink); }
.detail-block p + p { margin-top: 7px; }
.detail-block ul { padding-left: 1.3em; margin: 6px 0 0; }
.source { display: inline-block; color: var(--red); font-size: .9rem; margin-top: 4px; }
.status:empty { padding: 0; }
.status { color: var(--quiet); padding: 5px 0; }
textarea.choice-note { display: block; width: 100%; border: 1px solid var(--rule); background: #fffdf4; color: var(--text); padding: 10px; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 48px); }
  .cover { gap: 15px; }
  .cover h1 { font-size: clamp(3.4rem,7.6vw,4.5rem); }
  .cover-actions { gap: 12px; }
  .facts { gap: 9px; }
  .desktop { display: none; }
  .role-card { padding: 16px 12px; column-gap: 9px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 34px); }
  .masthead { min-height: 65px; gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 27px; height: 27px; }
  .brand span { font-size: 1.18rem; }
  .masthead nav { gap: 13px; }
  .masthead nav a { font-size: .85rem; }
  .masthead nav a[aria-current]::after { bottom: 9px; }
  .cover { grid-template-columns: 1fr; padding: 28px 0 22px; gap: 25px; }
  .cover h1 { font-size: clamp(3.65rem,13.8vw,5.4rem); margin: 15px 0 16px; }
  .cover-actions { margin-top: 18px; gap: 17px; }
  .deck { max-width: 30em; line-height: 1.75; }
  .kit { width: min(100%, 390px); justify-self: center; }
  .drawing { padding: 3px 10px 12px; }
  .drawing img { max-height: 200px; object-fit: contain; }
  .role-grid { grid-template-columns: repeat(2,1fr); }
  .role-card:nth-child(3) { border-left: none; }
  .role-card:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .role-section { padding-top: 16px; }
  .section-heading { margin-bottom: 12px; }
  .guide-item { grid-template-columns: minmax(3.1em,.8fr) 1.6fr auto; gap: 7px; }
  .filter-list .quiet-button { padding: 7px 11px; }
  footer { margin-top: 22px; }
}
@media (max-width: 365px) {
  .masthead { flex-wrap: wrap; padding-top: 11px; }
  .masthead nav { flex: 1 0 100%; justify-content: space-between; }
  .masthead nav a { padding: 5px 0 9px; }
  .masthead nav a[aria-current]::after { bottom: 1px; }
  .role-art { width: 36px; height: 36px; }
}
