ui/downedhud.razor.scss
// DOWNED + GAME OVER.
//
// ⚠️ Blood red on near-black, matching the damage overlay it appears on top of.
// The overlay is at full intensity whenever you are down, so anything cooler
// than this reads as a different game's UI pasted over it.
.downed {
position: absolute;
width: 100%;
height: 100%;
pointer-events: none;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: Inter;
}
// ── bleeding out ────────────────────────────────────────────────────────────
//
// ⚠️ Sits LOW, not centred. You can still crawl while down, and a panel across
// the middle of the screen would blind you while doing the one thing you are
// still allowed to do.
.bleed {
position: absolute;
bottom: 22%;
flex-direction: column;
align-items: center;
gap: 14px;
.title {
font-size: 34px;
font-weight: bold;
letter-spacing: 6px;
color: #d92b2b;
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
}
.track {
width: 460px;
height: 12px;
background-color: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(217, 43, 43, 0.5);
.fill {
height: 100%;
background-color: #d92b2b;
}
}
.secs {
font-size: 22px;
color: rgba(255, 255, 255, 0.75);
}
// ⚠️ GREEN, AGAINST A PANEL THAT IS OTHERWISE ENTIRELY RED. The bleedout bar and this
// one run in opposite directions and mean opposite things; sharing a colour would make the
// screen read as one bar behaving strangely rather than two bars racing.
.help {
flex-direction: column;
align-items: center;
gap: 6px;
.label {
font-size: 17px;
font-weight: bold;
letter-spacing: 3px;
color: #60d67a;
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
}
.track.help {
width: 300px;
height: 10px;
border-color: rgba(96, 214, 122, 0.5);
.fill {
background-color: #60d67a;
}
}
}
}
// ⚠️ BLED OUT IS DIMMER THAN DOWNED, DELIBERATELY. Being down is urgent — it is red and it
// has a bar running out. Being bled out is settled: nothing the player does changes it until the
// round ends, so it must not keep shouting at them for the rest of the wave.
.bleed.out {
.title {
color: rgba(200, 200, 200, 0.75);
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
}
.secs {
letter-spacing: 2px;
color: rgba(255, 255, 255, 0.5);
}
// ⚠️ WHO YOU ARE WATCHING (2026-10-05, `SpectateOthers`). Brighter than the rest of the block, which is settled news, because
// this line changes with every click.
.spec {
font-size: 20px;
font-weight: bold;
letter-spacing: 3px;
color: rgba(255, 255, 255, 0.9);
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
}
.keys {
font-size: 15px;
color: rgba(255, 255, 255, 0.55);
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.9);
}
}
// ── game over ───────────────────────────────────────────────────────────────
.over {
flex-direction: column;
align-items: center;
gap: 10px;
padding: 54px 96px;
background-color: rgba(0, 0, 0, 0.82);
.title {
font-size: 84px;
font-weight: bold;
letter-spacing: 12px;
color: #d92b2b;
text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.9);
}
.reason {
font-size: 22px;
color: rgba(255, 255, 255, 0.5);
margin-bottom: 26px;
}
.stats {
flex-direction: row;
gap: 84px;
margin-bottom: 20px;
.stat {
flex-direction: column;
align-items: center;
gap: 6px;
.k {
font-size: 17px;
letter-spacing: 2px;
color: rgba(255, 255, 255, 0.45);
}
.v {
font-size: 54px;
font-weight: bold;
color: #f2ead8;
}
}
}
.hint {
font-size: 16px;
letter-spacing: 1px;
color: rgba(255, 255, 255, 0.3);
}
}
// ═══ BASALT (`HudTheme`) — the map's face, Cinzel on the downed and game-over screens ═══
//
// *"i want the font for this map to affect … all hud messages that appear on screen"* (2026-09-27). The root wears the theme's class; the rules name it and each box
// here that sets Inter itself.
// ⛔ ON INTER'S LINE BOX, so no row grows taller: 0.898 of Cinzel's own line, which is Inter's 1.211 of the size. See
// `.round` in SurvivalHud.razor.scss for why it is not 1.211. It is wider on mixed-case text, which it sets in small capitals. Cinzel-Bold is the one face shipped,
// so every weight draws bold.
.downed.theme-basalt
{
font-family: Cinzel;
line-height: 0.898;
}
// ═══ BASALT (`HudTheme`) — the fall in ember, as the map would carve it (2026-09-27) ═══════════════════════════════════════
//
// The titles read as inscriptions (`DownedHud`: "THE STONE HOLDS YOU", "THE EMBERS GO OUT", "BASALT CLAIMS ANOTHER"), in ember
// rather than blood, and the round reached in Roman numerals, glowing.
// ⚠️ THE GAME-OVER TITLE IS SMALLER HERE: at the ordinary 84px and 12px spacing, 21 letters of Cinzel stand 1278px wide on a
// 1602px screen (`text_measure`); at 62px and 8px they stand about 930.
.downed.theme-basalt
{
.bleed .title { color: rgba( 222, 108, 46, 1 ); }
.bleed .track .fill { background-color: rgba( 222, 108, 46, 1 ); }
.bleed.out .title { color: rgba( 160, 148, 130, 0.85 ); }
.over .title
{
font-size: 62px;
letter-spacing: 8px;
color: rgba( 222, 108, 46, 1 );
}
.over .stats .stat .v.round
{
color: rgba( 248, 150, 72, 1 );
text-shadow: 0px 0px 14px rgba( 222, 108, 46, 0.8 );
}
}