:root {--bg-color:#f5f3f0;--paper-color:#fff;--text-main:#292b30;--text-muted:#626770;--brand:#a62c3c;--brand-light:#e5cbd0;--accent:#922335;--rule-line:#e5e2df;}
body{background-image:none;font-family:system-ui,-apple-system,"Yu Gothic UI","Meiryo",sans-serif;line-height:1.7}
.site-header{box-shadow:0 2px 8px #30202009}.site-intro-copy{color:#52565e}.subpage-title{line-height:1.5!important}
.work-nav{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 18px}.work-nav a{padding:8px 12px;border:1px solid var(--brand-light);border-radius:7px;color:var(--accent);background:#fff;text-decoration:none;min-height:44px;display:flex;align-items:center;font-size:.9rem}.work-nav a[aria-current=page]{background:var(--accent);color:#fff;border-color:var(--accent)}
[data-static-section]{scroll-margin-top:16px}.content-section>h2,[data-static-list]>h2{font-size:1.15rem;margin:24px 0 10px;border-left:4px solid var(--accent);padding-left:10px}.panel p{margin:8px 0}.facts{display:grid;grid-template-columns:100px 1fr;gap:8px 16px;margin:0}.facts dt{color:var(--text-muted);font-size:.88rem}.facts dd{margin:0}.section-links{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.9rem;margin:10px 0}.section-links a{color:var(--accent);padding:7px 0}
.character-search-panel,.character-filter-panel,.character-list-panel{box-shadow:none}.character-filter-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.character-filter-control>span{color:var(--text-muted)}.character-table{table-layout:fixed;width:100%}.character-table th,.character-table td{overflow-wrap:anywhere;white-space:normal}.character-table th{background:#f8f1f2}.character-table td{padding:10px 12px;vertical-align:top}.character-table th:first-child{width:34%}.character-table th:nth-child(2){width:20%}.character-table th:last-child{width:auto}.character-name-button{min-height:44px;align-items:center;gap:9px}.character-name-text{line-height:1.65;color:var(--text-main)}.character-name-static{font-weight:600}.character-sort-button,.character-mobile-sort-button{min-height:44px;font-size:.85rem}.character-mobile-list-head{flex-wrap:wrap;gap:4px;justify-content:flex-start}.character-card{border-color:#e5d9dc;background:#fff;border-radius:9px;box-shadow:none}.character-card-summary{padding:4px 0;align-items:flex-start}.character-card-value{color:#7c2836;background:#f7ecef;border-radius:5px;padding:2px 6px;font-size:.78rem;line-height:1.6;flex-shrink:0;max-width:43%;text-align:right}.record-subline{margin:3px 0 6px;font-size:.85rem;color:#52565e;overflow-wrap:anywhere}.record-subline .field-label{font-size:.75rem;color:var(--text-muted);margin-right:7px}.entry-number{font-weight:400;color:#686a70;font-size:.78rem;margin-right:7px;white-space:nowrap}.character-detail{background:#f9f7f6;border-radius:6px;line-height:1.8;display:block!important}.character-detail-item h3{font-size:.78rem;margin:10px 0 3px;color:#65606a}.character-detail-item p{margin:0;white-space:pre-line;font-size:.9rem}.character-detail-item ol{font-size:.9rem;padding-left:1.5rem;margin:4px 0}.character-detail-item li+li{margin-top:7px}.character-empty{color:#57535b;padding:24px;text-align:center}.character-search,.character-filter-select{min-height:44px}.character-search:focus-visible,.character-filter-select:focus-visible,a:focus-visible{outline:3px solid #9d2941;outline-offset:3px}.section-summary{font-size:.88rem;color:#575a63}.entry-link{color:var(--accent)}
@media(max-width:850px){.work-nav{gap:5px}.work-nav a{font-size:.79rem;padding:8px 9px}.facts{grid-template-columns:80px 1fr;font-size:.9rem}.character-filter-grid{grid-template-columns:1fr 1fr}.character-filter-grid label:last-child:nth-child(odd){grid-column:1/-1}.character-mobile-list-head .character-mobile-sort-button{padding:5px 9px}.character-card-summary--with-value{grid-template-columns:minmax(0,1fr) auto}.record-subline{padding-left:1px}.character-card-value{max-width:150px}.character-card .character-name-button{padding:0}.subpage-title{font-size:1.25rem!important}}

body[data-rendering="static"] [hidden]{display:none!important}
body[data-rendering="static"] #spirits .character-table th:nth-child(1){width:31%}body[data-rendering="static"] #spirits .character-table th:nth-child(2){width:4rem}body[data-rendering="static"] #spirits .character-table th:nth-child(3){width:5rem}body[data-rendering="static"] #spirits .character-table th:nth-child(4){width:auto}
body[data-rendering="static"] .character-table thead{background:#f8f1f2}body[data-rendering="static"] .character-detail{background:#f9f7f6}
body[data-rendering="static"] .character-table{min-width:0}
body[data-rendering="static"] #endings .character-table th:nth-child(1),body[data-rendering="static"] #endings .character-table th:nth-child(2){width:30%}
body[data-rendering="static"] #stories .character-table th:nth-child(2){width:6rem}
body[data-rendering="static"] #lenses .character-table th:first-child{width:8.5rem}
body[data-rendering="static"] #lenses .character-table th:nth-child(2){width:6rem}
body[data-rendering="static"] .camera-features-table th:nth-child(2){width:5rem}
body[data-rendering="static"] .camera-features-table th:first-child{width:16%}
@media(max-width:850px){.title-select-list{gap:8px}.title-select-card{padding:14px 10px;gap:8px}.title-select-card-title{font-size:.95rem;line-height:1.6}.title-select-card-meta{font-size:.72rem;flex-shrink:0}}

@media(max-width:850px){
  body[data-rendering="static"] .character-card{padding:4px 12px 8px;line-height:1.4}
  body[data-rendering="static"] .character-card-summary{padding:0;align-items:center;gap:8px}
  body[data-rendering="static"] .character-card-summary > .character-card-name-cell:only-child{grid-column:1/-1}
  body[data-rendering="static"] .character-card .character-name-button{width:100%;justify-content:space-between}
  body[data-rendering="static"] .character-card .record-subline{display:inline-block;max-width:100%;margin:0 24px 0 0;padding:0;font-size:.875rem;line-height:1.6;vertical-align:top}
  body[data-rendering="static"] .character-card .record-subline:last-of-type{margin-right:0}
  body[data-rendering="static"] .record-subline .field-label{margin-right:4px}
  body[data-rendering="static"] .character-mobile-list-head{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 8px}
  body[data-rendering="static"] .character-mobile-sort-label{flex-basis:100%;font-size:.75rem;line-height:1.5;color:var(--text-muted)}
  body[data-rendering="static"] .character-mobile-sort-button{flex:1 1 auto;white-space:nowrap}
  body[data-rendering="static"] .character-card .character-detail{padding:8px 0 0}
  body[data-rendering="static"] #spirits .character-card-summary{grid-template-columns:auto minmax(0,1fr)}
  body[data-rendering="static"] #spirits .character-card-name-cell{grid-column:2;grid-row:1}
  body[data-rendering="static"] #spirits .character-card-value{grid-column:1;grid-row:1;align-self:center;min-width:2.25rem;font-size:.875rem;line-height:1.5;font-variant-numeric:tabular-nums;text-align:center}
  body[data-rendering="static"] .character-card .character-detail-item{display:block;margin-top:6px}
  body[data-rendering="static"] .character-card .character-detail-item h3{white-space:normal;margin:0 0 6px;font-size:.875rem;line-height:1.5}
  body[data-rendering="static"] .character-card .character-detail-item p,
  body[data-rendering="static"] .character-card .character-detail-item ol{font-size:1rem;line-height:1.75;overflow-wrap:anywhere}
}

body[data-rendering="static"] #spirits .character-table td:nth-child(2){white-space:nowrap}
@media(min-width:851px) and (max-width:1024px){body[data-rendering="static"] .character-table th{padding:0}body[data-rendering="static"] .character-table td{padding:10px 8px}body[data-rendering="static"] .character-sort-button{padding:8px 6px;gap:4px}}
