/* Illustrated rules belong to the public guide, outside the game layout. */
.guide-example { margin:26px 0 18px; max-width:790px; }
.guide-example .source-note { color:#aeb4c1; margin-bottom:16px; }
.example-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.example-steps figure { margin:0; min-width:0; }
.example-steps figcaption { margin:0 0 12px; line-height:1.5; }
.example-steps figcaption span { display:block; color:#c7cbd3; font-size:15px; margin-top:4px; }
.example-steps img { display:block; width:100%; height:auto; border-radius:6px; }
.guide-example>p:last-child { margin:20px 0 0; }
@media(max-width:600px){.example-steps{grid-template-columns:1fr;gap:26px}}

/* Reference pages (enemies, supplies and relics), generated by scripts/reference-pages.mjs. */
.reference-entry { border-top:1px solid #414753; padding:22px 0 6px; max-width:790px; scroll-margin-top:20px; }
.reference-entry h3 { margin:0 0 10px; font-size:20px; }
.reference-entry .tag { font-size:12px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; color:#191d24; background:#ebc98d; border-radius:4px; padding:2px 7px; margin-left:8px; vertical-align:middle; }
.stat-line { display:flex; flex-wrap:wrap; gap:4px 22px; color:#c7cbd3; }
.stat-line strong { font-size:18px; }
.pattern-label { color:#aeb4c1; font-size:15px; margin-bottom:8px; }
.move-list { margin:0 0 18px; padding-left:24px; color:#c7cbd3; }
.move-list li { padding-left:5px; margin-bottom:8px; }
.move-list li::marker { color:#ebc98d; font-weight:600; }
.move-list span { display:block; }
.rarity { margin-top:34px; }
.table-scroll { overflow-x:auto; margin:20px 0; }
.reference-table { border-collapse:collapse; width:100%; max-width:790px; font-size:16px; }
.reference-table caption { text-align:left; color:#aeb4c1; font-size:15px; padding-bottom:10px; }
.reference-table th, .reference-table td { text-align:left; padding:11px 14px 11px 0; border-top:1px solid #414753; color:#c7cbd3; white-space:nowrap; }
.reference-table thead th { color:#f0ece4; border-top:0; }
.reference-table tbody th { font-weight:400; white-space:normal; }
.reference-table td { font-variant-numeric:tabular-nums; }
@media(max-width:600px){.reference-table th,.reference-table td{padding-right:10px;font-size:15px}.reference-table thead th{white-space:normal;vertical-align:bottom}}
