:root {
  --bg: #f5f2eb;
  --panel: #fbf9f4;
  --soft: #ebe6da;
  --line: #b4ac9c;
  --hair: #ddd7ca;
  --ink: #1c1a17;
  --muted: #5f594f;
  --accent: #b8420a;
  --on: #fbf9f4;
  --link: #0a4bb0;
  --link-ext: #0a4bb0;
  --link-visited: #083a86;
  --l1: #d9388a; --l2: #2b7fd6;
  --c-link: #5b5f78; --c-circle: #1a5fa6; --c-slash: #ad2466; --c-strike: #b2400a; --c-torch: #1c7442;
  --c-signature: #6540b3; --c-ending: #7d6000; --c-body: #6b6756;
  --glow: 0;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", system-ui, sans-serif;
  --font-display: "WP ja bang", "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Serif JP", Georgia, serif;
  --font-serif: var(--font-display);
  --font-mono: var(--font-body);
  --r: 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121418; --panel: #191c22; --soft: #23272e; --line: #4a4f58; --hair: #2c3139; --ink: #e7e4dc; --muted: #a6a7a2;
    --accent: #ff8a2b; --on: #121418; --link: #93b7ff; --link-ext: #93b7ff; --link-visited: #7d9fe6; --l1: #ff5fae; --l2: #4fb0ff; --mk-glow: 1; --mk-blend: screen;
    --c-link: #b3b7cc; --c-circle: #5cb6ff; --c-slash: #ff6db5; --c-strike: #ff8a2b; --c-torch: #52d48c;
    --c-signature: #bfa3ff; --c-ending: #ffd24d; --c-body: #948e81; --glow: 1;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121418; --panel: #191c22; --soft: #23272e; --line: #4a4f58; --hair: #2c3139; --ink: #e7e4dc; --muted: #a6a7a2;
  --accent: #ff8a2b; --on: #121418; --link: #93b7ff; --link-ext: #93b7ff; --link-visited: #7d9fe6; --l1: #ff5fae; --l2: #4fb0ff; --mk-glow: 1; --mk-blend: screen;
  --c-link: #b3b7cc; --c-circle: #5cb6ff; --c-slash: #ff6db5; --c-strike: #ff8a2b; --c-torch: #52d48c;
  --c-signature: #bfa3ff; --c-ending: #ffd24d; --c-body: #948e81; --glow: 1;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { background: var(--bg); color: var(--ink); }
body { font-family: var(--font-body); font-size: 15px; line-height: 1.6; font-kerning: normal; }
html:lang(ja) body { line-height: 1.8; }
@font-face { font-family: "WP greek"; font-weight: 400; unicode-range: U+0370-03FF, U+1F00-1FFF;
  src: local("Segoe UI Semilight"), local("SegoeUI-Semilight"), local("Segoe UI"), local("Helvetica Neue"), local("HelveticaNeue"), local("Roboto"),
    local("Roboto-Regular"), local("Noto Sans"), local("NotoSans-Regular"), local("Arial"), local("ArialMT"); }
@font-face { font-family: "WP greek"; font-weight: 700; unicode-range: U+0370-03FF, U+1F00-1FFF;
  src: local("Segoe UI Semibold"), local("SegoeUI-Semibold"), local("Segoe UI Bold"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Roboto Bold"),
    local("Roboto-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"), local("Arial Bold"), local("Arial-BoldMT"); }
@font-face { font-family: "WP greek serif"; font-weight: 700; unicode-range: U+0370-03FF, U+1F00-1FFF;
  src: local("Georgia Bold"), local("Georgia-Bold"), local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Noto Serif Bold"), local("NotoSerif-Bold"); }
html:lang(en), html:lang(ja) { --font-body: "WP greek", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", system-ui, sans-serif;
  --font-display: "WP greek serif", "WP ja bang", "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Serif JP", Georgia, serif; }
@font-face { font-family: "WP latin signs"; font-weight: 400; unicode-range: U+002B, U+003D;
  src: local("Segoe UI Semilight"), local("SegoeUI-Semilight"), local("Segoe UI"), local("Helvetica Neue"), local("HelveticaNeue"), local("Roboto"),
    local("Roboto-Regular"), local("Noto Sans"), local("NotoSans-Regular"), local("Arial"), local("ArialMT"); }
@font-face { font-family: "WP latin signs"; font-weight: 700; unicode-range: U+002B, U+003D;
  src: local("Segoe UI Semibold"), local("SegoeUI-Semibold"), local("Segoe UI Bold"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Roboto Bold"),
    local("Roboto-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"), local("Arial Bold"), local("Arial-BoldMT"); }
html:lang(en) { --font-body: "WP latin signs", "WP greek", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", system-ui, sans-serif; }
@font-face { font-family: "WP ja bang"; font-weight: 700; unicode-range: U+FF01;
  src: local("Hiragino Mincho ProN W6"), local("HiraMinProN-W6"), local("Yu Mincho Demibold"), local("YuMincho-Demibold"), local("Noto Serif CJK JP Bold"),
    local("NotoSerifCJKjp-Bold"), local("Noto Serif JP Bold"), local("NotoSerifJP-Bold"), local("MS PMincho"), local("MS-PMincho"), local("Yu Gothic Bold"),
    local("YuGothic-Bold"), local("SimSun"); }
@font-face { font-family: "WP zh ellipsis"; unicode-range: U+2026;
  src: local("PingFangSC-Regular"), local("PingFang SC Regular"), local("HiraginoSansGB-W3"), local("Hiragino Sans GB W3"), local("NotoSansCJKsc-Regular"),
    local("Noto Sans CJK SC Regular"), local("SourceHanSansSC-Regular"), local("Source Han Sans SC Regular"), local("YuGothic-Regular"),
    local("Yu Gothic Regular"), local("SimSun"), local("MS Gothic"); }
@font-face { font-family: "WP zh kana"; font-weight: 700; unicode-range: U+3041-3096, U+3099-309F, U+30A1-30FA, U+30FC-30FF, U+31F0-31FF;
  src: local("Songti SC Bold"), local("STSongti-SC-Bold"), local("Noto Serif CJK SC Bold"), local("NotoSerifCJKsc-Bold"), local("Source Han Serif SC Bold"),
    local("SourceHanSerifSC-Bold"), local("Hiragino Mincho ProN W6"), local("HiraMinProN-W6"), local("Yu Mincho Demibold"), local("YuMincho-Demibold"),
    local("Noto Serif CJK JP Bold"), local("NotoSerifCJKjp-Bold"); }
@font-face { font-family: "WP zh kana sans"; font-weight: 400; unicode-range: U+3041-3096, U+3099-309F, U+30A1-30FA, U+30FC-30FF, U+31F0-31FF;
  src: local("Yu Gothic Regular"), local("YuGothic-Regular"), local("Microsoft YaHei Light"), local("MicrosoftYaHeiLight"), local("Microsoft YaHei"),
    local("MicrosoftYaHei"); }
html:lang(zh-CN) { --font-body: "WP zh ellipsis", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --font-display: "WP zh ellipsis", "WP zh kana", "WP zh kana site", "WP zh kana gf", "WP zh kana sans", "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", Cambria, Georgia, "SimSun", serif; }
html:lang(zh-CN) body { line-height: 1.8; }
html:lang(ja), html:lang(zh-CN) { line-break: strict; }
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) .art-h h1 { font-feature-settings: "palt"; letter-spacing: .02em; }
html:lang(ja) i, html:lang(ja) em, html:lang(ja) .hat, html:lang(ja) .stub, html:lang(ja) .sure-tag, html:lang(ja) sup.cn,
html:lang(zh-CN) i, html:lang(zh-CN) em, html:lang(zh-CN) .hat, html:lang(zh-CN) .stub, html:lang(zh-CN) .sure-tag, html:lang(zh-CN) sup.cn { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [role="button"]:focus-visible, .chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--bg); }
@media (forced-colors: active) { :focus-visible { outline: 3px solid CanvasText; } }
.ev-title.minor { opacity: .8; font-size: .95em; }
.mk.cat { opacity: .55; } .btn.ghost { opacity: .75; }
tr.grp td { background: var(--soft); font-weight: 700; font-size: 12.5px; padding: 8px 10px; }
.tier { display: inline-block; font-size: 12px; padding: 0 6px; border: 1px solid var(--line); white-space: nowrap; }
.tier.wide { border-color: var(--ink); font-weight: 700; } .tier.some { border-color: var(--ink); }
.tier.ori { opacity: .75; } .tier.none { opacity: .5; }
.cat-link { --cat: var(--c-link); } .cat-circle { --cat: var(--c-circle); } .cat-slash { --cat: var(--c-slash); }
.cat-strike { --cat: var(--c-strike); } .cat-torch { --cat: var(--c-torch); } .cat-signature { --cat: var(--c-signature); }
.cat-ending { --cat: var(--c-ending); } .cat-body { --cat: var(--c-body); }
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mark { width: 36px; height: 36px; display: block; color: var(--ink); flex: none; }
.mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
@media (max-width: 640px) { .mark { width: 28px; height: 28px; } }
.brand h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; white-space: nowrap; }
@media (max-width: 760px) {
  .brand h1 { font-size: 17px; }
}
main { max-width: 1320px; margin: 0 auto; padding-inline: 16px; padding-block: 18px 60px; }
.field { width: 100%; padding: 6px 10px; border: 1px solid var(--line); background: var(--panel); }
.field:focus { border-color: var(--ink); }
.research dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: 13.5px; }
.research dt { color: var(--muted); }
.research dd { margin: 0; }
.dot { width: 8px; height: 8px; background: var(--cat); flex: none; align-self: center; }
.detail { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pill { display: inline-block; padding: 0 7px; font-size: 12.5px; border: 1px solid var(--line);
  background: none; color: var(--muted); white-space: nowrap; }
.pill.cat { color: var(--ink); border-left: 3px solid var(--cat); }
.role { font-size: 12px; font-weight: 700; padding: 0 5px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.role.opener, .role.finisher { color: var(--ink); border-color: var(--ink); }
.role.setup { border-style: dashed; }
.role.link { opacity: .8; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px 1px 7px; cursor: pointer; font-size: 13px;
  background: none; border: 1px solid var(--hair); border-left: 3px solid var(--cat, var(--line)); color: var(--ink); white-space: nowrap; max-width: 100%; }
.chip .dot { display: none; }
@media (max-width: 520px) { .chip { white-space: normal; text-align: left; } }
@media (max-width: 560px) { .meta .pill { white-space: normal; } }
.chip:hover { background: var(--soft); }
.line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; }
.card { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }
.eight { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-size: 12.5px; color: var(--ink); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
td { padding: 7px 8px; border-bottom: 1px solid var(--hair); vertical-align: top; }
tr.on td { background: color-mix(in srgb, var(--ink) 8%, transparent); }
td .line { gap: 4px 3px; flex-wrap: nowrap; }
td.mono { white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn { border: 1px solid var(--ink); background: none; padding: 5px 12px; cursor: pointer; font-size: 13.5px; color: var(--ink); }
.btn:hover { background: var(--soft); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters .field { width: auto; min-width: 0; flex: 1 1 260px; }
.filters select { padding: 6px 8px; border: 1px solid var(--line); background: var(--panel); }
.diff { font-size: 12.5px; white-space: nowrap; }
.diff.lvl small { opacity: .75; margin-left: 4px; font-size: 12px; letter-spacing: -1px; }
.st.wide, .st.recurring, .st.single { color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
details summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.gloss { font-size: 13px; display: grid; gap: 6px; margin-top: 8px; }
.gloss b { font-size: 12.5px; }
.langs { grid-area: langs; display: inline-flex; border: 0; padding: 0; background: none; }
.langs button { border: 0; border-left: 1px solid var(--hair); background: none; padding: 4px 0; width: 4.4em; text-align: center; cursor: pointer; color: var(--muted); font-size: 13px; }
.langs button:first-child { border-left: 0; }
.langs button[aria-pressed="true"] { color: var(--on); background: var(--ink); font-weight: 700; }
.terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.term h3 { margin: 0 0 4px; font-size: 18px; }
.term .small, .small { font-size: 12.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.era { display: grid; gap: 8px; scroll-margin-top: 96px; }
.ev { display: grid; grid-template-columns: 7.4em minmax(0, 1fr); gap: 2px 14px; padding: 9px 0; border-top: 1px solid var(--hair); }
.ev-date { font-size: 12.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; display: flex; gap: 7px; align-items: center; align-self: start; padding-top: 2px; }
.ev-title { font-weight: 700; }
.ev-meta, .ev-links { display: flex; flex-wrap: wrap; gap: 5px 8px; align-items: center; margin-top: 4px; font-size: 12.5px; }
.hw { border: 1px solid var(--line); background: none; padding: 1px 8px; font-size: 12.5px; cursor: pointer; color: var(--ink); display: inline-flex; align-items: baseline; gap: 4px; }
.hw:hover { border-color: var(--ink); }
.filters .hw.on { border-color: var(--ink); background: var(--ink); color: var(--on); }
.filters .hw.on .muted, .filters .hw.on small { color: var(--on); opacity: .7; }
.hw.off { cursor: default; color: var(--muted); border-color: var(--hair); background: none; }
.hw small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.st { font-size: 12px; font-weight: 700; padding: 0 6px; border: 1px solid currentColor; white-space: nowrap; }
.st.open, .st.partly, .st.answered { color: var(--ink); }
.wl { display: flex; flex-wrap: wrap; gap: 4px; }
a + .swatch { margin-left: 4px; }
.swatch { display: inline-block; vertical-align: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--sw); border: 1px solid var(--line); flex: none;
  box-shadow: 0 0 calc(var(--glow) * 7px) var(--sw); }
.hnote { font-size: 13px; color: var(--muted); max-width: 80ch; margin: 0; }
[id^="lc-"] { scroll-margin-top: 96px; }
.crowd .teach { border-left: 3px solid var(--ink); padding-left: 10px; }
.crowd .songs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.crowd .songs .pill { font-size: 12px; }
.crowd .wl { margin-top: 8px; }
.tuts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tuts > li { display: grid; gap: 4px; min-width: 0; border-top: 1px solid var(--hair); padding-top: 9px; }
.tuts > li:first-child { border-top: 0; padding-top: 0; }
.tuts .tt { min-width: 0; }
.tuts .tt a { font-weight: 700; overflow-wrap: anywhere; margin-right: 8px; }
.tuts .gl { color: var(--muted); font-size: 13px; }
.tuts .meta { font-size: 12.5px; gap: 5px; }
.tuts p { margin: 0; font-size: 13.5px; max-width: 80ch; }
.tlang { font-size: 12px; border: 1px solid var(--line); padding: 0 4px; color: var(--muted); flex: none; }
.tlang.en { font-weight: 700; }
.xl { font-size: 12px; padding: 0 6px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: none; white-space: nowrap; }
.start { border-left: 3px solid var(--ink); }
.start ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; max-width: 80ch; }
.start li::marker { font-weight: 700; font-variant-numeric: tabular-nums; }
#start, #learn { scroll-margin-top: 96px; }
@media (max-width: 560px) { .ev { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .toggle { margin-left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .chip { transition: background-color .12s ease; }
}
.h3 { margin: 18px 0 6px; font-size: 16px; }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.way { display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--ink); padding-top: 8px; }
.way h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.way ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.way li::marker { font-weight: 700; font-variant-numeric: tabular-nums; }
.way p { margin: 0; }
.filters.chips { gap: 6px; }
.filters .sep { width: 1px; align-self: stretch; background: var(--line); margin: 0 4px; }
.wlist table { font-size: 13.5px; }
.wlist td { vertical-align: middle; }
.wlist .c-year { white-space: nowrap; }
.wlist .c-rank { width: 2.6em; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.wlist td.c-rank { color: var(--muted); }
.wlist .wn, .tree .wn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--link); cursor: pointer; text-align: left; }
.wlist .wn:hover, .tree .wn:hover { text-decoration: underline; }
.yr.by { color: var(--muted); }
.wlist tr.grp td { padding-top: 14px; }
.has { display: inline-block; font-size: 12px; border: 1px solid var(--hair); padding: 0 5px; margin: 1px 3px 1px 0; color: var(--muted); }
.wlist .c-maker-n { display: none; }
@media (max-width: 900px) { .wlist .c-maker, .wlist .c-use { display: none; } .wlist .c-maker-n { display: block; } }
@media (max-width: 640px) { .wlist .c-kind, .wlist .c-level, .wlist .c-rank { display: none; } }
.pill.yr { font-variant-numeric: tabular-nums; color: var(--ink); }
.pill.yr.by { color: var(--muted); }
.tree { display: grid; gap: 0; overflow-x: auto; }
.trow { display: grid; grid-template-columns: minmax(200px, 34%) minmax(260px, 1fr); align-items: center; min-height: 28px; border-top: 1px solid var(--hair); }
.trow.thead { border-top: 0; min-height: 22px; }
.tname { padding-left: calc(var(--d, 0) * 16px); display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tname .tl { display: inline-block; width: 9px; height: 9px; border-left: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: translateY(-3px); flex: none; }
.ttrack { position: relative; height: 22px; margin: 0 18px 0 14px; }
.ttrack::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--hair); }
.ttrack.axis::before { display: none; }
.ttrack.axis span { position: absolute; transform: translateX(-50%); font-size: 12px; color: var(--muted); top: 4px; font-variant-numeric: tabular-nums; }
.tdot { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--ink); }
.tdot.by { background: var(--bg); border: 2px solid var(--ink); }
.legend .tdot { position: relative; display: inline-block; top: 0; margin: 0 4px 0 0; }
.tree .legend { margin-top: 10px; gap: 6px 18px; }
.tree .trel { display: none; }
@media (max-width: 600px), (hover: none) {
  .tname { flex-wrap: wrap; }
  .tree .trel { display: block; flex-basis: 100%; padding-left: 15px; white-space: normal; line-height: 1.35; }
}
@media (max-width: 600px) {
  .trow { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 3px 0 1px; }
  .trow.thead > span:first-child { display: none; }
  .tname { white-space: normal; overflow: visible; }
  .ttrack.axis span:nth-child(even) { display: none; }
}
.watch h5, .card h5 { margin: 0 0 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.vcard { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); border: 1px solid var(--line); padding: 8px 12px; background: var(--panel); min-width: 0; }
.vcard:hover { border-color: var(--ink); }
.vcard b { display: block; overflow-wrap: anywhere; }
.vcard small { display: block; color: var(--muted); font-size: 12px; }
.vplay { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); color: var(--ink); flex: none; font-size: 12px; }
details.more > summary { cursor: pointer; color: var(--muted); font-size: 13px; margin-top: 10px; }
table.steps td:first-child { white-space: nowrap; width: 6.5em; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  table.steps, table.steps thead, table.steps tbody { display: block; }
  table.steps tr { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); border-bottom: 1px solid var(--hair); }
  table.steps thead tr { border-bottom: 1px solid var(--ink); }
  table.steps th, table.steps td { border-bottom: 0; }
  table.steps tr > :first-child { grid-row: span 2; width: auto; }
  table.steps tr > :nth-child(3) { grid-column: 2; padding-top: 0; }
  table.steps td:nth-child(3):not(:has(.chip)) { display: none; }
  table.steps .line { flex-wrap: wrap; }
  table.steps .chip { white-space: normal; max-width: 100%; }
}
.chip.plain { cursor: default; }
.origin p, .origin > div { margin: 0 0 10px; max-width: 80ch; }
.sheet ol { margin: 8px 0 0; padding-left: 22px; }
.chains { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.btn.on { border-color: var(--ink); background: var(--ink); color: var(--on); }
ol.song { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--ink); }
ol.song .part { display: grid; grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); gap: 6px 16px; padding: 10px 0 10px 14px; border-bottom: 1px solid var(--hair); }
ol.song .part p { margin: 0 0 6px; }
@media (max-width: 600px) { ol.song .part { grid-template-columns: minmax(0, 1fr); } }
.ev.minor .ev-title { opacity: .82; font-size: .95em; }
.ev-text { margin: 2px 0 0; font-size: .93em; line-height: 1.5; max-width: 68ch; }
.ev.minor .ev-text { opacity: .85; }
.why { font-weight: 700; }
.gl { background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 0 4px; display: grid; gap: 4px; scroll-margin-top: 110px; min-width: 0; }
.gl h3 { margin: 0; font-size: 16px; }
.gl details.more > summary { margin-top: 2px; }
.gl details.more p { margin: 6px 0 0; font-size: 14px; }
.gl .meta { margin-top: 4px; }
.filters select { max-width: 100%; min-width: 0; }
:root {
  --mast-h: 58px;
}
body { margin: 0; }
.wk { min-height: 100%; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 30; padding: 8px 14px; background: var(--panel); color: var(--ink); border: 2px solid var(--ink); font-weight: 700; }
.skip:focus { top: 8px; }
#app:focus { outline: none; }
.mast { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 3px double var(--line); }
.mast-in { max-width: 1280px; margin: 0 auto; padding-inline: 16px; min-height: var(--mast-h); display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; border: 1px solid var(--line); background: none; width: 36px; height: 36px; cursor: pointer; flex: none; color: var(--ink); }
.menu-ic { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.brand-t { display: grid; line-height: 1.15; }
.brand-t b { font-family: var(--font-display); font-weight: 700; font-size: 19px; white-space: nowrap; }
.brand-t small { display: none; }
.search { position: relative; flex: 1; max-width: 560px; display: flex; margin-left: auto; }
.search input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-right: 0; background: var(--panel); font-size: 14.5px; }
.search input:focus { border-color: var(--ink); }
.search button { border: 1px solid var(--line); background: var(--panel); padding: 0 12px; cursor: pointer; color: var(--muted); }
.search button:hover { color: var(--ink); }
.sugg { position: absolute; top: calc(100% + 2px); left: 0; right: 0; margin: 0; padding: 4px 0; list-style: none; background: var(--panel);
  border: 1px solid var(--ink); box-shadow: 0 6px 18px rgb(0 0 0 / .14); max-height: 70vh; overflow: auto; z-index: 30; }
.sugg li { padding: 6px 12px; cursor: pointer; display: flex; gap: 10px; align-items: baseline; }
.sugg li[aria-selected="true"], .sugg li:hover { background: var(--soft); }
.sugg li b { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg li small { color: var(--muted); margin-left: auto; white-space: nowrap; font-size: 12px; }
.sugg li.all { color: var(--link); border-top: 1px solid var(--hair); margin-top: 4px; padding-top: 8px; }
.mast .langs { flex: none; display: flex; align-items: center; gap: 0; }
.mast .langs button { border: 0; border-left: 1px solid var(--hair); background: none; padding: 3px 11px; width: auto; min-width: 3.4em; line-height: 1.35;
  cursor: pointer; color: var(--muted); font-size: 13px; }
.mast .langs button:first-child { border-left: 0; }
.mast .langs button:hover { color: var(--ink); }
.mast .langs button[aria-pressed="true"] { color: var(--on); background: var(--ink); font-weight: 700; }
.nsi { display: none; }
.mpi { display: none; }
.shoshin { display: inline-block; width: .9em; height: .9em; vertical-align: -.1em; margin-right: 4px;
  background: linear-gradient(90deg, #e3b400 50%, #1e7a45 50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l7 4v10l-7-4-7 4V5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l7 4v10l-7-4-7 4V5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tipwho { font-size: 12.5px; color: var(--muted); }
.sure-tag::before { font-style: normal; margin-right: 2px; }
.sure-tag[data-sure="documented"]::before { content: "\2060◎" / ""; }
.sure-tag[data-sure="testimony"]::before { content: "\2060○" / ""; }
.sure-tag[data-sure="claim"]::before { content: "\2060△" / ""; }
.sure-tag[data-sure="inference"]::before { content: "\2060◇" / ""; }
.sure-tag[data-sure="usage"]::before { content: "\2060≈" / ""; }
.art a[href*="youtube.com/"]:not(.vcard):not(.vplay):not(.vmeta)::before, .art a[href*="youtu.be/"]:not(.vcard):not(.vplay):not(.vmeta)::before, .art a[href*="nicovideo.jp/"]:not(.vcard):not(.vplay):not(.vmeta)::before,
.art a[href*="nico.ms/"]:not(.vcard):not(.vplay):not(.vmeta)::before, .art a[href*="bilibili.com/"]:not(.vcard):not(.vplay):not(.vmeta)::before, .art a[href*="b23.tv/"]:not(.vcard):not(.vplay):not(.vmeta)::before,
.art a[href^="https://x.com/"]:not(.vcard):not(.vplay):not(.vmeta)::before, .art a[href^="https://twitter.com/"]:not(.vcard):not(.vplay):not(.vmeta)::before {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .25em; vertical-align: -.14em; background: currentColor;
  -webkit-mask: var(--pm) center / contain no-repeat; mask: var(--pm) center / contain no-repeat; }
.art a[href*="youtube.com/"], .art a[href*="youtu.be/"] { --pm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3 3h10a3 3 0 0 1 3 3v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm3.5 2.6v4.8L10.6 8z'/%3E%3C/svg%3E"); }
.art a[href*="nicovideo.jp/"], .art a[href*="nico.ms/"] { --pm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.2 1.2l3.3 2.6h1l3.3-2.6.7.9-2.4 1.7H14a2 2 0 0 1 2 2V13a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5.8a2 2 0 0 1 2-2h3.9L3.5 2.1zM2.3 6v6.8h11.4V6z'/%3E%3C/svg%3E"); }
.art a[href*="bilibili.com/"], .art a[href*="b23.tv/"] { --pm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.6 1l2.6 2.6h3.6L12.4 1l1 .9-1.8 1.7H14a2 2 0 0 1 2 2V13a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5.6a2 2 0 0 1 2-2h2.4L2.6 1.9zM2.2 5.8v7h11.6v-7zM4.6 8.2h1.6v1.6H4.6zm5.2 0h1.6v1.6H9.8z'/%3E%3C/svg%3E"); }
.art a[href^="https://x.com/"], .art a[href^="https://twitter.com/"] { --pm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.2 1.5h4.1l9.5 13H10.7zM12.3 1.5h1.8L3.6 14.5H1.8z'/%3E%3C/svg%3E"); }
.wk-body { max-width: 1280px; margin: 0 auto; padding-inline: 16px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; }
main#app { max-width: none; margin: 0; padding: 20px 0 64px; min-width: 0; }
.side { padding: 20px 0 32px; font-size: 13.5px; line-height: 1.5; }
.side.fits { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--mast-h)); max-height: calc(100vh - var(--mast-h)); overflow: auto; }
#side h2 { margin: 18px 0 5px; font-size: 12.5px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--hair); padding-bottom: 3px; font-family: var(--font-body); letter-spacing: normal; font-feature-settings: normal; }
#side h2:first-child { margin-top: 0; }
.site-foot { padding: 18px 16px 28px; text-align: center; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--hair); }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.side a { display: block; padding: 2px 0 2px 9px; margin-left: -12px; border-left: 3px solid transparent; color: var(--link); text-decoration: none; }
.side a:hover { text-decoration: underline; }
.side a[aria-current="page"] { color: var(--ink); font-weight: 700; border-left-color: var(--ink); }
.side .n { color: var(--muted); font-size: 12px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.side details.sub > summary { cursor: pointer; padding: 3px 0; color: var(--ink); font-size: 13px; }
.side details.sub > ul { padding-left: 10px; }
@media (max-width: 920px) {
  .wk-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menu-btn { display: grid; place-items: center; }
  .side { display: none; }
  .side.open { display: block; position: fixed; z-index: 25; left: 0; top: calc(env(safe-area-inset-top, 0px) + var(--mast-h)); bottom: 0;
    width: min(300px, 86vw); max-height: none; padding: 16px 20px 40px; background: var(--panel); border-right: 1px solid var(--line);
    box-shadow: 0 0 0 100vmax rgb(0 0 0 / .4); }
  .side.open a { margin-left: -12px; }
}
@media (max-width: 640px) {
  .mast-in { flex-wrap: wrap; gap: 8px 10px; padding-block: 8px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  :root { --mast-h: 104px; }
}
.art { max-width: 1000px; }
.art a, .mp a { color: var(--link); text-decoration: none; }
.art a:visited, .mp a:visited, .side a:visited { color: var(--link-visited); }
.art a:hover, .mp a:hover { text-decoration: underline; }
.art a.iw, .mp a.iw { color: var(--link-ext); }
.nw { white-space: nowrap; }
.art a.ext::after, .art a.iw::after, .mp a.iw::after { content: "\2060↗"; content: "\2060↗" / ""; font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", system-ui, sans-serif;
  font-size: .8em; font-weight: 700; font-style: normal; vertical-align: .35em; line-height: 0; margin: 0 1px 0 2px; color: var(--muted); }
.rel-h { margin: 10px 0 2px; }
ul.rel { margin-top: 2px; }
.art-h { border-bottom: 3px double var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.art-kind { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.art-kind i { width: 4px; height: 14px; background: var(--ink); }
.art-h h1 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; text-wrap: balance;
  overflow-wrap: anywhere; }
html:lang(ja) .art-h h1:has(> .nw), html:lang(zh-CN) .art-h h1:has(> .nw) { text-wrap: pretty; }
.art-h h1 > .nw { display: inline-block; width: max-content; max-width: calc(100% + 14px); white-space: normal; }
@media (max-width: 340px) { .art-h h1 { font-size: 24px; } }
@supports (word-break: auto-phrase) {
  html:lang(ja) :is(.art-h h1, .art-body h2, .art-body h3, .ibox-h), html:lang(zh-CN) :is(.art-h h1, .art-body h2, .art-body h3, .ibox-h) { word-break: auto-phrase; }
  html:lang(zh-CN) .art-h h1:has([lang="ja"]) { text-wrap: pretty; }
}
.art-h .tag { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.art-body { display: flow-root; font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
html:lang(ja) .art-body, html:lang(zh-CN) .art-body { font-size: 15.5px; line-height: 1.9; }
.art-body p { margin: 0 0 12px; }
.art-body p, .art-body li, .art-body .hat, .art-body dd { max-width: 66ch; }
html:lang(ja) .art-body p, html:lang(ja) .art-body li, html:lang(zh-CN) .art-body p, html:lang(zh-CN) .art-body li { max-width: 41em; }
.art-body td p, .art-body th p, .ibox p, .mp-box p, .reflist li, .cols li, .catlist li, .toc li, .sres li, .timeline-y li, .tuts li { max-width: none; }
.art-body h2 { clear: none; margin: 32px 0 10px; padding-bottom: 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display);
  font-weight: 700; font-size: 23px; line-height: 1.25; }
.art-body h3 { margin: 22px 0 6px; font-size: 16px; font-weight: 700; }
@media (max-width: 340px) { .art-h h1 { font-size: 22px; } .art-body h2 { font-size: 20px; } }
.art-body ul, .art-body ol { margin: 0 0 12px; padding-left: 1.5em; }
.art-body li { margin: 3px 0; }
.art-body ul:is(:has(> li.paras), :has(> li[id^="cu-"])) > li { margin-bottom: 12px; }
.art-body ol > li::marker { font-variant-numeric: tabular-nums; }
.lead p:first-child b.self { font-weight: 700; }
.hat { margin: -2px 0 10px; padding-left: 1.6em; color: var(--muted); font-style: italic; font-size: 14.5px; }
.hat a { font-style: normal; }
.hat.seq > span { display: inline-block; }
.tc-waza, .tc-person, .tc-team, .tc-history, .tc-floor, .tc-term, .tc-place, .tc-topic { --tc: var(--ink); }
.ibox { float: right; clear: right; width: 300px; margin: 4px 0 18px 28px; border: 1px solid var(--line); border-top: 2px solid var(--ink); background: var(--panel);
  font-size: 13px; line-height: 1.5; }
.ibox-h { padding: 8px 12px 6px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3;
  border-bottom: 1px solid var(--hair); }
.ibox-n { padding: 5px 12px 0; text-align: left; color: var(--muted); font-size: 12.5px; }
.ibox table { width: 100%; border-collapse: collapse; margin: 6px 0 4px; }
.ibox th { text-align: left; vertical-align: top; font-weight: 700; font-size: 12.5px; padding: 4px 8px 4px 12px; width: 38%; color: var(--muted); }
.ibox td { vertical-align: top; padding: 4px 12px 4px 4px; overflow-wrap: anywhere; }
html:lang(ja) .ibox td .muted, html:lang(zh-CN) .ibox td .muted { word-break: keep-all; }
.ibox tr + tr > th, .ibox tr + tr > td { border-top: 1px solid var(--hair); }
.ibox tr.sec th { text-align: left; padding: 8px 12px 3px; background: none; width: auto; color: var(--ink); border-top: 1px solid var(--line); }
.ibox tr.sec + tr > th, .ibox tr.sec + tr > td { border-top: 0; }
.ibox .stars { color: var(--ink); letter-spacing: 1px; }
.ibox sup.ibox-fn { font-size: 0.75em; line-height: 0; margin-left: 1px; color: var(--muted); }
.ibox .ibox-note { margin: 2px 12px 8px; font-size: 12px; line-height: 1.45; color: var(--muted); }
@media (max-width: 760px) {
  .art-body { display: flex; flex-direction: column; }
  .art-body > .art-names { order: -5; }
  .art-body > .lead { display: contents; }
  .art-body > .lead > * { order: -2; }
  .art-body > .lead > .hat, .art-body > .lead > p:not(.hat):first-child, .art-body > .lead > .hat + p:not(.hat) { order: -4; }
  .ibox { float: none; width: auto; margin: 4px 0 18px; order: -3; }
}
.art-names { margin: -4px 0 14px; color: var(--muted); font-size: 14px; }
.art-body th, .ibox th, .art-body td, .ibox td { text-transform: none; letter-spacing: normal; white-space: normal; }
.art-body th { font-size: inherit; color: var(--ink); }
.ibox th, .ibox td { border-bottom: 0; }
.art-body table { width: auto; }
.art-body .ibox table { width: 100%; }
.toc { display: inline-block; min-width: 220px; max-width: 100%; margin: 4px 0 18px; padding: 4px 16px 4px 14px; border-left: 3px solid var(--line);
  background: none; font-size: 13.5px; line-height: 1.55; }
.toc b { display: block; text-align: left; font-size: 12.5px; margin-bottom: 4px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 1px 0; }
.toc li::before { content: counters(toc, "."); display: inline-block; min-width: 1.7em; color: var(--muted); font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.toc ol ol { padding-left: 1.7em; counter-reset: toc; }
sup.ref { font-size: 12px; line-height: 1; white-space: nowrap; }
sup.ref a { padding: 0; }
sup.ref a + a { margin-left: 1px; }
sup.cn { font-size: 12px; line-height: 1; color: var(--muted); font-style: italic; white-space: nowrap; }
sup.ref::before, sup.cn::before { content: "\2060"; content: "\2060" / ""; }
.reflist { font-size: 13px; line-height: 1.5; columns: 2 26em; column-gap: 32px; padding-left: 2.4em !important; }
.reflist li { break-inside: avoid; margin: 0 0 5px; overflow-wrap: anywhere; }
.reflist li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.reflist li:target, .reflist li.hl { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.reflist .rsite { color: var(--muted); }
.reflist .rtimes { color: var(--muted); }
.reflist .refgroup { margin: 2px 0 0; padding-left: 1.2em; list-style: disc; }
.art-body .surekey { max-width: none; margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
sup.sure-mark { font-size: 0.75em; line-height: 0; white-space: nowrap; color: var(--muted); margin-left: 0.3em; }
sup.sure-mark a, .art sup.sure-mark a, .mp sup.sure-mark a { color: var(--link); }
sup.sure-mark a:visited, .art sup.sure-mark a:visited { color: var(--link); }
sup.sure-mark .sure-tag { vertical-align: baseline; font-size: inherit; line-height: inherit; margin-left: 0; cursor: pointer; color: inherit; }
.surekey b { font-weight: 700; }
.surekey .sure-tag { vertical-align: baseline; font-size: inherit; line-height: inherit; margin-left: 0; cursor: auto; }
.surekey .sure-tag::before { margin-right: 3px; }
.reflist.inline { display: inline; columns: auto; padding-left: 0 !important; list-style: none; counter-reset: ref; }
.reflist.inline li { display: inline; margin: 0 .5em 0 0; counter-increment: ref; }
.reflist.inline li::before { content: "[" counter(ref) "] "; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.refmore { font-size: 13px; font-weight: 700; margin: 12px 0 4px; }
.reflist.further { list-style: disc; }
.reflist.inline.further li::before { content: none; }
.cats { clear: both; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 7px 0; font-size: 13px; }
.cats b { font-weight: 700; margin-right: 4px; }
.cats a + a::before { content: "\a0| "; color: var(--muted); }
.stub { clear: both; margin: 18px 0 0; padding: 4px 12px; border-left: 3px solid var(--line); color: var(--muted); font-size: 13.5px; font-style: italic; }
.srcline { clear: both; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.srcline b { color: var(--ink); font-weight: 700; }
.srcline + .stub { margin-top: 10px; }
.art-body > section + .srcline { margin-top: 32px; }
.srcdata { clear: both; margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.srcdata ul { list-style: none; margin: 4px 0 0; padding: 0 0 0 1em; }
.art-body .srcdata li { max-width: none; margin: 1px 0; }
.srcdata code { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.art-body code { overflow-wrap: anywhere; }
.wnote { margin: 0 0 14px; padding: 2px 12px; border-left: 3px solid var(--line); font-size: 14px; }
html:lang(en) :not(a[href^="http"]) > span:is([lang="ja"], [lang="zh-CN"]) { word-break: keep-all; overflow-wrap: anywhere; }
.kb { white-space: nowrap; }
.vh { display: inline-block; width: 1px; height: 1px; margin-right: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; vertical-align: top; }
.sure-tag { font-size: 11px; color: var(--muted); margin-left: 2px; white-space: nowrap; font-style: italic; cursor: help; vertical-align: super; line-height: 0; }
.tt > .gl { display: inline-block; max-width: 100%; background: none; border: 0; padding: 0; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.tt > .tlang { border-color: transparent; background: none; padding: 0 1px; font-size: 12px; }
.art-body .tuts p { margin: 0; }
.wtable-wrap { overflow-x: auto; margin: 0 0 14px; }
.wtable { border-collapse: collapse; font-size: 14px; line-height: 1.45; min-width: 60%; }
.wtable th, .wtable td { border: 0; border-bottom: 1px solid var(--hair); padding: 5px 9px; vertical-align: top; text-align: left; }
.wtable th { background: none; font-weight: 700; border-bottom: 1px solid var(--ink); }
.wtable td.num, .wtable th.num { text-align: right; font-variant-numeric: tabular-nums; }
.wtable td.num { white-space: nowrap; }
.wtable td > span[title]:only-child { white-space: nowrap; }
.wtable td.num > .utc-day, .wtable td.num > a.utc-line { display: block; font-size: 12px; line-height: 1.35; }
.wtable td.num > .utc-day, .wtable td.num > a.utc-line, .wtable td.num > a.utc-line:visited { color: var(--muted); }
.wtable td.num > a.utc-line { text-decoration: underline dotted; text-underline-offset: 2px; }
@media (max-width: 600px) {
  .wtable td.num:has(> .dt-y) { white-space: normal; }
  .wtable td.num > .dt-d, .wtable td.num > .dt-y { white-space: nowrap; }
}
html:lang(ja) .wtable th, html:lang(zh-CN) .wtable th,
html:lang(ja) .wtable:has(> thead > tr > th:nth-child(4)) td:not(:first-child):not(:last-child),
html:lang(zh-CN) .wtable:has(> thead > tr > th:nth-child(4)) td:not(:first-child):not(:last-child) { word-break: keep-all; }
html:lang(ja) .wtable td:not(:first-child):not(:last-child), html:lang(zh-CN) .wtable td:not(:first-child):not(:last-child) { min-width: 4em; }
html:lang(ja) .wtable td:first-child, html:lang(zh-CN) .wtable td:first-child { word-break: keep-all; overflow-wrap: anywhere; min-width: 7em; }
html:lang(ja) .wtable td:last-child:not(:first-child), html:lang(zh-CN) .wtable td:last-child:not(:first-child) { overflow-wrap: anywhere; }
html:lang(ja) .wtable td a, html:lang(zh-CN) .wtable td a { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(ja) .wtable td.names, html:lang(zh-CN) .wtable td.names { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(ja) .wtable td:first-child:has(> .nw:only-child), html:lang(zh-CN) .wtable td:first-child:has(> .nw:only-child) { min-width: 0; }
@media (max-width: 340px) { .wtable th, .wtable td { padding-inline: 6px; } }
.wtable:has(> tbody > tr:nth-child(-n+2) > td.num:nth-child(2)) > thead th:nth-child(2),
.wtable:has(> tbody > tr:nth-child(-n+2) > td.num:nth-child(3)) > thead th:nth-child(3),
.wtable:has(> tbody > tr:nth-child(-n+2) > td.num:nth-child(4)) > thead th:nth-child(4),
.wtable:has(> tbody > tr:nth-child(-n+2) > td.num:nth-child(5)) > thead th:nth-child(5),
.wtable:has(> tbody > tr:nth-child(-n+2) > td.num:nth-child(6)) > thead th:nth-child(6) { text-align: right; }
.wtable caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 6px; }
@media (max-width: 600px) { .wtable:has(> caption) { min-width: 100%; } }
.tc-floor #s-videos + ul > li > a + .muted.small { white-space: nowrap; }
.wtable tr[id^="ck-"] > td > a.ext { white-space: nowrap; }
@media (min-width: 601px) {
  .wtable:has(> tbody > tr:nth-child(-n+2)[id^="ck-"]) { width: 100%; table-layout: fixed; }
  .wtable:has(> tbody > tr:nth-child(-n+2)[id^="ck-"]) > thead th:first-child { width: 30%; }
  .wtable:has(> tbody > tr:nth-child(-n+2)[id^="ck-"]) > thead th:nth-child(2) { width: 5.5em; }
  .wtable:has(> tbody > tr:nth-child(-n+2)[id^="ck-"]) > thead th:nth-child(3) { width: 4.75em; }
  .wtable:has(> tbody > tr:nth-child(-n+2)[id^="ck-"]) > thead th:nth-child(4) { width: 8.5em; }
}
.wtable tr.ck-at { background: color-mix(in srgb, var(--ink) 10%, transparent); animation: none; }
@media (min-width: 601px) {
  .art.tc-topic .wtable:not(.cards):has(> thead > tr > th:nth-child(3).num:last-child) { width: min(100%, max(75%, 34em)); table-layout: fixed; }
  .art.tc-topic .wtable:not(.cards):has(> thead > tr > th:nth-child(3).num:last-child) > thead th:first-child { width: 40%; }
  .art.tc-topic .wtable:not(.cards):has(> thead > tr > th:nth-child(3).num:last-child) > thead th:last-child { width: 8.5em; }
}
@media (max-width: 600px) {
  .wtable.cards, .wtable.cards tbody, .wtable.cards tr, .wtable.cards td { display: block; }
  .wtable.cards { min-width: 0; }
  .wtable.cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .wtable.cards tr { padding: 8px 0; border-bottom: 1px solid var(--hair); }
  .wtable.cards td { border: 0; padding: 1px 0; text-align: left; }
  .wtable.cards td:first-child { font-weight: 700; }
  .wtable.cards td:first-child > .small { font-weight: 400; }
  .wtable.cards tr:not(.grp):not(:has(> td[rowspan])) > td:first-child { display: inline; margin-right: 14px; }
  .wtable.cards td + td { display: inline-block; max-width: 100%; margin-right: 14px; vertical-align: top; }
  .wtable.cards td:empty { display: none; }
  .wtable.cards td[data-l]::before { content: attr(data-l); display: inline-block; margin-right: 6px; padding: 0 5px; border: 1px solid var(--hair);
    color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; vertical-align: 1px; }
  .wtable.cards tr:has(> td[rowspan]) { display: flex; flex-wrap: wrap; align-items: baseline; }
  .wtable.cards tr:has(> td[rowspan]) > td:first-child { flex-basis: auto; margin-right: 14px; }
  .wtable.cards td[rowspan] { order: -1; flex-basis: 100%; margin: -4px 0 8px; padding: 0 0 8px; border-bottom: 1px solid var(--hair); }
  .wtable.cards tr:has(> td[rowspan]),
  .wtable.cards:has(> thead > tr > th:nth-child(3):last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(3))),
  .wtable.cards:has(> thead > tr > th:nth-child(4):last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(4))),
  .wtable.cards:has(> thead > tr > th:nth-child(5):last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(5))),
  .wtable.cards:has(> thead > tr > th:nth-child(6):last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(6))) {
    border-inline-start: 2px solid var(--line); padding-inline-start: 10px; }
}
.wtable tr.grp > td.maker-head { background: none; padding: 10px 9px 4px 12px; font-weight: 400; color: var(--muted); box-shadow: inset 2px 0 var(--line); }
.wtable tr.grp > td.maker-head a { font-weight: 700; }
.wtable tr.grp > td.maker-head b { font-weight: 700; color: var(--ink); }
.wtable tr.in-band > td:first-child { box-shadow: inset 2px 0 var(--line); }
@media (min-width: 601px) { .wtable td[rowspan]:not(:first-child) { box-shadow: inset 2px 0 var(--line); } }
@media (max-width: 600px) {
  .wtable.cards tr.in-band { border-inline-start: 2px solid var(--line); padding-inline-start: 10px; }
  .wtable.cards tr.in-band > td:first-child { box-shadow: none; }
}
@media (max-width: 600px) {
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child),
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) :is(tbody, tr, td) { display: block; }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) { min-width: 0; }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) tr { padding: 6px 0; border-bottom: 1px solid var(--hair); }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) td { border: 0; padding: 1px 0; text-align: left; min-width: 0; }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) tr:not(.grp) > td:first-child { display: inline; margin-right: 14px; font-weight: 700; }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) tr:not(.grp) > td.num { display: inline-block; margin-right: 14px; }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) td:empty { display: none; }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) tr.grp > td { padding: 8px 10px; }
}
@media (max-width: 600px) {
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) tr:has(> td[rowspan]) { display: flex; flex-wrap: wrap; align-items: baseline; }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) td[rowspan] { order: -1; flex-basis: 100%; margin: 0 0 6px; padding: 0 0 7px; border-bottom: 1px solid var(--hair); }
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) tr:has(> td[rowspan]),
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(3))) { border-inline-start: 2px solid var(--line); padding-inline-start: 10px; }
}
@media (max-width: 600px) {
  .wtable.cards tr:has(> td[rowspan]),
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) tr:has(> td[rowspan]) { margin-top: 12px; padding-top: 7px; border-top: 2px solid var(--line); }
  .wtable.cards td[rowspan] { margin-top: 0; }
  .wtable.cards tr.grp + tr:has(> td[rowspan]),
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) tr.grp + tr:has(> td[rowspan]) { margin-top: 0; }
  .wtable.cards:has(> thead > tr > th:nth-child(3):last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(3))) + tr:has(> td:nth-child(3)),
  .wtable.cards:has(> thead > tr > th:nth-child(4):last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(4))) + tr:has(> td:nth-child(4)),
  .wtable.cards:has(> thead > tr > th:nth-child(5):last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(5))) + tr:has(> td:nth-child(5)),
  .wtable.cards:has(> thead > tr > th:nth-child(6):last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(6))) + tr:has(> td:nth-child(6)),
  .art:is(.tc-person, .tc-team) .wtable:not(.cards):has(> thead th.num:nth-child(2) + th:last-child) > tbody > tr:not(.grp):not(:has(> td:nth-child(3))) + tr:has(> td:nth-child(3)) { margin-top: 12px; }
}
.cols { columns: 3 15em; column-gap: 28px; margin: 0 0 14px; padding-left: 1.2em; }
.cols li { break-inside: avoid; }
.art-body .cols > li { margin: 0 0 3px; }
html:lang(ja) ul.ygroups li a, html:lang(zh-CN) ul.ygroups li a, html:lang(ja) ul.cols li a, html:lang(zh-CN) ul.cols li a { word-break: keep-all; overflow-wrap: anywhere; }
.vcard .vplay, .vcard .vmeta { text-decoration: none; }
.vcard .vmeta { color: inherit; }
.vcard .vmeta:hover { text-decoration: underline; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; margin: 0 0 14px; }
.gallery:has(> :only-child) { grid-template-columns: minmax(min(100%, 230px), auto); justify-content: start; }
details.fold { margin: 0 0 12px; border: 1px solid var(--line); }
details.fold > summary { cursor: pointer; padding: 7px 12px; font-weight: 700; font-size: 14px; color: var(--ink); }
details.fold > :not(summary) { margin-inline: 12px; }
details.fold[open] > summary { border-bottom: 1px solid var(--hair); margin-bottom: 8px; }
details.fold > summary:has(> .muted) { padding-inline-start: calc(12px + 1.06em); text-indent: -1.06em; text-wrap: balance; }
details.fold > summary > .muted { display: inline; }
html:lang(zh-CN) details.fold > summary > .muted { word-break: keep-all; overflow-wrap: anywhere; }
@supports (word-break: auto-phrase) { html:lang(ja) details.fold > summary > .muted { word-break: auto-phrase; } }
@media (min-width: 601px) { details.fold:has(> .wtable-wrap) { box-sizing: border-box; width: fit-content; min-width: 60%; max-width: 100%; } }
.timeline-y { list-style: none; padding-left: 0 !important; }
.timeline-y li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 14px; padding: 6px 0; border-bottom: 1px solid var(--hair); }
.timeline-y .d { font-size: 13px; font-weight: 700; color: var(--ink); padding-top: 2px; font-variant-numeric: tabular-nums; }
.timeline-y li.hl { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.timeline-y li.major > span > b:first-child { color: var(--ink); }
.timeline-y .evp { display: block; margin-top: .45em; }
@media (max-width: 520px) { .timeline-y li { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.mp-welcome { text-align: left; padding: 4px 0 16px; border-bottom: 3px double var(--line); margin-bottom: 22px; }
.mp-welcome h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.mp-welcome p { margin: 8px 0 0; max-width: 70ch; }
.mp-welcome .mp-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.mp-portals { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px 0; margin: 14px 0 0 -13px; font-size: 13.5px;
  clip-path: inset(-16px -16px -16px 1px); }
.mp-portals a { padding: 0 12px; border-left: 1px solid var(--line); background: none; line-height: 1.4; }
@media (max-width: 640px) { .mp-portals { gap: 8px 0; } .cats { line-height: 2; } }
.mp-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px 36px; align-items: start; }
@media (max-width: 860px) { .mp-grid { grid-template-columns: minmax(0, 1fr); } }
.mp-col { display: grid; gap: 22px; min-width: 0; }
@media (max-width: 860px) { .mp-grid { gap: 22px; } .mp-col { display: contents; } .mp-grid .mp-box.tc-history { order: 1; } }
.mp-box { border-top: 2px solid var(--ink); background: none; }
.mp-box > h2 { margin: 0; padding: 7px 0 5px; font-family: var(--font-display); font-size: 17px; font-weight: 700; border-bottom: 1px solid var(--hair); }
.mp-box > div { padding: 10px 0 4px; font-size: 14.5px; line-height: 1.6; }
.mp-box p { margin: 0 0 8px; }
.mp-box ul { margin: 0; padding-left: 1.2em; }
.mp-box li { margin: 4px 0; }
.mp-box.tc-place a, .mp-box.tc-person a { white-space: nowrap; }
.mp-start a { white-space: nowrap; }
.mp-welcome .mp-start { max-width: none; }
.mp-more { font-size: 13px; text-align: right; margin: 6px 0 0; }
.art-body .allidx { display: flex; flex-wrap: wrap; gap: 4px; max-width: none; margin: 0 0 12px; font-size: 14px; line-height: 1; }
.allidx a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 0 6px; box-sizing: border-box; border: 1px solid var(--hair); text-decoration: none; }
.catlist { columns: 3 14em; column-gap: 28px; padding-left: 1.1em; margin: 0 0 14px; }
.catlist li { break-inside: avoid; margin: 0 0 2px; }
.catgroup h3 { margin: 16px 0 4px; }
details.catfold > summary { font-weight: 400; font-size: 14px; }
.catfold > .catlist { margin-top: 4px; }
.catinits { columns: 3 14em; column-gap: 28px; margin: 0 0 14px; }
.catinits > .catlist { columns: auto; margin: 0 0 8px; }
.art-body .catinits > h3.catinit { margin: 10px 0 3px; font-size: 14.5px; break-after: avoid; }
.art-body .catinits > h3.catinit:first-child { margin-top: 0; }
.catfold > .catinits { margin-top: 4px; }
.allinits { margin: 0 0 14px; }
.allinits > .catlist { margin: 0 0 12px; }
.art-body .allinits > h3.catinit { margin: 14px 0 4px; padding-bottom: 2px; border-bottom: 1px solid var(--hair); font-size: 14.5px; break-after: avoid; }
.art-body .allinits > h3.catinit:first-child { margin-top: 0; }
.catnote { margin: 0 0 8px; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; }
.az a { min-width: 1.8em; text-align: center; padding: 1px 6px; border: 1px solid var(--hair); background: none; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sres { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.sres:not(:has(.ss)) { display: block; columns: 3 16em; column-gap: 28px; }
.sres:not(:has(.ss)) li { break-inside: avoid; margin: 0 0 6px; }
.sres li { margin: 0; }
.sres .st { font-size: 16px; font-weight: 400; border: 0; padding: 0; white-space: normal; overflow-wrap: anywhere; }
.sres .sk { color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.sres .ss { color: var(--ink); font-size: 14px; margin: 2px 0 0; }
.sres mark { background: color-mix(in srgb, var(--ink) 14%, transparent); color: inherit; padding: 0 1px; }
.wfilters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.wfilters .field { max-width: 360px; }
.hlflash { animation: hlflash 2.4s ease-out; }
@keyframes hlflash { from { background: color-mix(in srgb, var(--ink) 18%, transparent); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .hlflash { animation: none; } }
.art .card.wlist, .art .card.tree { background: none; border: 0; padding: 0; }
.art .detail { gap: 14px; }
.art .filters { margin-bottom: 10px; }
.art-body .tbl-wrap { margin-bottom: 14px; }
