/* FW1 rulebook content, scoped to the plugin and adapted to narrow screens. */
.wayDragonRules { max-width: 900px; margin: auto; line-height: 1.55; }
.wayDragonRules .header.main > h1 { color: white; background: #666600; font-family: sans-serif; text-align: center; padding: .3em; font-size: 1.5em; }
.wayDragonRules .header.gameSeqStep { color: white; background: #666600; border-radius: 12px; font-weight: bold; margin: 1em 0 .6em; padding: 5px 15px; clear: both; }
.wayDragonRules .section.main { clear: both; display: flow-root; }
.wayDragonRules .Yucata_Impl_Info { background: #e2e4ff; margin-top: 10px; padding: 5px 12px; }
.wayDragonRules .figcaption { font-style: italic; text-align: center; margin-top: 15px; }
.wayDragonRules .figcaption p { margin: 0; }
.wayDragonRules .figure { max-width: 100%; box-sizing: border-box; }
.wayDragonRules .figure.gameSeq { background: #e6cd82; margin: 15px; padding: 15px; border-radius: 12px; }
.wayDragonRules img { max-width: 100%; height: auto; }
.wayDragonRules table { width: 100%; }
.wayDragonRules td { padding: .5em; vertical-align: top; }
@media (max-width: 600px) {
    .wayDragonRules table, .wayDragonRules tbody, .wayDragonRules tr { display: block; }
    .wayDragonRules td { display: block; width: auto !important; }
    .wayDragonRules .figure.gameSeq { float: none !important; margin: 1em auto; }
}
