/* Contents links inside the existing work-page frame. */
.work-content-group { min-width: 0; scroll-margin-top: 1rem; }
#contents a { display: inline-block; min-height: 44px; padding: 6px 0; box-sizing: border-box; }
#contents li + li { margin-top: 0; }
#prototypes .character-detail > .guide-detail-group:has(.guide-table) { grid-column: 1 / -1; }
.work-contents-back { padding: 0 16px 8px; }
/* Short labels leave room for instructions in the existing guide tables. */
#controls .guide-table th:first-child, #controls .guide-table td:first-child,
#extra-training .guide-table th:first-child, #extra-training .guide-table td:first-child,
#boundary .guide-table th:first-child, #boundary .guide-table td:first-child { width: 25%; }
#controls .guide-table th:last-child, #controls .guide-table td:last-child,
#extra-training .guide-table th:last-child, #extra-training .guide-table td:last-child,
#boundary .guide-table th:last-child, #boundary .guide-table td:last-child { width: 75%; }
#growth .guide-table th:first-child, #growth .guide-table td:first-child,
#dive-guide .guide-table th:first-child, #dive-guide .guide-table td:first-child,
#sky-city .guide-table th:first-child, #sky-city .guide-table td:first-child,
#unlocks .guide-table th:first-child, #unlocks .guide-table td:first-child,
#coop .guide-table th:first-child, #coop .guide-table td:first-child { width: 32%; }
#growth .guide-table th:last-child, #growth .guide-table td:last-child,
#dive-guide .guide-table th:last-child, #dive-guide .guide-table td:last-child,
#sky-city .guide-table th:last-child, #sky-city .guide-table td:last-child,
#unlocks .guide-table th:last-child, #unlocks .guide-table td:last-child,
#coop .guide-table th:last-child, #coop .guide-table td:last-child { width: 68%; }
#enemy-guide .guide-table-wrap:first-of-type th:nth-child(1),
#enemy-guide .guide-table-wrap:first-of-type td:nth-child(1) { width: 12%; }
#enemy-guide .guide-table-wrap:first-of-type th:nth-child(2),
#enemy-guide .guide-table-wrap:first-of-type td:nth-child(2) { width: 28%; }
#enemy-guide .guide-table-wrap:first-of-type th:nth-child(3),
#enemy-guide .guide-table-wrap:first-of-type td:nth-child(3) { width: 60%; }
#enemy-guide .guide-table-wrap:last-of-type th:nth-child(1),
#enemy-guide .guide-table-wrap:last-of-type td:nth-child(1) { width: 29%; }
#enemy-guide .guide-table-wrap:last-of-type th:nth-child(2),
#enemy-guide .guide-table-wrap:last-of-type td:nth-child(2) { width: 22%; }
#enemy-guide .guide-table-wrap:last-of-type th:nth-child(3),
#enemy-guide .guide-table-wrap:last-of-type td:nth-child(3) { width: 49%; }
#achievement-list .character-table th:nth-child(1),
#achievement-list .character-table td:nth-child(1) { width: 34%; }
#achievement-list .character-table th:nth-child(2),
#achievement-list .character-table td:nth-child(2) { width: 16%; }
#achievement-list .character-table th:nth-child(3),
#achievement-list .character-table td:nth-child(3) { width: 50%; }
@media (max-width: 600px) {
  .work-content-group > .panel { margin-bottom: 4px; }
  .work-contents-back { padding: 0 12px 6px; }
}
