/* Approved illustrated icons. Coordinates show only the framed tile, never its caption. */
.troop-art{display:inline-block;flex:0 0 auto;width:24px;height:24px;vertical-align:middle;border-radius:14%;background-image:url('/assets/troop-art/illustrated-icons.webp');background-repeat:no-repeat;pointer-events:none}

.troop-art--guard{background-size:531.487889% 386.415094%;background-position:7.297514% 1.976285%}
.troop-art--specialist{background-size:531.487889% 386.415094%;background-position:35.685646% 1.976285%}
.troop-art--monster{background-size:531.487889% 386.415094%;background-position:63.993585% 1.976285%}
.troop-art--catapult{background-size:531.487889% 386.415094%;background-position:92.381716% 1.976285%}
.troop-art--bow{background-size:531.487889% 382.089552%;background-position:7.297514% 44.708995%}
.troop-art--horse{background-size:531.487889% 382.089552%;background-position:35.685646% 44.708995%}
.troop-art--wings{background-size:531.487889% 382.089552%;background-position:63.993585% 44.708995%}
.troop-art--spear{background-size:531.487889% 382.089552%;background-position:92.381716% 44.708995%}
.troop-art--elemental{background-size:531.487889% 373.722628%;background-position:7.297514% 88.000000%}
.troop-art--dragon{background-size:531.487889% 373.722628%;background-position:35.685646% 88.000000%}
.troop-art--beast{background-size:531.487889% 373.722628%;background-position:63.993585% 88.000000%}
.troop-art--giant{background-size:531.487889% 373.722628%;background-position:92.381716% 88.000000%}

html[data-theme] .order-badge{background:transparent;border-color:transparent}
.badge-glyph,.badge-glyph .troop-art{width:26px;height:26px}
.tier-icon,.tier-role-icon{width:24px;flex-basis:24px}.tier-unit{grid-template-columns:24px minmax(0,1fr) 21px}
.tier-role-status .troop-art{width:20px;height:20px}.tier-role-status>span{display:flex;align-items:center}
.lab-pvp-counters .pvp-counter{display:inline-flex;align-items:center;gap:5px;max-width:100%;vertical-align:middle}.lab-pvp-counters .troop-art{width:20px;height:20px}
@media(max-width:768px){.tier-icon,.tier-role-icon{width:20px;flex-basis:20px}.tier-icon .troop-art,.tier-role-icon .troop-art{width:20px;height:20px}.tier-unit{grid-template-columns:20px minmax(0,1fr) 21px}.tier-role-status .troop-art{width:18px;height:18px}}
@media(max-width:380px){.tier-icon,.tier-icon .troop-art{width:16px;flex-basis:16px}.tier-icon .troop-art,.tier-role-status .troop-art{width:16px;height:16px}}

/* Only the expanded troop rows grow by 25%; primary role summaries keep their size. */
#levels .tier-panel .tier-role-icon,#levels .tier-panel .tier-role-icon .troop-art{width:30px;height:30px;flex-basis:30px}
#levels .tier-panel .tier-unit{grid-template-columns:30px minmax(0,1fr) 21px}
#levels .tier-panel .tier-unit-name{overflow-wrap:anywhere}
@media(max-width:768px){#levels .tier-panel .tier-role-icon,#levels .tier-panel .tier-role-icon .troop-art{width:25px;height:25px;flex-basis:25px}#levels .tier-panel .tier-unit{grid-template-columns:25px minmax(0,1fr) 21px}}

/* Match the role summary icons to the expanded troop rows. */
#levels .tier-role-status,#levels .tier-role-status .troop-art{width:30px;height:30px}
@media(max-width:768px){#levels .tier-role-status,#levels .tier-role-status .troop-art{width:25px;height:25px}}

/* Guided readings: two icons fit the 42px input height. */
#guidedBody .entry-troop-icons .troop-art{width:20px;height:20px}

#bonusCard .normal-entry-icons .troop-art{width:20px;height:20px}
