html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #0b0d11;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    cursor: none !important;
}

* {
    box-sizing: border-box;
    cursor: none !important;
}

#home,
#player,
#diagnostic {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#home {
    padding: 42px 58px 34px;
    background:
        linear-gradient(180deg, #11151b 0%, #0b0d11 100%);
}

.brandRow {
    height: 112px;
}

.brandRow h1 {
    margin: 0;
    font-size: 48px;
    line-height: 55px;
    letter-spacing: -1px;
}

.subtitle {
    margin-top: 7px;
    color: #8f98a5;
    font-size: 19px;
}

.badge {
    position: absolute;
    right: 58px;
    top: 48px;
    padding: 10px 16px;
    border: 1px solid #343a43;
    border-radius: 22px;
    color: #aeb6c0;
    font-size: 14px;
    letter-spacing: 1px;
}

#items {
    width: 850px;
}

.item {
    position: relative;
    display: block;
    width: 100%;
    height: 102px;
    margin: 0 0 13px;
    padding: 0;
    border: 4px solid transparent;
    border-radius: 12px;
    background: #181c22;
    color: white;
    text-align: left;
}

.item.selected {
    background: #f4f5f7;
    border-color: white;
    color: #0b0d11;
}

.itemNumber {
    position: absolute;
    left: 20px;
    top: 17px;
    width: 62px;
    height: 62px;
    border-radius: 10px;
    background: #282e37;
    color: #ffffff;
    text-align: center;
    line-height: 62px;
    font-size: 25px;
    font-weight: bold;
}

.item.selected .itemNumber {
    background: #12161b;
}

.itemText {
    position: absolute;
    left: 105px;
    top: 17px;
    right: 20px;
}

.itemText strong {
    display: block;
    font-size: 25px;
    line-height: 31px;
}

.itemText small {
    display: block;
    margin-top: 5px;
    color: #89919b;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
}

.item.selected .itemText small {
    color: #5f6670;
}

#status {
    position: absolute;
    left: 58px;
    bottom: 25px;
    color: #747d89;
    font-size: 16px;
}

#player {
    display: none;
    background: black;
}

#video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    object-fit: contain;
}

.osd {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 25px;
    min-height: 148px;
    padding: 17px 20px 14px;
    border-radius: 12px;
    background: rgba(5, 7, 9, 0.86);
    color: white;
    opacity: 1;
    visibility: visible;
}

.osd.hidden {
    opacity: 0;
    visibility: hidden;
}

.osdTop {
    height: 39px;
    white-space: nowrap;
    overflow: hidden;
}

.osdQuality {
    display: inline-block;
    min-width: 84px;
    padding: 7px 11px;
    margin-right: 12px;
    border-radius: 7px;
    background: #ffffff;
    color: #111318;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.osdTitle {
    display: inline;
    font-size: 25px;
    font-weight: bold;
}

.osdGrid {
    margin-top: 7px;
    font-size: 16px;
}

.osdGrid > div {
    display: inline-block;
    width: 24%;
    vertical-align: top;
}

.osdLabel {
    display: block;
    margin-bottom: 3px;
    color: #858e9a;
    font-size: 12px;
    text-transform: uppercase;
}

.osdFooter {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #30343b;
    color: #aab1bb;
    font-size: 14px;
}

.osdFooter span {
    margin-right: 8px;
}

.osdKeys {
    float: right;
    color: #7f8791;
}

#digitsInfo {
    position: absolute;
    right: 25px;
    top: 25px;
    display: none;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(0,0,0,0.76);
    font-size: 17px;
}

#diagnostic {
    display: none;
    padding: 42px 58px;
    overflow: auto;
    background: #101318;
}

#diagnostic h1 {
    margin: 0 0 25px;
    font-size: 40px;
}

#diagText {
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 17px;
    line-height: 1.38;
    color: #d7dbe0;
}

.diagFooter {
    position: fixed;
    right: 35px;
    bottom: 25px;
    color: #808894;
    font-size: 15px;
}
