iframe {
    border: 0;
}

#hud {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100dvw;
    height: 100dvh;
    z-index: 1;
    font-size: 14pt;
}

#hudtop {
    position: absolute;
    x: 0pt;
    y: 0pt;
    background-color: transparent;
    color: #000;
    padding: 0pt;
    padding-left: 0pt;
    width: 100dvw;
    height: 40pt;
    font-size: 14pt;
    margin: 0;

    display: grid;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

#hudsubtitle {
    opacity: 0.5;
    font-size: 70%;
}

#hudbottom {
    background-color: black;
    position: absolute;
    x: 0pt;
    y: 0pt;
    width: calc(100dvw - 30pt);
    height: calc(100dvh - 30pt);
    margin: 0;
    padding: 15pt;
}

#hudclose {
    border-radius: 50%;
    /* background-color: rgba(255, 255, 255, 0.2); */
    /* background-color: #996633; */
    color: rgba(255, 255, 255, 0.8);
    width: 40pt;
    height: 40pt;
    position: absolute;
    right: 0pt;
    top: 0pt;
    font-size: 16pt;
    margin: auto;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;

    align-items: center;
    justify-content: center;
    z-index: 2;
}

#hudclose:after {
    display: inline-block;
    content: "\00d7";
    margin: auto;
}

#hudgen {
    width: 100%;
    height: 100%;
}
