html {
    height: 100%;
}

body {
    font-family: "Lekton";
    background: #fff;
    color: #000;
    margin: 0;
    font-size: 10px;
    font-weight: bold;
    user-select: none;
    overflow: hidden;
    width: 100vw;
    height: var(--viewport-height);
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.orderbook {
    height: var(--viewport-height);
    user-select: none;
    position: relative;
    touch-action: none;
}

.interval-container {
    flex-direction: column;
    width: 190px;
    height: 100%;
}

.interval-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.interval-table .header-row {
    line-height: 10px;
    text-align: center;
    font-size: 10px;
    color: #808080;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10px;
}

.orderbook-row {
    flex: 1;
    display: flex;
    height: 0;
    line-height: 10px;
}

.hidden-col {
    width: 60px;
    position: relative;
    text-align: right;
    padding-right: 5px;
    overflow: hidden;
    color: white;
}

.volume-col {
    width: 60px;
    position: relative;
    text-align: left;
    padding-left: 5px;
    overflow: hidden;
    color: white;
}

.price-col {
    width: 60px;
    text-align: right;
    padding-right: 5px;
    /*border-left: 1px solid #181818;
    border-right: 1px solid #181818;*/
    color: #808080;
}

.hidden-bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: #303030;
    z-index: -1;
}

.volume-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #303030;
    z-index: -1;
}

.current-row {
    display: flex;
    line-height: 10px;
}

.current-row .volume-col {
    width: 190px;
    display: flex;
    justify-content: space-between;
}

.current-row .buy-volume {
    flex: 1;
    text-align: left;
    position: relative;
    color: white;
}

.current-row .sell-volume {
    flex: 1;
    text-align: right;
    padding-right: 5px;
    position: relative;
    color: white;
}

.current-row .buy-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(0, 128, 255, 0.5);
    z-index: -1;
}

.current-row .sell-bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: rgba(0, 64, 255, 0.5);
    z-index: -1;
}

.hidden {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    touch-action: none;
    cursor: grab;
}

.overlay:active {
    cursor: grabbing;
}
