/* Custom params */
:root {
    --sgs-ui-gradientStartColor: #e7c359;
    --sgs-ui-gradientEndColor: #b88e14;
}

:focus {
    outline: none !important;
}

body {
    -webkit-tap-highlight-color: transparent;
}

/* Generic classes*/

.sgs-transition {
    transition: opacity 2.5s;
    -webkit-transition: opacity 2.5s;
}

.sgs-showing {
    opacity: 1;
    animation: sgs-fade-in 0.5s;
}

.sgs-hidden {
    opacity: 0;
    animation: sgs-fade-out 0.5s;
}

.sgs-enabled {
    pointer-events: all;
}

.sgs-disabled {
    pointer-events: none;
    touch-action: none;
}

.sgs-faded {
    opacity: 0.4;
}

.sgs-idle {
    animation: sgs-idle 2s infinite;
}

.sgs-infopanel-main-showing {
    opacity: 0;
    animation: sgs-fade-in 0.2s;
}

.sgs-infopanel-main-hidden {
    opacity: 0;
    animation: sgs-fade-out 0.2s;
}

.sgs-partyMode {
    animation: sgs-partyMode 1.2s infinite;
    animation-timing-function: linear;
}

.sgs-ui-main {
    position: absolute;
    z-index: 2;
    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-ui-fixed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sgs-ui-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-ui-scrollableY::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.sgs-ui-scrollableY::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.sgs-ui-scrollableY::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.sgs-ui-scrollableY::-moz-scrollbar {
    white-space: 4px;
    color: rgba(0, 0, 0, 0.2);
    width: 15px;
}

.sgs-ui-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.8);
    background-color: rgba(0, 0, 0, 0.4);
    align-self: center;
    justify-content: center;
    border-radius: 8px;
}

button.sgs-ui-closeButton {
    -webkit-appearance: none;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    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);
    border-radius: 45px;
    border-width: 0px;
    border-color: #444444;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

button.sgs-ui-closeButton:hover {
    transform: scale(1.05);
}

button.sgs-ui-closeButton:active {
    background: rgba(77, 77, 125, 1);
    transform: scale(1.05);
}

/* Generic keyframe */
@keyframes sgs-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes sgs-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes sgs-idle {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes sgs-partyMode {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* Enable sounds */
.sgs-enableSounds-buttonContainer {
    overflow: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin: auto;
}

.sgs-enableSounds-baseButton {
    -webkit-appearance: none;
    width: 96%;
    height: 16%;
    text-shadow: 0 2px #000;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    height: 38px;
    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;
    flex-basis: 40%;
}

@media (orientation: portrait) {
    .sgs-enableSounds-baseButton {
        height: 35%;
        font-size: 26px;
    }
}

.sgs-enableSounds-yes {
    background: linear-gradient(164deg, rgba(85, 204, 124, 1) 0%, rgba(54, 134, 0, 1) 100%);
}

.sgs-enableSounds-no {
    background: linear-gradient(164deg, rgb(204, 85, 85) 0%, rgb(134, 0, 0) 100%);
}

button.sgs-enableSounds-baseButton:hover {
    transform: scale(1.01);
}

button.sgs-enableSounds-baseButton:active {
    background: rgba(77, 77, 125, 1);
    transform: scale(1.01);
}

/* Pause */
.sgs-pause-bg {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    pointer-events: all;
    z-index: 5;
}

.sgs-pause-imgContainer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.sgs-pause-img {
    background-color: rgba(0, 0, 0, 0);
    -ms-flex-align: end;
    width: 160px;
    max-width: 75%;
    aspect-ratio: 1/1;
    border: 0px transparent;
    border-radius: 25px;
}

/* Menu bar */

.sgs-ui-sidebarBottomContainer {
    width: 100%;
    min-width: 210px;
    position: absolute;
    border: 2px transparent;
    transition: right 0.4s;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    inset: auto 0% 0%;
    user-select: none;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(2, 0, 36, 1) 0%,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 75%,
        rgba(0, 0, 0, 0.468312324929972) 100%
    );
}

.sgs-ui-sidebarBottomContainer-landscape {
    max-height: 80px;
}

.sgs-ui-sidebarTopContainer {
    width: 100%;
    min-width: 210px;
    position: absolute;
    border: 2px transparent;
    transition: right 0.4s;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    inset: 0% auto 0% auto;
    user-select: none;
    pointer-events: none;
    background: linear-gradient(
        0deg,
        rgba(2, 0, 36, 1) 0%,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 75%,
        rgba(0, 0, 0, 0.468312324929972) 100%
    );
    max-height: 14%;
}

.sgs-ui-sidebarBG {
    position: absolute;
    z-index: -20;
    height: 100%;
    width: 100%;
    bottom: 0%;
    background-image: linear-gradient(
        318deg,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientEndColor) 100%
    );
    transition: 0.2s;
    box-shadow: 30px 30px 30px 30px rgba(0, 0, 0, 0.7);
}

.sgs-ui-sidebarBG-closed {
    bottom: 0%;
    height: 0%;
    transition: 0.2s;
}

.sgs-ui-sidebarContainer-open {
    left: 0%;
    transition: 0.5s;
    opacity: 1;
}

.sgs-ui-sidebarContainer-close {
    transition: 0.5s;
    pointer-events: none;
}

.sgs-leftAligned {
    left: 0%;
    display: flex;
    height: 100%;
    flex-basis: 20%;
    max-width: 20%;
    align-items: start;
    margin-top: 3px;
    margin-bottom: 3px;
}

.sgs-rightAligned {
    right: 0%;
    display: flex;
    height: 100%;
    justify-content: end;
    flex-basis: 20%;
    max-width: 20%;
    align-items: end;
    margin-top: 3px;
    margin-bottom: 3px;
}

.sgs-flexLandscape {
    flex-direction: row;
}

.sgs-flexPortrait {
    margin-top: auto;
}

.sgs-centerAligned {
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.sgs-ui-overlayButton {
    background-color: transparent;
    border: 0px transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

@media screen and (max-height: 500px) {
    .sgs-ui-sidebarBottomContainer-portrait {
        max-height: 34px;
        gap: 5px;
    }

    .sgs-ui-overlayButton-portrait {
        transform: scale(0.65);
    }

    .sgs-ui-sidebarOption-portrait {
        transform: scale(0.65);
    }
}

@media screen and (min-aspect-ratio: 700/400) {
    .sgs-ui-sidebarBottomContainer-landscape {
        max-height: 34px;
        gap: 5px;
    }

    .sgs-ui-overlayButton-landscape {
        transform: scale(0.65);
    }

    .sgs-ui-sidebarOption-landscape {
        transform: scale(0.65);
    }
}

.sgs-ui-overlayButton-landscape {
    flex-basis: 45%;
}

.sgs-ui-overlayButton-portrait {
    flex-basis: 65%;
}

button.sgs-ui-overlayButton-landscape:active {
    background-color: rgba(255, 255, 255, 0.5);
}

button.sgs-ui-overlayButton-landscape:hover {
    transform: scale(1.04);
}

.sgs-ui-menu .sgs-ui-legalText {
    color: "white";
    text-align: "center";
}

.sgs-ui-sidebarOptionsContainer-landscape {
    overflow: hidden;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-direction: row-reverse;
    align-items: center;
    flex-wrap: wrap-reverse;
    max-width: 65%;
    flex-basis: 65%;
    height: 95%;
    padding: 10px;
    transition: 1.2s;
}

@media screen and (min-width: 950px) {
    .sgs-ui-sidebarOptionsContainer-landscape {
        flex-basis: 50%;
    }
}

.sgs-ui-sidebarOptionsContainer-portrait {
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
    flex-wrap: wrap;
    width: 75%;
    max-width: 75%;
    flex: 1;
    gap: 8px;
    margin: 10px;
    padding: 10px;
    transition: 1.2s;
}

.sgs-ui-sidebarOptionsContainer-closed {
    opacity: 0;
    transition: 0.1s;
}

.sgs-ui-sidebarOption {
    /* aspect-ratio: 1/1; */
    padding: 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    row-gap: 8px;
    border: 4px rgba(0, 0, 0, 0.6) solid;
    border-radius: 12px;
    opacity: 0.85;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    flex: 1;
    gap: 5px;
}

@media screen and (max-height: 700px) {
    .sgs-ui-sidebarOption {
        font-size: 16px;
    }
}

.sgs-ui-sidebarOption-landscape {
    max-width: 11%;
}

.sgs-ui-sidebarOption-portrait {
    width: 90%;
    justify-content: start;
}

@media screen and (max-width: 520px) {
    .sgs-ui-sidebarOption-portrait {
        font-size: 16px;
    }
}

@media screen and (max-width: 350px) {
    .sgs-ui-sidebarOption-portrait {
        font-size: 11px;
    }
}

.sgs-ui-sidebarOption:hover {
    transform: scale(1.04);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 6px;
    border-color: #e7e7e7;
}

.sgs-ui-sidebarOption:active {
    transform: scale(0.95);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 0px 2px;
}

.sgs-ui-sidebarOption-selected {
    background-color: rgba(0, 0, 0, 0.5);
    border: 4px #fff solid;
    opacity: 1;
    transition: 0.2s;
    display: flex;
    box-shadow: 0px 0px 7px 4px rgba(0255, 255, 255, 0.3);
}

.sgs-ui-sidebarOption-hidden {
    display: none;
}

.sgs-ui-sidebarOption-selected:hover {
    transform: scale(1.04);
    box-shadow: 0px 0px 7px 4px rgba(0255, 255, 255, 0.8);
}

.sgs-ui-sidebarOption-selected:active {
    transform: scale(0.95);
    box-shadow: rgba(255, 255, 255, 0.8) 0px 0px 2px;
}

.sgs-ui-menuOptionImage-landscape {
    aspect-ratio: 1/1;
    flex: none;
    width: 100%;
}

.sgs-ui-menuOptionImage-portrait {
    aspect-ratio: 1/1;
    width: 45px;
    flex: none;
    margin-right: 17px;
}

.sgs-ui-menuOptionLabel {
    color: "fff";
    pointer-events: none;
}

@media screen and (max-width: 650px) {
    .sgs-ui-sidebarOption {
        border: 2px #fff solid;
    }

    .sgs-ui-menuOptionImage-portrait {
        margin-right: 11px;
    }
}

@media screen and (max-width: 450px) {
    .sgs-ui-sidebarOption {
        border: 1px #fff solid;
    }

    .sgs-ui-menuOptionImage-portrait {
        margin-right: 6px;
    }
}

.sgs-ui-menuOptionOpen {
    content: url("./../ignore/ui_icon_menu.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionClose {
    content: url("./../ignore/ui_icon_close.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionHome {
    content: url("./../ignore/ui_icon_home.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionInfo {
    content: url("./../ignore/ui_icon_info.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionOddsTable {
    content: url("./../ignore/ui_icon_table.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionPrizeChart {
    content: url("./../ignore/ui_icon_prize_chart.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionVolume {
    content: url("./../ignore/ui_icon_sound_on.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionVolume-off {
    content: url("./../ignore/ui_icon_sound_off.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionSettings {
    content: url("./../ignore/ui_icon_cog.svg");
    max-height: 60px;
}

.sgs-ui-menuOptionExternalHelp {
    content: url("./../ignore/ui_icon_question_mark_2.svg");
    max-height: 60px;
}

.sgs-ui-deposit {
    content: url("./../ignore/ui_icon_deposit.svg");
    max-height: 60px;
}

.sgs-ui-popupTopBar {
    width: 100%;
    padding-top: 3px;
    padding-bottom: 4px;
    min-width: 210px;
    border: 2px transparent;
    transition: right 0.4s;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: none;
    max-height: 9%;
    background-color: rgba(0, 0, 0, 0.6);
}

.sgs-ui-popupButtonsContainer {
    width: 65%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap-reverse;
}

.sgs-ui-popupButton {
    width: 29%;
    max-width: 90px;
    height: 100%;
    padding: 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    border: 4px rgba(0, 0, 0, 0.6) solid;
    border-radius: 12px;
    opacity: 0.85;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    flex: 1;
    gap: 5px;
    margin-left: 12px;
    margin-right: 12px;
}

.sgs-ui-popupButton:hover {
    transform: scale(1.04);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 6px;
    border-color: #e7e7e7;
}

.sgs-ui-popupButton:active {
    transform: scale(0.95);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 0px 2px;
}

.sgs-ui-popupButton-selected {
    background-color: rgba(0, 0, 0, 0.5);
    border: 4px #fff solid;
    opacity: 1;
    transition: 0.2s;
    display: flex;
    box-shadow: 0px 0px 7px 4px rgba(0255, 255, 255, 0.3);
}

/* Game information */

.sgs-infopanel-markdown {
    text-align: left;
    font-size: 19px;
    margin-left: 10px;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.56);
}

.sgs-infopanel-markdown h1 {
    font-size: 36px;
    text-align: left;
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    color: rgba(255, 255, 255, 0.8);
    border-left: 5px solid white;
}

.sgs-infopanel-markdown h2 {
    font-size: 30px;
    text-align: left;
    margin-top: 40px;
    padding-left: 20px;
    margin-left: 20px;
    margin-right: 40px;
    color: rgba(255, 255, 255, 0.8);
    border-left: 5px solid white;
}

.sgs-infopanel-markdown p {
    font-size: 19px;
    margin-left: 10px;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.56);
}

.sgs-infopanel-markdown strong {
    font-weight: bold;
    color: rgba(255, 255, 255, 1);
}

.sgs-infopanel-markdown blockquote {
    text-align: center;
    font-size: 19px;
    margin-left: 10px;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.56);
}

.sgs-infopanel-markdown img {
    text-align: center;
    font-size: 19px;
    margin-left: 10px;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.56);
    object-fit: contain;
}

.sgs-infopanel-markdown-imgCont {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.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;
}

/* Odds table */
.sgs-infopanel-scrollableXY {
    overflow-x: auto;
    overflow-y: auto;
    font-size: 22px;
    width: 100%;
    height: 90%;
    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: rgba(255, 255, 255, 0.8);
    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;
    font-size: 28px;
    background-color: rgba(0, 0, 0, 0.3);
    min-height: 25px;
    padding: 15px 15px 15px 125px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.sgs-infopanel-tableStaticHeader {
    z-index: 2;
    position: sticky;
    top: 0px;
    left: 0;
    border: solid;
    background-color: rgba(0, 0, 0.5);
    color: rgb(161, 176, 255);
    border-color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    margin-right: 20px;
}

.sgs-infopanel-tableColTitle {
    text-align: right;
    padding: 3px 3px 7px 3px;
    color: rgb(161, 176, 255);
    border-bottom: solid rgba(255, 255, 255, 0.7);
}

.sgs-infopanel-tableRowTitle {
    text-align: right;
    padding: 7px 3px 3px 3px;
    color: rgb(255, 120, 120);
}

.sgs-infopanel-tableColHeader {
    z-index: 1;
    position: sticky;
    top: 0px;
    border: solid;
    background-color: #000000;
    border-width: 1;
    color: rgb(161, 176, 255);
    border-color: rgba(255, 255, 255, 0.5);
    padding: 12px 25px 12px 25px;
}

.sgs-infopanel-tableColHeaderValue {
    z-index: 1;
    position: sticky;
    top: 0px;
    border: solid;
    background-color: #000000;
    border-width: 1;
    color: rgb(161, 176, 255);
    border-color: rgba(255, 255, 255, 0.5);
    padding: 5px 25px 5px 25px;
}

.sgs-infopanel-tableRowHeader {
    z-index: 1;
    position: sticky;
    left: 0;
    border: solid;
    background-color: rgba(0, 0, 0, 0.5);
    border-width: 1;
    color: rgb(255, 120, 120);
    border-color: rgba(255, 255, 255, 0.5);
    padding: 3px 25px 3px 25px;
}

.sgs-infopanel-tableCell {
    z-index: 0;
    color: #cccccc;
    border: solid;
    border-width: 1px;
    border-color: #666666;
    padding: 10px;
}

.sgs-infopanel-tableCellStyle1 {
    background-color: rgba(0, 0, 0, 1);
}

.sgs-infopanel-tableCellStyle2 {
    background-color: rgba(22, 22, 22, 1);
}

.sgs-infopanel-tableCellStyle3 {
    background-color: rgba(45, 45, 45, 1);
}

.sgs-infopanel-tableHeaderStyle1 {
    background-color: rgba(0, 0, 0, 1);
}

.sgs-infopanel-tableHeaderStyle2 {
    background-color: rgba(22, 22, 22, 1);
}

.sgs-infopanel-tableColOdds {
    color: rgb(255, 255, 255);
}

.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 */
.sgs-volume-faded {
    opacity: 0.5;
    pointer-events: none;
}

input[type="range"].sgs-volumeSlider-range {
    -webkit-appearance: none;
    appearance: none;
    width: 400px;
    height: 5px;
    border-radius: 20px;
    z-index: 2;
    cursor: pointer;
}

input[type="range"].sgs-volumeSlider-range::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    background-color: transparent;
}

input[type="range"].sgs-volumeSlider-range::-moz-range-track {
    -webkit-appearance: none;
    background: transparent;
    background-color: transparent;
}

input[type="range"].sgs-volumeSlider-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;
    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-volumeSlider-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;
    border: 7px solid #ffffff;
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grabbing;
}

input[type="range"].sgs-volumeSlider-range::-moz-range-thumb {
    color: #000000;
    background-color: #404040;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    z-index: 2;
    line-height: 40px;
    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-volumeSlider-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;
    border: 4px solid rgba(255, 255, 255, 0.7);
    transition: border-radius 0.2s, width 0.2s, height 0.2s;
    cursor: grabbing;
}

/* Autoplay */
.sgs-autoplay-main {
    position: absolute;
    z-index: 4;
    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;
}

.sgs-autoplay-fixed {
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.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.8);
    background-color: rgba(0, 0, 0, 0.4);
    align-self: center;
    justify-content: center;
    border-radius: 8px;
}

.sgs-title-buttonsContainer {
    display: flex;
    flex-direction: row;
    width: 65%;
}

.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 15px 40px 15px;
}

.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.7);
    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: 30px;
    margin-bottom: 1px;
    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: 30px;
    margin-bottom: 5px;
    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: 545px;
    display: flex;
    justify-content: space-evenly;
    padding: 0 10px;
    pointer-events: none;
    padding: 5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: -10px;
}

.sgs-sliderTick-line {
    display: flex;
    background-color: #000;
    width: 3px;
    height: 20px;
    justify-content: center;
}

.sgs-sliderTick {
    font-size: 17px;
    top: 5px;
    padding: 0px;
    border: 0px;
    margin-top: 30px;
    min-width: 100px;
}

.sgs-sliderTick-active {
    color: #ffffff;
    font-size: 18px;
}

.sgs-autoplay-buttonsHolder {
    margin: 0px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 98%;
}

.sgs-autoplay-button {
    -webkit-appearance: none;
    margin-top: auto;
    height: 50px;
    width: 90px;
    text-shadow: 0 2px #000;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 3px;
    background: rgba(255, 255, 255, 0.2);
    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;
}

.sgs-autoplay-button-active {
    background: rgba(255, 255, 255, 0.8);
    color: var(--sgs-ui-gradientStartColor);
    box-shadow: -0px -0px 6px 6px rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px #fff;
}

.sgs-autoplay-startButton {
    -webkit-appearance: none;
    margin-top: auto;
    height: 50px;
    width: 96%;
    text-shadow: 0 2px #000;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 20px;
    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;
}

.sgs-autoplay-startButton-disabled {
    background: linear-gradient(164deg, rgba(85, 204, 125, 0.4) 0%, rgba(54, 134, 0, 0.4) 100%);
    color: #a6a6a6;
}

button.sgs-autoplay-startButton:hover {
    transform: scale(1.01);
}

button.sgs-autoplay-startButton:active {
    background: rgba(77, 77, 125, 1);
    transform: scale(1.01);
}

.sgs-autoplayComplete-container {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.sgs-autoplayComplete-textContainer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sgs-autoplayComplete-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sgs-autoplayComplete-text {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    justify-content: center;

    font-size: 70px;
    font-family: Inter Bold;
    color: rgba(255, 255, 255, 0.8);
}

.sgs-autoplayComplete-reason {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    width: 550px;
    font-size: 40px;
    font-family: Inter Bold;
    color: rgba(255, 255, 255, 0.8);
}

/* Prize chart */

.sgs-prizeChart-symbols {
    display: flex;
    height: 35%;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.sgs-prizeChart-symbolImage {
    background-color: rgba(0, 0, 0, 0.3);
    -ms-flex-align: end;
    width: 160px;
    aspect-ratio: 1/1;
    border: 0px transparent;
    border-radius: 25px;
}

.sgs-prizeChart-selectorArrow {
    background-color: transparent;
    -ms-flex-align: end;
    width: 70px;
    background-repeat: no-repeat;
    aspect-ratio: 1/1;
    border: 0px transparent;
    cursor: pointer;
    pointer-events: all;
}

.sgs-prizeChart-scrollableNoMargin {
    margin: 4px;
}

.sgs-prizeChart-arrowRight {
    background-image: url("./../ignore/ui_icon_arrow_right.svg");
}

.sgs-prizeChart-arrowLeft {
    background-image: url("./../ignore/ui_icon_arrow_left.svg");
}

.sgs-prizeChart-scrollableY {
    overflow-y: scroll;
}

.sgs-prizeChart-tableColHeader {
    z-index: 1;
    top: 0px;
    position: sticky;
    border: solid;
    background-color: color-mix(in srgb, var(--sgs-ui-gradientEndColor), rgba(0, 0, 0, 1));
    border-width: 1;
    color: var(--sgs-infopanel-highlightcolor);
    border-color: #cccccc;
    padding: 3px 25px 3px 25px;
    color: rgba(255, 255, 255, 1);
    font-size: 22px;
}

.sgs-prizeChart-tableCell {
    font-size: 20px;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.7);
    border: solid;
    border-width: 1px;
    border-color: #666666;
}

/* popup */

.sgs-popup-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.sgs-popup-background-error {
    background-color: rgba(0, 0, 0, 1);
}

.sgs-popup-background-warning {
    background-color: rgba(200, 200, 200, 0.3);
}

.sgs-popup-background-info {
    background-color: rgba(200, 200, 200, 0.3);
}

.sgs-popup-ui {
    background-image: linear-gradient(
        318deg,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientStartColor) 0%,
        var(--sgs-ui-gradientEndColor) 100%
    );
    border-width: 2px;
    border-radius: 8px;
    box-shadow: 0px 0px 8px 8px rgba(50, 0, 0, 0.75);
    width: 90%;
    max-width: 600px;
    max-height: 75%;
}

.sgs-popup-ui-error {
    color: #ffffff;
    border-color: #d26464;
}

.sgs-popup-ui-warning {
    color: #ffffff;
    border-color: #e5b858;
}

.sgs-popup-ui-info {
    color: #ffffff;
    border-color: #0026ff;
}

.sgs-popup-icon-container {
    width: 30%;
    border-radius: 90px;
}

.sgs-popup-iconDescContainer {
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sgs-popup-icon {
    aspect-ratio: 1/1;
    width: 100%;
}

.sgs-popup-container {
    margin: 12px;
}

.sgs-popup-error {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 0, 0, 1);
}

.sgs-popup-warning {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgb(0, 0, 0);
}

.sgs-popup-info {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgb(26, 255, 244);
}

.sgs-popup-icon-generic {
    content: url("./../ignore/ui_icon_error.svg");
}

.sgs-popup-icon-funds {
    content: url("./../ignore/ui_icon_error_funds.svg");
}

.sgs-popup-title {
    font-size: 28px;
    padding: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-shadow: 0 2px rgba(0, 0, 0, 0.4);
}

.sgs-popup-title-error {
    color: #ffffff;
    border-color: #ffffff;
}

.sgs-popup-title-warning {
    color: #ffffff;
    border-color: #ffffff;
}

.sgs-popup-title-info {
    color: #ffffff;
    border-color: #ffffff;
}

.sgs-popup-id {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
    margin-right: 8px;
    margin-left: auto;
}

.sgs-popup-description {
    width: 80%;
    font-size: 18px;
    border-radius: 9px;
    padding: 5px;
    line-height: 2;
    text-shadow: 0 2px #000;
}

@media screen and (max-width: 600px) {
    .sgs-popup-title {
        font-size: 22px;
    }

    .sgs-popup-description {
        font-size: 14px;
    }
}

@media screen and (max-width: 420px) {
    .sgs-popup-title {
        font-size: 18px;
    }

    .sgs-popup-description {
        font-size: 11px;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .sgs-popup-title {
        font-size: 22px;
    }

    .sgs-popup-description {
        font-size: 14px;
        flex: 1;
    }

    .sgs-popup-icon {
        height: 95px;
        flex: 1;
    }

    .sgs-popup-iconDescContainer {
        flex-direction: row;
        text-align: left;
    }
}

@media (orientation: landscape) and (max-height: 380px) {
    .sgs-popup-title {
        font-size: 18px;
    }

    .sgs-popup-description {
        font-size: 11px;
    }

    .sgs-popup-icon {
        height: 75px;
    }
}

.sgs-popup-buttonContainer {
    width: 95%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: auto;
}

.sgs-popup-button {
    -webkit-appearance: none;
    width: 40%;
    height: 45px;
    text-shadow: 0 2px #000;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0px 2px 0px 2px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-width: 0px;
    margin: 6px;
    border-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

@media screen and (max-width: 600px) {
    .sgs-popup-button {
        font-size: 14px;
        width: 35%;
    }
}

.sgs-popup-button-error {
    background: linear-gradient(164deg, rgb(204, 85, 85) 0%, rgb(134, 0, 0) 100%);
}

.sgs-popup-button-warning {
    background: linear-gradient(164deg, rgb(243, 186, 63) 0%, rgb(214, 150, 40) 100%);
}

.sgs-popup-button-info {
    background: linear-gradient(164deg, rgb(85, 174, 204) 0%, rgb(49, 120, 206) 100%);
}

button.sgs-popup-button:hover {
    transform: scale(1.01);
}

button.sgs-popup-button:active {
    background: rgba(77, 77, 125, 1);
    transform: scale(1.01);
}

@media screen and (max-device-width: 480px) {
    .sgs-ui-sidebarBottomContainer-landscape {
        max-height: 34px;
        gap: 5px;
    }
    .sgs-ui-overlayButton-landscape {
        transform: scale(0.65);
    }
    .sgs-ui-sidebarOption-landscape {
        transform: scale(0.65);
    }
}

@media screen and (max-device-width: 992px) and (max-device-height: 480px) {
    .sgs-ui-sidebarBottomContainer-landscape {
        max-height: 34px;
        gap: 5px;
    }
    .sgs-ui-overlayButton-landscape {
        transform: scale(0.65);
    }
    .sgs-ui-sidebarOption-landscape {
        transform: scale(0.65);
    }
}