Code/Examples/UI/LobbyHud.razor.scss
$accent: #ffb13b;
root {
position: absolute;
width: 100%;
height: 100%;
font-family: "Poppins", sans-serif;
color: white;
pointer-events: none;
flex-direction: column;
}
.top {
flex-direction: column;
align-items: center;
width: 100%;
margin-top: 36px;
.mode { font-size: 20px; font-weight: 600; letter-spacing: 4px; color: $accent; text-shadow: 0 2px 6px black; }
.lobby { font-size: 40px; font-weight: 800; letter-spacing: 3px; text-shadow: 0 3px 10px black; }
.timer { font-size: 30px; font-weight: 700; text-shadow: 0 2px 6px black; &.urgent { color: #ff5a4d; } }
}
.status {
position: absolute; top: 48%; width: 100%; justify-content: center;
font-size: 24px; font-weight: 600; text-shadow: 0 2px 8px black;
}
.chat {
position: absolute; top: 70%; width: 100%; justify-content: center;
font-size: 18px; color: $accent; text-shadow: 0 2px 6px black;
}
.hints {
position: absolute; bottom: 24px; width: 100%; justify-content: center; gap: 18px;
span {
font-size: 15px; color: rgba(255,255,255,0.85);
background-color: rgba(0,0,0,0.35); padding: 5px 12px; border-radius: 6px;
}
}
.menu {
pointer-events: all;
position: absolute; width: 100%; height: 100%;
flex-direction: column; align-items: center; justify-content: center;
background-color: rgba(8, 10, 16, 0.72);
.title { font-size: 40px; font-weight: 800; letter-spacing: 6px; }
.sub { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.row { flex-direction: row; gap: 18px; }
.mode {
flex-direction: column; align-items: center; justify-content: center;
width: 220px; height: 150px; border-radius: 14px;
background: linear-gradient(160deg, rgba(40,46,66,0.95), rgba(22,26,40,0.95));
border: 2px solid rgba(255,255,255,0.08);
transition: all 0.12s ease-out; cursor: pointer;
&:hover { border-color: $accent; transform: scale(1.04); }
.k { font-size: 22px; color: $accent; font-weight: 700; }
.n { font-size: 24px; font-weight: 700; margin-top: 8px; }
}
.back {
margin-top: 30px; font-size: 16px; color: rgba(255,255,255,0.8);
background-color: rgba(255,255,255,0.08); padding: 10px 20px; border-radius: 8px; cursor: pointer;
&:hover { background-color: rgba(255,255,255,0.16); }
}
}