.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.rules-index,.rules-topic-drawer{position:fixed;top:0;height:100dvh;color:#111;background:white;z-index:20;border-left:2px solid #111;box-shadow:-6px 0 20px #0002}
.rules-index[hidden],.rules-topic-drawer[hidden]{display:none}
.rules-index{right:0;width:244px;display:flex;flex-direction:column;padding:16px 14px;gap:14px}
.rules-index-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:3px solid #111;padding-bottom:12px}
.rules-index-heading h2{font-size:29px}.rules-index .close-icon,.rules-topic-heading .close-icon{padding:0;background:white}
#rulesSearch{width:100%;min-height:44px;border:1px solid #666;border-radius:0;background:#fff;color:#111;padding:8px 10px;font-size:18px}
.rules-index nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.rules-nav-list button{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #aaa;background:#f4f4f4;padding:12px 10px;font:400 18px var(--display);min-height:50px;line-height:1.1}
.rules-nav-list button:hover{background:#ddd}.rules-nav-list button.active{background:#111;color:white}.rules-no-results{font-size:18px}
.quickstart-download{display:block;text-align:center;border:1px solid #111;padding:12px 6px;font-size:17px;text-decoration:none;background:#fff}.quickstart-download:hover{background:#eee}
.rules-topic-drawer{right:244px;width:min(680px,calc(100vw - 280px));display:flex;flex-direction:column}
.rules-topic-heading{display:flex;gap:12px;align-items:center;flex-shrink:0;background:#111;color:#fff;padding:18px 22px;min-height:83px}
.rules-topic-heading h2{flex:1;min-width:0;font-size:28px;line-height:1.2;margin:0}.rules-topic-heading .close-icon{background:#111;color:#fff;border-color:#aaa}.rules-back{display:none}
.rules-topic-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;padding:24px 28px 32px;font-size:21px;line-height:1.4}
.rules-topic-body p{margin:0 0 17px}.rules-topic-body h3{font-size:24px;line-height:1.2;margin:30px 0 12px;scroll-margin-top:18px}.rules-topic-body h3:first-child{margin-top:0}.rules-topic-body h3:focus{outline:0}
.rules-topic-body ul,.rules-topic-body ol{padding-left:25px;margin:10px 0 22px}.rules-topic-body li{line-height:inherit;margin:0 0 .45em}.rules-topic-body li:last-child{margin-bottom:0}.rules-topic-body strong{font-weight:700}.rules-topic-body a{font-weight:700;color:#111;text-decoration:underline}.rules-topic-body a:hover{background:#eee}
.rule-section-links{display:flex;gap:6px 16px;flex-wrap:wrap;padding-bottom:17px;border-bottom:1px solid #aaa;margin-bottom:24px;font-size:17px}.rule-section-links a{font-weight:400;min-height:30px;display:flex;align-items:center}
.rule-callout{border-left:5px solid #111;background:#eaeaea;padding:15px 18px;margin:18px 0 23px;font-size:1em;line-height:inherit}
.rule-table-wrap{max-width:100%;overflow-x:auto;margin:15px 0 20px}.rule-table-wrap table{width:100%;border-collapse:collapse;text-align:left;font-size:19px;line-height:1.35}.rule-table-wrap th,.rule-table-wrap td{border:1px solid #bbb;padding:10px 12px;vertical-align:top}.rule-table-wrap thead{background:#111;color:white}.rule-table-wrap tbody th{font-weight:700;min-width:90px;background:#f0f0f0}.rule-table-wrap tbody tr:nth-child(even) td{background:#f7f7f7}
.rule-related{border-top:2px solid #111;margin-top:30px;padding-top:8px;display:flex;gap:8px;flex-wrap:wrap}.rule-related h3{width:100%;margin-top:12px}.rule-related button,.rules-reading-nav button{background:white;font-size:17px;padding:8px 11px}.rules-reading-nav{display:flex;justify-content:space-between;gap:8px;margin-top:25px}.rules-reading-nav button{max-width:50%;text-align:left}
.rules-source{font-size:15px;color:#666;border-top:1px solid #ccc;margin-top:25px!important;padding-top:14px}.rule-beta-note{border-left:3px solid #999;padding:10px 14px;background:#f2f2f2;font-size:18px}
.mutation-table{margin:10px 0;border:1px solid #999}.mutation-table summary{padding:13px 15px;cursor:pointer;font-size:21px;font-weight:700;min-height:48px}.mutation-table[open] summary{background:#111;color:white}.mutation-table .rule-table-wrap{margin:0}.mutation-table table{font-size:17px}.mutation-table th,.mutation-table td{padding:8px}.mutation-table tbody th{min-width:0}
.power-index-item{padding:14px 0;border-bottom:1px solid #bbb}.power-index-item button{background:white;font-family:var(--display);font-size:22px;border:0;border-bottom:1px solid #111;padding:6px 0;min-height:44px}.power-index-item p{font-size:19px;margin:8px 0 0}.mastery-list dt{font-weight:700;margin-top:18px}.mastery-list dd{margin:5px 0 18px}
@media(max-width:900px){body.rules-open{overflow:hidden}.rules-index{width:100%;padding:16px 20px;z-index:20}.rules-topic-drawer{right:0;width:100%;border:0;z-index:21}.rules-index nav{padding-right:4px}.rules-nav-list button{font-size:22px;min-height:56px}.rules-topic-heading{padding:12px;gap:10px;flex-wrap:wrap}.rules-topic-heading h2{font-size:24px;order:3;flex-basis:100%;padding:6px 0}.rules-topic-heading .close-icon{margin-left:auto}.rules-back{display:block;background:#111;color:white;border:1px solid #aaa;font-size:18px;min-height:44px}.rules-topic-body{padding:20px 16px;font-size:20px}.rule-table-wrap table{font-size:17px}.rule-table-wrap td,.rule-table-wrap th{padding:8px}.rule-table-wrap tbody th{min-width:65px}.rule-section-links a{min-height:38px}.mutation-table table{font-size:16px}.mutation-table th,.mutation-table td{padding:7px 5px}.mutation-table tbody th{min-width:0}}
@media print{.rules-index,.rules-topic-drawer{display:none!important}}

.rules-index-toggle{display:none}
@media(min-width:901px){
 .rules-index{right:8px;width:var(--reference-width);padding:0;gap:0;background:#222;color:#f5f5f5;border-left:1px solid #555;box-shadow:-6px 0 18px #0004}
 .rules-index-heading{padding:0;margin:0;border:0;display:block}.rules-index-heading>h2,.rules-index-heading>.close-icon{display:none}.rules-index-toggle{display:block}
 .rules-index.is-collapsed{height:var(--toolbar-height)}.rules-index.is-collapsed>:not(.rules-index-heading){display:none}
 #rulesSearch{width:calc(100% - 16px);margin:10px 8px;min-height:34px;font-size:16px;background:#eee;color:#111}
 .rules-index nav{padding:0}.rules-nav-list button{background:transparent;color:#eee;text-align:center;min-height:50px;padding:5px 7px;font:700 18px/1.05 var(--body);border-bottom:1px solid #555}.rules-nav-list button:hover{background:#444}.rules-nav-list button.active{background:#eee;color:#111}
 .quickstart-download{font-size:15px;padding:10px 6px;margin:8px;background:#eee;color:#111;line-height:1.15}
 .rules-topic-drawer{right:calc(8px + var(--reference-width) + var(--reference-gap));width:min(680px,calc(100vw - 2 * (var(--reference-width) + 20px)));background:#242424;color:#eee;border:1px solid #666}
 .rules-topic-heading{background:#111;border-bottom:1px solid #555}.rules-topic-body a{color:inherit}.rule-callout{background:#333;border-color:#eee}.rule-beta-note{background:#333}.rules-source{color:#bbb}.rule-table-wrap tbody th,.rule-table-wrap tbody td{background:#2b2b2b}.rule-table-wrap tbody tr:nth-child(even) td{background:#333}.rule-related button,.rules-reading-nav button{background:#eee;color:#111}.power-index-item button{background:transparent;color:#eee;border-color:#eee}
}

.rules-topic-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}.rules-topic-body{overflow:visible}.rules-topic-heading{flex-wrap:wrap}

@media(min-width:901px){
 .rules-index{background:#1b1b1b;color:#fff}.rules-nav-list button{color:#fff;border-color:#888}.rules-nav-list button:hover{background:#3c3c3c}.rules-nav-list button.active{background:#fff;color:#111}
 .rules-topic-drawer{background:#191919;color:#fff;border-color:#999}.rules-topic-heading{background:#080808;border-color:#888}.rules-topic-body h3,.rules-topic-body h4{color:#fff}.rule-section-links,.rule-related,.rules-source{border-color:#999}
 .rule-callout{background:#e8e8e8;color:#111;border-left-color:#999}.rule-beta-note{background:#363636;border-color:#ddd;color:#fff}.rules-source{color:#ddd}
 .rule-table-wrap thead{background:#efefef;color:#111}.rule-table-wrap th,.rule-table-wrap td{border-color:#aaa}.rule-table-wrap tbody th,.rule-table-wrap tbody td{background:#303030;color:#fff}.rule-table-wrap tbody tr:nth-child(even) td{background:#3c3c3c}
 .mutation-table[open] summary{background:#080808;color:#fff}.power-index-item,.rule-related{border-color:#999}
}
.rule-figure{margin:20px 0;padding:10px;background:#fff;color:#111;border:1px solid #888;text-align:center}.rule-figure img{display:block;width:100%;height:auto;max-width:100%;margin:auto}.rule-figure.diagram img{max-width:480px}.rule-figure.source-callout{padding:8px}.rule-figure.power-grid{padding:0;border:0}.rule-figure img[src*="hearts-example-"]{width:230px;max-width:100%}.rule-figure img[src*="blight-hearts"],.rule-figure img[src*="rank-four-blight"],.rule-figure img[src*="assimilation"]{width:170px;max-width:100%}.rule-tabs{display:flex;gap:8px;border-bottom:1px solid #888;padding-bottom:14px;margin-bottom:24px}.rule-tabs button{flex:1;font-size:18px;background:#e8e8e8;color:#111}.rule-tabs button[aria-selected=true]{background:#fff;border:2px solid #111;font-weight:bold}.rule-tabs [role=tabpanel][hidden]{display:none}.rules-topic-body [role=tabpanel]>h3:first-child{margin-top:0}
@media(min-width:901px){#worldIndexBody{text-align:center}.rule-tabs button[aria-selected=true]{outline:2px solid #fff;outline-offset:2px}.rules-topic-body a:hover{background:#404040;color:#fff}}
.rule-figure:has(img[src*="hearts-example-"]){width:fit-content;max-width:100%;margin:16px auto;padding:0;border:0;background:transparent}

/* Source wording is live text; only illustrated diagrams remain images. */
.rule-callout.source-callout{padding:16px 18px;border:1px solid #999;border-left:4px solid #333;background:#f0f0f0;color:#111;font-size:1em;line-height:1.4}
.source-callout .callout-row+.callout-row{border-top:1px solid #999;margin-top:14px;padding-top:14px}
.rules-topic-body .source-callout h4{font:400 20px/1.2 var(--display);letter-spacing:.02em;color:inherit;margin:0 0 8px}
.rules-topic-body .source-callout p{margin:0 0 8px}
.rules-topic-body .source-callout p:last-child{margin-bottom:0}
.rules-topic-body .source-callout .callout-choice{font-style:italic;margin-top:-3px}
.rules-topic-body .source-callout ul{margin:0;padding-left:22px}
.rules-topic-body .source-callout li{margin:0 0 7px}
.rules-topic-body .source-callout li:last-child{margin-bottom:0}
.source-table table{font-size:18px;line-height:1.35}
.source-table th,.source-table td{padding:10px;min-width:0;overflow-wrap:normal}
.source-table[data-source-table="mutation-attribute"] th,.source-table[data-source-table="mutation-attribute"] td{text-align:center;padding:10px 6px;min-width:0}
.power-mastery-grid table{table-layout:fixed;min-width:540px;font-size:18px;line-height:1.35}
.power-mastery-grid td{width:33.333%;padding:12px;vertical-align:middle;text-align:center;overflow-wrap:break-word}
.power-mastery-grid tr:nth-child(4) td:nth-child(2){font-weight:700;border:2px solid currentColor}
.rule-figure.annotated-diagram{background:transparent;color:inherit;border:0;padding:0;text-align:left}
.rule-figure.annotated-diagram img{background:#fff;padding:10px;box-sizing:content-box;width:auto;max-width:calc(100% - 20px);max-height:150px;object-fit:contain;margin:0 auto 14px}
.rule-figure.annotated-diagram figcaption{border-left:3px solid #999;padding-left:15px;font-size:1em}
.rule-figure.annotated-diagram figcaption p{margin:0 0 8px}
.rule-figure.annotated-diagram figcaption p:last-child{margin-bottom:0}
@media(min-width:901px){.rule-callout.source-callout{background:#272727;color:#fff;border-color:#777;border-left-color:#eee}.source-callout .callout-row+.callout-row{border-color:#666}}
@media(max-width:420px){.rule-callout.source-callout{padding:14px}.source-table table{font-size:16px}.source-table th,.source-table td{padding:8px 6px}.rules-topic-body .source-callout h4{font-size:19px}}
