.game-toolbar.blood-hud{position:relative;display:block;container-type:inline-size;aspect-ratio:2172/450;height:auto;width:100%;padding:0;border:0;background:transparent;isolation:isolate}.blood-hud .hud-art{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}.blood-hud .hud-art img{position:absolute;width:100%;height:160.8889%;left:0;top:-36.6667%;image-rendering:auto;pointer-events:none}.blood-hud .blood-vessel{position:absolute;z-index:0;left:12.57%;top:50%;width:4.45%;height:18%;overflow:hidden;border-radius:0 0 12% 12%;background:#09080766}.blood-hud #blood-cup-fill{position:absolute;left:0;right:0;bottom:0;height:100%;background:linear-gradient(90deg,#58000c,#bc1627 35%,#8c0414 75%,#41000a);box-shadow:inset 0 3px 0 #e95c6988,inset 0 -10px 12px #2d0008aa;transition:height .15s linear}.blood-hud #blood-cup-fill:before{content:'';position:absolute;left:0;right:0;top:0;height:4px;border-radius:50%;background:#e2475488}.blood-hud #hud-health-value{position:absolute;left:10.9%;top:76%;width:8.8%;text-align:center;color:#ffe1ce;font:bold clamp(9px,1cqw,16px) Georgia;text-shadow:1px 1px 2px #000,0 0 4px #000;z-index:3}
.blood-hud .vitals,.blood-hud .combat-controls,.blood-hud .player-tools,.blood-hud .panel-buttons{display:contents}.blood-hud #health,.blood-hud label[for=health]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.blood-hud #stamina,.blood-hud #mana{position:absolute;z-index:2;left:24.25%;width:9.65%;height:4.8%;margin:0;border-radius:1px;background:#080a07}.blood-hud #stamina{top:49.5%}.blood-hud #mana{top:62.7%}.blood-hud #stamina::-webkit-progress-bar,.blood-hud #mana::-webkit-progress-bar{background:#0b0b08}.blood-hud #stamina::-webkit-progress-value{background:linear-gradient(#b9ff53,#78d212 40%,#438501)}.blood-hud #mana::-webkit-progress-value{background:linear-gradient(#9ceeff,#17acff 40%,#005aaa)}.blood-hud #stamina::-moz-progress-bar{background:#89e519}.blood-hud #mana::-moz-progress-bar{background:#26baff}.blood-hud label[for=stamina],.blood-hud label[for=mana]{position:absolute;left:23.2%;width:11.9%;height:7%;font-size:0;z-index:4;justify-content:center;pointer-events:none}.blood-hud label[for=stamina]{top:49%}.blood-hud label[for=mana]{top:62%}.blood-hud label span{font:bold clamp(7px,.72cqw,12px) monospace;color:#fff;text-shadow:0 1px 2px #000}
.blood-hud #hotbar{position:absolute;z-index:3;left:35.85%;top:49%;width:34.2%;height:20.8%;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:1fr;gap:.5%;margin:0}.blood-hud #hotbar button{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:3px;border:0;border-radius:3px;background:transparent;color:#ffe1ab;box-shadow:none;font-family:Georgia}.blood-hud #hotbar button[hidden]{display:none!important}.blood-hud #hotbar button:hover,.blood-hud #hotbar button:focus-visible{background:#f6c87033;outline:2px solid #d8a44b}.blood-hud #hotbar button[aria-pressed=true]{background:#f8b54433;box-shadow:inset 0 0 12px #ffc744aa}.blood-hud #hotbar button:disabled{opacity:.35;filter:grayscale(.8)}.blood-hud #hotbar .spell-copy{position:absolute;inset:0;font-size:0;pointer-events:none}.blood-hud #hotbar .spell-copy strong,.blood-hud #hotbar .spell-copy small{font-size:0}.blood-hud #hotbar .skill-icon,.blood-hud #hotbar img{width:74%;height:74%;object-fit:contain;image-rendering:pixelated}.blood-hud .hud-action-symbol{font-size:clamp(15px,2.5cqw,50px);line-height:1;text-shadow:0 0 10px #db8c2b}.blood-hud #hotbar kbd{position:absolute;top:-48%;left:0;right:0;height:34%;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:#f1dfba;font:clamp(8px,1.2cqw,24px) Georgia;text-shadow:1px 2px #000;margin:0}.blood-hud #combat-block{display:flex!important}.blood-hud .combat-info{position:static;margin:0}.blood-hud #combat-status{position:absolute;left:35%;top:86%;width:35%;text-align:center;color:#dfc798;font:clamp(7px,.7cqw,12px) Georgia;z-index:3;text-shadow:0 1px 2px #000}.blood-hud .gold-hud{display:none}
.blood-hud .panel-buttons button{position:absolute;z-index:4;top:43%;width:5.6%;height:30%;padding:0 0 4%;border:0;background:transparent;box-shadow:none;color:#f8e4b7;font:clamp(8px,.96cqw,20px) Georgia;display:flex;align-items:flex-end;justify-content:center;border-radius:8px;text-shadow:1px 2px 2px #000}.blood-hud .panel-buttons button:hover,.blood-hud .panel-buttons button[aria-selected=true]{background:#ffd15c22;outline:2px solid #d7a74e}.blood-hud .panel-buttons button kbd{display:none}.blood-hud #open-inventory{left:71.1%}.blood-hud #open-skills{left:77.1%}.blood-hud #open-equipment{left:82.9%}.blood-hud #open-quests{left:88.9%}
@media(prefers-reduced-motion:reduce){.blood-hud #blood-cup-fill{transition:none}}
@media(max-width:760px){.game-toolbar.blood-hud{height:248px;aspect-ratio:auto;background:#24190fdc;border-top:3px ridge #926839;overflow:hidden}.blood-hud .hud-art{opacity:.55}.blood-hud .hud-art img{width:1080px;max-width:none;height:360px;left:50%;top:-45px;transform:translateX(-50%)}.blood-hud .blood-vessel{left:22px;top:24px;width:49px;height:66px;z-index:2;border:3px ridge #b8893c;border-radius:5px 5px 10px 10px;background:#18100a55}.blood-hud #hud-health-value{left:14px;top:95px;width:70px;font-size:12px}.blood-hud #stamina,.blood-hud #mana{left:100px;width:calc(100% - 124px);height:12px}.blood-hud #stamina{top:37px}.blood-hud #mana{top:69px}.blood-hud label[for=stamina],.blood-hud label[for=mana]{left:100px;width:calc(100% - 124px)}.blood-hud label[for=stamina]{top:35px}.blood-hud label[for=mana]{top:67px}.blood-hud label span{font-size:10px}.blood-hud #hotbar{left:12px;top:139px;width:calc(100% - 24px);height:42px;gap:3px}.blood-hud #hotbar button{border:2px ridge #987144;background:#18110bbd}.blood-hud #hotbar kbd{font-size:11px;top:-22px;height:18px;background:#17110c;border:1px solid #8f6a43;border-radius:3px}.blood-hud .hud-action-symbol{font-size:23px}.blood-hud .panel-buttons button{top:200px;width:22%;height:37px;padding:0;align-items:center;background:#291c11;border:2px ridge #b5823b;font-size:12px}.blood-hud #open-inventory{left:2%}.blood-hud #open-skills{left:26.5%}.blood-hud #open-equipment{left:51%}.blood-hud #open-quests{left:75.5%}.blood-hud #combat-status{left:24%;top:104px;width:74%;font-size:9px}}

@media(min-width:761px){.blood-hud .panel-buttons button{padding-bottom:1cqw}}

@media(min-width:761px){#gameCanvas{bottom:0;height:max(1px,calc(100% - var(--topline-height,50px)))}.game-bottom{background:transparent;border:0}}

.blood-hud #hotbar .spell[data-cooldown]:not([data-cooldown=""]):after{content:attr(data-cooldown);position:absolute;inset:25% 0 auto;text-align:center;background:#120c09d9;color:#fff0c4;font:bold clamp(9px,1cqw,17px) monospace;padding:3px 0;pointer-events:none}

/* Dock the artwork itself, including its lowest cloth pixel, to the window edge. */
.shell{padding-bottom:0}.game-frame{border-bottom:0}
@media(min-width:761px){.game-toolbar.blood-hud{transform:translateY(1.777778%)}}

/* Lower the wooden base rail itself to the edge; trailing cloth extends below it. */
@media(min-width:761px){.game-toolbar.blood-hud{transform:translateY(16%)}.blood-hud #combat-status{top:80%}}

@media(min-width:761px){.game-bottom{overflow:clip}}

/* Reduce the ornate desktop HUD proportionally while keeping its base docked. */
@media(min-width:761px){.game-toolbar.blood-hud{width:51%;margin-inline:auto}}

/* The source cup spans y344..480; its opaque opening needs liquid above the
   skin while the transparent glass receives the same level beneath it. */
.blood-hud .blood-vessel{left:11.87845%;top:39.77778%;width:5.89319%;height:30.22222%;border-radius:0;background:#09080766}
.blood-hud #blood-cup-fill{transition:none}
.blood-hud .blood-mouth{position:absolute;z-index:2;pointer-events:none;left:11.87845%;top:39.77778%;width:5.89319%;height:7.55556%;overflow:hidden;border-radius:50%}
.blood-hud #blood-cup-surface{position:absolute;left:0;right:0;bottom:0;height:100%;background:radial-gradient(ellipse at 48% 30%,#ef5362 0,#cc2036 35%,#a30d24 72%,#650519);box-shadow:inset 0 1px 2px #ffc0a080}
.blood-hud #hud-health-value{left:8.75%;top:21%;width:12%;font:bold clamp(15px,2cqw,26px)/1.15 Georgia,serif;white-space:nowrap;padding:2px 4px;background:#1a090be8;border:1px solid #967044;border-radius:4px;pointer-events:none}
.blood-hud .hud-player-xp{position:absolute;z-index:0;pointer-events:none;left:3.7%;top:13.33333%;width:92.6%;height:5.33333%;overflow:hidden;background:#10220fe8;border:1px solid #516a2d;box-shadow:inset 0 1px 3px #0009}
.blood-hud .hud-player-xp-range{position:absolute;left:11%;right:0;top:0;bottom:0}
.blood-hud #hud-player-xp-fill{height:100%;width:0;background:linear-gradient(#b4ea65,#5eac2a 42%,#2e6917);box-shadow:inset 0 1px #e3ff9d66}
.blood-hud #hud-player-xp-fill[data-progress=true]{min-width:1px}
.blood-hud .hud-player-xp-text{position:absolute;z-index:3;pointer-events:none;left:16%;top:13.33333%;height:5.33333%;display:flex;align-items:center;color:#f1ffd5;font:bold clamp(9px,1cqw,14px)/1 Georgia,serif;white-space:nowrap;text-shadow:0 1px 2px #000,1px 0 2px #000,-1px 0 2px #000}
.blood-hud .gold-hud{display:flex;position:absolute;z-index:4;left:71.1%;top:31%;width:23.4%;height:10%;gap:5px;padding:1px 7px;color:#f4d477;background:#1a130ce8;border:1px solid #92703f;border-radius:4px;font:bold clamp(10px,1.15cqw,16px)/1 Georgia,serif;pointer-events:none}
.blood-hud .gold-coin{width:14px;height:14px;flex:0 0 14px;object-fit:contain;image-rendering:pixelated;border:0;border-radius:0;background:none;box-shadow:none}
.blood-hud #gold-count{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){
 .blood-hud .blood-vessel{left:22px;top:32px;width:49px;height:66px;border-radius:5px 5px 10px 10px;background:#18100a55}
 .blood-hud .blood-mouth{display:none}
 .blood-hud #hud-health-value{left:5px;top:3px;width:84px;font-size:18px}
 .blood-hud .hud-player-xp{left:12px;top:101px;width:calc(100% - 24px);height:14px;z-index:2;border-color:#8d7344}
 .blood-hud .hud-player-xp-range{left:4px;right:4px}
 .blood-hud .hud-player-xp:before,.blood-hud .hud-player-xp:after{content:'';position:absolute;top:-1px;bottom:-1px;width:4px;z-index:1;background:linear-gradient(90deg,#261a0e,#aa8650,#322110)}
 .blood-hud .hud-player-xp:before{left:-1px}.blood-hud .hud-player-xp:after{right:-1px}
 .blood-hud .hud-player-xp-text{left:19px;top:101px;height:14px;font-size:9px}
 .blood-hud .gold-hud{left:12px;top:182px;width:calc(34% - 12px);height:16px;padding:1px 4px;gap:3px;font-size:10px}
 .blood-hud .gold-coin{width:12px;height:12px;flex-basis:12px}
 .blood-hud #combat-status{left:36%;top:183px;width:61%;font-size:8px}
}

@media(max-width:760px){.game-toolbar.blood-hud{zoom:.68}}
