/* Material replacements only: sizes, percentages, hit areas and readable copy stay unchanged. */
html:root body .character-panel .stat-track{background:url('assets/ui-meter-track-1116.webp') center/100% 100% no-repeat!important}
html:root body .character-panel .stat-fill{background:url('assets/ui-meter-gold-1116.webp') center/100% 100% no-repeat!important}
html:root body .character-panel .stat-fill.red{background-image:url('assets/ui-meter-crimson-1116.webp')!important}
html body :is(.stat-track,.growth-stat-track,.growth-graph-track,.retainer-ability-track,.relationship-meter-track,.fcb-troop-track,.cb-troop-track,.reward-gauge-base){background: url('assets/ui-meter-track-1116.webp') center/100% 100% no-repeat!important;border-radius:0!important}
html body :is(.stat-fill,.growth-stat-fill,.growth-graph-track>span,.retainer-ability-track>span,.retainer-ability-track>b,.fcb-troop-track>i,.fcb-troop-track>span,.cb-troop-track>span,.reward-gauge-base>span){background:url('assets/ui-meter-gold-1116.webp') center/100% 100% no-repeat!important;border-radius:0!important}
html body :is(.stat-fill.red,[data-stat='health'] .growth-stat-fill,.fcb-hq.is-enemy .fcb-troop-track>i){background-image:url('assets/ui-meter-crimson-1116.webp')!important}
html body :is([data-stat='stability'],[data-stat='leadership']) :is(.growth-stat-fill,.growth-graph-track>span){background-image:url('assets/ui-meter-jade-1116.webp')!important}
html body progress{appearance:none;border:0;background:url('assets/ui-meter-track-1116.webp') center/100% 100% no-repeat!important;border-radius:0}
html body progress::-webkit-progress-bar{background:url('assets/ui-meter-track-1116.webp') center/100% 100% no-repeat;border-radius:0}
html body progress::-webkit-progress-value{background:url('assets/ui-meter-gold-1116.webp') center/100% 100% no-repeat;border-radius:0}
html body progress::-moz-progress-bar{background:url('assets/ui-meter-gold-1116.webp') center/100% 100% no-repeat;border-radius:0}
html body .ability-badge{background:transparent!important;box-shadow:none!important}
html body .ability-badge i{background:url('assets/ui-meter-track-1116.webp') center/100% 100% no-repeat!important;color:inherit!important;border-radius:0!important}
html body .dossier-stats i{background:url('assets/ui-meter-track-1116.webp') center/100% 100% no-repeat!important;position:relative}
html body .dossier-stats i:after{content:'';display:block;width:var(--score);height:100%;background:url('assets/ui-meter-gold-1116.webp') center/100% 100% no-repeat}
html body :is(.mobilization-seal,.relationship-meter-seal,.command-authority-seal){background:url('assets/ui-frame-compact-1115.webp') center/100% 100% no-repeat!important;box-shadow:none!important;border-color:transparent!important}
html body :is(.network-track>span,.honor-field,.command-authority-effects>span,.personnel-review-record,.relationship-meter){background:url('assets/ui-frame-horizontal-1115.webp') center/100% 100% no-repeat!important;border-color:transparent!important;border-radius:0!important}
html body .field-card-battle-overlay :is(.fcb-dialog,.fcb-header,.fcb-command){background-image:url('assets/ui-frame-window-1115.webp')!important;background-position:center!important;background-size:100% 100%!important;background-color:transparent!important}
html body .field-card-battle-overlay :is(.fcb-controls button,.fcb-command-title button,.fcb-order button,.fcb-unit-modes button){background:url('assets/ui-frame-horizontal-1115.webp') center/100% 100% no-repeat!important;border-color:transparent!important}
html body .field-card-battle-overlay :is(.fcb-controls button[aria-pressed='true'],.fcb-unit-modes button[aria-pressed='true']){filter:brightness(1.35);color:#ffe9ab!important}
html body .field-card-battle-overlay .fcb-target-mark{background:url('assets/ui-frame-horizontal-1115.webp') center/100% 100% no-repeat!important;color:#ffe8b5!important}
html body .field-card-battle-overlay .fcb-hand-card.is-selected{background: url('assets/ui-frame-compact-1115.webp') center/100% 100% no-repeat!important;border-color:transparent!important}
html body .fcb-attack-trail{background:url('assets/ui-meter-gold-1116.webp') center/100% 100% no-repeat!important}
html body .fcb-attack-trail.is-enemy{background-image:url('assets/ui-meter-crimson-1116.webp')!important}
html body .family-dynasty .dynasty-root:after,html body .family-dynasty .dynasty-child-row:before{border:0!important;width:2px!important;background:url('assets/ui-gold-cord-vertical-1116.webp') center/2px 24px repeat-y!important}
html body .ability-radar .radar-value{fill:url('#ability-jade-material')!important;stroke:#d1b777}
html body .map-art-waters .map-water-body,html body .map-art-waters .map-art-lake{stroke:url('#map-river-material')!important}
html body .map-art-waters .map-art-lake{fill:url('#map-river-material')!important}

html body dialog#modal[open] .family-dynasty .dynasty-child-row>.dynasty-member:before{display:block!important;border:0!important;background:url(assets/ui-gold-cord-horizontal-1116.webp) left top/100% 2px no-repeat,url(assets/ui-gold-cord-vertical-1116.webp) left top/2px 100% no-repeat!important}
html body dialog#modal[open] .family-dynasty .dynasty-child-row>.dynasty-member:nth-child(2):before{background-position:right top,right top!important}
html body dialog#modal[open] .family-dynasty .dynasty-child-row>.dynasty-member:only-child:before{width:2px!important}
