body[data-work-slug="heat-the-soul-5"] .work-character-table,
body[data-work-slug="heat-the-soul-5"] .work-reference-table { table-layout: fixed; }
body[data-work-slug="heat-the-soul-5"] .work-character-table th:nth-child(1),
body[data-work-slug="heat-the-soul-5"] .work-character-table td:nth-child(1) { width: 34%; }
body[data-work-slug="heat-the-soul-5"] .work-character-table th:nth-child(2),
body[data-work-slug="heat-the-soul-5"] .work-character-table td:nth-child(2) { width: 28%; }
body[data-work-slug="heat-the-soul-5"] .work-character-table th:nth-child(3),
body[data-work-slug="heat-the-soul-5"] .work-character-table td:nth-child(3) { width: 20%; }
body[data-work-slug="heat-the-soul-5"] .work-character-table th:nth-child(4),
body[data-work-slug="heat-the-soul-5"] .work-character-table td:nth-child(4) { width: 18%; }
body[data-work-slug="heat-the-soul-5"] .work-reference-table th:nth-child(1),
body[data-work-slug="heat-the-soul-5"] .work-reference-table td:nth-child(1) { width: 28%; }
body[data-work-slug="heat-the-soul-5"] .work-reference-table th:nth-child(2),
body[data-work-slug="heat-the-soul-5"] .work-reference-table td:nth-child(2) { width: 26%; }
body[data-work-slug="heat-the-soul-5"] .work-reference-table th:nth-child(3),
body[data-work-slug="heat-the-soul-5"] .work-reference-table td:nth-child(3) { width: 46%; }
.reference-primary-cell { color: var(--accent); }
.reference-primary-cell .character-name-text,
.reference-card .character-card-value,
.reference-card .work-card-meta span { overflow-wrap: anywhere; }
.work-card-meta { display:flex; flex-wrap:wrap; gap:6px 10px; padding:6px 12px 9px; color:var(--text-main); font-size:.78rem; }
.work-card-meta span { display:inline-flex; gap:5px; align-items:baseline; min-width:0; }
.work-mobile-sort-head { grid-template-columns:repeat(4,minmax(0,1fr)); }
.reference-mobile-sort-head { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:850px) { .work-mobile-sort-head .character-mobile-sort-button,.reference-mobile-sort-head .character-mobile-sort-button{min-width:0;padding-inline:4px;font-size:.72rem} }
@media (max-width:430px) { .work-mobile-sort-head,.reference-mobile-sort-head { grid-template-columns:repeat(2,minmax(0,1fr)); } }
