html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: #fff;
}

#root {
    position: absolute;
    bottom: 8vh;
    left: 1.5vw;
    right: 1.5vw;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hud {
    min-width: 22vw;
    min-width: 320px;
    max-width: 520px;

    display: flex;
    flex-direction: column;
}

.title {
    margin-bottom: 0.6vh;
    padding-left: 0.2vw;

    font-size: 1.4vw;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04vw;

    color: #ffffff;
    text-shadow: 0 0.1vh 0.3vh rgba(0, 0, 0, 0.8);
}

.teamContainer {
    display: flex;
    flex-direction: column;
    gap: 0.35vh;
}

.playerWrapper {
    width: 100%;
}

.playerRow {
    display: grid;
    grid-template-columns: 0.28vw minmax(25px, 2vw) 1fr 4vw 6.9vw 3.5vw;
    align-items: center;
    gap: 0.5vw;

    height: 5.25vh;
    padding: 0 0.5vw 0 0;

    background: rgba(0, 0, 0, 0.72);
    border: 0.05vw solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 0.4vh 1.2vh rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(0.15vw);
}

.stripe {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #ff2345, #b5001e);
}

.advertisement {
    font-size: 1vw;
    padding: 1vh 0vh;
    color: #ffffff;
}

.avatar {
    width: 1.75vw;
    height: 1.75vw;
    min-width: 25px;
    min-height: 25px;

    border-radius: 0.1vw;
    background: linear-gradient(135deg, #666, #222);
    border: 0.05vw solid rgba(255, 255, 255, 0.06);
}

.name {
    padding-left: 4px;
    font-size: 1.05vw;
    font-weight: 800;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    text-shadow: 0 0.1vh 0.2vh rgba(0, 0, 0, 0.7);
}

.hp {
    font-size: 1vw;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

.weapon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.weapon img {
    max-width: 6.5vw;
    max-height: 4vh;
    object-fit: contain;
}

.ammo {
    font-size: 0.85vw;
    font-weight: 800;
    color: #8cff68;
    text-align: right;
    white-space: nowrap;
}