body {
    padding: 0;
    margin: 0;
    cursor: default;
    font-size: 17px;
    line-height: 1.5;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
        Helvetica, Arial, sans-serif;
    text-align: center;
    color: #9ac5ff;
    background-color: #0f1f42;
    background-color: #0a142a;
}

.page {
    text-align: left;
}

.page #site-wrap {
    display: block;
}

.displaynone {
    display: none;
}

#container3D {
    display: flex;
    width: 100%;
    height: 100%;
}

a,
a:visited {
    color: #5caeff;
    color: #98c3ff;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

h1 {
    margin: 0 0 0px 0;
    font-size: 30px;
    color: #5caeff;
}

#logo-img {}

#site-wrap {
    float: left;
    width: 100%;
    min-height: calc(100vh + 100px);
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
}

/* #center-content-wrap {
    margin: auto;
    width: 450px;
    max-width: 96%;
    padding: 20px;
}

#center-content-modal {
    float: left;
    text-align: left;
    height: fit-content;
    min-height: 350px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: #0000005c;
    border-radius: 4px;
    border: 1px solid #5caeff;
    text-shadow: 1px 1px black;
}

#center-content-modal div:last-of-type {
    grid-column: span 2;
}

#center-content-modal .text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#center-content-modal .mascot-wrap {
    display: flex;
    justify-content: center;
    height: 100%;
} */

.app-wrap {
    float: left;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.mascot-wrap {
    height: 200px;
    width: 100%;
}

#input {
    position: fixed;
    bottom: 15px;
    left: auto;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 650px;
    max-width: 95%;
    gap: 25px;
    flex-direction: column;
}

#input textarea {
    width: 100%;
    height: 100px;
    max-height: 20vh;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 1.5px solid #48658b;
    transition: outline 0.25s ease-in;
}

input,
textarea {
    font-family: inherit;
    border-radius: 4px;
    font-size: inherit;
    box-shadow: 1px 1px 3px #000000, 0 0 5px black;
    color: #f0f0f0;
    background-color: #000000;
    border: 1.5px solid #48658b;
    padding: 5px 15px;
    text-align: left;
}

#output {
    min-height: 25px;
    box-sizing: border-box;
    margin: 15px 0;
}

input[type="checkbox"] {
    width: auto;
    box-shadow: none;
    margin-right: 10px;
}

.checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

label.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    /* font-size: 14px; */
    line-height: 18px;
    position: relative;
    padding: 11px 0 11px 35px;
    box-sizing: border-box;
}

.checkbox .checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    /* box-shadow: 2px 2px 0px inset #284261; */
    border-radius: 100%;
    border: 1px solid #5caeff;
}

.checkbox input[type="checkbox"]:checked+.checkmark {
    background-color: #14FF7C;
    border-color: #14FF7C;
    box-shadow: none;
}

.checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox input[type="checkbox"]:checked+.checkmark:after {
    display: block;
}

#footer {
    float: left;
    width: 100%;
    margin-top: auto;
    text-align: center;
}

#footer div {
    margin: 20px auto;
}

#email-input {
    margin: 10px 0;
}

.modal-wrap {
    opacity: 1;
    visibility: visible;
    position: fixed;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 201;
}

#login-wrap {
    opacity: 0;
    visibility: hidden;
}

#login-wrap {
    z-index: 1001;
}

.loaded #login-wrap,
.loaded #reset-wrap,
.loaded .modal-wrap {
    transition: all 0.25s linear;
}

#login-wrap.visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    border: 1px solid;
    border-radius: 10px;
    width: 300px;
    margin: 5px 0;
    padding: 32px 15px 0;
}

/* #login-modal form,
.success-msg,
#reset-wrap .success-msg {
    display: none;
} */

#login-modal button.default-btn.toggle-login-btn {
    float: right;
    width: 50%;
    width: calc(50% - 5px);
    margin: 0 0 10px;
    height: 45px;
}

#login-modal button.default-btn.toggle-register-btn,
.modal button.default-btn.modal-close-btn {
    float: left;
    width: 50%;
    width: calc(50% - 5px);
    margin: 0 0 15px;
    height: 45px;
}

.modal button.default-btn.cancel-btn,
.modal button.default-btn.modal-close-btn {
    float: left;
    width: 100%;
    height: 45px;
}

.modal button.default-btn.cancel-btn,
.modal button.default-btn.modal-close-btn {}

button {
    background-color: #5caeff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px 20px;
}
/* 
button:hover {
    text-decoration: underline;
} */

#login-modal.register-toggled #register-form,
#login-modal.login-toggled #login-form,
#login-modal.register-success .success-msg,
#login-modal.reset-toggled #reset-request-form,
#reset-wrap.success .success-msg {
    display: block;
}

#login-modal.register-toggled .login-chooser,
#login-modal.login-toggled .login-chooser,
#login-modal.register-success .login-chooser,
#login-modal.reset-toggled .login-chooser,
#reset-wrap.success #reset-pass-form {
    display: none;
}

.modal label,
form label {
    float: left;
    width: 100%;
    text-align: left;
    position: relative;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 5px;
}

.modal input,
form input {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    line-height: 34px;
    height: 45px;
    border-radius: 4px;
    border: 1px solid #5caeff;
    background: transparent;
    color: #9ac5ff;
    margin-bottom: 5px;
    font-size: inherit;
}

form input:focus {
    outline: none;
}

form input::placeholder,
textarea::placeholder {
    color: #9ac5ff;
}

.modal .desc {
    float: left;
    width: 100%;
    margin: 0 0 10px 0;
    font-size: 15px;
    text-align: left;
    position: absolute;
    margin: -95px 0px 0px 15px;
    padding: 10px;
    border-radius: 10px;
    width: calc(100% - 50px);
    pointer-events: none;
    background-color: #fff;
    box-shadow: 1px 1px 0;
    border: 1px solid;
}

form .desc {
    display: none;
}

form .focused .desc {
    display: block;
}

label:hover {
    text-decoration: underline;
}

input::placeholder {
    color: #333;
}

form input[type="radio"] {
    cursor: pointer;
}

.choose-frequency {
    float: left;
    display: flex;
}

.modal input[type="checkbox"] {
    width: auto;
    box-shadow: none;
    margin-right: 10px;
}

.modal .logo {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    margin-top: -67px;
    padding: 7.5px;
    border-radius: 100%;
    overflow: visible;
    padding: 14px;
    background-color: white;
    border: 1px solid;
}

canvas {
    display: block;
    margin: auto;
}

#canvas-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

@media (max-width: 450px) {
    h1 {
        font-size: 24px;
        margin: 0;
    }
}

body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    cursor: default;
    font-size: 16.5px;
    line-height: 1.6;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Segoe UI,
        Noto Sans, Helvetica, Arial, sans-serif;
    text-align: center;
    background-color: #122236;
    color: #98c3ff;
}

.logo-wrap {
    float: left;
    width: 100%;
    margin: 30px 0 15px;
    text-align: center;
}

.logo-inner-wrap {
    display: inline-block;
    width: 86px;
    height: 86px;
    margin: auto;
}

.logo-bg {
    float: left;
    width: 100%;
    height: 100%;
    border-radius: 11px;
    box-shadow: 1px 1px 0px inset #a5a5a5;
    background: linear-gradient(-45deg, #525252, #8e8e8e);
    position: relative;
    margin: 0 auto;
    border: 0.5px solid #111;
}

#logo {
    display: inline-block;
}

#logo img {
    width: 300px;
    height: auto;
}

.loaded #logo:hover {
    transition-delay: 0s;
}

.loaded a#logo {
    transition: all 0.15s linear;
    transition-delay: 1.4s;
}

.loaded #logo:hover {
    scale: 0.95;
}

.logo-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #2f9620, #1db333);
    border-radius: 5px;
    margin: -21px;
    z-index: -2;
    border: 1px solid #27b927;
}

.logo-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #2c2c2c, #4a4a4a);
    border-radius: 12px;
    margin: -2px;
    z-index: -1;
}

.logo-text-wrap {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo-text-main {
    color: #eaeaea;
    font-size: 20px;
    text-shadow: 1px 1px 0 black;
    font-weight: bold;
}

.logo-text-sub {
    color: #d8d8d8;
    text-shadow: 1px 1px 0 black;
    font-size: 11px;
    line-height: 25px;
}

.logo-bg .hole {
    position: absolute;
    border-radius: 100%;
    background-color: #122236;
    border: 0.5px solid #0b6416;
    box-shadow: 1px 1px 0px inset #179014;
    width: 15px;
    height: 15px;
    pointer-events: none;
}

.logo-bg .hole.one {
    left: -17%;
    top: -17%;
}

.logo-bg .hole.two {
    right: -17%;
    top: -17%;
}

.logo-bg .hole.three {
    left: -17%;
    bottom: -17%;
}

.logo-bg .hole.four {
    right: -17%;
    bottom: -17%;
}

.loaded #logo .screw {
    transition: all 0.5s linear;
}

.loaded #logo .screw.one {
    transition-delay: 0.3s;
}

.loaded #logo .screw.two {
    transition-delay: 0.4s;
}

.loaded #logo .screw.three {
    transition-delay: 0.5s;
}

.loaded #logo .screw.four {
    transition-delay: 0.6s;
}

.loaded #logo:hover .screw.one {
    transition-delay: 0.3s;
}

.loaded #logo:hover .screw.two {
    transition-delay: 0.4s;
}

.loaded #logo:hover .screw.three {
    transition-delay: 0.5s;
}

.loaded #logo:hover .screw.four {
    transition-delay: 0.6s;
}

#logo .screw {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    border-radius: 100%;
    background-color: #a7a7a7;
    border: 1px solid #a9a9a9;
}

#logo .screw::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1.5px;
    background-color: #777;
    margin: auto;
    height: 75%;
    border-radius: 5px;
}

#logo .screw::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 0.5px;
    background-color: #333;
    margin: auto;
    height: 60%;
}

#logo .screw {
    visibility: hidden;
    scale: 1.1;
}

.loaded #logo:hover .screw {
    visibility: visible;
    scale: 1;
}

#logo:hover .screw {
    visibility: visible;
    scale: 1;
    rotate: 335deg;
}

#logo:hover .screw.two {
    visibility: visible;
    scale: 1;
    rotate: 287deg;
}

#logo:hover .screw.three {
    visibility: visible;
    scale: 1;
    rotate: 235deg;
}

#logo:hover .screw.four {
    visibility: visible;
    scale: 1;
    rotate: 356deg;
}

::selection {
    text-shadow: none;
    background-color: #8ec4ff;
    color: #0b1521;
}

input::selection {
    text-shadow: none;
    background-color: #8ec4ff;
    color: #0b1521;
}

input::-moz-selection {
    text-shadow: none;
    background-color: #8ec4ff;
    color: #0b1521;
}

input::-webkit-selection {
    text-shadow: none;
    background-color: #8ec4ff;
    color: #0b1521;
}

#site-wrap {
    width: 100%;
    max-width: 100%;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.input-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
}

#page-wrap,
footer {
    box-sizing: border-box;
    width: 100%;
    padding: 0 25px 15px;
}

#page-wrap,
.generator-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 98%;
    margin: 0 auto;
    text-align: center;
}

#page-wrap,
.generator-wrap,
#game-header-wrap div,
#game-footer-wrap div,
.header-wrap,
.game-faq-wrap {
    max-width: 950px;
    margin-right: auto;
    margin-left: auto;
}

.site-name-span,
caption,
h1,
h2,
h3,
h4,
.sub-tier-header,
.sidebar .logo-dot-com,
.modal-x-btn,
#logo {
    font-family: sans-serif;
    color: #eaeaea;
    font-weight: 400;
}

h1,
h1#entry-title,
.sidebar .logo-text,
.sidebar .logo-dot-com {
    color: #eaeaea;
}

h1 {
    font-size: 24px;
    margin: 15px 0 5px;
    font-weight: 700;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 19px;
}

.before-title {
    margin: 15px 0;
}

h1#entry-title {
    font-size: 13px;
    width: fit-content;
    z-index: 110;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    align-items: center;
    justify-content: start;
    row-gap: 10px;
    transition: top 0.25s linear;
}

.floater,
.chart-wrap-background {
    border: 1px solid #48658b;
    /* background-color: #122236; */
}

.medium-font {
    font-size: 15px;
}

.dim {
    color: #5277a5;
}

#site-content {
    float: left;
    width: 100%;
}

.button-wrap {
    float: left;
    width: 100%;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.frontpage .list {
    display: grid;
    border-radius: 4px;
}

.frontpage .list .item a:hover {
    text-decoration: underline;
    background-color: #071526;
}

#account-wrap,
#affiliate-campaign-form {
    text-align: center;
    width: 550px;
    margin: 0 0 25px;
}

#account-wrap h2 {
    margin-top: 35px;
}

#account-wrap button {
    margin: 25px 0;
}

#account-wrap label.checkbox,
#affiliate-register-form label.checkbox {
    margin: 0 auto 15px;
    float: none;
    width: 300px;
}

.form-section {
    float: left;
    width: 100%;
    margin-bottom: 25px;
}

.list .item,
.event-item {
    padding: 10px;
}

.list .item:last-of-type,
.event-item:last-of-type {
    border-bottom: none;
}

.event-list {
    float: left;
    width: 100%;
}

.body-full-screen-chart {
    overflow: hidden;
}

.output-item-footer.one-btn {
    justify-content: center;
    margin-top: 0;
}

h1#entry-title span {
    font-size: 18px;
    position: relative;
    white-space: nowrap;
}

h1#entry-title>span {
    padding: 3px 12px;
    line-height: 29px;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

#site-content h1#entry-title>span {
    border-color: #48658b;
}

h1#entry-title>span:first-of-type {
    border-color: #fad373;
}

.checked-symbol.one,
.compare-item:first-of-type::after,
h1#entry-title>span:first-of-type::after {
    background-color: #fad373;
}

.compare-item:first-of-type,
h1#entry-title>span:first-of-type {
    color: #fad373;
}

h1#entry-title>span:nth-of-type(2) {
    border-color: #6afcff;
}

.checked-symbol.two,
.compare-item:nth-of-type(2)::after,
h1#entry-title>span:nth-of-type(2)::after {
    background-color: #6afcff;
}

.compare-item:nth-of-type(2),
h1#entry-title>span:nth-of-type(2) {
    color: #6afcff;
}

h1#entry-title>span:nth-of-type(3) {
    border-color: #c2b8ff;
}

.checked-symbol.three,
.compare-item:nth-of-type(3)::after,
h1#entry-title>span:nth-of-type(3)::after {
    background-color: #c2b8ff;
}

.compare-item:nth-of-type(3),
h1#entry-title>span:nth-of-type(3) {
    color: #c2b8ff;
}

h1#entry-title>span:nth-of-type(4) {
    border-color: #f69e6a;
}

.checked-symbol.four,
.compare-item:nth-of-type(4)::after,
h1#entry-title>span:nth-of-type(4)::after {
    background-color: #f69e6a;
}

.compare-item:nth-of-type(4),
h1#entry-title>span:nth-of-type(4) {
    color: #f69e6a;
}

h1#entry-title>span:nth-of-type(5) {
    border-color: #f685f0;
}

.checked-symbol.five,
.compare-item:nth-of-type(5)::after,
h1#entry-title>span:nth-of-type(5)::after {
    background-color: #f685f0;
}

.compare-item:nth-of-type(5),
h1#entry-title>span:nth-of-type(5) {
    color: #f685f0;
}

.compare-item:hover {
    color: #f84949;
}

h2 span {
    float: right;
    font-size: 14px;
    font-style: italic;
}

h3.sub-header {
    margin: -20px 0 20px;
    grid-column: 1/4;
}

h3.sub-header::before {
    content: "\2013\00A0";
}

h3.sub-header::after {
    content: "\00A0\2013";
}

.entry-details h2,
h3.sub-header {
    font-size: 15px;
    font-weight: 400;
}

.entry-details h2 {
    float: left;
    width: 100%;
    margin: 15px 0;
}

.chart-wrap h3 {
    font-size: 15px;
}

a,
#site-content #chart-menu-wrap a,
#site-content a.item {
    color: inherit;
    /* text-decoration: none; */
}

.loaded a,
.loaded .clickable {
    transition: all 0.25s ease-in;
}

a:hover,
#site-content #chart-menu-wrap a:hover,
#site-content a.item:hover,
.clickable:hover {
    color: #f0f0f0;
    text-decoration: none;
}

#site-header {
    float: left;
    width: 100%;
    text-align: center;
    padding: 11px;
    background: #0b1521;
    margin: 0 0 15px;
    box-sizing: border-box;
}

.dashboard #site-header {
    display: none;
}

/* #site-content {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-column-gap: 2%;
    grid-auto-flow: dense; 
  } */

.full-width {
    float: left;
    width: 100%;
}

.full-width-wrap {
    float: left;
    width: 100%;
}

.generator-wrap {
    padding: 0 20px 0;
    box-sizing: border-box;
}

.generator-wrap .padding-bottom {
    padding-bottom: 15px;
}

.generator-wrap .sub-title {
    font-size: 15px;
    color: #f0f0f0;
    width: 100%;
    float: left;
    margin: 5px 0 10px;
}

.generator-wrap .generator-desc {
    margin: 0 0 25px;
}

.output-error {
    color: red;
    margin: 15px 0;
    float: left;
    width: 100%;
}

.output-item .output-error {
    margin: 25px 0 15px;
}

.notice {
    margin-bottom: 0;
}

.notice .notice-inner {
    font-size: 14px;
    color: #f0f0f0;
}

#hide-desc-btn {
    background: transparent;
    padding: 0;
    color: inherit;
    text-decoration: underline;
}

#hide-desc-btn:hover {
    text-decoration: none;
    color: #f0f0f0;
}

.generator-wrap h2 {
    margin: 0;
}

.game-container {
    float: left;
    width: 100%;
    margin: 86px 0;
}

.audio-container {
    margin: 15px 0;
    float: left;
    width: 100%;
    border-radius: 4px;
    /* border: 1px solid #48658b; */
    padding: 10px;
    box-sizing: border-box;
}

.audio-footer {
    float: left;
    width: 100%;
    margin-top: 15px;
}

.user-input-wrap {
    float: left;
    width: 550px;
    max-width: 100%;
    margin: 25px -20px 35px;
    padding: 15px 20px;
}

.user-input-wrap label {
    color: #f0f0f0;
}

.options-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.section {
    margin: 35px 0 15px;
}

.load .settings-wrap,
.new .settings-wrap,
.game .settings-wrap {
    padding-bottom: 10px;
}

.turn-two-wrap {
    display: none;
}

/* 
button,
a.button {
    height: 36px;
} */

/* When mousexit */
.loaded button,
.loaded a.choose-sub,
.loaded a.button {
    transition: transform 0.15s linear, box-shadow 0.125s linear;
}

/* When mouseenter */
.loaded button:hover,
.loaded button:active,
.loaded button:focus,
.loaded button.generating,
.loaded a.choose-sub:hover,
.loaded a.choose-sub:active,
.loaded a.choose-sub:focus,
.loaded a.choose-sub.generating,
.loaded a.button:hover,
.loaded a.button:active,
.loaded a.button:focus,
.link-btn:hover,
.link-btn:active,
.link-btn:focus {
    transition: transform 0.15s linear, box-shadow 0.3s linear;
}

button.default-btn,
a.button,
.link-btn {
    background: linear-gradient(274deg, #eaeaea, #fff);
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #8e8e8e, 2px 2px #b5b5b5, 3px 3px #b5b5b5;
}

button.default-btn:hover,
button.default-btn:active,
a.button:hover,
a.button:active,
.link-btn:hover,
.link-btn:active {
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #8e8e8e, 2px 2px #b5b5b5;
    transform: translateY(2px) translateX(2px);
}

a.button {
    display: block;
    color: black;
    text-decoration: none;
    box-sizing: border-box;
}

.one h2,
.one input,
.one select,
.one textarea,
.one textarea::placeholder,
.one input::placeholder {
    color: #fad373;
}

.one input:focus,
.one select:focus,
.one textarea:focus {
    border-color: #fad373;
    outline: none;
}

.one button,
button.one,
.choose-sub,
button.info-clicker,
#accept-all-cookies-btn,
#affiliate-register {
    position: relative;
    overflow: hidden;
    background: linear-gradient(274deg, #ffce54, #faeb73);
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #b29100, 2px 2px #c09c00, 3px 3px #c09c00;
}

.one button:hover,
.one button:active,
.one button.generating,
.one button.disabled,
button.one:hover,
button.one:active,
button.one.generating,
button.one.disabled,
.choose-sub:hover,
.choose-sub:active,
button.info-clicker:hover,
button.info-clicker:active,
#affiliate-register:hover,
#affiliate-register:active {
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #b29100, 2px 2px #c09c00;
    transform: translateY(2px) translateX(2px);
}

.two h2,
.two input,
.two textarea,
.two textarea::placeholder,
.two input::placeholder {
    color: #6afcff;
}

.two input:focus,
.two textarea:focus {
    border-color: #6afcff;
}

.two button,
button.two,
.modal #register-btn,
#affiliate-dashboard {
    background: linear-gradient(274deg, #32ebef, #67fcff);
    box-shadow: 1px 1px 2px #a4fdff inset, 1px 1px #008183, 2px 2px #09afb2, 3px 3px #09afb2;
}

.two button:hover,
.two button:active,
.two button.generating,
.two button.disabled,
button.two:hover,
button.two:active,
button.two.generating,
button.two.disabled,
.modal #register-btn:hover,
.modal #register-btn:active,
.modal #register-btn.disabled,
#affiliate-dashboard:hover,
#affiliate-dashboard:active {
    box-shadow: 1px 1px 2px #a4fdff inset, 1px 1px #008183, 2px 2px #09afb2;
    transform: translateY(2px) translateX(2px);
}

.three h2,
.three input,
.three textarea,
.three textarea::placeholder,
.three input::placeholder {
    color: #c2b8ff;
}

.three input:focus,
.three textarea:focus {
    border-color: #c2b8ff;
}

.three button,
button.three {
    background: linear-gradient(274deg, #b08cff, #d0bbff);
    box-shadow: 1px 1px 2px #e4b2ff inset, 1px 1px #7e3bd2, 2px 2px #8966b5, 3px 3px #8966b5;
}

.three button:hover,
.three button:active,
.three button.generating,
.three button.disabled,
button.three:hover,
button.three:active,
button.three.generating,
button.three.disabled {
    box-shadow: 1px 1px 2px #e4b2ff inset, 1px 1px #7e3bd2, 2px 2px #8966b5;
    transform: translateY(2px) translateX(2px);
}

.four h2,
.four input,
.four textarea,
.four textarea::placeholder,
.four input::placeholder {
    color: #f69e6a;
}

.four input:focus,
.four textarea:focus {
    border-color: #f69e6a;
}

.four button,
button.four,
.modal .default-btn#reset-toggle-btn,
.modal button.default-btn#reset-btn,
.modal button.default-btn#save-pass-btn {
    background: linear-gradient(274deg, #f69e6a, #ffcbac);
    box-shadow: 1px 1px 2px #ffdac5 inset, 1px 1px #c07a50, 2px 2px #d59169, 3px 3px #d59169;
}

.four button:hover,
.four button:active,
.four button.generating,
.four button.disabled,
button.four:hover,
button.four:active,
button.four.generating,
button.four.disabled,
.modal .default-btn#reset-toggle-btn:hover,
.modal button.default-btn#reset-btn:hover,
.modal .default-btn#reset-toggle-btn:active,
.modal button.default-btn#reset-btn:active,
.modal button.default-btn#save-pass-btn:hover,
.modal button.default-btn#save-pass-btn:active {
    box-shadow: 1px 1px 2px #ffdac5 inset, 1px 1px #c07a50, 2px 2px #d59169;
    transform: translateY(2px) translateX(2px);
}

.five h2,
.five input,
.five textarea,
.five textarea::placeholder,
.five input::placeholder {
    color: #f685f0;
}

.five input:focus,
.five textarea:focus {
    border-color: #f685f0;
}

.five button,
button.five,
.modal .default-btn#login-btn,
.modal .default-btn.toggle-login-btn {
    background: linear-gradient(274deg, #f685f0, #ffbcfb);
    box-shadow: 1px 1px 2px #ffc4fc inset, 1px 1px #b54daf, 2px 2px #d76ed1, 3px 3px #d76ed1;
}

.five button:hover,
.five button:active,
.five button.generating,
.five button.disabled,
button.five:hover,
button.five:active,
button.five.generating,
button.five.disabled,
.modal .default-btn#login-btn:hover,
.modal .default-btn#login-btn:active,
.modal .default-btn.toggle-login-btn:hover,
.modal .default-btn.toggle-login-btn:active {
    box-shadow: 1px 1px 2px #ffc4fc inset, 1px 1px #b54daf, 2px 2px #d76ed1;
    transform: translateY(2px) translateX(2px);
}

/* Affiliate */

#affiliate-register,
#affiliate-dashboard {
    float: left;
    margin: 25px 15px;
}

#affiliate-register-form {
    float: left;
    width: 550px;
    max-width: 100%;
}

#affiliate-register-form select {
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
}

.affiliate-register-bottom {
    float: left;
    width: 100%;
    margin: 5px 0;
    text-align: center;
}

.affiliate-stats-table {
    float: left;
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}

.affiliate-stats-table th,
.affiliate-stats-table td {
    padding: 10px;
    border: 1px solid #48658b;
}

.affiliate #page-wrap {
    width: 1050px;
}

.chart {
    float: left;
    width: 100%;
    height: calc(100% - 40px);
    position: relative;
}

.expand-chart-btn {
    cursor: pointer;
}

.chart-full-width {
    width: 100%;
}

.chart-wrap.chart-full-screen,
.rec .chart-wrap.chart-full-screen {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
    padding: 5px;
    z-index: 101;
    background-color: #122236;
}

.rec .chart-header-wrap {
    display: none;
}

.chart-full-screen canvas {
    margin: auto;
    width: 100% !important;
    height: 100% !important;
}

canvas {
    max-width: 100%;
}

form input.date-input {
    width: 150px;
    color-scheme: dark;
    text-shadow: none;
    font-family: inherit;
}

input.date-input {
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    cursor: pointer;
    background-color: #48658b;
    font-size: inherit;
    border: 1px solid #48658b;
}

input,
select,
textarea {
    color: #f0f0f0;
    background-color: #000000;
    border: 1.5px solid #48658b;
    padding: 5px 15px;
    text-align: left;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #f0f0f0;
}

select {
    height: 36px;
    cursor: pointer;
}

textarea {
    float: left;
    width: 100%;
    padding: 10px;
    height: 100px;
    line-height: 1.5;
}

textarea.expandable-textarea,
textarea.medium-height {
    height: 100px;
}

textarea.expandable-textarea:focus {
    height: 250px;
}

input,
select,
textarea,
.credit-bar-bg,
#hover-desc {
    box-shadow: 1px 1px 3px #000000, 0 0 5px black;
}

.game #submit-turn-button.disabled,
.game #submit-turn-button:disabled,
.game button.one.disabled,
.game button.one:disabled {
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #b29100, 2px 2px #c09c00;
    transform: translateY(2px) translateX(2px);
    color: #000;
}

/* GAME */

#game-header-wrap,
#game-footer-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* height: 64px; */
    background: black;
    border-bottom: 1.5px solid #48658b;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 9px 10px;
    z-index: 100;
}

#game-header-wrap div,
#game-footer-wrap div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2%;
    float: left;
    width: 100%;
    margin: 0 auto;
}

#game-header-wrap h1 {
    font-size: inherit;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#game-footer-wrap {
    top: unset;
    bottom: 0;
    border-bottom: none;
    border-top: 1.5px solid #48658b;
}


#game-footer-wrap button {
    height: 69px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.token-icon {
    margin-top: 4px;
    width: 39px;
    height: auto;
}

.inventory-icon {
    width: 39px;
    height: auto;
}

.magic-icon {
    width: 46px;
    height: auto;
}

.spellbook-icon {
    margin-top: 3px;
    width: 46px;
    height: auto;
}

.quests-icon {
    margin-top: 3px;
    width: 43px;
    height: auto;
}

.options-icon {
    width: 39px;
    height: auto;
}

.options-clicker {
    position: absolute;
    right: 15px;
    top: 60px;
}

/* Plus / Minus Animations */

.plus-count {
    animation: plus-count-animation 1.75s;
}

.minus-count {
    animation: minus-count-animation 1.75s;
}

@keyframes plus-count-animation {
    0% {
        transform: scale(1) rotate(0deg);
        color: #73d477;
    }

    50% {
        transform: scale(1.75) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        color: inherit;
    }
}

@keyframes minus-count-animation {
    0% {
        transform: scale(1) rotate(0deg);
        color: red;
    }

    50% {
        transform: scale(1.75) rotate(-10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        color: inherit;
    }
}

/* Custom HTML tags */
.game-text thing {
    text-decoration: underline;
    cursor: pointer;
}

.loaded .game-text thing {
    transition: color 0.25s linear;
}

.loaded .game-text thing:hover {
    color: #f0f0f0;
}

/* Thing Modals */
.thing-p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px;
}

/* TEXT BUTTONS */
button.nostyle {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

.info-button {
    padding: 0;
    margin: 0;
    background: none;
    color: inherit;
    border-bottom: 1.5px dotted;
    border-radius: 0;
}

.loaded .info-button,
.loaded .info-button:hover,
.loaded .info-button span,
.loaded .info-button:hover span {
    transition: border-color 0.25s ease-in, color 0.75s ease-in-out;
}

.info-button:hover {
    border-color: inherit;
    color: #f0f0f0;
}

.info-button[data-type="magic_school"] {
    color: #faeb73;
}

.info-button[data-type="spell"] {
    color: #6af6c7;
}

.info-button[data-type="resource"] {
    color: #d16af6;
}

.info-button[data-type="location"] {
    color: #f6e56a;
}

.info-button[data-type="character"] {
    color: #58daff;
}

.info-button[data-type="biome"] {
    color: #f69e6a;
}

.info-button[data-type="event"] {
    color: #8bfff9;
}

.info-button[data-type="item"] {
    color: #d78bff;
}

.info-button[data-type="monster"] {
    color: #ff5858;
}

#output {
    font-size: 16px;
    line-height: 1.7;
}

.game-text {
    float: left;
    width: 100%;
    text-align: left;
    margin-bottom: 25px;
}

.game-text h2,
.game-text h3 {
    font-family: sans-serif;
    color: #f0f0f0;
}

#custom-audio-player {
    display: flex;
    align-items: center;
    /* margin-bottom: 25px; */
    justify-content: center;
    flex-direction: column;
    color: inherit;
}

#turn-form {
    position: sticky;
    bottom: 99px;
    /* height: 62px; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    flex-direction: column;
    margin-bottom: 0;
}

#user-turn-input {
    max-width: 500px;
    height: 100px;
    max-height: 20vh;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 1.5px solid #48658b;
    transition: outline 0.25s ease-in;
}

#user-turn-input::placeholder {
    color: #98C3FD;
    color: #fad373;
}

#user-turn-input:focus {
    outline: 2px solid #48658b;
    border-color: #48658b;
    border-color: #fad373;
    color: #fad373;
}

#user-turn-input:focus::placeholder {
    color: #98C3FD;
    color: #fad373;
    opacity: 1;
}

#submit-turn-button {
    /* width: 79px; */
    height: 100%;
}

/* Voice input button styles */
.input-controls {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 25px;
}

#command-list-output {
    margin-bottom: -65px;
}

.input-wrap-one {
    display: flex;
    align-items: center;
    gap: 25px;
    float: left;
    width: 100%;
    justify-content: center;
}

.voice-btn {
    position: relative;
    border: none;
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.voice-btn::after {
    content: '';
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48Zz48cGF0aCBkPSJNMjU2LDMyYy00My43LDAtNzksMzcuNS03OSw4My41VjI3MGMwLDQ2LDM1LjMsODMuNSw3OSw4My41YzQzLjcsMCw3OS0zNy41LDc5LTgzLjVWMTE1LjVDMzM1LDY5LjUsMjk5LjcsMzIsMjU2LDMyeiAgICBNMzE5LDI3MGMwLDM3LjItMjguMyw2Ny41LTYzLDY3LjVjLTM0LjcsMC02My0zMC4zLTYzLTY3LjVWMTE1LjVjMC0zNy4yLDI4LjMtNjcuNSw2My02Ny41YzM0LjcsMCw2MywzMC4zLDYzLDY3LjVWMjcweiIvPjxwYXRoIGQ9Ik0zNjcsMTkydjc5LjdjMCw2MC4yLTQ5LjgsMTA5LjItMTEwLDEwOS4yYy02MC4yLDAtMTEwLTQ5LTExMC0xMDkuMlYxOTJoLTE5djc5LjdjMCw2Ny4yLDUzLDEyMi42LDEyMCwxMjcuNVY0NjJoLTczdjE4ICAgaDE2MXYtMThoLTY5di02Mi44YzY2LTQuOSwxMTctNjAuMywxMTctMTI3LjVWMTkySDM2N3oiLz48L2c+PC9zdmc+");
    background-size: 80% 80%;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.game .voice-btn.recording {
    background: #ff4d4d;
    box-shadow: none;
    animation: recordingAnimation 2.5s infinite;
}

@keyframes recordingAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* 
.game-text h2 {
    color: inherit;
} */

.game-text h2 span {
    float: none;
    font-size: 21px;
    font-style: normal;
}

.game-text .quote {
    font-style: italic;
}

/* SYNC */
.sync-word {
    color: inherit;
    transition: color 0.75s ease-in-out;
}

.sync-highlight {
    color: #faeb73;
    transition: color 0.75s ease-in-out;
}

.sync-player-controls {
    text-align: center;
    position: fixed;
    top: 50px;
    right: 15px;
    z-index: 100;
}

.sync-play-button {
    background: black;
    border: 1.5px solid #48658b;
    border-radius: 100%;
    color: inherit;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#support-btn {
    border-radius: 100%;
    margin: 0 0 28px;
    width: 40px;
    height: 40px;
}

.game #support-btn {
    margin-bottom: 128px
}

#yt-embed {
    max-width: 100%;
    margin: 0 auto;
}

#datepicker-form label {
    position: absolute;
    margin: -29px 0 0;
    left: 0;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    /* Center the spinner */
    border: 5px solid rgb(18 34 54);
    border-top: 5px solid #b7abff;
    border-radius: 50%;
    /* Make it circular */
    animation: spin 1s linear infinite;
    /* Infinite spinning animation */
    z-index: 10;
    /* Ensure it appears above the chart */
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.save-chart-btn {
    width: 38px;
    height: auto;
}

.save-chart-btn svg path {
    fill: #f0f0f0;
}

.visible {
    display: block;
}

.home #site-content {
    display: block;
    grid-template-columns: unset;
    grid-column-gap: unset;
    grid-auto-flow: unset;
}

.chart-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    padding: 10px 15px;
}

.pie .chart-wrap {
    overflow: visible;
}

.chart-wrap-background {
    /* background-color: #1b3351; */
    margin-bottom: 25px;
    height: 575px;
    height: 85vh;
    position: relative;
    float: left;
    width: 100%;
    padding: 15px;
    margin-left: -15px;
}

.pie.chart-wrap-background {
    height: 435px;
    max-width: calc(33% - 35px);
    margin: 0 5px 25px 0;
    width: 350px;
    text-align: center;
}

.chart-desc {
    margin-bottom: 40px;
}

/* .chart-desc span {
    margin-bottom: 15px;
    float: left;
    width: 100%;
  } */

.volatility-chart-desc {
    float: left;
    margin-bottom: 15px;
}

.disclaimer-notice {
    grid-column: 1/4;
    margin: 15px 0 -15px;
    text-align: center;
}

.full-screen-btn {
    width: 32px;
    height: 32px;
    float: right;
    cursor: pointer;
}

.full-screen-btn svg {
    scale: 1;
    transition: scale 0.25s ease-in;
}

.full-screen-btn .full-screen-exit-svg {
    display: none;
}

.body-full-screen-chart .full-screen-btn .full-screen-exit-svg {
    display: block;
}

.body-full-screen-chart .full-screen-btn .full-screen-svg {
    display: none;
}

.full-screen-btn:hover .full-screen-svg {
    scale: 1.15;
}

.full-screen-btn:hover .full-screen-exit-svg {
    scale: 0.85;
}

.full-screen-btn svg g path,
.full-screen-btn svg path {
    fill: #f0f0f0;
}

.chart-header-wrap {
    float: left;
    width: 100%;
    margin: 5px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

label {
    cursor: pointer;
}

.switch-wrap {
    display: flex;
    align-items: center;
    column-gap: 5px;
    font-size: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 19px;
    border-radius: 20px;
    background-color: #000;
    border: 1px solid #48658b;
}

.switch.focus {
    border: 1px solid #f0f0f0;
}

label[for="info-consent"].checkbox.focus .checkmark,
label[for="marketing-consent"].checkbox.focus .checkmark {
    border: 1px solid #6afcff;
}

.switch-wrap input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: #000; */
    /* border: none; */
    /* border-radius: 10px; */
}

.slider,
.slider::before {
    position: absolute;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider::before {
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 2px;
    background-color: #f0f0f0;
    box-shadow: 2px 2px 0px #284261;
    border-radius: 20px;
}

input:checked+.slider::before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

/* Datepicker */

.datepicker-container {
    position: relative;
    display: inline-block;
}

#datepicker-input {
    width: 200px;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
}

.datepicker-calendar {
    position: absolute;
    top: 45px;
    left: 0;
    width: 240px;
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.datepicker-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f0f0f0;
    align-items: center;
}

.datepicker-nav {
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

#datepicker-month-year {
    font-weight: bold;
}

#datepicker-table {
    width: 100%;
    border-collapse: collapse;
}

#datepicker-table th,
#datepicker-table td {
    width: 14.28%;
    text-align: center;
    padding: 8px;
    cursor: pointer;
}

#datepicker-table th {
    background: #f9f9f9;
    font-weight: normal;
}

#datepicker-table td:hover {
    background: #e0e0e0;
}

.datepicker-selected {
    background: #007bff;
    color: #fff;
}

.datepicker-empty {
    cursor: default;
    background: #f9f9f9;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    bottom: 15px;
    margin: auto;
    padding: 0 20px;
    width: 600px;
    max-width: calc(100% - 30px);
    text-align: center;
    border: 1px solid #48658b;
    background-color: #122236;
    box-shadow: 2px 2px 0px #0f1b2a;

    font-size: 15px;
    box-sizing: border-box;
    z-index: 150;
}

#accept-all-cookies-btn,
#accept-functional-cookies-btn,
#decline-all-cookies-btn,
#decline-functional-cookies-btn {
    border: none;
    padding: 9px 15px;
    font-size: 15px;
    line-height: 16px;
    margin: 0 10px 20px;
    cursor: pointer;
    background-color: #f0f0f0;
}

#accept-all-cookies-btn,
#accept-functional-cookies-btn {
    background-color: #6afcff;
}

#functional-cookie-modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 5px 20px;
    background: #0b1521;
    width: 300px;
    max-width: 60%;
    text-align: center;
    height: fit-content;
}

#functional-cookie-modal.visible {
    visibility: visible;
}

.list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    padding: 0;
    border-bottom: 1px solid #48658b;
    text-align: left;
}

.list .item a {
    font-family: sans-serif;
    float: left;
    width: 100%;
    color: #43e852;
    text-decoration: none;
    padding: 15px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.sidebar .list .item a {
    padding: 5px 15px;
}

.list .item .desc {
    font-family: 'Roboto Light', sans-serif;
    color: #f0f0f0;
    margin-top: 5px;
}

a.compare-link {
    text-align: center;
    background: #f0f0f0;
    width: fit-content;
    margin: 15px auto 0;
    padding: 5px 20px;
    color: #000;
    transition: all 0.25s linear;
}

a.compare-link:hover {
    color: #000;
}

.rec .chart-wrap {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.rec .pie .entry-details {
    margin-bottom: 10px;
}

.rec .chart {
    height: 78%;
}

.rec #mobile-bot-bar {
    display: none;
}

.numbers-and-text {
    grid-column: 1/3;
    margin: 0;
}

.numbers-and-text-content {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-column-gap: 2%;
}

.chart-wrap-background.pie,
.numbers-and-text-content div {
    grid-column: auto;
}

.left {
    float: left;
}

.right {
    float: right;
}

#hover-desc {
    position: fixed;
    right: 15px;
    bottom: 15px;
    opacity: 0;
    padding: 2px 8px;
    box-sizing: border-box;
    max-width: calc(100vw - 30px);
    z-index: 1000;
    background-color: #122236;
    color: #f0f0f0;
    border-radius: 4px;
    animation: fadeIn 0.25s linear forwards;
}

.review-box {
    float: left;
    width: 100%;
    margin: 10px 0 20px;
}

.game-container .review-star {
    background-color: transparent;
    height: 26px;
    width: 26px;
    padding: 1px;
    border-radius: 100%;
    margin-right: 5px;
}

.game-container .review-star.toggled svg path,
.game-container .review-star.rated svg path {
    fill: #fff100;
    stroke: #fff100;
}

.two .review-stars button {
    transition: none;
    background: none;
    box-shadow: none;
}

.two .review-stars button:hover,
.two .review-stars button:active,
.two .review-stars button.toggled {
    box-shadow: none;
    transform: none;
}

.output-item-footer {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0 10px;
}

.output-item-footer div {
    position: relative;
}

.output-item-rate-share {
    display: flex;
    margin: 0 0 25px;
    align-items: center;
    justify-content: space-evenly;
    gap: 15px;
}

.credit-cost {
    pointer-events: none;
}

.credit-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICA8ZGVmcz4NCiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImdyZWVuR3JhZGllbnQiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiPg0KICAgICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3R5bGU9InN0b3AtY29sb3I6IzQzZTg1MiIvPg0KICAgICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdHlsZT0ic3RvcC1jb2xvcjojMjhiMjM3Ii8+DQogICAgPC9saW5lYXJHcmFkaWVudD4NCiAgPC9kZWZzPg0KICA8cG9seWdvbiBmaWxsPSJ1cmwoI2dyZWVuR3JhZGllbnQpIiBwb2ludHM9IjIzLDEgMTEsMSA5LDE5IDEzLDE5IDExLDMxIDIzLDExIDE5LDExIi8+DQo8L3N2Zz4=");
    background-size: contain;
    float: left;
    width: 26px;
    height: 26px;
}

footer {
    padding: 15px 25px 0;
    margin: auto 0 0;
    text-align: center;
    color: #f0f0f0;
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #98c3ff;
    text-decoration: none;
}

#left-sidebar-wrap {
    position: fixed;
    width: 265px;
    width: 0px;
    top: 0;
    bottom: 0;
    left: -10px;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    border: none;
    border-right: 1px solid #48658b;
    background-color: #122236;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.sidebar-header {
    float: left;
    width: 100%;
    text-align: center;
    width: 300px;
}

.loaded #logo .logo-text,
.loaded #logo .logo-dot-com,
.loaded #logo .logo-subtext {
    transition: all 0.25s linear;
}

#logo-item {
    float: left;
    width: 60px;
    height: auto;
    margin-right: 7px;
}

.sidebar .logo-text {
    float: left;
    font-size: 27px;
    margin: 0px 0 0 2px;
    font-weight: 700;
}

.sidebar .logo-dot-com {
    float: left;
    color: #eaeaea;
    font-size: 13px;
    margin-top: 16px;
    margin-left: -4px;
}

.sidebar .logo-subtext {
    float: left;
    font-size: 18px;
    margin: -12px 0 0 3px;
    color: #b7b7b7;
    font-weight: 400;
}

.loaded #logo:hover .logo-text,
.loaded #logo:hover .logo-dot-com {
    color: #f0f0f0;
}

.sidebar {
    padding: 15px 15px 0;
    box-sizing: border-box;
    float: left;
    width: 100%;
}

#cryptocurrency-sidebar .sidebar {
    padding-top: 0;
}

.sidebar h2 {
    text-align: center;
    margin-top: 0;
}

.sidebar h3 {
    float: left;
    margin: 0 0 5px;
}

.sidebar h4 {
    float: left;
    width: 100%;
    margin: 10px 0;
}

.sidebar-list a {
    float: left;
    width: 170px;
    text-align: left;
    font-size: 14px;
    margin: 0 0 5px;
    color: #8ec4ff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar-list a.sidebar-asset-link {
    clear: left;
    width: fit-content;
    max-width: calc(100% - 55px);
}

.sidebar-list a:hover {
    color: #f0f0f0;
}

.sidebar-list.max .item {
    float: left;
    width: 100%;
}

.sidebar-list.max .item span:first-of-type {
    max-width: calc(100% - 40px);
    float: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 0 5px;
}

.sidebar-list a.selected {
    color: #f0f0f0;
    position: relative;
}

.compare-item:hover,
.sidebar-list a.selected:hover {
    text-decoration: underline;
    cursor: pointer;
}

.compare-item {
    float: left;
    width: 100%;
    padding: 0 0 5px;
    position: relative;
    box-sizing: border-box;
}

.compare-item::after {
    /* content: ""; */
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50px;
    top: 5px;
    right: 0;
    transition: background-color 0.25s ease-in;
}

.compare-item:hover::after {
    background-color: #f84949;
}

.checked-symbol,
.count,
.sidebar-title-info {
    float: right;
    margin-top: 2px;
}

.checked-symbol {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50px;
    margin: 3px 0 0;
    transition: background-color 0.25s ease-in;
}

.hover .checked-symbol {
    background-color: #f84949;
}

.checked-wrap {
    float: left;
    width: 100%;
}

.checked-wrap .count {
    display: none;
}

#credit-bar {
    float: left;
    width: 100%;
    height: 20px;
    margin: 17px 0 15px;
}

.credit-bar-bg {
    float: left;
    width: 100%;
    border-radius: 20px;
    height: 100%;
    border: 1px solid #48658b;
    overflow: hidden;
    position: relative;
}

.credit-bar-level {
    float: left;
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #76ffa2, #2ab357);
    box-shadow: 1px 1px 0px #36f17c inset;
}

.loaded .credit-bar-level {
    transition: width 1s linear;
}

.outlink-wrap {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}

.credit-bar-text {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    font-size: 13px;
    color: #f0f0f0;
}

.outlink {
    position: relative;
    width: 450px;
    max-width: 80%;
    height: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.outlink::after {
    content: "Ad";
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 15px;
}

.outlink img {
    max-width: 100%;
    height: auto;
}

.max-notice {
    margin-top: 15px;
    font-size: 15px;
    float: left;
    box-sizing: border-box;
}

.form-row {
    float: left;
    width: 100%;
}

.generate-btn-wrap {
    float: left;
    width: 100%;
    margin: 35px 0 0 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.generate-btn-wrap.center {
    justify-content: center;
}

.generate-btn-wrap>div {
    /* position: relative; */
    /* width: 29%; */
    /* text-align: center; */
}

.generate-btn-wrap label,
.output-item-footer label {
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.generate-btn-wrap input,
.output-item-footer input {
    width: 100%;
}

button.generate-btn.generating,
button.generate-img-btn.generating,
button.upscale-btn.generating {
    pointer-events: none;
}

button.generate-btn.generating,
button.generate-img-btn.generating,
button.upscale-btn.generating {
    animation: loading-animation 10s ease-in-out infinite;
}

/* Keyframes for the border animation */
@keyframes loading-animation {
    20% {
        background-color: #f685f0;
    }

    40% {
        background-color: #6afcff;
    }

    60% {
        background-color: #c2b8ff;
    }

    80% {
        background-color: #fad373;
    }
}

.generate-img-btn {
    height: 35px;
}

.center-text,
.page #page-wrap.center-text {
    text-align: center;
}

.center-text ul,
.page #page-wrap ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.settings-wrap {
    width: 650px;
    max-width: 100%;
    margin: 25px 0 10px;
    position: relative;
    border-radius: 4px;
    border: 1px solid #48658b;
    padding: 10px 10px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.settings-wrap::before {
    content: "Settings";
    font-size: 17px;
    margin-bottom: -15px;
    text-align: center;
    width: 100%;
    position: absolute;
    left: 0;
    top: -28px;
    right: 0;
    margin: 0 auto;
}

.settings-wrap label {
    text-align: right;
    margin: 0;
}

.settings-wrap select {
    float: left;
    clear: left;
    height: 35px;
    width: 100%;
}

.settings-wrap input {
    text-align: left;
    height: 35px;
    margin: 0;
}

input#prompt {
    height: 40px;
}

#output .credit-btn {
    background: none;
    box-shadow: none;
    color: #f0f0f0;
    transition: none;
}

#output .credit-btn:hover,
#output .credit-btn:active {
    transition: none;
    transform: none;
}

#show-more-settings-btn {
    display: inline-block;
    margin: 10px auto 0;
}

#show-more-btn {
    display: inline-block;
    margin: 25px auto 0;
}

#show-more-settings {
    visibility: hidden;
    max-height: 0;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 10px;
    transition: all 0.25s linear;
}

#show-more-settings.visible {
    visibility: visible;
    max-height: 750px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

#show-more-wrap {
    visibility: hidden;
    max-height: 0;
    transition: all 0.25s linear;
}

#show-more-wrap.visible {
    visibility: visible;
    max-height: 600px;
}

/* Image */

.image-container {
    float: left;
    width: 100%;
    margin: 10px -10px;
    padding: 10px;
    border: 1px solid #48658b;
    border-radius: 4px;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.image-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 0 0;
    box-sizing: border-box;
}

.image-footer button {
    height: 35px;
}

.elaborate-btn {
    height: 35px;
}

button.disabled {
    pointer-events: none;
}

#header-menu a {
    text-decoration: none;
    padding: 2px 5px;
}

#page-desc-wrap {
    margin: 30px auto 20px;
}

.page-desc {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

#welcome-wrap {
    margin: 0 0 20px;
    text-align: center;
}

.modal-wrap {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.modal-outer {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 200;
}

.modal-bg {
    position: fixed;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: #00000085;
    transition: all 0.25s linear;
}

.loaded #login-wrap,
.loaded #reset-wrap,
.loaded .modal-wrap {
    transition: all 0.25s linear;
}

.modal {
    box-sizing: border-box;
    border: 1px solid #48658b;
    background-color: 122236;
    padding: 0 15px;
    border-radius: 4px;
    max-height: 95vh;
    max-width: 95vw;
    pointer-events: all;
    position: relative;
    overflow-y: auto;
    opacity: 0;
    animation: fadeIn 0.25s linear forwards;
}

#login-modal button.default-btn.toggle-register-btn,
#login-modal button.default-btn.toggle-login-btn {
    margin-top: 15px;
}

#login-modal,
#register-modal,
#reset-modal {
    width: 300px;
}

#live-chat-btn {
    float: left;
    margin: 5px 0 30px;
}

.why-modal {
    padding: 20px 0 0;
    color: #f0f0f0;
    font-size: 15px;
}

.modal-msg {
    margin: 10px 0 15px;
    float: left;
    width: 100%;
}

.success {
    color: #6afcff;
}

.error {
    color: #f84949;
}

.modal-x-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 130;
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    line-height: 33px;
    font-size: 27px;
    padding: 0px 10px;
    font-family: monospace;
    height: 21px;
    z-index: 300;
}

.modal-x-btn:hover {
    color: #f0f0f0;
    text-decoration: none;
}

.modal-x-btn::after,
.modal-x-btn::before {
    content: "";
    position: absolute;
    top: 9px;
    right: 0;
    width: 20px;
    height: 3px;
    border-radius: 10px;
    background-color: #98c3ff;
    transition: background-color 0.25s linear;
}

.modal-x-btn:hover::after,
.modal-x-btn:hover::before {
    background-color: #f0f0f0;
}


.modal-x-btn::before {
    transform: rotate(45deg);
}

.modal-x-btn::after {
    transform: rotate(-45deg);
}

.modal-notice {
    float: left;
    width: 100%;
    text-align: center;
    margin: 0 0 15px;
    color: #f0f0f0;
}

.modal-notice.medium-font {
    font-size: 15px;
}

#search-modal.modal {
    overflow: hidden;
    width: 450px;
}

.modal {
    opacity: 0;
}

.loaded .modal {
    transition: all 0.25s ease-in-out;
    opacity: 1;
}

.modal .default-btn {
    float: left;
    width: 100%;
    margin: 0 0 15px;
}

#init-verify-box input,
#register-form input:focus {
    border-color: #6afcff;
}

#login-form input:focus {
    border-color: #f685f0;
}

#reset-request-form input:focus {
    border-color: #fad373;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    background-color: #000000;
    color: #f0f0f0 !important;
    -webkit-box-shadow: 2px 2px 0px inset #000000, 0 0 0 30px #000000 inset !important;
    -webkit-box-shadow: 0 0 0 30px #000000 inset !important;
    -webkit-text-fill-color: #f0f0f0 !important;
}

#login-modal .before-two {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: -42px auto 0;
    padding: 16px;
    width: 52px;
    height: 52px;
    border-radius: 100%;
    background: #122236;
}

#login-modal button.default-btn.toggle-login-btn {
    float: right;
    width: 50%;
    width: calc(50% - 5px);
}

#login-modal.register-success button.default-btn.toggle-login-btn {
    width: 100%;
    margin: 0 0 15px;
}

#login-modal button.default-btn.toggle-register-btn,
.modal button.default-btn.modal-close-btn {
    float: left;
    width: 100%;
    margin: 0 0 15px;
}

.modal button.default-btn.cancel-btn,
.modal button.default-btn.modal-close-btn {
    float: left;
    width: 100%;
    background-color: #f69e6a;
}

button,
.choose-sub,
a.button {
    cursor: pointer;
    border: none;
    position: relative;
    padding: 10px 15px;
    font-size: inherit;
    text-decoration: none;
}

/* button:hover,
.choose-sub:hover {
    text-decoration: underline;
} */

#login-modal.login-toggled #login-form,
#login-modal.register-success .success-msg,
#login-modal.register-toggled #register-form,
#login-modal.reset-toggled #reset-request-form,
#reset-wrap.success .success-msg {
    display: block;
}

#login-modal.login-toggled .login-chooser,
#login-modal.register-success .login-chooser,
#login-modal.register-toggled .login-chooser,
#login-modal.reset-toggled .login-chooser,
#reset-wrap.success #reset-pass-form {
    display: none;
}

/* label {
    float: left;
    width: 100%;
    padding: 5px 0;
    margin-top: 5px;
    position: relative;
    cursor: pointer;
} */

input {
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    line-height: 34px;
    height: 35px;
    margin-bottom: 5px;
    font-size: inherit;
    border: 1px solid #48658b;
    text-align: center;
}

.modal .desc {
    font-size: 15px;
    text-align: left;
    position: absolute;
    margin: -95px 0 0 15px;
    padding: 10px;
    width: calc(100% - 50px);
    pointer-events: none;
    background-color: #0b1521;
    color: inherit;
}

form .desc {
    display: none;
}

form .focused .desc {
    display: block;
}

label:hover {
    text-decoration: underline;
}

input::placeholder,
textarea::placeholder {
    color: #f0f0f0;
    transition: opacity 0.25s linear;
}

#site-wrap input:focus::placeholder,
.modal input:focus::placeholder,
#site-wrap textarea:focus::placeholder {
    opacity: 0.65;
}

form input[type="radio"] {
    cursor: pointer;
}

.choose-frequency {
    float: left;
    display: flex;
}

.modal input[type="checkbox"] {
    width: auto;
    box-shadow: none;
    margin-right: 10px;
}

.checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

label.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;
    position: relative;
    padding: 2px 0 0 37px;
    box-sizing: border-box;
    text-align: left;
}

.checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 11px;
    height: 20px;
    width: 20px;
    background-color: #000;
    /* box-shadow: 2px 2px 0px inset #284261; */
    border-radius: 100%;
    border: 1px solid #48658b;
}

.checkbox input[type="checkbox"]:checked+.checkmark {
    background-color: #6afcff;
    border-color: #6afcff;
    box-shadow: none;
}

.checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox input[type="checkbox"]:checked+.checkmark::after {
    display: block;
}

#search-box-form {
    padding-top: 16px;
}

#search-box-form label {
    margin: 0;
    padding: 0;
}

.modal input#search-input {
    padding-bottom: 0;
    margin-bottom: 5px;
}

#search-results {
    float: left;
    width: 100%;
    margin-bottom: 10px;
    height: calc(100% - 66px);
    /* height: calc(100% - 100px); */
    overflow-y: auto;
}

.search-result-item {
    float: left;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    column-gap: 10px;
    float: left;
    width: 100%;
    margin-top: 3px;
    text-align: left;
    padding: 0 5px 3px 0;
    box-sizing: border-box;
    font-size: 15px;
    border-bottom: 1px solid #48658b;
}

.search-result-item div:nth-of-type(2) {
    display: flex;
    column-gap: 10px;
    align-items: center;
}

.search-result-item:first-of-type {
    margin-top: 10px;
}

.search-result-item:last-of-type {
    border-bottom: none;
}

.denominate-msg {
    float: left;
    width: 100%;
    text-align: center;
    margin: 10px 0;
    font-size: 15px;
    color: #f0f0f0;
}

#site-wrap .plus-asset,
#site-wrap .denominate-asset,
#search-modal .plus-asset,
#search-modal .denominate-asset {
    float: right;
    position: relative;
}

button.default-btn.sidebar-login-btn {
    margin: 20px 0 0;
    background-color: #66ff94;
}

button.info-clicker {
    content: "";
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 100%;
    cursor: pointer;
    background-color: #98c3ff;
    color: black;
    transition: all 0.25s linear;
}

button.info-clicker:hover {
    background-color: #f0f0f0;
}

.info-clicker:hover {
    text-decoration: none;
}

#thing-modal {
    width: 375px;
}

#info-modal {
    width: 375px;
}

#info-modal .item {
    margin-bottom: 15px;
}

#info-modal audio {
    margin: 15px 0;
}

#pricing-modal.modal {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
    width: 1250px;
    padding: 15px;
    box-sizing: border-box;
    text-align: left;
    overflow: auto;
}

#pricing-modal h3 {
    margin: 0;
    grid-column: 1 / 4;
}

#pricing-modal h3,
#pricing-switch-wrap {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 0;
}

#pricing-tiers {
    display: grid;
    grid-column: 1 / 4;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.pricing-modal-footer {
    margin: 10px 0 0;
    text-align: center;
    grid-column: 1 / 4;
}

.sub-tier {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid #48658b;
    border-radius: 4px;
}

.sub-tier-header {
    float: left;
    width: 100%;
    font-size: 24px;
    font-weight: 700;
    color: #6afcff;
}

.small {
    font-size: 13px;
}

#pricing-modal .yearly {
    display: flex;
}

#pricing-modal .monthly-price {
    display: none;
}

#pricing-modal.monthly .monthly-price {
    display: block;
}

#pricing-modal.monthly .yearly-price {
    display: none;
}

.sub-tier-sub-header {
    font-size: 19px;
    color: #fad373;
    margin: -5px 0 0;
}

.sub-tier-benefits {
    margin: 15px 0;
}

.sub-tier-benefits span {
    float: left;
    margin-bottom: 12px;
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: start;
    line-height: 20px;
}

.sub-tier-benefits span::before {
    content: "";
    color: #6afcff;
    font-size: 20px;
    float: left;
    margin: auto 5px auto 0;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjUxMnB4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBmaWxsPSIjNmFmY2ZmIiBkPSJNNDQ4LDcxLjljLTE3LjMtMTMuNC00MS41LTkuMy01NC4xLDkuMUwyMTQsMzQ0LjJsLTk5LjEtMTA3LjNjLTE0LjYtMTYuNi0zOS4xLTE3LjQtNTQuNy0xLjggIGMtMTUuNiwxNS41LTE2LjQsNDEuNi0xLjcsNTguMWMwLDAsMTIwLjQsMTMzLjYsMTM3LjcsMTQ3YzE3LjMsMTMuNCw0MS41LDkuMyw1NC4xLTkuMWwyMDYuMy0zMDEuNyAgQzQ2OS4yLDExMC45LDQ2NS4zLDg1LjIsNDQ4LDcxLjl6Ii8+PC9zdmc+");
    background-size: contain;
}

#pricing-switch-wrap.switch-wrap {
    justify-content: end;
    grid-column: 3/ 4;
}

.choose-sub {
    padding: 5px 20px;
    width: 100%;
    box-sizing: border-box;
    color: #000;
    margin: auto 0 0;
    text-align: center;
    border-radius: 4px;
}

.choose-sub:hover {
    text-decoration: none;
    color: #000;
}

#header-menu {
    margin: 25px 0 0;
    /* padding: 0 0 10px; */
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
    float: left;
    width: 100%;
}

#map-wrap {
    width: 100%;
    height: 350px;
    display: inline-block;
    margin: 0 auto;
}

#map {
    width: 750px;
    max-width: 100%;
    height: 350px;
    display: inline-block;
    margin: 0 auto;
}

ul li {
    margin-bottom: 5px;
}

ul.cookies li {
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
}

.italic {
    font-style: italic;
}

#mobile-bot-bar {
    position: fixed;
    bottom: 0;
    right: 0;
}

/* Menu Btn */
.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 22px;
    width: 22px;
}

.menu-btn .bar {
    height: 4px;
    width: 100%;
    background-color: black;
    transition: all 0.25s linear;

}

.menu-btn:hover {
    cursor: pointer;
}

.x:nth-of-type(1) {
    transition: all 0.25s linear;
    transform: rotate(45deg);
    transform-origin: top left;
    width: 28px;
    margin: -2px 0 0 2px;
}

.x:nth-of-type(2) {
    transition: all 0.25s linear;
    transform-origin: center;
    width: 0;
}

.x:nth-of-type(3) {
    transition: all 0.25s linear;
    transform: rotate(-45deg);
    transform-origin: bottom left;
    width: 28px;
    margin-left: 2px;
}

#mobile-bot-bar button#menu-btn,
#mobile-bot-bar button#search-btn,
#mobile-bot-bar button#share-btn,
#plus-btn,
#site-header-right button#share-btn,
#update-btn {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 100%;
    cursor: pointer;
    border: none;
    float: right;
    margin: 0 15px 15px 0;
    text-align: center;
}

#mobile-bot-bar button#menu-btn {
    display: flex;
    padding: 15px;
}

#plus-btn,
#update-btn {
    visibility: hidden;
    bottom: 65px;
    position: absolute;
    right: 0;
    opacity: 0;
}

.loaded #plus-btn,
.loaded #update-btn {
    transition: all 0.25s ease-in;
}

#plus-btn svg,
#update-btn svg {
    margin: 0 0 -3px;
}

#plus-btn.visible,
#update-btn.visible {
    visibility: visible;
    opacity: 1;
}

#mobile-bot-bar button#menu-btn {
    display: none;
}

#mobile-bot-bar button#menu-btn svg,
#mobile-bot-bar button#search-btn svg,
#mobile-bot-bar button#share-btn svg {
    width: 25px;
    height: 25px;
    margin-top: 3px;
    fill: #0b1521;
}

#mobile-bot-bar button#menu-btn svg {
    width: 23px;
    height: 23px;
    margin-top: 3px;
}

#mobile-bot-bar button#share-btn svg {
    margin-left: -2px;
}

#site-content.hidden {
    display: none;
}

.share {
    float: right;
}

#share-btns-wrap.visible {
    opacity: 1;
    visibility: visible;
}

#share-btns-wrap {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: 101;
    bottom: 71px;
    width: 69px;
    margin-left: -11px;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 35px;
    background: none;
    transition: opacity 0.25s ease-in;
    text-align: center;
}

.share-img {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    border: none;
    padding: 0;
    margin: 0 0 15px;
    color: inherit;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #f0f0f0;
    transition: background-color 0.5s;
    float: left;
    overflow: hidden;
}

.share-img:last-of-type {
    margin-bottom: 0;
}

.share-img svg path {
    fill: #0b1521;
}

#fb-svg {
    margin: 0 -4px -21px 0;
    width: 17px;
    height: auto;
}

#tw-svg {
    width: 27px;
    height: auto;
    margin: 6px 0 0;
}

#em-svg {
    width: 26px;
    height: auto;
    margin: 5px 0 0 1px;
}

#link-svg {
    width: 23px;
    height: auto;
    margin: 13px 0 0;
}

#title-field,
#url-field {
    position: absolute;
    left: -999999px;
}

/* CSS */
.dropdown-wrap {
    position: relative;
    box-sizing: border-box;

    background-color: #122236;
    text-shadow: 2px 2px 0px #284261;
    color: inherit;
    margin-bottom: 10px;
    font-size: inherit;
    border: 1px solid #48658b;
    width: calc(100% + 20px);
    text-align: left;
    margin-left: -10px;
}

.dropdown-wrap button {
    border: none;
    padding: 10px;
    background: none;
    color: #f0f0f0;
    font-size: inherit;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.dropdown-wrap button:hover {
    background-color: #48658b;
}

.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.expanded .dropdown-menu {
    max-height: 250px;
}

.dropdown-button::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 18px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #f0f0f0;
    /* Arrow color */

    /* Rounded edges */
    transition: transform 0.25s ease-in-out;
}

.expanded .dropdown-button::after {
    transform: translateY(-50%) rotate(180deg);
}

input,
textarea,
button,
select,
a.button {
    font-family: inherit;
    border-radius: 4px;
    font-size: inherit;
}

input:focus {
    outline: none;
    border-color: #f0f0f0;
}

/* Scrollbars */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    opacity: 0;
    background: #122236;
    width: 0;
    /* border-radius: 0 0 0 4px; */
    /* border-left: 1px solid #48658b; */
}

::-webkit-scrollbar-thumb {
    background: #48658b;
    border-radius: 0;
    border: 1px solid #48658b;
    border-radius: 4px;
}

body.rec::-webkit-scrollbar-thumb {
    background: #122236;
}

::-webkit-scrollbar-thumb:active,
::-webkit-scrollbar-thumb:hover,
#left-sidebar-wrap:hover::-webkit-scrollbar-thumb:hover {
    background: #f0f0f0;
    cursor: pointer;
}

::-webkit-scrollbar-corner {
    background: #122236;
}

.hidden {
    display: none;
}

.output-list {
    float: left;
    width: 100%;
}

.output-item {
    float: left;
    width: 100%;
    padding: 5px 20px 15px;
    margin: 0 -20px 55px;
    border: 1px solid #48658b;
    border-radius: 4px;
    position: relative;
}

.output-item:first-of-type {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #48658b;
}

.output-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    border-bottom: 1px solid #48658b;
}

.output-item h3 {
    margin: 5px 0 0;
}

.username .output-item h3 {
    margin-top: 30px;
}

.username .output-item:first-of-type {
    padding-top: 5px;
}

.output-item p {
    margin-bottom: 25px;
}

.output-item .text-idea {
    margin: 0 0 10px;
    position: absolute;
    top: -30px;
    left: 10px;
    color: #f0f0f0;
    background-color: #182234;
    border: 1px solid #48658b;
    border-bottom: none;
    padding: 5px 15px 0;
    border-radius: 4px 4px 0 0;
}

button.use-idea-btn {
    margin: 15px 0;
}

#left-sidebar-wrap::-webkit-scrollbar-track {
    border-color: #122236;
}

#left-sidebar-wrap:hover::-webkit-scrollbar-track {
    border-color: #48658b;
}

#left-sidebar-wrap::-webkit-scrollbar-thumb {
    border-color: #122236;
    background: #122236;
}

#left-sidebar-wrap:hover::-webkit-scrollbar-thumb {
    background: #48658b;
    border-color: #48658b;
}

.game-faq-wrap {
    text-align: center;
    padding: 25px 25px 0;
    box-sizing: border-box;
}

.game-faq-item {
    margin-bottom: 15px;
}

/* .audio-control-button {
    background: none;
    border: none;
    padding: 0;
    font-size: 63px;
    cursor: pointer;
} */

.narration-button {
    margin-bottom: 15px;
}

#autoplay-checkbox {
    margin: 2px auto 10px;
    width: 82px;
    padding-left: 27px;
}

#autoplay-checkbox span {
    margin-top: -10px;
}

.audio-progress-container {
    height: 18px;
    background-color: #ddd;
    border-radius: 12px;
    margin: 10px 0;
    /* overflow: hidden; */
    display: inline-block;
    width: calc(100% - 50px);
}

.audio-progress-bar {
    height: 100%;
    background-color: #65e869;
    width: 0%;
    transition-property: width;
    transition-timing-function: linear;
}

.voice-legend {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 5px;
    background-color: #f9f9f9;
    border-radius: 3px;
}

.audio-progress-container {
    height: 20px;
    background-color: #000000;
    border-radius: 12px;
    margin: 10px 0;
    overflow: hidden;
    display: inline-block;
    width: calc(100% - 50px);
    position: relative;
    border: 1.5px solid #48658b;
}

.audio-progress-bar {
    height: 100%;
    background-color: #73d477;
    width: 0%;
    transition-property: width;
    transition-timing-function: linear;
    position: relative;
    z-index: 2;
    /* border: 1.5px solid #48658b; */
    /* box-shadow: 2px 2px #000000; */
    border-radius: 20px;
}

.segment-markers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.segment-marker {
    position: absolute;
    top: 0;
    height: 100%;
    width: 1.5px;
    background-color: #48658b;
}

.custom-audio-player {
    margin-bottom: 15px;
}

.audio-status-text {
    /* margin-top: 5px; */
    /* font-size: 12px; */
    /* color: #666; */
}

/* Add these styles to your CSS */
.audio-progress-container {
    cursor: pointer;
    position: relative;
}

.segment-marker.hover {
    background-color: red;
}

.hover-part-indicator {
    position: absolute;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 2;
    top: 0;
}

.audio-progress-container {
    position: relative;
    overflow: hidden;
}

/* 
.audio-progress-container:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
} */

/* Add a tooltip style */
.part-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    transform: translateX(-50%);
    bottom: 100%;
    margin-bottom: 5px;
    white-space: nowrap;
    z-index: 10;
}

.voice-legend-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 5px;
}

.voice-color-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

#streaming-audio-element {
    display: none;
    /* Hide the native audio controls */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 1000px) {

    #site-content-wrap {
        margin: 0 50px 50px;
    }

    .sidebar {
        position: static;
        float: left;
        height: auto;
    }

    #left-sidebar-wrap .sidebar {
        top: unset;
        transform: unset;
    }

    #left-sidebar-wrap {
        position: fixed;
        visibility: hidden;
        margin: 0;
        width: 275px;
        z-index: 150;
        transform: translateX(-100%);
    }

    .loaded #left-sidebar-wrap {
        transition: all 0.5s linear;
    }

    #left-sidebar-wrap.visible {
        visibility: visible;
        transform: translateX(0);
    }

    #left-sidebar-wrap::-webkit-scrollbar-thumb {
        background: #48658b;
    }

    #mobile-bot-bar button#menu-btn {
        display: flex;
        display: none;
    }

    .home #mobile-bot-bar button#menu-btn {
        display: none;
    }

    .outlink-wrap {
        justify-content: center;
    }

    #pricing-modal.modal {
        row-gap: 20px;
        width: 350px;
    }

    #pricing-modal h3,
    #pricing-switch-wrap.switch-wrap,
    #pricing-modal.modal .sub-tier {
        grid-column: 1/4;
        justify-content: center;
    }

    #pricing-modal h3,
    #pricing-switch-wrap {
        text-align: center;
        margin: 0;
    }
}

@media (min-width: 800px) {
    #command-list-output {
        margin: 0;
    }

    #turn-form {
        flex-direction: row;
    }
}


@media (min-width: 701px) {
    h1#entry-title {
        margin-bottom: 10px;
    }
}

@media (max-width: 700px) {
    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 23px;
    }

    #site-content-wrap {
        margin: 0 10px 50px;
    }

    h1#entry-title {
        margin-top: 15px;
        margin-bottom: 5px;
    }

    h1#entry-title>span {
        padding: 0px 9px;
    }

    h1#entry-title .asset-name,
    h1#entry-title .asset-type {
        font-size: 11px;
    }

    h2.chart-page-separator {
        font-size: 24px;
    }

    .settings-wrap,
    #show-more-settings {
        grid-template-columns: 1fr;
    }

    .settings-wrap label {
        margin: 0 0 -5px;
        text-align: center;
        padding-bottom: 0;
        display: flex;
        justify-content: space-between;
    }

    .settings-wrap input,
    .settings-wrap select {
        font-size: 14px;
        text-align: center;
    }

    .generate-btn-wrap>div {
        width: fit-content;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .output-item-footer {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    .image-footer {
        flex-direction: column;
        gap: 15px;
    }

    .generate-btn-wrap {
        flex-direction: column;
    }

    .generate-btn-wrap input,
    .output-item-footer input {
        width: 100px;
        box-sizing: border-box;
    }

    .settings-wrap button.info-clicker {
        left: unset;
        right: 0;
    }

    #affiliate-register,
    #affiliate-dashboard {
        float: none;
    }
}

/* ========================================
   SSH Terminal Styles
   ======================================== */

/* SSH Modal */
.ssh-modal {
    width: 450px;
    max-width: 95vw;
    text-align: left;
}

.ssh-modal h3 {
    margin-bottom: 10px;
}

.modal-description {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Server List */
#ssh-server-list-wrap {
    margin-bottom: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.empty-server-list {
    text-align: center;
    padding: 20px;
    opacity: 0.7;
    font-style: italic;
}

.ssh-server-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ssh-server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #48658b;
    border-radius: 6px;
    gap: 10px;
}

.ssh-server-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.ssh-server-name {
    font-weight: bold;
    color: #5caeff;
}

.ssh-server-details {
    font-size: 13px;
    opacity: 0.8;
    word-break: break-all;
}

.ssh-server-auth {
    font-size: 12px;
    opacity: 0.6;
}

.ssh-server-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ssh-server-actions button {
    padding: 6px 12px;
    font-size: 13px;
}

.ssh-delete-btn {
    background-color: #dc3545 !important;
}

.ssh-delete-btn:hover {
    background-color: #c82333 !important;
}

/* Add Server Form */
.add-server-toggle-btn {
    width: 100%;
    margin-bottom: 15px;
}

.ssh-add-server-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #48658b;
    margin-bottom: 15px;
}

.ssh-add-server-form label {
    font-size: 14px;
    margin-top: 10px;
}

.ssh-add-server-form label:first-child {
    margin-top: 0;
}

.ssh-add-server-form input,
.ssh-add-server-form select {
    width: 100%;
    box-sizing: border-box;
}

.ssh-add-server-form select {
    height: 45px;
    padding: 0 15px;
    background: transparent;
    color: #9ac5ff;
    border: 1px solid #5caeff;
    border-radius: 4px;
    cursor: pointer;
}

.ssh-key-notice {
    font-size: 13px;
    padding: 10px;
    background: rgba(92, 174, 255, 0.1);
    border-radius: 4px;
    margin: 10px 0;
}

.ssh-auth-checkbox {
    margin-top: 15px !important;
    font-size: 14px;
}

.ssh-form-msg {
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
}

.ssh-form-msg.error {
    color: #ff6b6b;
}

.ssh-form-msg.success {
    color: #14FF7C;
}

.ssh-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.ssh-terms-notice {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.ssh-terms-notice p {
    margin: 0 0 5px 0;
}

.ssh-terms-notice ul {
    margin: 0;
    padding-left: 20px;
}

.ssh-terms-notice li {
    margin: 3px 0;
}

/* SSH Edit Server Form */
.ssh-edit-server-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #48658b;
}

.ssh-edit-server-form h4 {
    margin: 0 0 15px 0;
    color: #9ac5ff;
    font-size: 16px;
}

.ssh-edit-server-form label {
    font-size: 14px;
    margin-top: 10px;
}

.ssh-edit-server-form label:first-of-type {
    margin-top: 0;
}

.ssh-edit-server-form input,
.ssh-edit-server-form select,
.ssh-edit-server-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.ssh-edit-server-form select {
    height: 45px;
    padding: 0 15px;
    background: transparent;
    color: #9ac5ff;
    border: 1px solid #5caeff;
    border-radius: 4px;
    cursor: pointer;
}

.ssh-edit-server-form textarea {
    font-family: monospace;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: #9ac5ff;
    border: 1px solid #5caeff;
    border-radius: 4px;
    padding: 10px;
    resize: vertical;
}

.ssh-update-creds-checkbox {
    margin-top: 15px;
    background: rgba(255, 200, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
}

.ssh-edit-password-fields,
.ssh-edit-key-fields {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border: 1px dashed #48658b;
}

.ssh-edit-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.ssh-edit-buttons button {
    flex: 1;
}

.ssh-cancel-edit-btn {
    background: rgba(255, 100, 100, 0.2) !important;
    border-color: #ff6b6b !important;
}

.ssh-cancel-edit-btn:hover {
    background: rgba(255, 100, 100, 0.4) !important;
}

.ssh-edit-btn {
    background: rgba(255, 200, 0, 0.1) !important;
    border-color: #ffc800 !important;
    color: #ffc800 !important;
}

.ssh-edit-btn:hover {
    background: rgba(255, 200, 0, 0.3) !important;
}

/* Terminal Mode */
body.terminal-mode .app-wrap,
body.terminal-mode #footer,
body.terminal-mode #site-wrap > *:not(#ssh-terminal-wrap) {
    display: none !important;
}

body.terminal-mode {
    overflow: hidden;
}

body.terminal-mode #site-wrap {
    padding: 0;
    min-height: 100vh;
}

#ssh-terminal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

#exit-terminal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
    padding: 8px 16px;
    font-size: 13px;
}

/* Terminal UI */
.ssh-terminal-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #1a1a2e;
    border-bottom: 1px solid #48658b;
    gap: 15px;
}

.ssh-terminal-title {
    font-weight: bold;
    color: #5caeff;
    font-size: 14px;
}

.ssh-terminal-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.ssh-terminal-status.connected {
    background: rgba(20, 255, 124, 0.2);
    color: #14FF7C;
}

.ssh-terminal-status.error {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.ssh-terminal-disconnect-btn {
    margin-left: auto;
    padding: 5px 12px;
    font-size: 12px;
    background: #dc3545 !important;
}

/* Terminal Output */
.ssh-terminal-output {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    background: #0a0a0a;
    white-space: pre-wrap;
    word-break: break-all;
}

.ssh-output-line {
    margin: 2px 0;
}

.ssh-output-command {
    color: #5caeff;
}

.ssh-output-output {
    color: #d4d4d4;
}

.ssh-output-error {
    color: #ff6b6b;
}

.ssh-output-info {
    color: #888;
    font-style: italic;
}

.ssh-output-success {
    color: #14FF7C;
}

/* ANSI Color Classes */
.ansi-black { color: #000; }
.ansi-red { color: #cd3131; }
.ansi-green { color: #0dbc79; }
.ansi-yellow { color: #e5e510; }
.ansi-blue { color: #2472c8; }
.ansi-magenta { color: #bc3fbc; }
.ansi-cyan { color: #11a8cd; }
.ansi-white { color: #e5e5e5; }
.ansi-gray { color: #666; }
.ansi-lightred { color: #f14c4c; }
.ansi-lightgreen { color: #23d18b; }
.ansi-lightyellow { color: #f5f543; }
.ansi-lightblue { color: #3b8eea; }
.ansi-lightmagenta { color: #d670d6; }
.ansi-lightcyan { color: #29b8db; }
.ansi-bold { font-weight: bold; }

/* Terminal Input */
.ssh-terminal-input-wrap {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #1a1a2e;
    border-top: 1px solid #48658b;
    gap: 10px;
}

.ssh-terminal-prompt {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    color: #14FF7C;
    font-size: 14px;
    white-space: nowrap;
}

.ssh-terminal-input {
    flex: 1;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    padding: 8px 12px;
    background: #0a0a0a;
    border: 1px solid #48658b;
    border-radius: 4px;
    color: #d4d4d4;
}

.ssh-terminal-input:focus {
    outline: none;
    border-color: #5caeff;
}

.ssh-terminal-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ssh-terminal-send-btn {
    padding: 8px 16px;
    font-size: 13px;
}

.ssh-terminal-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile adjustments for terminal */
@media (max-width: 600px) {
    .ssh-terminal-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ssh-terminal-output {
        font-size: 12px;
        padding: 10px;
    }

    .ssh-terminal-input-wrap {
        flex-wrap: wrap;
    }

    .ssh-terminal-prompt {
        font-size: 12px;
    }

    .ssh-terminal-input {
        font-size: 12px;
        width: 100%;
        order: 3;
    }

    .ssh-terminal-send-btn {
        order: 4;
        width: 100%;
    }

    .ssh-server-item {
        flex-direction: column;
        align-items: stretch;
    }

    .ssh-server-actions {
        justify-content: stretch;
    }

    .ssh-server-actions button {
        flex: 1;
    }

    #exit-terminal-btn {
        position: static;
        margin: 10px;
        align-self: flex-end;
    }
}

/* ========================================
   SSH Workspace / Editor Styles
   ======================================== */

/* Workspace Mode */
body.workspace-mode .app-wrap,
body.workspace-mode #footer,
body.workspace-mode #site-wrap > *:not(#ssh-workspace-wrap) {
    display: none !important;
}

body.workspace-mode {
    overflow: hidden;
}

body.workspace-mode #site-wrap {
    padding: 0;
    min-height: 100vh;
}

#ssh-workspace-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e1e1e;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

#exit-workspace-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 1001;
    padding: 6px 14px;
    font-size: 12px;
}

/* Workspace Toolbar */
.workspace-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #252526;
    border-bottom: 1px solid #3c3c3c;
    gap: 15px;
    min-height: 40px;
}

.workspace-title {
    font-weight: bold;
    color: #cccccc;
    font-size: 14px;
}

.workspace-view-toggle {
    display: flex;
    gap: 4px;
    margin-left: auto;
    margin-right: 100px;
}

.wv-btn {
    padding: 5px 10px;
    font-size: 16px;
    background: #3c3c3c;
    border: none;
    color: #cccccc;
    cursor: pointer;
    border-radius: 3px;
}

.wv-btn:hover {
    background: #4c4c4c;
}

.wv-btn.active {
    background: #0e639c;
    color: white;
}

.workspace-save-all {
    padding: 5px 12px;
    font-size: 12px;
    background: #0e639c;
    margin-right: 80px;
}

/* Workspace Main Layout */
.workspace-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.workspace-sidebar {
    width: 250px;
    min-width: 200px;
    max-width: 400px;
    background: #252526;
    border-right: 1px solid #3c3c3c;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.workspace-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* File Browser */
.file-browser-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.file-browser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #2d2d2d;
    border-bottom: 1px solid #3c3c3c;
}

.file-browser-title {
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    color: #bbbbbb;
}

.file-browser-actions {
    display: flex;
    gap: 4px;
}

.fb-btn {
    padding: 3px 6px;
    font-size: 12px;
    background: transparent;
    border: 1px solid #555;
    color: #cccccc;
    cursor: pointer;
    border-radius: 3px;
}

.fb-btn:hover {
    background: #3c3c3c;
    border-color: #777;
}

.file-browser-path {
    display: flex;
    padding: 5px;
    background: #1e1e1e;
    border-bottom: 1px solid #3c3c3c;
}

.path-input {
    flex: 1;
    padding: 4px 8px;
    font-size: 12px;
    background: #3c3c3c;
    border: 1px solid #555;
    color: #cccccc;
    border-radius: 3px 0 0 3px;
}

.file-browser-path .fb-btn {
    border-radius: 0 3px 3px 0;
    border-left: none;
}

.file-browser-tree {
    flex: 1;
    overflow-y: auto;
    padding: 5px 0;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 13px;
    color: #cccccc;
    gap: 6px;
}

.file-item:hover {
    background: #2a2d2e;
}

.file-item.editable:hover {
    background: #37373d;
}

.file-icon {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 11px;
    color: #888;
    margin-right: 5px;
}

.file-actions {
    display: none;
    gap: 3px;
}

.file-item:hover .file-actions {
    display: flex;
}

.fa-btn {
    padding: 2px 5px;
    font-size: 11px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
}

.fa-btn:hover {
    color: #fff;
}

.fa-delete:hover {
    color: #f14c4c;
}

.dir-item .file-name {
    color: #dcb67a;
}

.parent-dir {
    opacity: 0.7;
}

.file-browser-error {
    padding: 15px;
    color: #f14c4c;
    text-align: center;
}

/* Editor Panel */
.editor-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    background: #1e1e1e;
}

/* Editor Tabs */
.editor-tabs {
    display: flex;
    background: #252526;
    border-bottom: 1px solid #3c3c3c;
    overflow-x: auto;
    min-height: 35px;
}

.editor-tab {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #2d2d2d;
    border-right: 1px solid #3c3c3c;
    cursor: pointer;
    font-size: 13px;
    color: #969696;
    gap: 6px;
    white-space: nowrap;
}

.editor-tab:hover {
    background: #323232;
}

.editor-tab.active {
    background: #1e1e1e;
    color: #ffffff;
    border-bottom: 1px solid #1e1e1e;
    margin-bottom: -1px;
}

.tab-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-modified {
    color: #e2c08d;
    font-weight: bold;
}

.tab-close {
    padding: 0 4px;
    font-size: 16px;
    background: transparent;
    border: none;
    color: #969696;
    cursor: pointer;
    line-height: 1;
}

.tab-close:hover {
    color: #ffffff;
    background: #555;
    border-radius: 3px;
}

/* Editor Content */
.editor-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.editor-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-size: 14px;
}

.monaco-editor-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Editor Status Bar */
.editor-statusbar {
    display: flex;
    padding: 4px 15px;
    background: #007acc;
    color: white;
    font-size: 12px;
    gap: 20px;
}

.status-language,
.status-position,
.status-saved {
    opacity: 0.9;
}

/* Terminal Panel in Workspace */
.terminal-panel {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #3c3c3c;
    background: #1e1e1e;
}

.terminal-panel .ssh-terminal-header {
    background: #2d2d2d;
}

.terminal-panel .ssh-terminal-output {
    background: #1e1e1e;
}

.terminal-panel .ssh-terminal-input-wrap {
    background: #2d2d2d;
}

/* Server list button adjustments for 3 buttons */
.ssh-server-actions {
    flex-wrap: wrap;
}

.ssh-editor-btn {
    background-color: #0e639c !important;
}

.ssh-terminal-btn {
    background-color: #3c3c3c !important;
    border: 1px solid #555 !important;
}

/* Mobile Workspace */
@media (max-width: 768px) {
    .workspace-sidebar {
        width: 100%;
        max-width: 100%;
        position: absolute;
        top: 56px;
        left: 0;
        bottom: 0;
        z-index: 10;
        display: none;
    }

    .workspace-sidebar.visible {
        display: flex;
    }

    .workspace-view-toggle {
        margin-right: 70px;
    }

    .workspace-save-all {
        display: none;
    }

    #exit-workspace-btn {
        padding: 4px 10px;
        font-size: 11px;
    }

    .editor-tabs {
        min-height: 32px;
    }

    .editor-tab {
        padding: 6px 10px;
        font-size: 12px;
    }

    .editor-statusbar {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .ssh-server-actions {
        flex-direction: column;
    }

    .ssh-server-actions button {
        width: 100%;
    }
}

/* ── PWA Install Modal ── */
.pwa-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.7); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
}
.pwa-modal-content {
    background: #162033; color: #e0e0e0; border-radius: 16px;
    padding: 32px 28px 24px; max-width: 370px; width: 90%;
    text-align: center; position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.pwa-modal-close {
    position: absolute; top: 10px; right: 14px;
    background: none; border: none; color: #888; font-size: 24px; cursor: pointer;
}
.pwa-modal-content h3 { margin: 0 0 8px; font-size: 20px; color: #4a9eff; }
.pwa-modal-content p { margin: 0 0 18px; font-size: 14px; color: #aaa; }
.pwa-step {
    display: flex; align-items: center; gap: 12px;
    text-align: left; margin: 10px 0; font-size: 14px;
}
.pwa-step-num {
    min-width: 28px; height: 28px; border-radius: 50%;
    background: #4a9eff; color: #0a142a; font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.pwa-dont-show {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin: 16px 0 12px; font-size: 13px; color: #888; cursor: pointer;
}
.pwa-dont-show input { display: none; }
.pwa-checkmark {
    width: 18px; height: 18px; border: 2px solid #555; border-radius: 4px;
    display: inline-block; position: relative; flex-shrink: 0;
}
.pwa-dont-show input:checked + .pwa-checkmark {
    background: #4a9eff; border-color: #4a9eff;
}
.pwa-dont-show input:checked + .pwa-checkmark::after {
    content: ''; position: absolute; left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid #0a142a; border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.pwa-modal-btn {
    width: 100%; padding: 12px; border: none; border-radius: 10px;
    background: #4a9eff; color: #0a142a; font-size: 16px;
    font-weight: 600; cursor: pointer;
}
.pwa-modal-btn:hover { opacity: .9; }
#pwa-update-banner {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #162033; color: #e0e0e0; padding: 14px 20px;
    display: flex; align-items: center; justify-content: center;
    gap: 12px; z-index: 10001; box-shadow: 0 -2px 12px rgba(0,0,0,.4);
    font-size: 14px;
}
.pwa-update-btn {
    padding: 8px 18px; border: none; border-radius: 8px;
    background: #4a9eff; color: #0a142a; font-weight: 600; cursor: pointer;
}
.pwa-dismiss-btn {
    padding: 8px 18px; border: 1px solid #555; border-radius: 8px;
    background: transparent; color: #aaa; cursor: pointer;
}