@font-face {
    font-family: 'DynaPuff';
    src: url('../fonts/DynaPuff-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IBMPlexMono';
    src: url('../fonts/IBMPlexMono-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* @font-face {
    font-family: 'IBMPlexMono Bold';
    src: url('../fonts/IBMPlexMono-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DynaPuff Medium';
    src: url('../fonts/DynaPuff-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */

body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    cursor: default;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: -0.6px;
    font-family: "IBMPlexMono", monospace;
    text-align: center;
    background-color: #000;
    /* background-color: #1f3754; */
    color: #98c3ff;
}

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

.game .logo-wrap {
    margin-top: 50px;
}

#logo {
    display: inline-block;
}

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

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

/* .loaded #logo:hover {
    scale: 1.06;
    transform: rotate(1deg);
} */

::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 {
    /* min-height: 100vh; */
    width: 100%;
    max-width: 100%;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
}

.frontpage #site-wrap {
    text-align: center;
}

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

#page-wrap,
#game-wrap {
    display: flex;
    flex-direction: column;
}

#page-wrap,
#game-wrap,
#game-header-wrap,
#game-footer-wrap,
.header-wrap,
.game-faq-wrap {
    width: 931px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.page-content {
    width: 640px;
    max-width: 100%;
    text-align: center;
    margin: 25px auto;
    padding: 25px 20px;
    box-sizing: border-box;
    border: 1px solid #48658b;
    border-radius: 5px;
    background-color: #122236;
    background-color: #000;
}

.page-content.left-text {
    text-align: left;
}

#game-footer-wrap img,
#game-footer-wrap img {
    position: relative;
}

.combatant-hp-wrap {
    position: relative;
}

.combatant-hp-wrap .hit-points-icon {
    margin-left: -55px;
}

.combatant-div .space-between {
    gap: 25px;
}

.combatant-div span.hp-overlay {
    left: 0;
    right: unset;
    width: 100%;
    height: 100%;
    bottom: unset;
    top: 0;
    background: linear-gradient(-45deg, #cd0085, #62003f);
}

.vertical-meter {
    left: unset;
    right: 3px;
    width: 10px;
    top: 3px;
    bottom: 3px;
    height: unset;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    border-radius: 14px;
    z-index: 1;
}

.vertical-meter>span {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    border-radius: 14px;
    padding: 0;
}

.health .vertical-meter {
    border: 1px solid #8f0000;
}

.health .vertical-meter>span {
    background: linear-gradient(#cd0085, #62003f);
    box-shadow: 1px 1px 1px #ce4b4b inset;
}

.thirst .vertical-meter {
    border: 1px solid #0085cd;
}

.thirst .vertical-meter>span {
    background: linear-gradient(#46beff, #004c76);
    box-shadow: 1px 1px 1px #46beff inset;
}

.hunger .vertical-meter {
    border: 1px solid #2aac78;
}

.hunger .vertical-meter>span {
    background: linear-gradient(#3ad496, #014f30);
    box-shadow: 1px 1px 1px #28e398 inset;
}

.exhaustion .vertical-meter {
    border: 1px solid #e28e3b;
}

.exhaustion .vertical-meter>span {
    background: linear-gradient(#ffb56d, #9d4f05);
    box-shadow: 1px 1px 1px #ffb56d;
}

.combatant-hp-values {
    margin-top: 20px;
    float: right;
}

.combatant-status-div {
    display: block;
    margin: 0 0 15px;
}

.page-content.yt {
    padding: 0;
    overflow: hidden;
    width: 640px;
}

.site-name-span,
caption,
h1,
h2,
h3,
.sub-tier-header,
.modal-x-btn,
#logo {
    font-family: "DynaPuff", sans-serif;
    letter-spacing: 0.1px;
    color: #eaeaea;
    font-weight: 400;
}

h1,
h1#entry-title {
    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;
}

.loading-game .page-content {
    padding: 25px 0;
}

.game-list-item {
    border-bottom: 1px solid #48658b;
    float: left;
    width: 100%;
}

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

.game-list-item a {
    padding: 15px;
    box-sizing: border-box;
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-direction: column;
}

.dim {
    color: #98c3ff;
}

.generating-seconds {
    font-size: 12px;
    color: #98c3ff;
}

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

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

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

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

#account-wrap,
#affiliate-campaign-form {
    text-align: center;
    max-width: 100%;
    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-style: italic;
}

a {
    color: inherit;
}

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

a: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;
}

#game-wrap {
    margin: 0 auto 25px;
}

#game-wrap h2 {
    margin: 0;
}

.game-container {
    float: left;
    width: 100%;
}

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

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

#user-input-wrap {
    display: block;
}

#outer-game-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ready-to-start.just-starting #game-text-wrap {
    display: none;
}

.not-logged-in #game-wrap {
    position: static;
}

.just-starting #user-input-wrap,
.just-starting .time-of-day-wrap {
    display: none;
}

.game-settings #game-wrap,
.just-starting #game-wrap,
.loading-game #game-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 120px);
    margin: 0 auto;
}

.just-starting .user-input-wrap,
.just-starting h1 {
    margin: 0;
}

.just-starting #output {
    display: none;
}

.just-starting.ready-to-start #output {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
}

.just-starting.new-game h1,
.error-message h1 {
    margin: 15px 0 0;
}

#new-game-credits p,
#new-game-credits-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#new-game-credits img {
    width: 32px;
    height: 32px;
}

#game-header-wrap>button {
    cursor: pointer;
    transition: color 0.25s linear;
}

#game-header-wrap>button:hover {
    color: #f0f0f0;
    background-color: rgba(68, 140, 255, 0.59);
    border-color: rgba(68, 140, 255, 0.59);
}

#something-wrap {
    float: left;
    width: 100%;
    margin-top: 25px;
    text-align: center;
    max-height: 0px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s linear;
}

.generating #something-wrap {
    max-height: 125px;
    opacity: 1;
    visibility: visible;
}

#something {
    position: relative;
    display: inline-block;
    width: 318px;
}

#something a {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid #48658b;
    padding: 0;
    box-sizing: border-box;
    background: black;
    border-radius: 5px;
    transition: all 0.25s linear;
}

#something a:hover {
    /* background-color: #48658b; */
    /* transform: translateY(1px) translateX(1px) rotate(1deg) scale(1.01); */
}

#something a:hover img {
    /* transform: translateY(1px) translateX(1px) rotate(0deg) scale(1.1); */
}

#something a::before {
    content: "Ad";
    display: block;
    position: absolute;
    top: 7px;
    left: 15px;
    z-index: 1;
}

#something .info-clicker {
    position: absolute;
    top: 10px;
    right: 10px;
}

img.something {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    transition: all 0.25s linear;
}

.equipped-btn,
.mkt-value-btn,
.time-of-day-btn,
.time-limit-btn,
.expiry-time-btn,
button.credits-clicker,
.loaded button.credits-clicker,
.plain-button {
    background: none;
    padding: 0px;
    font-size: 15px;
    color: #98c3ff;
    color: inherit;
    transition: all 0.25s linear;
}

.game .equipped-btn.thing-interactive,
.game .time-of-day-btn.thing-interactive,
.game .time-limit-btn.thing-interactive,
.game .expiry-time-btn.thing-interactive,
.game .mkt-value-btn.thing-interactive {
    padding: 1px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -3px -8px;
}

.game .equipped-btn.thing-interactive:focus,
.game .time-of-day-btn.thing-interactive:focus,
.game .time-limit-btn.thing-interactive:focus,
.game .expiry-time-btn.thing-interactive:focus,
.game .mkt-value-btn.thing-interactive:focus {
    border: 1px solid;
}


.mkt-value-btn.thing-interactive img.token-icon-small {
    margin: -1px 0 0 10px;
}

.game .expiry-time-btn,
.time-of-day-btn:hover,
button.credits-clicker:hover,
.plain-button:hover {
    color: #f0f0f0;
}

h4 .plain-button {
    font-size: inherit;
}

button.credits-clicker.highlight,
.item-info .mkt-value-btn,
.item-info .time-of-day-btn,
button.time-limit-btn.nostyle,
button.buff-expiry-btn.nostyle,
.game .buff-expiry-time-btn,
.expiry-time-btn {
    color: #f0f0f0;
    font-size: 14px;
}

/* #level-opponent-dropdown {
    margin: -6px 0 -11px;
} */

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

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

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

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

canvas#starryBackground {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    display: none;
}

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

#turn-type-wrap {
    display: flex;
    float: left;
    width: 100%;
    margin-top: 25px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

#turn-type-wrap #turn-type-button {
    width: 57px;
    margin-bottom: 25px;
    box-shadow: none;
}

#turn-type-button img {
    width: 39px;
    height: auto;
}

#combatants-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

#combatants-wrap .combatant-div {
    text-align: center;
    border: 1px solid #48658b;
    padding: 10px 25px;
    box-sizing: border-box;
    background: black;
    border-radius: 5px;
}

#combatants-wrap .combatant-div h2 {
    color: #ff0000;
}

button.generating {
    color: #f0f0f0;
    text-shadow: 1px 1px 0 black;
}


button.generating:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #fffe00, #ffb734);
    border-radius: 100%;
    animation: spin 1s linear infinite;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
    pointer-events: none;
}

button.generating:after {
    content: "";
    display: block;
    background-color: #1e2c3f;
    background-color: #000;
    position: absolute;
    padding: 10px;
    box-sizing: border-box;
    left: 15px;
    top: 15px;
    z-index: -1;
    bottom: 15px;
    right: 15px;
    border-radius: 100%;
    box-shadow: 1px 1px 2px #ffffff, 1px 1px #b29100 inset, 2px 2px #c09c00 inset;
    pointer-events: none;
}

/* When mouseexit */
.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);
}

.button-wrap a.button.default-btn {
    display: block;
    color: black;
    text-decoration: none;
    box-sizing: border-box;
    padding: 6px 15px;
    border-radius: 5px;
}

.one h2,
.one input,
.one select,
.one textarea,
.one textarea::placeholder,
.one input::placeholder,
.textarea-div:focus,
#editable-div-wrap .placeholder,
#user-turn-input {
    color: #fad373;
}

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

.one button,
button.one,
.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,
.button.one:hover,
.button.one:active,
.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);
}

button.one.pp.generating,
.game button.one.pp:disabled {
    box-shadow: 1px 1px white inset, 1px 1px #000, 2px 2px #00c03f;
}

button.generating.pp:before {
    background: linear-gradient(0deg, #000000, #59ffa1);
}

button.generating.pp:after {
    box-shadow: 1px 1px 2px #009a29, 1px 1px #000000 inset, 2px 2px #00c03f inset;
}

.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 {
    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 {
    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 {
    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 {
    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 {
    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.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);
}

.six button,
button.six {
    background: linear-gradient(274deg, #41c447, #89ea8d);
    box-shadow: 1px 1px 2px #96ff9b inset, 1px 1px #238d28, 2px 2px #41c447, 3px 3px #41c447;
}

/* 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;
}

canvas {
    max-width: 100%;
    pointer-events: none;
}

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,
.textarea-div {
    color: #f0f0f0;
    background-color: #000000;
    border: 1px solid #48658b;
    padding: 5px 15px;
    text-align: left;
}

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

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

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

.textarea-div {
    cursor: text;
}

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

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

/* input,
select,
textarea,
#hover-desc {
    box-shadow: 1px 1px 3px #000000, 0 0 5px black;
} */

/* .game #submit-turn-button.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 {
    margin: 0 auto;
    font-size: 15px;
    padding: 10px 10px 0;
    position: relative;
}

#game-header-wrap h1,
#game-header-wrap>span,
#game-header-wrap>button {
    border: 1px solid #48658b;
    background: #000;
    padding: 2px 10px;
    border-radius: 5px;
    white-space: nowrap;
    color: #98c3ff;
    font-size: 15px;
    line-height: 23px;
}

#game-header-wrap .weather-clicker {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

#game-footer-wrap {
    width: unset;
    top: unset;
    bottom: -127px;
    /* position: sticky; */
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    float: left;
    margin: 0 auto;
    /* margin: -67px auto 25px; */
    gap: 7px;
    box-sizing: border-box;
}

#game-header-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    width: 100%;
    margin: 0 auto;
    gap: 7px;
    box-sizing: border-box;
}

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

#game-footer-wrap button,
#turn-price-button,
#turn-type-button {
    color: inherit;
    position: relative;
    white-space: nowrap;
    border: 1px solid #48658b;
    width: 60px;
    height: 60px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #000;
    letter-spacing: 0.1px;
}

#game-footer-wrap button:hover,
#turn-type-button:hover,
#turn-price-button:hover {
    transform: translateY(1px) translateX(1px) rotate(1deg);
    background-color: rgba(68, 140, 255, 0.59);
    border-color: rgba(68, 140, 255, 0.59);
}

#game-footer-wrap button img,
#game-footer-wrap button span,
#game-footer-wrap button img,
#game-footer-wrap button span,
#turn-type-button img,
#map .zone {
    transition: all 0.2s linear;
}

#game-footer-wrap button:hover img,
#game-footer-wrap button:hover span,
#game-footer-wrap button:hover img,
#game-footer-wrap button:hover span,
#turn-type-button:hover img,
#map .zone:hover {
    transform: translateY(1px) translateX(1px) rotate(1deg) scale(1.2);
}

#game-footer-wrap button span.button-value {
    position: absolute;
    left: -1px;
    bottom: -1px;
    padding: 0px 4px;
    background: #000000;
    border-radius: 0 4px 0 4px;
    font-size: 15px;
    z-index: 2;
}

#game-footer-wrap button:hover span,
#game-footer-wrap button:hover span,
#turn-price-button:hover {
    color: #f0f0f0;
}

button.nostyle.modal-x-btn {
    position: absolute;
    right: 2px;
    top: 2px;
    color: inherit;
    text-decoration: none;
    line-height: 33px;
    font-size: 27px;
    padding: 0px 10px;
    z-index: 300;
    background: #000;
    padding: 10px;
    border: 1px solid #48658b;
    width: 34px;
    height: 34px;
    transition: all 0.25s ease-in;
}

button.nostyle.modal-x-btn:hover {
    transform: translateY(1px) translateX(1px) rotate(3deg) scale(1.2);
    background-color: rgba(68, 140, 255, 0.59);
    border-color: rgba(68, 140, 255, 0.59);
}

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

.modal-x-btn::after,
.modal-x-btn::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 6px;
    width: 20px;
    height: 3px;
    border-radius: 100%;
    background-color: #f0f0f0;
    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);
}

#inventory-modal,
#quests-modal,
#spellbook-modal,
#hitpoints-modal {
    width: 425px;
}

#gear-modal,
#transactions-modal,
#credits-log-modal,
#reputation-modal,
#personality-history-modal,
#turn-history-modal,
#buffs-modal {
    width: 410px;
}

#learn-magic-modal {
    width: 320px;
}

#inventory-modal h3,
#quests-modal h3,
#stats-modal h3,
#personality-modal h3,
#spellbook-modal h3,
#gear-modal h3,
#buffs-modal h3,
#magic-modal h3,
#map-modal h3,
#options-modal h3,
#credits-wrap h3,
#pricing-modal h3,
#reputation-modal h3,
#personality-history-modal h3,
#turn-history-modal h3,
#transactions-modal h3,
#hitpoints-modal h3,
#hunger-modal h3,
#thirst-modal h3,
#exhaustion-modal h3,
#buy-sell-modal h3,
#credits-log-modal h3,
.major-title {
    color: #ffce54;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}


#stats-modal .opponent-wrap {
    padding: 10px 5px;
    border: 1px solid #48658b;
    border-radius: 5px;
    margin: 0 0 15px;
}

#stats-modal .opponent-type-dropdown {
    margin-top: 10px;
}

#stats-modal .thing-interactive {
    width: fit-content;
}

#player-stats-list>p {
    display: grid;
    grid-template-columns: 120px 1fr;
}

/* #player-stats-list>p span:nth-of-type(1) {
    text-align: left;
} */

#player-stats-list>p>span:nth-of-type(2) {
    text-align: right;
    display: grid;
    grid-template-columns: 1fr 13px 1fr;
    gap: 10px;
    width: 140px;
}

#player-stats-list>p>span:nth-of-type(2)>span:nth-of-type(1) {
    text-align: right;
}

#player-stats-list>p>span:nth-of-type(2)>span:nth-of-type(2) {
    text-align: left;
}

#pricing-modal h3 {
    color: #f0f0f0;
}

.package-price {
    color: #fad373;
    margin-right: 10px;
}

.package-price>span {
    font-size: 17px;
    color: #98c3ff;
    margin-right: 2px;
}

.sub-tier-sub-header .small .highlight>span {
    color: #98c3ff;
    margin-right: 2px;
    font-size: 14px;
}

.modal-value-wrap {
    padding: 15px;
    margin: 0 -15px;
}

.dashed-top {
    border-top: 1px dashed;
}

#credits-wrap button.buy-more {
    margin: 10px 0 20px;
}

#options-modal .game-details {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    text-align: left;
    border: 0.75px dashed;
    background-color: rgb(0 0 0 / 31%);
    background-color: #000;
    border-radius: 5px;
}

#options-modal .game-details>span,
#options-modal .game-details>div {
    border-top: 0.75px dashed;
    padding: 15px;
    display: flex;
    gap: 15px;
    flex-direction: column;
}

#options-modal .game-details>span:first-of-type,
#options-modal .game-details>div:first-of-type {
    border-top: none;
}

#options-modal .game-details .label {
    display: flex;
    justify-content: space-between;
}

#credits-log-list,
#quests-list,
#inventory-list,
#spellbook-spells-list,
#gear-list,
#transactions-list,
#hitpoints-list,
#turn-history-list,
#reputation-list,
.buffs-list,
#personality-history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    text-align: left;
}

#inventory-list h4,
#spellbook-spells-list h4,
#gear-list h4,
#transactions-list h4,
#hitpoints-list h4,
#turn-history-list h4,
#reputation-list h4,
.buffs-list h4,
#personality-history-list h4 {
    display: flex;
    justify-content: space-between;
}

.credits-icon {
    width: 57px;
    height: 57px;
}

.zone-icon {
    width: 55px;
    height: auto;
}

.context-icon {
    width: 28px;
    height: auto;
}

.reputation-icon {
    width: 54px;
    height: auto;
}

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

.quest-item,
.inventory-item,
.credits-item,
.spell-item,
.turn-history-item {
    position: relative;
    border: 1px solid #48658b;
    border: 1px solid;
    border-radius: 5px;
    overflow: hidden;
}

.spell-item {
    border: 1px solid;
}

.inventory-item h4,
.quest-item h4,
.credits-item h4,
.spell-item h4 {
    cursor: pointer;
}

.loaded .inventory-item h4:hover,
.loaded .quest-item h4:hover,
.loaded .credits-item h4:hover,
.loaded .spell-item h4:hover {
    color: #f0f0f0;
}

.item-info {
    visibility: hidden;
    float: left;
    width: 100%;
    font-size: 14px;
    max-height: 0;
    overflow-y: hidden;
    transition: all 1s linear;
}

.expanded .item-info {
    visibility: visible;
    max-height: 2024px;
    border-radius: 0 0 4px 4px;
}

.modal .description {
    border-top: 1px dashed;
    padding: 15px;
    margin: 0;
    float: left;
    width: 100%;
    box-sizing: border-box;
}

.token-icon-small {
    width: 24px;
    height: 24px;
    margin-bottom: -7px;
}

.context-icon-small {
    margin: 0 0 -8px;
    width: 16px;
    height: auto;
}

.reputation-icon-small {
    width: 24px;
    height: 24px;
    margin-bottom: -6px;
}

.empty-thing-list {
    color: #f0f0f0;
    font-size: 15px;
    margin: 5px 0 10px;
    text-align: center;
}

.highlight,
.separator {
    color: #f0f0f0;
}

/* Personality */
#personality {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 350px;
    background-color: #98c3ff;
    border: 1px solid;
    gap: 1px;
    margin: 0 auto;
    margin-bottom: 20px;
}

#personality .row {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
}

#personality .row.final-row {
    color: #f0f0f0;
}


#personality .row button {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 42px;
    border: none;
    gap: 1px;
    padding: 0;
    font-size: 15px;
}

#personality .row button:hover {
    scale: 1;
}

#personality .row button:nth-of-type(2n) {
    grid-template-columns: 42px 1fr;
}

#personality .row button span {
    display: flex;
    align-items: center;
    justify-content: center;
}

#personality .row button .name {
    grid-column: 1 / 2;
    /* gap: 1px; */
    background-color: #122236;
    width: 100%;
    height: 100%;
    padding: 9px 0;
    box-sizing: border-box;
}

#personality .row button:nth-of-type(2n) .name {
    grid-column: 2 / 3;
}

#personality .row button .value {
    grid-column: 2 / 3;
    background-color: #122236;
    width: 100%;
    height: 100%;
    padding: 5px 2px;
    box-sizing: border-box;
}

#personality .row button:nth-of-type(2n) .value {
    grid-column: 1 / 2;
}

/* Magic */

#magic-schools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 300px;
    max-width: 100%;
    margin-bottom: 20px;
}

#magic-schools .row {
    grid-column: 1/3;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

#magic-schools .row .full-width {
    grid-column: 1/3;
}

#magic-schools .row .half-width {
    grid-column: 1/2;
}

#magic-schools .row .half-width:nth-of-type(2) {
    grid-column: 2/3;
}

#magic-schools .row div {
    position: relative;
    padding: 7px;
    border: 1px solid;
    box-sizing: border-box;
    cursor: pointer;
}

button.magic-school-btn,
button.personality-btn {
    background: transparent;
    color: inherit;
    border: 1px solid;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    padding: 8px 0;
}

/* Magic */
.basic.active,
.basic:hover {
    background-color: #2e4868;
    /* background: linear-gradient(125deg, #98c3ff, #2e4868); */
    color: #c6ecff;
}

.basic .corner {
    border-color: #98c3ff;
}

.earth.active,
.earth:hover {
    background-color: #4d3100;
    /* background: linear-gradient(125deg, #ac7920, #4d3100); */
    color: #dda33e;
    border-color: #dda33e;
}

.earth .corner {
    border-color: #ac7920;
}

.air.active,
.air:hover {
    background-color: #376a83;
    /* background: linear-gradient(125deg, #9cdeff, #376a83); */
    color: #c9edff;
    border-color: #c9edff;
}

.air .corner {
    border-color: #c9edff;
}

/* .water-spell::before, */
.water.active,
.water:hover {
    background-color: #143a46;
    /* background: linear-gradient(125deg, #52d8fb, #143a46); */
    color: #a4ecff;
    border-color: #a4ecff;
}

.water .corner {
    border-color: #a4ecff;
}

.fire.active,
.fire:hover {
    background-color: #590303;
    /* background: linear-gradient(125deg, #830b0b, #680000); */
    color: #f69e6a;
    border-color: #f69e6a;
}

.fire .corner {
    border-color: #f69e6a;
}

.nature.active,
.nature:hover {
    background-color: #3a6300;
    /* background: linear-gradient(125deg, #95ff00, #457600); */
    color: #cdff86;
    border-color: #90c941;
}

.nature .corner {
    border-color: #90c941;
}

.tech.active,
.tech:hover {
    background-color: #430092;
    /* background: linear-gradient(125deg, #9b47ff, #430092); */
    color: #c594ff;
    border-color: #c594ff;
}

.tech .corner {
    border-color: #c594ff;
}

.vitalistic.active,
.vitalistic:hover {
    background-color: #005d18;
    /* background: linear-gradient(125deg, #00ff42, #005d18); */
    color: #c6ffd4;
    border-color: #c6ffd4;
}

.vitalistic .corner {
    border-color: #91ffad;
}

.necrotic.active,
.necrotic:hover {
    background-color: #2a2a2a;
    /* background: linear-gradient(125deg, #ccc, #2a2a2a); */
    color: #ccc;
    border-color: #ccc;
}

.necrotic .corner {
    border-color: #ccc;
}

.divine.active,
.divine:hover {
    background-color: #363b00;
    /* background: linear-gradient(125deg, #fffb00, #363b00); */
    color: #fffb00;
    border-color: #fffb00;
}

.divine .corner {
    border-color: #fffb00;
}

.infernal.active,
.infernal:hover {
    background-color: #240000;
    /* background: linear-gradient(125deg, #ff0000, #390000); */
    color: #f343ff;
    border-color: #f343ff;
}

.infernal .corner {
    border-color: #f343ff;
}

.arcane.active,
.arcane:hover {
    background-color: #520089;
    /* background: linear-gradient(125deg, #d100ff, #520089); */
    color: #e779ff;
    border-color: #e779ff;
}

.arcane .corner {
    border-color: #e779ff;
}

.corner {
    opacity: 0;
    position: absolute;
    width: 9px;
    height: 9px;
    animation: pulse 2s infinite;
    transform-origin: center center;
}

.loaded .corner {
    transition: opacity 0.25s linear;
}

#magic-schools .row button:hover .corner {
    opacity: 1;
}

.corner.top-left {
    border-left: 1px solid;
    border-top: 1px solid;
    border-radius: 3px 0 0 0;
}

.corner.top-right {
    border-right: 1px solid;
    border-top: 1px solid;
    border-radius: 0 3px 0 0;
}

.corner.bottom-left {
    border-left: 1px solid;
    border-bottom: 1px solid;
    border-radius: 0 0 0 3px;
}

.corner.bottom-right {
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-radius: 0 0 3px 0;
}

/* Top-left corner */
.top-left {
    top: -6px;
    left: -6px;
}

/* Top-right corner */
.top-right {
    top: -6px;
    right: -6px;
}

/* Bottom-left corner */
.bottom-left {
    bottom: -6px;
    left: -6px;
}

/* Bottom-right corner */
.bottom-right {
    bottom: -6px;
    right: -6px;
}

@keyframes pulse {
    0% {
        width: 10px;
        height: 10px;
        margin: 0;
    }

    50% {
        width: 13px;
        height: 13px;
        margin: 0px;
    }

    100% {
        width: 10px;
        height: 10px;
        margin: 0;
    }
}

.decimal,
.percent {
    font-size: 80%;
}

.token-icon {
    width: 56px;
    height: auto;
}

.gear-icon {
    width: 53px;
    height: auto;
}

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

#inventory-modal .inventory-icon {
    margin: 0 7px -7px 0;
    width: 48px;
    height: auto;
}

#magic-modal .magic-icon {
    margin: -11px -4px -15px 0;
    width: 56px;
    height: auto;
}

.spellbook-icon {
    width: 61px;
    height: auto;
}

#spellbook-modal .spellbook-icon {
    margin: 0 7px -8px 0;
    width: 56px;
    height: auto;
}

.quests-icon {
    width: 56px;
    height: auto;
}

#quests-modal .quests-icon {
    margin: 0 7px -7px 0;
    width: 52px;
    height: auto;
}

.quest-steps-wrap {
    float: left;
    box-sizing: border-box;
    background-color: rgb(0 0 0 / 31%);
    background-color: #000;
    width: 100%;
}

.quest-steps-wrap p,
.quest-impacts-wrap p {
    float: left;
    width: 100%;
    padding: 10px 15px;
    margin: 0;
    box-sizing: border-box;
    border-top: 0.75px dashed;
}

.quest-steps-wrap p:last-child,
.quest-impacts-wrap p:last-child {
    border-bottom: none;
}

.quest-impacts-wrap {
    float: left;
    box-sizing: border-box;
    background-color: rgb(0 0 0 / 31%);
    background-color: #000;
    width: 100%;
}

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

.hit-points-icon {
    width: 50px;
    height: auto;
}

.hit-points-icon.small {
    width: 47px;
    /* position: relative; */
    /* margin: 0 6px -6px 0; */
}

.buff-icon {
    width: 30px;
    height: auto;
}

.hunger-icon {
    width: 56px;
    height: auto;
}

.thirst-icon {
    width: 34px;
    height: auto;
}

.exhaustion-icon {
    width: 58px;
    height: auto;
}

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

.companion-icon {
    width: 60px;
    height: auto;
}

.stats-icon {
    width: 58px;
    height: auto;
}

/* 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 and interactive buttons */
thing,
.thing-interactive {
    text-decoration: underline;
    cursor: pointer;
}

/* Remove default button styling for thing-interactive */
.thing-interactive {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'DynaPuff', monospace;
    letter-spacing: 0.1px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-align: inherit;
    display: inline;
    border-radius: 0;
}

.thing-interactive:focus {
    outline: none;
}

.thing-interactive:focus-visible {
    outline: 2px solid #f0f0f0;
    outline-offset: 2px;
    border: 1px solid;
}

thing.righteous,
.thing-interactive.righteous {
    background-color: #a9dc41;
    color: black;
}

thing.wicked,
.thing-interactive.wicked {
    background-color: #cd32a1;
    color: black;
}

/* Thing Modals */
.modal-p {
    padding: 0 15px;
}

.space-between,
.modal-p.space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.thing-p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    margin: 0;
    border-top: 1px dashed;
    background-color: rgb(0 0 0 / 31%);
    background-color: #000;
    text-align: left;
}

.thing-p span:nth-of-type(2n) {
    color: #f0f0f0;
}

.modal.zone-modal .thing-p span:nth-of-type(2n),
.modal.place-modal .thing-p span:nth-of-type(2n) {
    color: inherit;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.item-info.quest-item .thing-p {
    border-top: 0.75px solid #48658b;
    border-color: #48658b;
}

.item-info.quest-item .thing-p:last-of-type {
    border-bottom: 0.75px solid #48658b;
}

.game-settings-modal .thing-p {
    justify-content: end;
    gap: 10px;
    text-align: right;
}

.game-settings-modal .thing-p .highlight {
    margin-right: auto;
}

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

#game-text-wrap {
    position: relative;
    float: left;
    width: 100%;
    text-align: left;
    border: 1px solid #48658b;
    /* margin-top: 25px; */
    padding: 10px 25px;
    box-sizing: border-box;
    background: black;
    border-radius: 5px;
}

#game-text {
    opacity: 0;
    pointer-events: none;
}

.loaded #game-text {
    transition: opacity 0.25s ease-in;
}

#game-text.processed {
    pointer-events: auto;
    opacity: 1;
}

#game-text h2,
#game-text h3 {
    font-family: 'DynaPuff', sans-serif;
    letter-spacing: 0.1px;
    color: #f0f0f0;
}

#custom-audio-player {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: inherit;
    width: 100%;
    margin-top: 25px;
}

#turn-form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 25px;
    flex-direction: column;
    margin-bottom: 0;
}

#user-turn-input {
    height: 38px;
    line-height: 20px;
    height: auto;
    padding: 16px 15px;
    box-sizing: border-box;
    border: 1px solid #48658b;
    transition: outline 0.25s ease-in;
}

#user-turn-input:hover {
    color: #f0f0f0;
    background-color: rgba(68, 140, 255, 0.59);
    border-color: rgba(68, 140, 255, 0.59);
}

#user-turn-input:hover+.placeholder {
    color: #f0f0f0;
}

#user-turn-input.turn {
    pointer-events: none;
}

#user-turn-input.generating-msg {
    pointer-events: none;
}

#user-turn-input:focus {
    outline: none;
    /* border-color: #f0f0f0; */
    color: #f0f0f0;
}

#submit-turn-button,
#start-button {
    white-space: nowrap;
    border-radius: 100%;
    width: 72px;
    height: 72px;
    width: 76px;
    height: 76px;
}

.input-controls {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

#command-list-output {
    text-align: center;
}

#turn-price-button.nostyle {
    color: #f0f0f0;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.2s ease;
}

#turn-price-button.nostyle img {
    transition: all 0.2s ease;
}

#turn-price-button.nostyle:hover {
    color: #f0f0f0;
    scale: 1.09;
}

#turn-price-button.nostyle:hover img {
    scale: 1.2;
}

.input-wrap-one,
.just-starting-input-controls {
    display: flex;
    align-items: center;
    gap: 25px;
    float: left;
    justify-content: center;
}

.voice-btn {
    position: relative;
    border: none;
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    display: none;
    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);
    }
}

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

/* SYNC */

.sync-word {
    color: inherit;
    border: 1px solid rgba(68, 140, 255, 0.0);
    transition: color 0.25s linear;
}

.sync-word.active-word {
    color: #f0f0f0;
    background-color: rgba(68, 140, 255, 0.59);
    border: 1px solid rgba(68, 140, 255, 0.59);
    padding: 3px 7px;
    margin: -3px -7px;
    border-radius: 5px;
    transition: color 0.25s linear;
}

#support-modal {
    width: 300px;
}

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

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

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    border: 15px solid rgb(18 34 54);
    border-top: 15px solid #98c3ff;
    border-radius: 50%;
    animation: spin 1s linear infinite, scaleIn 3.25s ease-out forwards;
    box-sizing: border-box;
    /* box-shadow: 2px 3px; */
}

@keyframes scaleIn {
    from {
        opacity: 0.6;
        scale: 0.6;
    }

    to {
        opacity: 1;
        scale: 1.4;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-spinner::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #98c3ff;
    box-sizing: border-box;
    /* box-shadow: 2px 2px 0px #cef0ff7a; */
}

.loading-spinner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #98c3ff;
    box-sizing: border-box;
    /* box-shadow: 2px 2px 0px #cef0ff7a inset; */
}

.visible {
    display: block;
}

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;
}

/* 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;
    background-color: #000;
    /* box-shadow: 2px 2px 0px #0f1b2a; */
    font-size: 15px;
    box-sizing: border-box;
    z-index: 150;
}

#cookie-banner button {
    letter-spacing: -0.6px;
    font-family: "IBMPlexMono", monospace;
}

#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;
}

.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;
    background-color: #000;
    color: #f0f0f0;
    border-radius: 5px;
    animation: fadeIn 0.25s linear forwards;
}

footer {
    margin: 0;
    text-align: center;
    color: #f0f0f0;
    position: static;
    float: left;
    width: 100%;
    padding: 25px 20px;
    box-sizing: border-box;
    border-top: 1px solid #48658b;
    background-color: #000;
    /* box-shadow: 1px 1px 3px #000000, 0 0 5px black; */
}

footer p {
    margin: 10px 0;
}

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

.checked-symbol,
.count {
    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;
}

.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 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;
}

#selection-screen-info,
#new-game-credits {
    width: 650px;
    max-width: 96%;
    margin: 15px 0 0;
    position: relative;
    border-radius: 5px;
    border: 1px solid #48658b;
    background-color: #122236;
    background-color: #000;
    padding: 10px 26px 0;
    box-sizing: border-box;
    overflow: hidden;
    text-align: left;
}

#new-game-credits {
    width: 350px;
}

.settings-wrap {
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 10px;
    width: 650px;
    max-width: 98%;
    margin: 25px 0 10px;
    position: relative;
    border-radius: 5px;
    border: 1px solid #48658b;
    background-color: #122236;
    background-color: #000;
    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;
}

#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: 5px;
}

.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: 40px;
    right: 0;
    bottom: 40px;
    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: rgb(0 0 0 / 25%); */
    transition: all 0.25s linear;
}

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

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

.modal h5 {
    padding: 10px 15px 0;
    margin: 0;
    border-top: 1px dashed;
    font-size: 17px;
}

.modal .description.place-description {
    border: none;
}

label:focus {
    outline: 1px solid #f0f0f0;
}

#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: 326px;
}

#register-modal input,
#register-modal input:-webkit-autofill,
#register-modal input:-webkit-autofill:focus {
    color: #4cfcff !important;
    /* -webkit-text-fill-color: #4cfcff !important; */
}

#login-modal input,
#login-modal input:-webkit-autofill,
#login-modal input:-webkit-autofill:focus {
    color: #ffa8fa !important;
    /* -webkit-text-fill-color: #ffa8fa !important; */
}

#reset-modal input,
#reset-modal input:-webkit-autofill,
#reset-modal input:-webkit-autofill:focus {
    color: #fad373 !important;
    /* -webkit-text-fill-color: #fad373 !important; */
}

#login-modal input:focus,
#register-modal input:focus,
#reset-modal input:focus {
    border-color: #6afcff;
}

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

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

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

.modal-msg.success,
.modal-msg.error {
    margin: 10px 0 15px;
}

.success {
    color: #6afcff;
}

.error,
.fail {
    color: #f84949;
}

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

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

.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;
}

.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 {
    background-color: #f69e6a;
    float: none;
    width: 50%;
    margin: 15px 25% 25px;
}

button,
.choose-sub,
a.button {
    cursor: pointer;
    border: none;
    position: relative;
    padding: 10px 15px;
    font-size: 18px;
    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;
}

.editable-div-wrap {
    position: relative;
    float: left;
    width: 100%;
    max-width: 550px;
}

.editable-div-wrap .placeholder {
    color: #fad373;
    pointer-events: none;
    position: absolute;
    top: 13px;
    left: 0;
    padding: 0 15px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    transition: opacity 0.25s linear;
}

.editable-div-wrap.focused .placeholder {
    opacity: 0;
}

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;
}

label.checkbox:hover .checkmark,
input:hover {
    background-color: #1e2c3f;
    background-color: rgba(68, 140, 255, 0.59);
    border-color: rgba(68, 140, 255, 0.59);
}

.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.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;
    width: 475px;
    text-align: left;
    padding: 0;
}

#thing-modal.quest-modal {
    width: 390px;
    width: 475px;
}

#thing-modal.quest-modal.item-modal {
    width: 390px;
}

#thing-modal.item-modal {
    width: 390px;
}

#thing-modal.npc-modal {
    width: 400px;
}

#thing-modal.zone-modal {
    width: 430px;
    border: none;
}

#thing-modal.place-modal {
    width: 415px;
    border: none;
}

#school-modal {
    width: 300px;
    padding: 0;
}

#thing-modal h4,
#quests-modal h4,
#inventory-modal h4,
#spellbook-modal h4,
#gear-modal h4,
#transactions-modal h4,
#credits-log-modal h4,
#hitpoints-modal h4,
#reputation-modal h4,
#personality-history-modal h4,
#turn-history-modal h4,
#buffs-modal h4 {
    padding: 5px 15px;
    background-color: #000;
    border-radius: 5px 5px 0 0;
    margin: 0;
    font-size: 120%;
}

#spellbook-modal h4,
#inventory-modal .spell-item h4 {
    background: none;
}

#thing-modal h4,
#quests-modal h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#thing-modal.quest-modal h4,
.item-element.quest h4,
.quest-item h4 {
    color: #e6c284;
}

#thing-modal .expanded h4,
#quests-modal .expanded h4,
#inventory-modal .expanded h4,
#spellbook-modal .expanded h4,
#gear-modal .expanded h4,
#transactions-modal .expanded h4,
#hitpoints-modal .expanded h4,
#turn-history-modal .expanded h4,
#reputation-modal .expanded h4,
#personality-history-modal .expanded h4 {
    border-radius: 5px 4px 0 0;
}

#thing-modal h4,
#thing-modal h4 button,
#quests-modal h4,
#inventory-modal h4,
#inventory-modal h4 button,
#spellbook-modal h4,
#gear-modal h4,
#transactions-modal h4,
#hitpoints-modal h4,
#turn-history-modal h4,
#buffs-modal h4,
#thing-modal h3,
#thing-modal h5,
thing {
    font-family: "DynaPuff";
    font-weight: normal;
    letter-spacing: 0.1px;
}

.gear-slot-header {
    text-align: center;
    margin: 0;
}

.empty-gear-slot {
    text-align: center;
    margin: 0;
}

.quest-status-header,
.buff-status-header {
    margin: 0;
}

#info-modal,
#context-modal {
    width: 340px;
    padding: 0;
}

#info-modal h3 {
    padding: 0 15px;
}

#info-modal.llm-models-modal .item,
#info-modal.speech-modal .item,
#info-modal.races-modal .item,
#info-modal.schools-modal .item,
#info-modal.quick-info-modal .item,
#info-modal.difficulty-modal .item,
#info-modal.death-penalty-modal .item {
    padding: 0;
}

#info-modal.llm-models-modal .thing-p,
#info-modal.speech-modal .thing-p,
#info-modal.races-modal .thing-p,
#info-modal.schools-modal .thing-p,
#info-modal.quick-info-modal .thing-p,
#info-modal.difficulty-modal .thing-p,
#info-modal.death-penalty-modal .thing-p {
    padding: 15px;
}

.speech-modal .item,
.speech-modal .modal-p {
    text-align: center;
}

thing,
.thing-interactive,
.loaded button.thing-interactive {
    text-decoration: none;
    padding: 0px 5px;
    border-radius: 2px;
    font-size: 100%;
    box-shadow: none;
    display: inline-block;
    height: unset;
    width: unset;
    border: 1px dashed;
    transition: scale 0.15s linear, transform 0.15s linear;
}

thing:hover,
.thing-interactive:hover,
button.thing-interactive:hover {
    border: 1px solid;
}

#stats-modal .thing-interactive:hover {
    color: #f0f0f0;
    background-color: rgba(68, 140, 255, 0.59);
    border-color: rgba(68, 140, 255, 0.59);
}

button.thing-interactive:focus {
    outline: none;
}

button.thing-interactive:focus-visible {
    border-style: solid;
    outline: 2px solid #f0f0f0;
    outline-offset: 2px;
}

thing.friendly,
.thing-interactive.friendly {
    border-color: #5eff81;
    background-color: #005004;
}

thing.friendly,
.thing-interactive.friendly,
.modal.friendly h4,
span.friendly,
span.completed,
.thing-p span.completed,
span.defeated,
button.yes {
    color: #5eff81;
}

thing.neutral,
thing.unpredictable,
.thing-interactive.neutral,
.thing-interactive.unpredictable {
    color: #fad373;
    border-color: #fad373;
    background-color: #634f1f;
}

.item-info .neutral,
.modal.neutral h4,
span.neutral,
span.available,
span.started,
span.active,
.thing-p span.active,
span.unpredictable,
span.disengaged {
    color: #fad373;
}

thing.hostile,
.thing-interactive.hostile,
.item-info thing.hostile,
.item-info .thing-interactive.hostile {
    color: #ff0000;
    background-color: #480000;
}

thing.hostile,
.thing-interactive.hostile {
    border-color: #ff0000;
}

.item-info .hostile,
.modal.hostile h4,
span.hostile,
span.failed,
.thing-p span.failed,
span.fighting,
button.no {
    color: #ff0000;
}

.player-zone {
    z-index: 1;
    position: relative;
}

.player-zone-msg {
    position: relative;
    float: left;
    width: 100%;
    padding-left: 45px;
    box-sizing: border-box;
}

.player-zone::after,
.player-zone-msg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    margin: auto;
    border-radius: 100%;
    background-color: #bb0000;
    border: 1px solid #780000;
}

.player-zone-msg::before {
    left: 15px;
    right: unset;
    margin: none;
}

thing:hover,
.thing-interactive:hover {
    cursor: pointer;
    scale: 1.09;
    transform: translateY(2px) translateX(2px) rotate(1deg);
    border-style: solid;
}

#map .zone:hover {
    z-index: 1000;
}

span.poor,
#thing-modal.poor h4,
.item-element.poor h4 {
    color: #ccc;
}

thing.poor,
.thing-interactive.poor {
    background: #000;
    color: #ccc;
}

span.good,
#thing-modal.good h4,
.item-element.good h4 {
    color: #98ffa0;
}

thing.good,
.thing-interactive.good {
    background: #000;
    color: #98ffa0;
}

span.great,
#thing-modal.great h4,
.item-element.great h4 {
    color: #de7eff;
}

thing.great,
.thing-interactive.great {
    background: #540370;
    background: #000;
    color: #de7eff;
}

span.superb,
#thing-modal.superb h4,
.item-element.superb h4 {
    color: #ff7d00;
}

thing.superb,
.thing-interactive.superb {
    background: #2e1700;
    background: #000;
    color: #ff7d00;
}

#info-modal .item {
    border: 0.75px solid;
    border-radius: 5px;
    margin: 15px;
    overflow: hidden;
    text-align: left;
}

#info-modal .item h2 {
    padding: 0 15px;
}

#info-modal audio,
#info-modal .item>span {
    margin: 15px;
}

#pricing-modal.modal {
    width: 1024;
    padding: 15px;
    box-sizing: border-box;
    text-align: left;
    overflow: auto;
}

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

#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 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: 5px;
    background-color: #000;
    /* box-shadow: 1px 1px 3px #000000, 0 0 5px black; */
}

.sub-tier-header {
    float: left;
    width: 100%;
    font-size: 27px;
    font-weight: 700;
    color: #6afcff;
    text-align: center;
    margin-bottom: 10px;
}

.small {
    font-size: 16px;
}

#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: 27px;
    color: #fad373;
    margin: -5px 0 0;
    text-align: center;
    display: flex;
    float: left;
    align-items: center;
    justify-content: center;
    font-family: "DynaPuff", sans-serif;
    letter-spacing: 0.1px;
}

.sub-tier-sub-header .small {
    color: #98c3ff;
}

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

.sub-tier-benefits>span {
    float: left;
    margin-bottom: 12px;
    width: 100%;
    display: flex;
    /* align-content: center; */
    justify-content: space-between;
    line-height: 20px;
    font-size: 17px;
}

.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: 5px;
}

.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-modal {
    width: 100%;
    height: 100%;
    margin: auto;
}

#map-modal h3 {
    z-index: 111;
    position: fixed;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 15px;
    justify-content: center;
}

.modal-wrap.map {
    top: 0;
    bottom: 0;
    overflow: scroll;
}

.map .modal {
    border: none;
    background-color: transparent;
    padding: 0;
    pointer-events: none;
    max-width: 100vw;
    max-height: 100vh;
}

#map-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    padding: 64px;
    overflow: auto;
    pointer-events: all;
}

#map {
    position: relative;
    pointer-events: none;
    margin: auto;
}

#map .zone {
    pointer-events: all;
    width: 146px;
    height: 146px;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
}

#map .zone .zone-name {
    font-size: 15px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    padding: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "DynaPuff";
    letter-spacing: 0.1px;
}

.zone .zone-type {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px;
    font-size: 13px;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
}

#thing-modal h4,
#thing-modal p.thing-p,
.spell-item .thing-p {
    background-color: transparent;
}

.zone,
.place,
.zone-modal,
.place-modal,
.place-modal .highlight,
.zone-modal .highlight {
    color: #000000;
}

.zone,
.place,
.zone-modal,
.place-modal {
    background-color: #9acd32;
}

#map>.zone:hover {
    border: none;
}

.zone.dark-green,
.place.dark-green,
.dark-green .modal {
    background-color: #184c00;
    color: #6dff9b;
}

.zone.olive-green,
.place.olive-green,
.olive-green .modal {
    background-color: #2e8b57;
    color: #d2ffd3;
    text-shadow: 1px 1px black;
}

.zone.dark-olive-green,
.place.dark-olive-green,
.dark-olive-green .modal {
    background-color: #008080;
    color: #d2ffd3;
    text-shadow: 1px 1px black;
}

.zone.gray,
.place.gray,
.gray .modal {
    background-color: #d3d3d3;
}

.zone.dark-gray,
.place.dark-gray,
.dark-gray .modal {
    background-color: #333;
    color: #ccc;
}

.zone.blueish-green,
.place.blueish-green,
.blueish-green .modal {
    background-color: #72bdc1;
}

.zone.soggy-green,
.place.soggy-green,
.soggy-green .modal {
    color: #ecffaa;
    text-shadow: 1px 1px black;
    background-color: #597200;
}

.zone.orange,
.place.orange,
.orange .modal {
    background-color: #f4a460;
}

.zone.yellowish-orange,
.place.yellowish-orange,
.yellowish-orange .modal {
    background-color: #daa520;
}

.zone.grayish-green,
.place.grayish-green,
.grayish-green .modal {
    background-color: #4f6c21;
    color: #e1ffff;
    text-shadow: 1px 1px black;
}

.zone.yellowish-brown,
.place.yellowish-brown,
.yellowish-brown .modal {
    background-color: #deb887;
}

.zone.blue,
.place.blue,
.blue .modal {
    background-color: #4682b4;
    color: #f0f0f0;
    text-shadow: 1px 1px black;
}

.zone.red,
.place.red,
.red .modal {
    background-color: #ff4500;
    color: #000;
}

.zone.whiteish-green,
.place.whiteish-green,
.whiteish-green .modal {
    /* background-color: #afeeee; */
    background-color: #005c2a;
    color: #afeeee;
}

.zone.white,
.place.white,
.white .modal {
    background-color: #f0ffff;
}

.zone.whiteish-gray,
.place.whiteish-gray,
.whiteish-gray .modal {
    background-color: #d1d1d1;
    color: #000;
}

.zone.brownish-gray,
.place.brownish-gray,
.brownish-gray .modal {
    background-color: #827e4a;
    color: #fff9db;
    text-shadow: 1px 1px black;
}

.deep-red .modal,
.place.deep-red,
.zone.deep-red {
    background-color: #8f1e1e;
    border-color: #630000;
    color: #ffdddd;
    text-shadow: 1px 1px black;
}

.zone.medium-gray,
.place.medium-gray,
.medium-gray .modal {
    background-color: #808080;
    color: #f0f0f0;
    text-shadow: 1px 1px black;
}

.zone.reddish-brown,
.place.reddish-brown,
.reddish-brown .modal {
    background-color: #8b4513;
    border-color: #6b3503;
    color: #f0f0f0;
    text-shadow: 1px 1px black;
}

.zone.green,
.place.green,
.green .modal {
    background-color: #9acd32;
}

.zone.yellow,
.place.yellow,
.yellow .modal {
    background-color: #e1c00f;
    color: #000000;
}

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;
    background-color: #000;
    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,
select,
.textarea-div {
    font-family: inherit;
    border-radius: 5px;
    letter-spacing: -0.8px;
}

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

input,
textarea,
select,
.textarea-div {
    font-size: 16px;
}

button {
    font-family: "DynaPuff", "IBMPlexMono", monospace;
    letter-spacing: 0.1px;
    font-weight: normal;
    color: #000;
    border-radius: 5px;
}

/* #game-header-wrap button,
#game-footer-wrap button,
button#start-button,
button#turn-price-button,
button#submit-turn-button {
    letter-spacing: 0.1px;
    font-family: "DynaPuff", "IBMPlexMono", monospace;
} */

/* Scrollbars */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    opacity: 0;
    background: #000;
    background: transparent;
    width: 0;
}

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

body.rec::-webkit-scrollbar-thumb {
    background: #122236;
    transition: all 0.25s ease-in-out;
}

::-webkit-scrollbar-thumb:active,
::-webkit-scrollbar-thumb:hover {
    background: rgba(68, 140, 255, 0.59);
    border: 1px solid rgba(68, 140, 255, 0.59);
}

::-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: 5px;
    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;
}

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

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

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

button.one, button.two, button.three, button.four, button.five, button.six, button.seven, button.eight, button.nine, button.zero, button.info-clicker {
    letter-spacing: -0.6px;
    font-family: "IBMPlexMono", monospace;
}

#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: 1px solid #48658b;
}

.audio-progress-bar {
    height: 100%;
    background-color: #73d477;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
    z-index: 2;
    border-radius: 20px;
}

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

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

.audio-status-text {
    display: none;
}

/* 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(68, 140, 255, 0.59);
    pointer-events: none;
    z-index: 2;
    top: 0;
}

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

.item {
    padding: 0 15px;
    margin: 0 -10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.wiki .item,
.profile .item {
    border: 1px solid #48658b;
    margin: 15px 5px;
    padding: 0 0 15px;
}

.wiki .description {
    padding: 0 15px;
}

.wiki .races-container .race-item {
    padding-bottom: 0;
}

.wiki .thing-p {
    background: none;
}

.races-modal .thing-p {
    background-color: transparent;
}

/* Just overriding .item set for other stuff than thin tags */
thing.item,
.thing-interactive.item {
    margin: 0;
    padding: 0px 2px;
}

thing.quest,
.thing-interactive.quest {
    background-color: #333;
    color: #e6c284;
}

/* Add a tooltip style */
.part-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    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 all and (max-width: 1200px) {
    #pricing-modal.modal {
        row-gap: 20px;
        width: 350px;
    }

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

    #pricing-modal h3 {
        text-align: center;
    }

    #pricing-tiers {
        grid-template-columns: 1fr;
    }

    #pricing-tiers .sub-tier {
        grid-column: 1/2;
    }
}

@media (max-width: 1000px) {
    #site-wrap {
        width: 100%;
        padding: 0 15px;
    }

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

@media (min-width: 801px) {
    #turn-form {
        flex-direction: row;
    }
}

@media (max-width: 800px) {
    #something a {
        margin-bottom: 25px;
    }
}


@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;
    }

    #game-text-wrap {
        padding: 0 15px;
    }

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

    .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;
    }

    #site-wrap {
        padding: 0;
    }

    #game-text-wrap,
    #user-turn-input,
    .page-content,
    .settings-wrap {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    #game-text-wrap,
    #user-turn-input,
    .page-content,
    footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}