.root {
    --top-offset: 30px;
}

.game-title {
    position: fixed;
    top: var(--top-offset);
    left: calc(50% - 137px);
}

.game-title .minec {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: var(--title-gui);
    background-size: 256px;
    width: 155px;
    height: 44px;
}

.game-title .raft {
    display: block;
    position: absolute;
    top: 0;
    left: 155px;
    background-image: var(--title-gui);
    background-size: 256px;
    width: 155px;
    height: 44px;
    background-position-y: -45px;
}

.game-title .edition {
    display: block;
    position: absolute;
    top: 37px;
    left: calc(88px + 5px);
    background-image: url('extra-textures/edition.png');
    background-size: 128px;
    width: 88px;
    height: 14px;
}

.splash {
    position: absolute;
    top: 32px;
    left: 227px;
    color: #ff0;
    transform: translate(-50%, -50%) rotateZ(-20deg) scale(1);
    width: max-content;
    text-shadow: 1px 1px #220;
    font-size: 10px;
    animation: splashAnim 400ms infinite alternate linear;
}

@keyframes splashAnim {
    to {
        transform: translate(-50%, -50%) rotateZ(-20deg) scale(1.07);
    }
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 4px 0;
    position: fixed;
    top: calc(25% + var(--top-offset) + 18px);
    left: 50%;
    width: 200px;
    transform: translate(-50%);
}

.menu-row {
    display: flex;
    flex-direction: row;
    gap: 0 4px;
    width: 100%;
}

.bottom-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute;
    bottom: -1px;
    left: 1px;
    width: calc(100% - 2px);
    color: white;
    text-shadow: 1px 1px #222;
    font-size: 10px;
}

.product-info {
    padding-left: calc(env(safe-area-inset-left) / 2);
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: 3;
    align-items: flex-end;
    padding-right: calc(env(safe-area-inset-right) / 2);
}

@media only screen and (max-height: 313px) {
    .root {
        --top-offset: 10px
    }
}

.maps-provider {
    position: fixed;
    top: 5px;
    left: 5px;
}
