/* Illustrated materials frame the existing canonical symbols; geometry stays intact. */
.coin-purse>.purse-icon,.ability .cost{background-image:url('assets/ui-seal.svg');background-size:100% 100%;background-repeat:no-repeat;background-color:transparent;border-color:transparent;filter:drop-shadow(0 2px 2px #000b)}
.ability .cost{box-shadow:none;text-shadow:0 2px 2px #000;isolation:isolate}.resource-symbol{position:relative;isolation:isolate}.resource-symbol:before{content:"";position:absolute;inset:-4px;background:url('assets/ui-seal.svg') center/100% 100% no-repeat;z-index:-1;opacity:.8;pointer-events:none}
.hero .hp,.enemy .hp{border-color:#d5bc7a;background:linear-gradient(#426040,#172d20 55%,#10231c);color:#fff8d8;box-shadow:inset 0 1px #ffefbd77,0 2px 3px #0009;text-shadow:0 1px 2px #000}.enemy .hp{background:linear-gradient(#654333,#30251c 55%,#201a15)}
.health-track{border-radius:4px;background:#081610;box-shadow:0 0 0 1px #b89759,inset 0 1px 3px #000}.hero .health-track,.enemy .health-track{height:9px;border:1px solid #ebcf8a}.health-track i{background:linear-gradient(#e3efba 0%,#a9d079 22%,#709c49 52%,#355f39 54%,#769d55 100%);box-shadow:inset 0 1px #f4ffd8}.enemy .health-track i{background:linear-gradient(#ffd6a5,#db9255 35%,#9d4a32 56%,#b4633c);box-shadow:inset 0 1px #ffe6ba}
.ability .effect-strip{border-color:#9f8c59;box-shadow:inset 0 1px #f3dfa533,0 1px 3px #0008}.targetable{outline-color:#ffe4a0;box-shadow:0 0 0 1px #573d1d,0 0 14px #f4ce7955}.ld-space.ld-legal{box-shadow:inset 0 1px #d7f5a288,0 0 8px #afd57833}.quest-track .qt-active{box-shadow:inset 0 1px #fff1bc88,0 2px 4px #0009}
.ui-health-meter{position:relative;display:block;height:23px;width:100%;background:#15271d;border:1px solid #7d976a;overflow:hidden}.ui-health-meter>i{position:absolute;inset:0 auto 0 0;background:#7faa64}.ui-health-meter>b{position:relative;display:block;width:fit-content;margin:auto;padding:1px 7px;background:#0b201bdc;color:#fff9d7;font:700 16px/19px system-ui,sans-serif;text-shadow:0 1px #000}
.as-illustrated .ui-health-meter{height:26px;border:0;border-radius:5px;box-shadow:0 2px 3px #0009;isolation:isolate}.as-illustrated .ui-health-meter:after{content:"";position:absolute;inset:0;background:url('assets/ui-meter-frame.svg') center/100% 100% no-repeat;pointer-events:none;z-index:2}.as-illustrated .ui-health-meter>i{inset:5px auto 5px 7px;max-width:calc(100% - 14px);background:linear-gradient(#e6f8b9,#91c763 30%,#417a43 65%,#78a257);box-shadow:inset 0 1px #f5ffd8}.as-illustrated .ui-health-meter>b{margin-top:3px;font-size:17px;line-height:20px;z-index:3;border-radius:3px}.as-illustrated.as-card,.as-illustrated.as-inspection{border-color:#e7c785;box-shadow:inset 0 0 0 2px #614626,inset 0 0 0 4px #dbc08455,0 5px 14px #000a;background:radial-gradient(ellipse at 50% 20%,#446443,#142c21 70%)}.as-illustrated .as-icon{background:url('assets/ui-seal.svg') center/100% 100% no-repeat;width:27px;height:27px;padding:3px;filter:drop-shadow(0 2px 1px #000a)}
@media(max-height:500px){.hero .health-track,.enemy .health-track{height:7px}.ui-health-meter{height:20px}.ui-health-meter>b{font-size:14px;line-height:17px}.as-illustrated .ui-health-meter{height:22px}.as-illustrated .ui-health-meter>b{margin-top:2px;font-size:14px;line-height:18px}.as-illustrated .as-icon{width:24px;height:24px}}

.ui-health-meter>b{display:flex;align-items:center;justify-content:center;gap:4px}.ui-health-meter>b .as-icon{width:16px!important;height:16px!important;padding:0!important;background:none!important;filter:none}
/* Phone enemy badges share the heading rail, leaving names and intent unobscured. */
@media(max-width:700px) and (min-height:501px){.encounter>.section-line{width:100%;justify-content:space-between}.enemy .hp{top:-12px;z-index:4}.enemy .health-track{height:7px}}
