.hall-cavalry{width:210px;height:210px;background:url('assets/cavalry/actors-v1/foot.png') 0 0/1260px 1050px no-repeat;image-rendering:pixelated;animation:cavalry-hall-idle 1.2s steps(6,end) infinite}@keyframes cavalry-hall-idle{to{background-position:-1260px 0}}

/* Cavalry resource uses the same purpose-made frame as the combat meter. */
.cavalry-resource{position:fixed;z-index:25;bottom:124px;left:50%;transform:translateX(-50%);width:304px;min-height:59px;box-sizing:border-box;padding:3px 70px 3px 43px;border:12px solid transparent;border-image:url('assets/ui/controls-v1/panel.png') 128 fill /12px stretch;background:none;color:#e8d5a8;pointer-events:none;filter:drop-shadow(0 3px 3px #07172880);text-shadow:none}
.cavalry-resource[hidden]{display:none}.cavalry-resource:before{content:'';position:absolute;left:0;top:0;bottom:0;width:36px;background:url('assets/ui/professions/cavalry.png') center/contain no-repeat;image-rendering:pixelated}
.cavalry-resource-label{display:flex;justify-content:space-between;gap:6px;font-size:10px;line-height:14px}.cavalry-resource-label strong{font-weight:700}.cavalry-resource-label span{font-variant-numeric:tabular-nums;white-space:nowrap}
.cavalry-resource-track{height:7px;margin:3px 0 0;border:1px solid #708d9a;border-radius:2px;background:#091e2d;overflow:hidden}.cavalry-resource-track i{display:block;height:100%;background:linear-gradient(#d5eedc,#7dafc9 35%,#4c7fa4);transition:width .1s linear;box-shadow:inset -2px 0 #d8e9d4}
.cavalry-resource button{position:absolute;right:0;top:0;bottom:0;width:61px;pointer-events:auto;border:9px solid transparent;border-image:url('assets/ui/controls-v1/button.png') 168 fill /9px stretch;border-radius:0;background:none;color:#eddab0;font-size:11px;padding:0;font-weight:700;box-shadow:none;text-shadow:none}.cavalry-resource button.ready{filter:brightness(1.3);color:#ffe7a5}.cavalry-resource button:disabled{opacity:.6;filter:saturate(.45);cursor:default}.cavalry-resource kbd{font:inherit;margin-left:3px;color:inherit}.cavalry-resource small{font-size:9px;color:#adc7cd;line-height:11px;white-space:nowrap}.cavalry-resource button[hidden]{display:none}
@media(max-width:700px){.cavalry-resource{bottom:113px;width:270px;padding-left:34px;padding-right:60px}.cavalry-resource:before{width:28px}.cavalry-resource button{width:55px}}

/* Keep the native Cavalry resource, equipment set and cast controls above the main skill dock. */
@media(min-width:701px) and (min-height:651px){body[data-profession=cavalry] .cavalry-resource{bottom:174px}body[data-profession=cavalry] #lancerSetHud{bottom:244px}body[data-profession=cavalry] .cast-mode-switch{left:calc(50% - 330px);bottom:174px;transform:none}}
