/* Work-specific guide content; the fixed notebook frame is unchanged. */
.guide-scope { margin: 8px 0; font-size: .82rem; color: var(--muted, #58656b); }
.guide-toc { margin: 12px 0 18px; padding: 12px 16px; border: 1px solid var(--border, #d5dddd); border-radius: 8px; background: var(--surface, #fff); }
.guide-toc ul { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; }
.guide-toc a { display: inline-block; padding: 4px 0; }
.guide-section { scroll-margin-top: 120px; }
.guide-section > p, .guide-battle p { line-height: 1.8; }
.guide-battle { margin: 22px 0; padding-top: 16px; border-top: 1px solid var(--border, #d5dddd); scroll-margin-top: 120px; }
.guide-battle h3 { color: var(--accent); font-size: 1.05rem; line-height: 1.6; margin: 0 0 8px; }
.guide-goal { background: #f1f5f3; padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 3px; }
.guide-steps { padding-left: 1.6em; line-height: 1.85; }
.guide-steps li { margin: .65em 0; padding-left: .25em; }
.guide-return { font-size: .8rem; text-align: right; }
.guide-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 14px 0; }
.guide-controls label { display: grid; gap: 5px; font-size: .82rem; flex: 1 1 180px; }
.guide-controls input, .guide-controls select { width: 100%; min-height: 42px; border: 1px solid #9faeaa; border-radius: 6px; padding: 8px 10px; font: inherit; background: #fff; color: #263936; }
.guide-controls button { min-height: 42px; padding: 8px 12px; border: 1px solid #9faeaa; border-radius: 6px; background: #fff; color: #263936; }
.guide-table { table-layout: fixed; width: 100%; font-size: .86rem; }
.guide-table th:nth-child(1) { width: 24%; }
.guide-table th:nth-child(2) { width: 14%; }
.guide-table th:nth-child(3) { width: 27%; }
.guide-table th:nth-child(4) { width: 35%; }
.guide-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; line-height: 1.7; }
.guide-table .character-name-button { white-space: normal; line-height: 1.6; }
.guide-table .character-detail h4 { margin: 0 0 4px; font-size: .84rem; color: var(--accent); }
.guide-table .character-detail p { margin: 0; }
.guide-mobile-value, .guide-mobile-extra { font-size: .85rem; line-height: 1.7; margin: 7px 0 0; overflow-wrap: anywhere; }
.guide-mobile-extra { color: #41544f; }
.guide-mobile-sorts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.guide-mobile-sorts button { min-height: 40px; border: 1px solid #a8b5af; border-radius: 6px; padding: 6px 10px; background: #fff; }
.guide-cell-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.guide-section .character-detail h4 { margin: 0 0 5px; color: var(--accent); }
.guide-section .character-detail p { margin: 0; }
@media (max-width: 850px) {
 .guide-cell-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-weight: 600; }
 .guide-section { padding: 14px 12px; }
 .guide-battle { margin: 18px 0; }
 .guide-section .character-card { padding: 11px 12px; }
 .guide-section .character-card-summary { align-items: start; }
 .guide-section .character-card-value { max-width: 7em; }
 .guide-controls { gap: 10px; }
 .guide-controls label { flex-basis: 100%; }
 .guide-toc { padding: 10px 12px; }
}
