/* Requested HUD changes only; the original panel borders remain in v31.css. */
#game #statusStack .hero-hud{position:relative;inset:auto;margin:0;background:radial-gradient(ellipse at 50% 100%,transparent 58%,#b7945130 60%,transparent 63%) 0 0/22px 12px,linear-gradient(125deg,#182f36,#101e28);border:1px solid #c3a265;border-radius:3px 14px 3px 14px;box-shadow:inset 0 0 0 3px #101d26,inset 0 0 0 4px #b18a504d,0 3px 9px #0008;padding:10px;overflow:hidden}
#game #statusStack .hero-info{min-width:0}
#game #statusStack .hero-name{flex-wrap:wrap;gap:2px 5px}
#game #statusStack .hero-hud::after{content:'✦';position:absolute;right:5px;top:2px;color:#e1b76e;font-size:13px;pointer-events:none}
#game #statusStack .portrait{border:1px solid #d3b273;border-radius:50% 50% 4px 4px;background:#773631;box-shadow:0 0 0 2px #192c30}
#game #statusStack .hero-name strong{color:#fff0cd;letter-spacing:1px}
#game #statusStack .meter.health,#game #statusStack .meter.stamina{border:1px solid #cba871;border-radius:7px 2px 7px 2px;box-shadow:inset 0 2px 4px #0009;background:#120f15}
#game #statusStack .meter.health i{background:repeating-linear-gradient(115deg,transparent 0 15px,#ffddaa15 16px 17px),linear-gradient(#e37a65,#ab2636 55%,#842837)}
#game #statusStack .meter.stamina i{background:repeating-linear-gradient(115deg,transparent 0 15px,#fff3c815 16px 17px),linear-gradient(#6aa68c,#27685e 60%,#205044)}
#game #quickItems{width:121px;display:grid;grid-template-columns:repeat(2,58.5px);gap:4px;align-items:end}
#game #quickItems button{width:58.5px;min-width:58.5px;height:87px;min-height:87px;flex-basis:58.5px;justify-content:center;gap:3px}
#game #quickItems button b{display:none!important}
#game #quickItems button .painted-icon{width:45px;height:45px}
#game #quickItems button .supply-icon{width:36px;height:36px}
#game #quickItems button>span{height:45px}
#game #quickItems button small{font-size:14px!important;line-height:1.2!important;color:#fff4d1!important}
#game #quickItems .quick-config{position:absolute;left:0;bottom:calc(100% + 4px);width:44px!important;min-width:44px;height:44px;min-height:44px}
#game .auto-form{display:grid;gap:12px;color:#34291f}
#game .auto-form fieldset{min-width:0;border:1px solid #9f8558;padding:10px;background:#fff7e3}
#game .auto-form legend{font-weight:bold;color:#693d28;padding:0 5px}
#game .auto-form label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0;font-size:14px;color:#34291f}
#game .auto-form input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;flex:none;width:22px;height:22px;min-height:22px;margin:4px;accent-color:#245455}
#game .auto-form select,#game .auto-form input[type=number]{color:#2d3028!important;background:#fff9e9!important;min-height:40px;max-width:60%;border:1px solid #9f8558;padding:5px}
#game .auto-targets{max-height:190px;overflow:auto;border-top:1px solid #c5b593;margin-top:8px}
#game .auto-form .auto-targets label{justify-content:flex-start;border-bottom:1px solid #d8cbb3;padding:4px 0;margin:0}
#game #panel .auto-note{color:#59462e;font-size:13px;line-height:1.7}
#game .auto-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#game .auto-summary>div{padding:12px 6px;border:1px solid #ad9266;background:#fcf4df;text-align:center;min-width:0}
#game .auto-summary span{display:block;font-size:13px;color:#675139}
#game .auto-summary b{display:block;font-size:20px;color:#263d37;overflow-wrap:anywhere}
#game .revisit-card{padding:12px;border:1px solid #ab956b;margin:10px 0;background:#fbf4e0}
@media(orientation:portrait){#game .combat [data-action="whirl"]{left:18px;top:94px}#game #quickItems{bottom:calc(88px + env(safe-area-inset-bottom))}}
@media(orientation:portrait) and (max-width:360px){#game #quickItems{width:97px;grid-template-columns:repeat(2,46.5px);gap:4px;bottom:calc(80px + env(safe-area-inset-bottom))}#game #quickItems button{width:46.5px;min-width:46.5px;height:78px;min-height:78px}#game #quickItems button .painted-icon{width:39px;height:39px}#game .combat [data-action="whirl"]{left:32px;top:70px}#game .combat [data-action="shock"]{left:68px;top:-5px}#game .combat [data-action="heal"]{left:149px;top:24px}#game .combat [data-action="dodge"]{left:82px}#game #statusStack .hero-hud{padding:7px}}
@media(orientation:landscape) and (max-height:600px){#game #quickItems{bottom:calc(8px + env(safe-area-inset-bottom));display:flex;width:auto}#game #quickItems .quick-config{position:static;align-self:end}#game #statusStack .hero-hud{padding:7px}}
@media(orientation:landscape) and (max-width:600px){#game #quickItems button{width:46.5px;min-width:46.5px;flex-basis:46.5px;height:87px;min-height:87px}#game #quickItems{gap:3px}#game #quickItems .quick-config{min-width:36px;width:36px!important}#game #quickItems button .painted-icon{width:39px;height:39px}}
@media(orientation:landscape) and (max-width:600px){#game #quickItems{bottom:calc(66px + env(safe-area-inset-bottom))}#game #statusStack #battleTracker{max-height:24px}}
