@font-face {
    font-family: "Inter Bold";
    src: url("../irgs/font/Inter-Bold.ttf") format("truetype");
}

/** -= Game Canvas/DIV CSS =- **/

body {
    margin: 0;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    touch-action: none;
}

#gameArea {
    width: 100%;
    height: 100%;
    position: absolute;
    text-align: center;
    margin-top: 0px;
    left: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-bottom: 0px;
    background-color: rgb(0, 0, 0);
}

/** Fix IOS grey selection issue **/

canvas {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    /* mobile webkit */
    filter: blur(0px);
    transition: 0.2s filter linear;
}

canvas.sgs-menu-blur {
    -webkit-filter: blur(8px);
    filter: blur(8px);
    transition: 0.2s filter linear;
}

#gameDiv {
    position: relative;
    z-index: 1;
}

/** -= Device Fullscreen CSS=- **/

#fullScreenMask {
    height: calc(100%+60px);
    position: absolute;
    overflow: hidden;
    opacity: 0.8;
    background-color: black;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

#fullScreenMask p {
    font-family: Helvetica, sans-serif;
    color: black;
    background-color: white;
    font-size: 20px;
    text-transform: uppercase;
    overflow-y: auto;
    position: relative;
    top: 20%;
    text-align: center;
    padding: 15px;
}

#fullScreenMask.fs_off {
    width: 1px;
    opacity: 0;
    height: 120%;
}

#fullScreenMask.fs_on {
    width: 100%;
    opacity: 0.7;
    height: 200%;
}

/** -=Device Rotation CSS=- **/

#rotateDevice {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

#rotateDevice.hide {
    display: none;
}

#rotateDevice.show {
    display: block;
}

#rotateDevice {
    background: black url(../image/rotate.png) no-repeat;
    background-size: 100% auto;
    background-position: center center;
}

#rotateDevice.portrait.show {
    background: black url(../image/rotate_p.png) no-repeat;
    background-size: 100% auto;
    background-position: center center;
}

#gameArea.show {
    z-index: 1;
}

#gameArea.hide {
    z-index: -1;
}

/** -= Game Paused CSS **/

body #pauseOverlay {
    display: none;
    opacity: 0;
    height: 2048px;
    width: 2048px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -50%;
    margin-top: -50%;
    background-color: rgba(0, 0, 0, 0.8);
}

body #pauseOverlay.show {
    transition: opacity 5s ease-in-out;
    -moz-transition: opacity 5s ease-in-out;
    -webkit-transition: opacity 5s ease-in-out;
    opacity: 1;
}

body > img {
    position: fixed;
}

#pauseIcon {
    display: none; /* hide until explicitly shown */

    position: absolute;
    z-index: 5; /* display over translucent overlay */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* magically centre the img */
    cursor: pointer;

    /* \/ customisable \/ */
    width: 20vw;
    height: auto;
    min-width: 140px;
    max-width: 415px; /* max width of asset, can probably dynamically set */
}

#loaderDiv {
    background-color: rgba(0, 0, 0, 0.2);
    /* padding-top: 35vh; */
    /* padding-left: 35vw; */
    min-height: 100%;
    width: 100%;
    position: absolute;
}

#loaderDiv.show {
    display: block;
    z-index: 50;
}

#loaderDiv.hide {
    display: none;
    z-index: -1;
}

#sk-fading-circle {
    /* width: 7vw; */
    /* height: 30vh; */
    /* position: relative; */

    margin: 35vh auto;
    height: 30vh;
    width: 10vw;
    position: relative;
}

#sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#sk-fading-circle .sk-circle:before {
    content: "";
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: rgb(0, 0, 0);
    border-radius: 25%;
    border-style: solid;
    border-width: 1px;
    border-color: white;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
#sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}
#sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}
#sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
#sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}
#sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}
#sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
#sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}
#sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}
#sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}
#sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}
#sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}
#sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}
#sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}
#sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
#sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}
#sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}
#sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}
#sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
#sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}
#sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}
#sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}
#sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%,
    39%,
    100% {
        opacity: 0.1;
    }
    40% {
        opacity: 0.9;
    }
}

@keyframes sk-circleFadeDelay {
    0%,
    39%,
    100% {
        opacity: 0.1;
    }
    40% {
        opacity: 0.9;
    }
}

/* BEGIN blackbar */
#blackBar {
    visibility: visible;
    /* height: 23px; */
    /* background-color: rgba(0, 0, 0, 0.4); */
    background-image: linear-gradient(rgb(69, 71, 70), rgb(51, 51, 51));
    font-family: "Proxima Nova", "Helvetica Neue", Arial, Helvetica, sans-serif, sans-serif;
    font-style: Helvetica, sans-serif;
    font-weight: normal;
    color: #fff;
    padding-left: 5px;
    padding-top: 0px;
    line-height: 25px;
    /* position: fixed; */
    position: absolute;
    bottom: 0px;
    display: flex;
    z-index: 20;
    font-size: 0.75em;
    /* top: 0; */
    /* bottom: 0; */
    /* left: 0; */
    width: 100%;
    text-align: left;
    -webkit-user-select: none; /* disable selection/Copy of UIWebView */
    -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}

@media (orientation: landscape) {
    #blackBar {
        flex-direction: row;
    }
}

@media (orientation: portrait) {
    #blackBar {
        flex-direction: column;
    }
}

.blackBar-group {
    flex: 1;
    display: flex;
    height: 23px;
}

.blackBar-group.ios {
    height: 46px;
}

#blackBar.no-show {
    visibility: hidden;
}

#blackBar.ios {
    /* height: 46px; */
    line-height: 50px;
    font-size: 1.5em;
}

#blackBar span.blackBar-filler {
    /* float: left; */
    width: 6%;
    display: inline-block;
}
#blackBar span#blackBar-balance {
    /* float: left; */
    width: 48%;
    display: inline-block;
}
#blackBar span#blackBar-won {
    /* float: left; */
    width: 46%;
    display: inline-block;
}
#blackBar span#blackBar-gamename {
    /* float: left; */
    width: 48%;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
#blackBar span#blackBar-stake {
    /* float: left; */
    width: 46%;
    display: inline-block;
}

/* #blackBar span:nth-child(n + 2) {
    margin-left: 15%;
} */

/* #blackBar span#blackBar-clock {
    float: right;
    margin-right: 2vh;
} */

/* END blackbar */

/* BEGIN jackpotbar */
#jackpotbar {
    visibility: visible;
    /* height: 23px; */
    /* background-color: rgba(0, 0, 0, 0.4); */
    background-image: linear-gradient(rgb(69, 71, 70), rgb(51, 51, 51));
    font-family: "Proxima Nova", "Helvetica Neue", Arial, Helvetica, sans-serif, sans-serif;
    font-style: Helvetica, sans-serif;
    font-weight: normal;
    color: #fff;
    padding-left: 5px;
    padding-top: 0px;
    line-height: 25px;
    /* position: fixed; */
    position: absolute;
    top: 0px;
    display: flex;
    z-index: 20;
    font-size: 0.75em;
    /* top: 0; */
    /* bottom: 0; */
    /* left: 0; */
    width: 100%;
    text-align: center;
    -webkit-user-select: none; /* disable selection/Copy of UIWebView */
    -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}

@media (orientation: landscape) {
    #jackpotbar {
        flex-direction: row;
    }
    #jackpotbar span.jackpot1 {
        width: 100%;
    }
    #jackpotbar span.jackpot2 {
        width: 50%;
    }
    #jackpotbar span.jackpot3 {
        width: 33%;
    }
}

@media (orientation: portrait) {
    #jackpotbar {
        flex-direction: column;
    }
    #jackpotbar span.jackpot1 {
        width: 100%;
    }
    #jackpotbar span.jackpot2 {
        width: 100%;
    }
    #jackpotbar span.jackpot3 {
        width: 100%;
    }
}

#jackpotbar span {
    flex: 1;
    display: flex;
    height: 23px;
}

#jackpotbar span.ios {
    height: 46px;
}

#jackpotbar.no-show {
    visibility: hidden;
}

#jackpotbar.ios {
    line-height: 50px;
    font-size: 1.5em;
}

#jackpotbar span.jackpot1 {
    display: inline-block;
}
#jackpotbar span.jackpot2 {
    display: inline-block;
}
#jackpotbar span.jackpot3 {
    display: inline-block;
}

#jackpotbar span.jackpot1.ios {
    display: inline-block;
    height: 46px;
}
#jackpotbar span.jackpot2.ios {
    display: inline-block;
    height: 46px;
}
#jackpotbar span.jackpot3.ios {
    display: inline-block;
    height: 46px;
}
/* END jackpotbar */

/* BEGIN blackbar-once */
#blackBar-once {
    visibility: visible;
    /* height: 23px; */
    /* background-color: rgba(0, 0, 0, 0.4); */
    background-image: linear-gradient(rgb(69, 71, 70), rgb(51, 51, 51));
    font-family: "Proxima Nova", "Helvetica Neue", Arial, Helvetica, sans-serif, sans-serif;
    font-style: Helvetica, sans-serif;
    font-weight: normal;
    color: #fff;
    padding-left: 5px;
    padding-top: 0px;
    line-height: 25px;
    /* position: fixed; */
    display: flex;
    z-index: 1000;
    font-size: 0.75em;
    /* top: 0; */
    /* bottom: 0; */
    /* left: 0; */
    width: 100%;
    text-align: left;
    -webkit-user-select: none; /* disable selection/Copy of UIWebView */
    -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}

@media (orientation: landscape) {
    #blackBar-once {
        flex-direction: row;
    }
}

@media (orientation: portrait) {
    #blackBar-once {
        flex-direction: column;
    }
}

.blackBar-once-group {
    flex: 1;
    display: flex;
    height: 23px;
}

.blackBar-once-group.ios {
    height: 46px;
}

#blackBar-once.no-show {
    visibility: hidden;
}

#blackBar-once.ios {
    /* height: 46px; */
    line-height: 50px;
    font-size: 1.5em;
}

#blackBar-once span.blackBar-once-filler {
    /* float: left; */
    width: 4%;
    display: inline-block;
}
#blackBar-once span#blackBar-once-ticketid {
    /* float: left; */
    width: 46%;
    display: inline-block;
}
#blackBar-once span#blackBar-once-stake {
    /* float: left; */
    width: 46%;
    display: inline-block;
}

/* END blackbar-once */
:root {
    --sgs-infopanel-highlightcolor: #ffd700;
    --sgs-ui-gradientStartColor: #363144;
    --sgs-ui-gradientEndColor: #403b45;
}

/* START ui */
/* Game overlay */
.sgs-ui-gameoverlay {
    background-color: transparent;
    background-image: linear-gradient(180deg, rgba(2, 0, 36, 1) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 1) 100%);
    height: 15%;
    margin-bottom: 20px;
    width: 100%;
    bottom: 0px;
    position: absolute;
    display: flex;
    flex-direction: row;
    z-index: 1;
}

.sgs-ui-homeButton {
    background-color: transparent;
    border: 0px transparent;
    height: 100%;
    aspect-ratio: 1/1;
    z-index: 1;
    cursor: pointer;
}

.sgs-ui-menuOpenButton {
    background-color: transparent;
    -ms-flex-align: end;
    max-height: 100%;
    aspect-ratio: 1/1;
    margin-left: auto;
    border: 0px transparent;
    cursor: pointer;
}

.sgs-ui-menu .sgs-ui-legalText {
    color: "white";
    text-align: "center";
}

.sgs-ui-sidebarContainer {
    height: 100%;
    width: 80px;
    background-image: linear-gradient(
        318deg,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientEndColor) 100%
    );
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.7);

    position: absolute;
    right: -30%;
    top: 0px;
    border: 2px solid #404040;
    transition: right 0.4s;
}

.sgs-ui-sidebarContainer-open {
    right: 0px;
    transition: right 0.4s;
}

.sgs-ui-sidebarOptionsContainer {
    display: flex;
    justify-content: end;
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: auto;
    flex-wrap: wrap-reverse;
    height: 85%;
}

.sgs-ui-sidebarOption {
    aspect-ratio: 1 / 1;
    width: 50%;
    padding: 10px;
    margin: 8px;
    border: 2px #404040 solid;
    opacity: 0.6;
    cursor: pointer;
    background-color: transparent;
    transition: 0.2s;
}

.sgs-ui-sidebarOption-selected {
    background-color: rgba(0, 0, 0, 0.5);
    border: 4px rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: 0.2s;
}

.sgs-ui-menuOptionOpen {
    background-image: url("./../ignore/ui_icon_menu.svg");
}
.sgs-ui-menuOptionClose {
    background-image: url("./../ignore/ui_icon_close.svg");
}
.sgs-ui-menuOptionHome {
    background-image: url("./../ignore/ui_icon_home.svg");
}
.sgs-ui-menuOptionInfo {
    background-image: url("./../ignore/ui_icon_info.svg");
}
.sgs-ui-menuOptionPrizeTable {
    background-image: url("./../ignore/ui_icon_prize_chart.svg");
}
.sgs-ui-menuOptionVolume {
    background-image: url("./../ignore/ui_icon_sound_on.svg");
}
.sgs-ui-menuOptionSettings {
    background-image: url("./../ignore/ui_icon_cog.svg");
}

/* START info panel */

/* Generic */
.sgs-infopanel-main {
    position: absolute;
    z-index: 200;
    background-color: #000000;
    background-image: linear-gradient(
        318deg,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientEndColor) 100%
    );
    color: #ffffff;
    left: 50%;
    top: 50%;
    transform: "translate(-50%, -50%)";
    font-family: Inter Bold;
    text-align: center;
    border: solid;
    border-color: #555555;
    border-width: 2px;
    border-radius: 8px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.2);
}

.sgs-infopanel-main-showing {
    visibility: visible;
    animation: sgs-fade-in 0.2s;
}

.sgs-infopanel-main-hidden {
    opacity: 0;
    animation: sgs-fade-out 0.2s;
}

@keyframes sgs-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes sgs-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Info Panel */
.sgs-infopanel-scrollableY {
    overflow-y: scroll;
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    scrollbar-color: rgba(255, 255, 255, 0.8) var(--sgs-infopanel-gradientEndColor);
    margin: 30px;
    border: 8px solid rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.sgs-infopanel-scrollableY::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.sgs-infopanel-scrollableY::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.sgs-infopanel-scrollableY::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.sgs-infopanel-scrollableY::-moz-scrollbar {
    white-space: 4px;
    color: rgba(0, 0, 0, 0.2);
    width: 15px;
}

.sgs-infopanel-titleElement {
    display: flex;
    justify-content: left;
    font-size: 30px;
    text-align: center;
    margin-top: 20px;
    margin-left: 40px;
    margin-right: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.sgs-infopanel-bodytextElement-titleSpacer {
    width: 4px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-right: 20px;
    border-radius: 12px;
}

.sgs-infopanel-bodytextElement {
    display: flex;
    justify-content: left;
    font-size: 19px;
    text-align: left;
    margin-left: 10px;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.56);
}

.sgs-infopanel-versiontextElement {
    display: flex;
    justify-content: center;
    font-size: 14px;
    text-align: center;
    color: #bbbbbb;
}

/* Prize Table */
.sgs-infopanel-scrollableXY {
    overflow-x: auto;
    overflow-y: auto;
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    overscroll-behavior: none;
    scrollbar-color: var(--sgs-infopanel-gradientEndColor) var(--sgs-infopanel-gradientEndColor);
}

.sgs-infopanel-scrollableXY::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.sgs-infopanel-scrollableXY::-webkit-scrollbar-thumb {
    background: var(--sgs-infopanel-highlightcolor);
    border-radius: 10px;
}

.sgs-infopanel-scrollableXY::-webkit-scrollbar-track {
    background: var(--sgs-ui-gradientEndColor);
}

.sgs-infopanel-tableColumnTitle {
    left: 65px;
    position: sticky;
    left: 0;
    z-index: 4;
    top: 0;
    background-color: #000000;
    min-height: 25px;
    padding: 0px 0px 0px 125px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.sgs-infopanel-tableStaticHeader {
    z-index: 2;
    position: sticky;
    top: 25px;
    left: 0;
    border: solid;
    background-color: #000000;
    color: #ffffff;
    margin-left: 20px;
    margin-right: 20px;
    padding: 15px;
}

.sgs-infopanel-tableColHeader {
    z-index: 1;
    position: sticky;
    top: 25px;
    border: solid;
    background-color: #000000;
    border-width: 1;
    color: var(--sgs-infopanel-highlightcolor);
    border-color: #cccccc;
    padding: 3px 25px 3px 25px;
}

.sgs-infopanel-tableRowHeader {
    z-index: 1;
    position: sticky;
    left: 0;
    border: solid;
    background-color: #000000;
    border-width: 1;
    color: var(--sgs-infopanel-highlightcolor);
    border-color: #cccccc;
    padding: 15px;
}
.sgs-infopanel-tableCell {
    z-index: 0;
    color: #cccccc;
    border: solid;
    border-width: 1px;
    border-color: #666666;
}

.sgs-infopanel-tableCellStyle1 {
    background-color: #000000;
}
.sgs-infopanel-tableCellStyle2 {
    background-color: #555555;
}

.sgs-infopanel-tableCellStyle2 {
    background-color: #333333;
}

.sgs-infopanel-tableHiderDiv {
    min-width: 100px;
    min-height: 54px;
    background-color: #000000;
    position: absolute;
    left: 0;
    top: 10;
    z-index: 2;
    align-content: center;
}

/*  Volume slider: */
.sgs-infopanel-fixed {
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sgs-infopanel-fixed {
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

input[type="range"].sgs-infopanel-range {
    -webkit-appearance: none;
    appearance: none;
    width: 400px;
    height: 5px;
    border-radius: 20px;
    z-index: 2;
    cursor: pointer;
}
input[type="range"].sgs-infopanel-range::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    background-color: transparent;
}
input[type="range"].sgs-infopanel-range::-moz-range-track {
    -webkit-appearance: none;
    background: transparent;
    background-color: transparent;
}

/* Slider Thumb */
input[type="range"].sgs-infopanel-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    color: #000000;
    background-color: #404040;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    z-index: 2;
    line-height: 40px;
    margin-bottom: 15px;
    border: 4px solid rgba(200, 200, 230, 1);
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grab;
}

input[type="range"].sgs-infopanel-range::-webkit-slider-thumb:active {
    -webkit-appearance: none;
    color: #000000;
    background-color: #666699;
    width: 35px;
    height: 35px;
    border-radius: 35%;
    z-index: 2;
    line-height: 40px;
    margin-bottom: 15px;
    border: 7px solid #ffffff;
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grabbing;
}

input[type="range"].sgs-infopanel-range::-moz-range-thumb {
    color: #000000;
    background-color: #404040;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    z-index: 2;
    line-height: 40px;
    margin-bottom: 15px;
    border: 4px solid rgba(200, 200, 230, 1);
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grab;
}

input[type="range"].sgs-infopanel-range::-moz-range-thumb:active {
    -webkit-appearance: none;
    color: #000000;
    background-color: #666699;
    width: 35px;
    height: 35px;
    border-radius: 35%;
    z-index: 2;
    line-height: 40px;
    margin-bottom: 15px;
    border: 7px solid #ffffff;
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grabbing;
}

/* Auto play */
.sgs-autoplay-main {
    position: absolute;
    z-index: 200;
    background-image: linear-gradient(
        318deg,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientEndColor) 100%
    );
    color: #b7b7b7;
    left: 50%;
    top: 50%;
    transform: "translate(-50%, -50%)";
    font-family: Inter Bold;
    text-align: center;
    border: solid;
    border-color: #404040;
    border-width: 2px;
    border-radius: 8px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-shadow: 0 2px 8px 5px rgba(0, 0, 0, 0.5);
}

.sgs-autoplay-main.showing {
    visibility: visible;
    animation: sgs-fade-in 0.5s;
}

.sgs-autoplay-main.hidden {
    animation: sgs-fade-out 0.5s;
}

@keyframes sgs-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes sgs-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.sgs-autoplay-fixed {
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.sgs-autoplay-title {
    font-weight: 600;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px #000;
    padding: 15px 0px 15px 0px;
    width: 100%;
    color: rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.4);
    align-self: center;
    justify-content: center;
    border-radius: 8px;
}

.sgs-autoplay-header {
    font-weight: 600;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
    padding: 12px 0px 12px 0px;
    width: 100%;
    align-self: center;
    justify-content: center;
}

.sgs-autoplay-innerBox {
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    width: 90%;
    padding: 5px;
    border-width: 5px;
    border-radius: 8px;
}

.sgs-autoplay-sliderContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 30px 30px 30px;
}

.sgs-autoplay-sliderInfo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.sgs-autoplay-sliderInfoTitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    padding: 8px;
}

.sgs-autoplay-sliderInfoValue {
    font-size: 20px;
    padding: 10px;
    margin-left: auto;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
}

input[type="range"].sgs-autoplay-range {
    -webkit-appearance: none;
    background-color: rgba(0, 0, 0, 0.8);
    appearance: none;
    width: 400px;
    height: 5px;
    border-radius: 20px;
    z-index: 2;
    cursor: pointer;
}
input[type="range"].sgs-autoplay-range::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    background-color: transparent;
}
input[type="range"].sgs-autoplay-range::-moz-range-track {
    -webkit-appearance: none;
    background: transparent;
    background-color: transparent;
}

/* Slider Thumb */
input[type="range"].sgs-autoplay-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    color: #000000;
    background-color: var(--sgs-ui-gradientStartColor);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    z-index: 2;
    line-height: 40px;
    margin-bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.4);
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grab;
}

input[type="range"].sgs-autoplay-range::-webkit-slider-thumb:active {
    -webkit-appearance: none;
    color: #000000;
    background-color: var(--sgs-ui-gradientEndColor);
    width: 35px;
    height: 35px;
    border-radius: 35%;
    z-index: 2;
    line-height: 40px;
    margin-bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grabbing;
}

input[type="range"].sgs-autoplay-range::-moz-range-thumb {
    color: #000000;
    background-color: var(--sgs-ui-gradientStartColor);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    z-index: 2;
    line-height: 40px;
    margin-bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.4);
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grab;
}

input[type="range"].sgs-autoplay-range::-moz-range-thumb:active {
    -webkit-appearance: none;
    color: #000000;
    background-color: var(--sgs-ui-gradientEndColor);
    width: 35px;
    height: 35px;
    border-radius: 35%;
    z-index: 2;
    line-height: 40px;
    margin-bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grabbing;
}

.sgs-autoplay-sliderTicks {
    z-index: 0;
    width: 370px;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    padding: 5px;
    color: #505050;
    margin-top: -10px;
    font-size: 15px;
}

.sgs-autoplay-sliderTicks option {
    display: flex;
    justify-content: center;
    min-height: 5px;
    width: 3px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    top: 5px;
    line-height: 70px;
    padding-top: 0px;
    padding: 0px;
    border: 0px;
}

.sgs-sliderTick-active {
    color: #ffffff;
    font-size: 19px;
}

.sgs-autoplay-startButton {
    -webkit-appearance: none;
    margin-top: auto;
    width: 96%;
    text-shadow: 0 2px #000;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    height: 38px;
    background: linear-gradient(164deg, rgba(85, 204, 124, 1) 0%, rgba(54, 134, 0, 1) 100%);
    box-shadow: 0px 2px 0px 2px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-width: 0px;
    border-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

button.sgs-autoplay-startButton:hover {
    transform: scale(1.01);
}

button.sgs-autoplay-startButton:active {
    background: rgba(77, 77, 125, 1);
    transform: scale(1.01);
}

button.sgs-autoplay-closeButton {
    -webkit-appearance: none;
    display: flex;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 45px;
    height: 45px;
    font-weight: 700;
    font-size: 20px;
    text-shadow: 0 2px #000;
    color: #fff;
    background: linear-gradient(144deg, rgba(254, 100, 85, 1) 0%, rgba(192, 17, 25, 1) 100%);
    box-shadow: 0px 2px 0px 2px rgba(0, 0, 0, 0.2);
    margin: auto;
    border-radius: 45px;
    border-width: 0px;
    border-color: #444444;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

button.sgs-autoplay-closeButton:hover {
    transform: scale(1.05);
}

button.sgs-autoplay-closeButton:active {
    background: rgba(77, 77, 125, 1);
    transform: scale(1.05);
}
