/* Foundation Stone/PE-style horse riding HUD and touch controls */
#mount-hud{
 position:absolute;z-index:8;left:50%;bottom:calc(91px + var(--safe-b));transform:translateX(-50%);display:none;min-width:230px;padding:7px 10px 8px;border:2px solid rgba(255,255,255,.48);background:rgba(8,20,26,.72);box-shadow:0 5px 15px rgba(0,0,0,.36);pointer-events:none
}
#game.riding.playing #mount-hud{display:block}
#mount-hud>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px}
#mount-hud b{color:#f6dc72;letter-spacing:.12em}
#mount-health{color:#f34e59;letter-spacing:-.08em;text-shadow:1px 1px #511}
#mount-health .empty{opacity:.2}
#mount-hud label{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:6px;letter-spacing:.1em;color:#d9e9ef}
#mount-hud label>i{display:block;flex:1;height:7px;border:1px solid #9eaaad;background:#17252a}
#mount-jump-fill{display:block;width:0;height:100%;background:linear-gradient(90deg,#e9d04c,#f49b43,#ff6758);box-shadow:0 0 7px rgba(255,199,64,.6)}
#dismount-button{display:none;right:calc(112px + var(--safe-r));bottom:calc(117px + var(--safe-b));font-size:23px}
.touch #game.riding #dismount-button{display:block}
#game.riding.creative-flying #descend-button{display:none}
#game.riding #flight-hint{display:none!important}
#game.riding #jump-button span::after{content:' · CHARGE'}
@media(pointer:coarse) and (orientation:portrait){
 #mount-hud{bottom:calc(173px + var(--safe-b));min-width:190px;padding:5px 8px}
 #dismount-button{right:calc(82px + var(--safe-r));bottom:calc(199px + var(--safe-b));width:60px;height:60px}
}
@media(max-height:520px) and (pointer:coarse){
 #mount-hud{bottom:calc(78px + var(--safe-b));min-width:185px;padding:4px 7px}
 #dismount-button{right:calc(95px + var(--safe-r));bottom:calc(93px + var(--safe-b));width:62px;height:62px}
}
