* {
    touch-action: manipulation;
}

body {
    margin: 0;
    background: #000;
    color: #fefefe;
    font-family: 'Roboto Condensed', monospace;
}

a {
    text-decoration: none;
}

#controls {
    padding: 0px 25px;
    background: #06F1DA;
    color: #000;
    font-size: 16px;
    flex: 1;
    display: flex;
    align-items: center;
    height: 30px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
}

#control-left,
#control-right {
    display: inline-block;
    min-width: 200px;
}

#control-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    line-height: 20px;
    cursor: pointer;
    color: black;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logo:hover {
    text-decoration: underline;
}

.btn {
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    padding: 5px 0px 5px 30px;
    line-height: 20px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.info {
    line-height: 20px;
    text-transform: uppercase;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 5px;
}

.btn img {
    position: absolute;
    left: 10px;
    top: 7px;
    height: 16px;
    width: 16px;
}

#controls .divider {
    width: 15px;
    display: inline-block;
}

.btn:hover {
    text-decoration: underline;
}

.warning {
    color: #110f04;
    background-color: #fdd008;
    display: inline-block;
    padding: 5px 20px;
    margin: 20px;
    border-radius: 8px;
    border: 1px solid #110f04;
}

.warning h1 {
    padding: 0;
    margin: 10px 0px;
}


/* Floating Action Button for mobile */
.mobile-fab {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #06F1DA;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-fab img {
    width: 26px;
    height: 26px;
    margin: 12px;
}

.mobile-fab:active {
    background: #049284;
}

.mobile-fab-actions {
    display: none;
    position: fixed;
    bottom: 105px;
    right: 24px;
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
}

.mobile-fab-actions .fab-btn {
    text-transform: uppercase;
    position: relative;
    line-height: 20px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    display: flex;
    align-items: center;
    background: #06F1DA;
    color: #000;
    border-radius: 28px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
    padding: 10px 18px 10px 45px;
    font-size: 16px;
    min-width: 120px;
    transition: background 0.2s;
}

.fab-btn:active {
    background: #04b4a3;
}

.mobile-fab-actions img {
    width: 24px;
    height: 24px;
}

.mobile-fab-actions .left-img {
    position: absolute;
    left: 14px;
    top: 7px;
}

.fab-btn.centered {
    text-align: center;
    display: block;
    padding: 10px 18px !important;
}

.mobile-fab-actions .right-img {
    position: absolute;
    right: 14px;
    top: 7px;
}

.mobile-show {
    display: none;
}

@media screen and (max-width: 1000px) {
    .mobile-show {
        display: block;
    }

    .mobile-hidden {
        display: none;
    }

    #control-center,
    #control-right {
        display: none !important;
    }

    #controls {
        padding: 0px 15px;
        height: 20px;
        font-size: 14px;
    }

    .mobile-fab {
        display: flex !important;
    }
}

@media screen and (max-width: 450px) {
    .hide-on-vertical-screen {
        display: none !important;
    }
}

@media screen and (max-height: 450px) {
    .hide-on-horizontal-screen {
        display: none !important;
    }
}
