:root {
  --ink: #242936;
  --muted: #7c8392;
  --accent: #7762ce;
  --link: #6957ab;
  --line: #e2e5ee;
  --paper: #f6f7fb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.9; word-break: keep-all; overflow-wrap: break-word; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
img { max-width: 100%; }
figure { margin: 0; }
p { margin: 12px 0; font-size: 16px; line-height: 1.9; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b4a7e9; outline-offset: 4px; }
::selection { background: #e2dcf7; color: #44377c; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; padding: 0; margin: -1px; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; padding: 10px 15px; margin: 0; clip: auto; overflow: visible; border-radius: 7px; background: #fff; color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 25px; height: 72px; padding: 0 max(28px,calc((100vw - 1220px)/2)); border-bottom: 1px solid #e7e9f1; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.site-brand { display: inline-flex; align-items: center; gap: 12px; color: #343b4d; font-size: 20px; line-height: 1.4; font-weight: 800; letter-spacing: -.5px; white-space: nowrap; }
.site-brand:hover { text-decoration: none; }
.site-brand > span:not(.brand-mark) { display: block; color: #343b4d; font-size: 20px; font-weight: 800; letter-spacing: -.5px; line-height: 1.35; }
.site-brand small { display: block; margin-top: 3px; color: #858d9f; font-size: 12px; font-weight: 500; letter-spacing: 1.1px; }
.brand-mark { display: inline-block; position: relative; width: 24px; height: 24px; flex: 0 0 24px; }
.brand-mark::before { position: absolute; top: 1px; left: 1px; content: ''; width: 9px; height: 9px; border-radius: 2px; background: #8d7acb; box-shadow: 12px 0 0 #efa595,0 12px 0 #a3cdbf,12px 12px 0 #bac0da; }
.brand-mark i { display: none; }
.header-nav { display: flex; align-items: center; gap: 27px; }
.header-nav a, .header-nav button { color: #7c8393; font-size: 14px; }
.header-nav a:hover { color: var(--accent); text-decoration: none; }
.wiki-page { width: 100%; max-width: 1220px; min-height: calc(100vh - 72px); margin: 0 auto; padding: 40px 28px 30px; border: 0; background: transparent; }
.archive-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 46px; align-items: start; }
.archive-toc { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 126px); overflow-y: auto; padding: 0 10px 8px 0; scrollbar-width: thin; scrollbar-color: #d9d5e9 transparent; }
.archive-article { min-width: 0; }
.page-title { margin: 0 0 27px; padding: 0; border: 0; }
.collection-label { display: block; margin: 0 0 11px; color: #9b8ec0; font-size: 12px; font-weight: 650; letter-spacing: 2px; line-height: 1.6; }
.page-title h1 { margin: 0 0 9px; font-size: 44px; line-height: 1.35; font-weight: 800; letter-spacing: -1.6px; }
.page-title h1 span { font-size: 20px; color: #969aac; font-weight: 500; letter-spacing: -.4px; }
.document-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; color: #9aa0ad; font-size: 14px; line-height: 1.8; }
.document-meta a { color: #9b92b1; }
.intro-area { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: start; gap: 30px; margin: 26px 0 23px; }
.intro-copy { min-width: 0; }
.intro-copy p:first-child { margin-top: 0; }
.lead { max-width: none; margin: 0 0 16px; color: #657084; font-size: 16px; line-height: 1.95; }
.lead strong { color: #454f65; font-weight: 650; }
.intro-preview { min-width: 0; margin: 0; }
.intro-preview .image-button { border-radius: 12px; border: 0; }
.intro-preview .image-button img { width: 100%; aspect-ratio: 4/3; max-height: none; object-fit: cover; }
.intro-preview-caption { margin: 9px 2px 0; color: #9ba1ae; font-size: 14px; line-height: 1.8; }
.quick-facts { margin: 26px 0 0; }
.quick-facts dl { margin: 0; }
dl.quick-facts, .quick-facts > dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px 23px; }
.quick-facts > div, .quick-facts dl > div { min-width: 0; padding: 0 0 14px; border-bottom: 1px solid #e2e4ee; }
.quick-facts dt { margin: 0 0 6px; color: #969cab; font-size: 14px; line-height: 1.8; }
.quick-facts dd { margin: 0; color: #5f6880; font-size: 16px; line-height: 1.75; }
.quick-facts dd small { display: block; color: #a0a5b1; font-size: 12px; }
.toc { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.toc summary { position: relative; padding: 0 12px 15px; list-style: none; cursor: pointer; color: #a0a5b2; font-size: 13px; font-weight: 650; letter-spacing: .7px; line-height: 1.8; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { float: right; content: '+'; color: #b2acbf; font-weight: 400; font-size: 16px; }
.toc[open] summary::after { content: '\2212'; }
.toc-list, .toc-list ol, .toc-list ul { padding: 0; margin: 0; list-style: none; }
.toc-list > li { margin: 0 0 6px; }
.toc-list a { display: block; padding: 8px 12px; border-radius: 8px; color: #758094; font-size: 15px; line-height: 1.6; transition: background .15s,color .15s; }
.toc-list a:hover, .toc-list a.active { color: var(--accent); background: #ece8f7; text-decoration: none; }
.toc-list > li > a { color: #59677f; font-weight: 600; }
.toc-list ol a, .toc-list ul a { padding: 6px 12px 6px 26px; color: #9ca2af; font-size: 14px; line-height: 1.65; }
.toc-toggle { color: #ada6bb; font-size: 12px; font-weight: 400; }
.toc-number, .section-number { display: none; }
.clear { clear: both; }
.wiki-section { margin-top: 64px; scroll-margin-top: 110px; }
.wiki-section h2 { margin: 0 0 22px; padding: 0; border: 0; color: #333d52; font-size: 28px; line-height: 1.5; font-weight: 750; letter-spacing: -.8px; }
.wiki-section h2::before { display: block; width: 23px; height: 3px; margin: 0 0 13px; border-radius: 2px; background: #b1a2da; content: ''; }
.wiki-section > p, .wiki-subsection > p { color: #6e778b; }
.wiki-subsection { margin-top: 34px; scroll-margin-top: 110px; }
.wiki-subsection h3, .wiki-section > h3 { margin: 0 0 14px; color: #53617a; font-size: 20px; line-height: 1.6; font-weight: 650; letter-spacing: -.4px; }
.wiki-section h4 { margin: 22px 0 9px; font-size: 17px; font-weight: 650; }
.fact-note { margin: 20px 0; padding: 12px 16px; border-left: 2px solid #d7cfea; border-radius: 0 6px 6px 0; background: #f0eef7; color: #9890aa; font-size: 14px; line-height: 1.85; }
.fact-note p { margin: 0; font-size: 14px; }
.table-scroll { width: 100%; margin: 20px 0 23px; overflow-x: auto; scrollbar-width: thin; }
.weapon-table, .history-table, .record-table, .memory-table { width: 100%; border-collapse: collapse; border: 0; color: #727c90; font-size: 16px; line-height: 1.85; }
.weapon-table th, .history-table th, .record-table th, .memory-table th { padding: 11px 14px; border: 0; border-bottom: 1px solid #e3dfef; background: #edebf5; color: #8f82af; font-size: 14px; font-weight: 600; text-align: left; }
.weapon-table td, .history-table td, .record-table td, .memory-table td { padding: 13px 14px; border: 0; border-bottom: 1px solid #e6e8ef; background: transparent; vertical-align: top; font-size: 16px; }
.weapon-table tbody th, .history-table tbody th, .record-table tbody th, .memory-table tbody th { padding: 13px 14px; border-bottom: 1px solid #e6e8ef; background: transparent; color: #70748d; font-size: 16px; font-weight: 550; vertical-align: top; }
.weapon-table { min-width: 470px; }
.history-table { min-width: 540px; }
.record-table, .memory-table { min-width: 540px; }
.history-table td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.reference { position: relative; vertical-align: super; color: #b3adbf; font-size: 12px; line-height: 0; }
.reference a, .reference sup { color: #aaa1be; font-size: 12px; }
.reference a:hover { color: var(--accent); }
.gallery-group, .archive-image-group { margin: 21px 0 26px; }
.representative { width: min(520px,100%); margin: 20px 0 24px; }
.gallery-figure { min-width: 0; margin: 0; }
.image-button { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 1px solid #e0e3ec; border-radius: 12px; overflow: hidden; background: #eceef4; text-align: center; }
.image-button img { display: block; width: 100%; aspect-ratio: 4/3; max-height: 320px; object-fit: contain; }
.representative .image-button img { max-height: 390px; }
.image-button:hover { border-color: #b9addb; }
.image-expand { position: absolute; right: 9px; bottom: 9px; padding: 2px 8px; border: 1px solid #ffffff44; border-radius: 5px; background: #31384aa8; color: #fff; font-size: 12px; line-height: 1.8; }
.gallery-figure figcaption, .representative figcaption { margin: 10px 2px 0; color: #778297; font-size: 14px; line-height: 1.8; }
.gallery-meta { display: block; margin-top: 4px; color: #a3a8b4; font-size: 12px; line-height: 1.8; }
.gallery-meta span + span::before { content: ' / '; color: #c2c5d0; }
.gallery-details { margin: 18px 0; border: 0; border-radius: 9px; background: #eff0f6; overflow: hidden; }
.gallery-details > summary { padding: 11px 16px; cursor: pointer; color: #9294a6; font-size: 14px; line-height: 1.8; }
.gallery-details[open] > summary { border-bottom: 1px solid #e2e4ef; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 22px; padding: 21px; }
.archive-image-group > .gallery-grid { padding: 0; }
.image-load-note { padding: 10px 12px; color: #9b9cad; font-size: 12px; line-height: 1.8; }
.image-load-note:empty { display: none; }
.record-list { margin: 19px 0 26px; }
.record-item { padding: 21px 0; border-bottom: 1px solid #e5e7ef; }
.record-item:first-child { padding-top: 0; }
.record-item h3, .record-item h4 { margin: 3px 0 7px; color: #6a748c; font-size: 17px; line-height: 1.65; }
.record-item p { color: #8c93a3; }
.record-date { color: #a9adba !important; font-size: 12px; }
.record-summary { margin: 7px 0; font-size: 16px; line-height: 1.9; }
.source-link { color: #9b90b4; font-size: 14px; }
.source-list { margin: 22px 0 0; padding-left: 22px; list-style: decimal; }
.source-list li { margin: 0 0 19px; padding-left: 4px; border: 0; color: #969cad; font-size: 14px; line-height: 1.85; }
.source-list li::marker { color: #b4afc5; font-size: 12px; }
.source-list a { color: #8d839f; overflow-wrap: anywhere; }
.source-meta, .source-description { display: block; color: #a3a7b5; font-size: 14px; line-height: 1.85; }
.source-description { color: #a1a6b4; }
.missing-list { padding-left: 22px; margin: 16px 0; color: #969eaf; }
.missing-list li { margin: 8px 0; font-size: 14px; }
.memory-note { color: #a0a6b4; font-size: 14px; line-height: 1.85; }
.local-memory-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 12px; }
.local-memory-head h3 { margin: 0; font-size: 20px; }
.memory-grid { display: block; }
.memory-card { padding: 22px 0; border-bottom: 1px solid #e4e6ee; }
.memory-card h3 { margin: 14px 0 8px; color: #6c758c; font-size: 18px; line-height: 1.65; }
.memory-author { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #969bad; font-size: 14px; }
.memory-author strong { color: #858c9f; font-size: 14px; }
.memory-author small { margin-left: 7px; color: #afb3c0; font-size: 12px; }
.memory-kind { margin-left: auto; color: #a9adbd; font-size: 14px; }
.memory-avatar { display: none; }
.memory-photo { display: block; max-width: min(360px,100%); max-height: 280px; margin: 0 0 17px; border-radius: 10px; object-fit: contain; }
.memory-text { margin: 11px 0; color: #8b92a5; font-size: 16px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty-note { margin: 21px 0; padding: 18px 21px; border: 1px dashed #d9d6e6; border-radius: 9px; background: #f4f3f9; color: #a3a0b5; font-size: 14px; line-height: 1.85; }
.empty-note p { margin: 5px 0 13px; font-size: 14px; }
.form-note { margin: 17px 0; padding: 11px 14px; border-left: 2px solid #d9d1ee; border-radius: 0 6px 6px 0; background: #f0edf8; color: #a095b2; font-size: 14px; line-height: 1.85; }
.primary-button, .secondary-button, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 8px 14px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; line-height: 1.6; }
.primary-button { border-color: var(--accent); background: var(--accent); color: #fff; }
.primary-button:hover { border-color: #6550b8; background: #6550b8; }
.secondary-button { border-color: #dbd7e9; background: #fff; color: #998ab3; }
.secondary-button:hover { border-color: #b8acd9; background: #f7f5fc; }
.text-button { padding: 0; border: 0; background: transparent; color: #9989b6; font-size: 14px; line-height: 1.8; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-button { min-width: 35px; min-height: 35px; padding: 4px 10px; border-color: #ebe8f2; background: #f1eff7; color: #9d94b2; font-size: 21px; }
.wiki-footer { clear: both; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 13px 24px; margin-top: 64px; padding-top: 23px; border-top: 1px solid #e2e4ed; color: #b0b3c0; font-size: 12px; line-height: 1.9; }
.wiki-footer p { margin: 0; font-size: 12px; }
.wiki-footer strong { color: #969aaf; font-weight: 600; }
.back-to-top { position: fixed; right: 24px; bottom: 22px; z-index: 20; padding: 7px 13px; border: 1px solid #e2ddee; border-radius: 8px; background: #ffffffed; color: #a294ba; font-size: 14px; }
dialog { position: fixed; width: calc(100% - 36px); max-height: 92dvh; margin: auto; border: 1px solid #dfd8ef; border-radius: 14px; color: var(--ink); background: #fff; box-shadow: 0 20px 70px #2b24452b; }
dialog::backdrop { background: #25243caa; backdrop-filter: blur(4px); }
dialog h2 { margin: 0; font-size: 23px; line-height: 1.55; }
.lightbox { max-width: 1100px; width: 95vw; padding: 0; overflow: auto; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; border-bottom: 1px solid #ece8f4; }
.lightbox-top > span { color: #aaa1bd; font-size: 12px; }
.lightbox-image { display: block; width: 100%; max-height: 60vh; object-fit: contain; background: #262a39; }
.lightbox-body { display: block; padding: 25px; }
.lightbox-body h2 { margin: 6px 0 12px; color: #606a82; font-size: 23px; }
.lightbox-body p { margin: 6px 0 14px; color: #969caf; font-size: 16px; }
.lightbox-body .source-meta { margin: 0; color: #b0a5c5; font-size: 12px; }
.image-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 25px; margin: 20px 0; padding: 17px 0; border-top: 1px solid #ece9f2; border-bottom: 1px solid #ece9f2; }
.image-details > div { min-width: 0; }
.image-details dt { color: #b1a8c1; font-size: 12px; }
.image-details dd { margin: 3px 0 0; color: #91869f; font-size: 14px; line-height: 1.8; }
.lightbox-controls { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.memory-dialog { max-width: 620px; padding: 27px; }
.memory-dialog .lightbox-top { padding: 0 0 17px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; color: #9b8cac; font-size: 14px; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 12px; border: 1px solid #ded6eb; border-radius: 7px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.75; }
.field input::placeholder, .field textarea::placeholder { color: #b8b0c3; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #af9cda; outline: 2px solid #ede7f8; outline-offset: 1px; }
.field textarea { min-height: 135px; resize: vertical; }
.field small { color: #b9afc6; font-size: 12px; }
.field input[type='file'] { font-size: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin: 18px 0; }
.form-row .field { min-width: 0; margin: 0; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 21px; }
.form-error { color: #bc737e; font-size: 14px; line-height: 1.8; }
.form-error:empty { display: none; }
.about-content { color: #9d94ac; font-size: 16px; line-height: 1.9; }
.about-content h3 { margin: 25px 0 9px; color: #9282aa; font-size: 18px; }
.about-content p { margin: 0 0 14px; font-size: 16px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 100; max-width: calc(100% - 32px); transform: translateX(-50%); padding: 12px 19px; border: 1px solid #6b5a95; border-radius: 9px; background: #61527f; color: #fff; font-size: 14px; line-height: 1.8; box-shadow: 0 5px 20px #37274922; }
@media (max-width: 1100px) {
  .archive-layout { grid-template-columns: 190px minmax(0,1fr); gap: 32px; }
  .intro-area { grid-template-columns: minmax(0,1fr) 260px; gap: 24px; }
}
@media (max-width: 980px) {
  .archive-layout { display: block; }
  .archive-toc { position: static; max-height: none; padding: 0 0 22px; margin-bottom: 30px; border-bottom: 1px solid #e5e6ef; overflow: visible; }
  .toc summary { padding-left: 0; padding-bottom: 11px; }
  .toc-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 6px 20px; max-height: 240px; overflow-y: auto; }
  .toc-list ol, .toc-list ul { display: block; max-height: none; overflow: visible; }
  .intro-area { grid-template-columns: minmax(0,1fr) 310px; gap: 28px; }
}
@media (max-width: 700px) {
  .wiki-page { padding-top: 29px; }
  .intro-area { grid-template-columns: 1fr; gap: 21px; }
  .intro-preview { max-width: 520px; }
  dl.quick-facts, .quick-facts > dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 23px; }
  .page-title h1 { font-size: 38px; }
  .wiki-section { margin-top: 52px; }
  .wiki-section h2 { font-size: 26px; }
  .site-brand small { display: none; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 87px; }
  .site-header { height: 66px; gap: 14px; padding: 0 20px; }
  .site-brand { font-size: 18px; gap: 10px; }
  .site-brand > span:not(.brand-mark) { font-size: 18px; }
  .header-nav { gap: 17px; }
  .header-nav a, .header-nav button { font-size: 14px; }
  .header-nav a:nth-child(n+3), .header-nav #about-button { display: none; }
  .wiki-page { padding: 25px 20px; }
  .archive-toc { padding-bottom: 17px; margin-bottom: 28px; }
  .toc summary { font-size: 13px; }
  .toc-list { gap: 5px 9px; }
  .toc-list a { padding: 7px 9px; font-size: 14px; }
  .toc-list ol a, .toc-list ul a { padding: 5px 9px 5px 20px; font-size: 14px; }
  .page-title { margin-bottom: 22px; }
  .page-title h1 { font-size: 34px; letter-spacing: -1.1px; }
  .page-title h1 span { display: block; margin-top: 4px; font-size: 18px; }
  .document-meta { gap: 4px 11px; font-size: 12px; }
  .collection-label { font-size: 12px; }
  .intro-preview { width: 100%; max-width: none; }
  .intro-preview-caption { font-size: 14px; }
  .quick-facts dd { font-size: 16px; }
  .wiki-section { margin-top: 49px; }
  .wiki-section h2 { font-size: 25px; }
  .wiki-subsection { margin-top: 29px; }
  .wiki-subsection h3, .wiki-section > h3 { font-size: 20px; }
  .gallery-grid { gap: 23px; padding: 17px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-figure figcaption { font-size: 14px; }
  .representative { width: 100%; }
  .image-button img { max-height: 330px; }
  .fact-note { padding: 11px 14px; font-size: 14px; }
  .weapon-table td, .history-table td, .record-table td, .memory-table td { padding: 11px 12px; }
  .local-memory-head { align-items: flex-start; gap: 14px; }
  .local-memory-head h3 { font-size: 20px; }
  .local-memory-head .text-button { flex-shrink: 0; }
  .memory-author small { display: block; margin-left: 0; }
  .wiki-footer { display: block; margin-top: 46px; }
  .wiki-footer > * + * { margin-top: 12px; }
  .back-to-top { right: 15px; bottom: 16px; padding: 6px 11px; }
  dialog { width: calc(100% - 24px); max-height: 94dvh; }
  .lightbox { width: calc(100% - 20px); }
  .lightbox-body { display: block; padding: 21px; }
  .lightbox-body h2 { font-size: 21px; }
  .lightbox-image { max-height: 53vh; }
  .image-details { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 20px; }
  .lightbox-controls { justify-content: flex-start; }
  .memory-dialog { padding: 23px; }
  .memory-dialog h2 { font-size: 21px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 380px) {
  .wiki-page { padding-right: 17px; padding-left: 17px; }
  .site-header { padding-right: 17px; padding-left: 17px; }
  .toc-list { grid-template-columns: 1fr; }
  .header-nav { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Final mapping to the compact archive article. */
.intro-headline { margin: 0 0 14px; color: #4c5770; font-size: 23px; font-weight: 650; letter-spacing: -.7px; line-height: 1.6; }
.intro-caption { margin: 18px 0 0; color: #768095; font-size: 14px; line-height: 1.9; }
.toc-note { margin: 25px 12px 0; padding-top: 20px; border-top: 1px solid #e2e3ed; color: #788297; font-size: 14px; line-height: 1.95; }
.source-details { margin: 23px 0 28px; padding: 15px 0; border-top: 1px solid #e4e5ef; border-bottom: 1px solid #e4e5ef; }
.source-details > summary { cursor: pointer; color: #796c91; font-size: 14px; line-height: 1.8; }
.source-details[open] > summary { margin-bottom: 20px; }
.source-details .source-list { margin-top: 15px; }
.document-meta, .intro-preview-caption { color: #737e90; }
.quick-facts dt { color: #737e90; }
.toc summary { color: #758094; }
.toc-list ol a, .toc-list ul a { color: #718095; }
.wiki-section > p, .wiki-subsection > p { color: #5b677d; }
.fact-note { color: #81718f; }
.record-item p, .memory-text { color: #657289; }
.record-date { color: #7a8498 !important; }
.source-link { color: #827098; }
.source-list li, .missing-list { color: #727d91; }
.source-list a { color: #79648e; }
.source-meta, .source-description { color: #7a8495; }
.memory-note, .memory-author, .memory-kind { color: #7a8496; }
.memory-author strong { color: #68768c; }
.memory-author small { color: #7a8496; }
.form-note, .empty-note { color: #867394; }
.text-button, .secondary-button { color: #7c659c; }
.field { color: #78668c; }
.field small { color: #897995; }
.lightbox-body p { color: #6a768b; }
.lightbox-body .source-meta, .image-details dt { color: #91809f; }
.image-details dd { color: #756283; }
.wiki-footer { color: #838ca0; }
.wiki-footer strong { color: #778198; }
@media (max-width: 980px) { .toc-note { display: none; } }
@media (max-width: 600px) { .intro-headline { font-size: 21px; } .intro-caption { font-size: 14px; } }
.catalog-title{padding:20px 0 28px}.catalog-title h1{font-size:40px;letter-spacing:-1.7px;line-height:1.4;margin:12px 0}.catalog-title>p:not(.collection-label){color:#687082;max-width:740px}.catalog-counts{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:20px;color:#838998;font-size:14px}.catalog-counts strong{font-size:17px;color:#4c416f}.catalog-featured{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0 26px}.catalog-featured a{padding:5px 12px;background:#eeebf8;border-radius:6px;font-size:14px;color:#655393}.catalog-controls{padding:22px 24px;background:#fff;border:1px solid #e6e7ed;border-radius:12px}.catalog-search{display:flex;align-items:center;gap:20px}.catalog-search>span{font-size:14px;white-space:nowrap;color:#767f8e}.catalog-search input{width:100%;font-size:17px;padding:12px 14px;border:1px solid #dde0e8;border-radius:8px;color:#272d3b;background:#fafbfe}.filter-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:20px}.filter-row label{font-size:13px;color:#777f8e}.filter-row select{display:block;width:100%;margin-top:5px;padding:8px 28px 8px 10px;border:1px solid #e0e3ec;border-radius:6px;background-color:#fff;color:#4f5667;font:inherit;font-size:14px;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#9a90b8 50%),linear-gradient(135deg,#9a90b8 50%,transparent 50%);background-position:calc(100% - 14px) 50%,calc(100% - 10px) 50%;background-size:4px 4px;background-repeat:no-repeat}.result-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.result-toolbar p{font-size:14px;color:#777f8e}.catalog-table-wrap{width:100%;overflow:auto;border-top:1px solid #dbdee8}.catalog-table{width:100%;border-collapse:collapse;table-layout:fixed}.catalog-table th{text-align:left;font-size:13px;color:#838b9a;font-weight:500;padding:14px 12px;border-bottom:1px solid #e7e9ef}.catalog-table td{padding:17px 12px;border-bottom:1px solid #e6e9ef;font-size:14px;vertical-align:middle;color:#6d7585}.catalog-table th:first-child{width:35%}.catalog-table th:nth-child(2){width:13%}.catalog-table th:nth-child(3){width:18%}.catalog-table th:nth-child(4){width:12%}.catalog-table th:nth-child(5){width:22%}.catalog-table tbody tr:hover{background:#f0eef9}.game-name{font-size:17px;font-weight:650;color:#292e3c}.game-alias{display:block;font-size:12px;color:#9298a5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.status-tag{display:inline-block;margin-left:8px;padding:1px 6px;font-size:12px;line-height:1.8;color:#8c7a70;background:#f2eeea;border-radius:4px}.status-tag.live{background:#e8f2ed;color:#5d8374}.media-mark{font-size:12px;color:#9b8fb7;margin-left:8px}.catalog-empty{padding:48px;text-align:center;color:#8d93a0}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;padding:28px 0}.pagination span{font-size:14px;color:#7c8492}.catalog-footer{margin:44px 0 0;border-top:1px solid #e2e5ed;padding-top:24px;display:flex;align-items:center;gap:24px;color:#9198a5;font-size:13px}.catalog-footer strong{color:#687083}.catalog-footer p{font-size:13px}.detail-breadcrumb{margin:0 0 24px;font-size:14px;color:#959baa}.detail-breadcrumb a{margin-right:10px}.game-tags{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.game-tags span{background:#eeebf7;color:#8070a4;border-radius:5px;padding:3px 8px;font-size:13px}.feature-list{padding-left:22px}.feature-list li{font-size:16px;margin:12px 0;line-height:1.9}.game-section p{white-space:pre-line}.game-overview{font-size:17px;color:#4f5767;line-height:1.95}.detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;border-top:1px solid #e2e5ed;border-bottom:1px solid #e2e5ed;padding:18px 0;margin:24px 0 36px}.detail-facts div{min-width:0}.detail-facts dt{font-size:13px;color:#969dac}.detail-facts dd{font-size:15px;color:#50596a;margin:4px 0 0}.game-source-list{padding-left:22px}.game-source-list li{margin:12px 0;font-size:14px;overflow-wrap:anywhere}.game-source-list a{color:#7a68a9}.game-screen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.game-screen-grid figure{margin:0}.game-screen-grid figcaption{font-size:14px;color:#77808f;margin-top:7px;line-height:1.7}.game-screen-grid img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#f0f1f6;border-radius:10px}.game-screen-grid .image-button{border:1px solid #e2e5ed;border-radius:10px;background:#f0f1f6}.detail-related{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.detail-related a{background:#efedf7;border-radius:5px;padding:5px 10px;font-size:14px}.photo-rest{margin-top:24px}.photo-rest summary{color:#8875b0;font-size:14px;cursor:pointer;padding:12px 0}.photo-rest .game-screen-grid{margin-top:18px}.detail-cover{width:100%;max-height:230px;object-fit:contain;border-radius:12px;background:#edeff5}.simple-meta{color:#969dad;font-size:13px}.archive-toc .toc-list a.active{font-weight:650;color:#57417f}.lightbox-body{display:block!important}.lightbox-controls{margin-top:18px}.lightbox-image{background:#eef0f5}.image-unavailable-note{display:block;padding:16px;font-size:13px;color:#8b829d}.print-only{display:none}
@media(max-width:980px){.filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-table th:first-child{width:40%}.catalog-table th:nth-child(3){width:22%}.catalog-table th:nth-child(5){display:none}.catalog-table td:nth-child(5){display:none}.catalog-table th:nth-child(4){width:16%}.catalog-table th:nth-child(2){width:22%}}
@media(max-width:600px){.catalog-title h1{font-size:31px}.catalog-title{padding:8px 0 20px}.catalog-controls{padding:16px}.catalog-search{display:block}.catalog-search>span{display:block;margin-bottom:7px}.catalog-search input{font-size:16px}.filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-counts{gap:8px 16px}.catalog-table{min-width:480px}.catalog-table th:first-child{width:45%}.catalog-table th:nth-child(2){width:19%}.catalog-table th:nth-child(3){width:22%}.catalog-table th:nth-child(4){width:14%}.catalog-table td{padding:15px 8px}.game-name{font-size:16px}.catalog-featured{gap:7px}.catalog-featured a{font-size:13px}.catalog-footer{display:block}.detail-facts{gap:16px}.game-screen-grid{grid-template-columns:1fr}.header-nav button{font-size:12px}.header-nav{gap:10px}.detail-breadcrumb{font-size:13px}.status-tag{margin-left:0;display:table;margin-top:4px}.game-overview{font-size:16px}}
.export-menu{position:relative}.export-menu summary{list-style:none;font-size:14px;color:#7c8393;cursor:pointer;white-space:nowrap}.export-menu summary::-webkit-details-marker{display:none}.export-menu>div{position:absolute;top:calc(100% + 14px);right:0;min-width:180px;padding:10px;border:1px solid #e0dcea;border-radius:10px;background:#fff;box-shadow:0 12px 30px #3a31551a}.export-menu>div button{display:block;width:100%;padding:8px 10px;text-align:left;white-space:nowrap;border-radius:6px}.export-menu>div button:hover{background:#f0edf9}.export-menu[open]>summary{color:#6957ab}
@media print{.site-header,.catalog-controls,.pagination,.archive-toc,.back-to-top{display:none}.wiki-page{max-width:none;margin:0;padding:0}.archive-layout{display:block}.print-only{display:block}a{color:inherit}}

/* Progressive static pages, layered over the existing archive theme. */
[hidden] { display: none !important; }
.status-tag:empty { display: none; }
.collection-label, .site-brand small, .toc summary, .toc-toggle, .catalog-counts,
.filter-row label, .catalog-table th, .catalog-table td, .game-alias,
.detail-facts dt, .game-tags span, .wiki-footer, .wiki-footer p,
.gallery-meta, .game-excerpt { font-size: 14px; }
.status-tag, .catalog-footer, .catalog-footer p, .simple-meta,
.detail-breadcrumb, .document-meta { font-size: 14px; }
.detail-facts dd { font-size: 16px; }
.wiki-section { margin-top: 40px; }
.static-catalog-controls, .catalog-controls { margin: 24px 0; }
.static-catalog-controls label, .catalog-controls label { font-size: 14px; }
.static-catalog-controls input, .static-catalog-controls select,
.catalog-controls input, .catalog-controls select { font-size: 16px; }
.static-catalog-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr) minmax(150px, 1fr); gap: 16px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.static-catalog-controls label { display: flex; flex-direction: column; gap: 7px; color: #727d91; }
.static-catalog-controls input, .static-catalog-controls select { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #dde0e8; border-radius: 7px; color: var(--ink); background: #fff; }
.static-catalog-controls input { background: #fafbfe; }
.static-catalog-controls input::placeholder { color: #8b91a0; }
.filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-excerpt { display: block; margin-top: 7px; line-height: 1.75; color: #737d90; font-weight: 400; }
.catalog-table { table-layout: auto; }
.catalog-table th:first-child { width: 45%; }
.catalog-table td { vertical-align: top; }
.catalog-footer, .catalog-footer p, .simple-meta { font-size: 14px; }
.catalog-table a.game-name { display: inline-block; }
.catalog-result-count { color: #7c8392; font-size: 14px; margin: 20px 0 12px; }
.photo-open { display: block; border: 1px solid #e0e3ec; border-radius: 10px; overflow: hidden; background: #f0f1f6; }
.photo-open:hover { border-color: #b9addb; }
.photo-open img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; max-height: 340px; border-radius: 0; }
.photo-edition { display: block; margin-top: 4px; color: #647087; font-size: 14px; }
.photo-origin { margin-top: 4px; color: #647087; font-size: 14px; }
.photo-origin summary { cursor: pointer; }
.photo-origin code { overflow-wrap: anywhere; }
.archive-lightbox { max-width: 1100px; width: calc(100% - 32px); padding: 0; max-height: 92dvh; overflow: auto; }
.archive-lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.archive-lightbox-position { color: #727d91; font-size: 14px; }
.archive-lightbox-image { display: block; width: 100%; height: auto; max-height: 66vh; object-fit: contain; background: #eef0f5; }
.archive-lightbox-caption { margin: 0; padding: 18px 22px 12px; color: #647087; font-size: 16px; }
.archive-lightbox-caption .source-link { color: #6b5689; }
.archive-lightbox-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fff; }
.archive-lightbox-actions a:hover { text-decoration: none; background: #f7f5fc; }
@media (max-width: 700px) {
  .static-catalog-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .static-catalog-controls label:first-child { grid-column: 1 / -1; }
  .catalog-table { min-width: 560px; }
  .catalog-table-wrap { overflow-x: auto; }
  .archive-lightbox { width: calc(100% - 20px); max-height: 94dvh; }
  .archive-lightbox-image { max-height: 58vh; }
  .archive-lightbox-actions { justify-content: flex-start; }
}
@media print {
  .static-catalog-controls, .catalog-result-count { display: none; }
  .catalog-table { min-width: 0; }
}
