/* Variables */
:root {
    --color-pure-white: #ffffff;
    --color-off-white: #f8f8f8;
    --color-soft-white: #dddddd;
    --color-light-gray: #b0b0b0;
    --color-gray: #666666;
    --color-soft-black: #404040;
    --color-off-black: #080808;
    --color-pure-black: #000000;
    --color-light-red: #ff4444;
    --color-soft-red: #dd0000;
    --color-dark-red: #880000;
    --color-light-green: #44cc44;
    --color-soft-green: #008800;
    --color-dark-green: #005500;
    --color-light-blue: #44cccc;
    --color-soft-blue: #008888;
    --color-dark-blue: #004488;
    --color-dark-purple: #880088;
    --color-neon-purple: #ff00de;
    --color-dark-pink: #cc2060;
    --color-light-brown: #C4A484;
    --color-light-orange: #ffa500;
    --color-dark-orange: #dd8800;
    --color-light-yellow: #ffff00;
    --color-dark-yellow: #999900;
    --text-shadow-black: 1px 1px 0px var(--color-off-black), -1px -1px 0px var(--color-off-black), 1px -1px 0px var(--color-off-black), -1px 1px 0px var(--color-off-black);
    --text-shadow-black-thick: 2px 2px 0px var(--color-off-black), -2px -2px 0px var(--color-off-black), 2px -2px 0px var(--color-off-black), -2px 2px 0px var(--color-off-black);
}

html body {
    background: linear-gradient(35deg, red, purple);
    height: 100vh;
    overflow: hidden;
    user-select: none;
}
#app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    text-align: center;
}
.invisibile {
    opacity: 0;
}

/* Layout */
.harem_stats {
    position: fixed;
    right: 0;
    z-index: 1000;
}
.harem_actions {
    z-index: 100;
    position: fixed;
    bottom: 0;
    left: 0vw;
    width: 67vw;
    display: block;
    margin: 0 auto;
}
.character_listing_parent {
    position: fixed;
    top: 1vh;
    width: 66vw;
    height: 84vh;
    vertical-align: top;
    margin-top: 0vh;
    overflow-y: auto;
}
.display_parent {
    position: absolute;
    top: 5vh;
    right: 0;
    width: 33vw;
    height: 50vh;
    margin-top: 0vh;
}

section.harem_buttons {
    position: fixed;
    bottom: 0;
    width: 66vw;
    font-size: 1.2em;
    vertical-align: top;
    margin-top: 0vh;
    overflow-y: auto;
}
section.harem_buttons button {
    padding: 1em;
}

/* Reused */
.time_cost {
    visibility: hidden;
    opacity: 0.9;
    display: inline-block;
    padding: 0.1em 0.2em;
    margin-top: 0.2em;
    border: 1px solid var(--color-soft-black);
    border-radius: 0.2em;
    background-color: var(--color-off-white);
    color: var(--color-off-black);
    text-shadow: none;
}
button:hover .time_cost {
    visibility: visible;
}
.optional_label {
    font-size: 0.8em;
}
.short_of_amount {
    color: var(--color-light-red);
    font-size: 1em;
    text-shadow: var(--text-shadow-black);
    font-weight: bold;
}

/* Logo */
.main_logo {
    position: absolute;
    top: 1.2vh;
    left: 0.2vw;
    width: 8vw;
    height: auto;
    rotate: -8deg;
}

/* Onboarding */
.onboarding_image {
    position: fixed;
    width: 26vw;
    left: 0;
    bottom: 10vh;
    transform: scaleX(-1);
    animation: fadeInDelayed ease 1s;
}
.onboarding_text {
    position: fixed;
    width: 26vw;
    left: 26vw;
    bottom: 13vh;
    padding: 1em;
    background-color: var(--color-off-black);
    color: var(--color-off-white);
    border-radius: 0.5em;
    display: inline-block;
    font-size: 1.6em;
    font-family: 'Glass Antiqua', monospace;
    font-weight: bold;
    animation: fadeInDelayed ease 1.8s;
}
.onboarding_step_1 {
    animation: fadeInDelayed ease 8s;
}
.player_display_onboarding_text.or_upload_custom {
    margin-top: 0;
}
.player_display .onboarding_step_1 .character_face {
    margin: 1em;
    width: 20%;
}
.onboarding_step_1 .show_advanced_options label {
    float: none;
}
.player_display .onboarding_step_1 .character_face:hover {
    filter: saturate(1.3) contrast(1.3);
}
.player_display_onboarding_text {
    margin-top: 1.5em;
    color: var(--color-off-white);
    font-size: 2em;
    font-family: 'Glass Antiqua', monospace;
    font-weight: bold;
}
.onboarding_step_1 .player_stat_title {
    text-align: center;
}
.onboarding_highlighted_text {
    color: var(--color-light-orange);
    font-size: 2.4em;
    font-family: 'Charm', cursive;
    margin-bottom: 1em;
}
.onboarding_step_1 .player_stat_title input {
    text-align: center;
    font-size: 2em;
}
.onboarding_step_1 select {
    font-size: 1.2em;
}
.complete_onboarding {
    display: inline-block;
    width: 30%;
    margin: 0 auto;
    padding: 0.3em;
    text-align: center;
    font-size: 2em;
    font-family: 'VT323', monospace;
    color: vaR(--color-off-white);
    text-shadow: 1px 1px 0px var(--color-off-black), -1px -1px 0px var(--color-off-black), 1px -1px 0px var(--color-off-black), -1px 1px 0px var(--color-off-black);
    background-image: url(assets/images/textures/diamond-upholstery.png);
    background-size: 20%;
    animation: fadeIn ease 0.5s;
}
.complete_onboarding_love {
    background-color: var(--color-soft-red);
}
.complete_onboarding_cash {
    background-color: var(--color-soft-green);
}
.complete_onboarding_power {
    background-color: var(--color-dark-purple);
}

/* Harem stats */
.harem_stat {
    padding: 0.8em;
    padding-top: 1em;
    padding-bottom: 0.5em;
    line-height: 2em;
    border: 1px solid var(--color-soft-white);
    background: rgba(0, 0, 0, 0.3);
    color: var(--color-soft-white);
}
.stat_label {
    display: inline-block;
    font-size: 1.5em;
    font-family: 'Glass Antiqua', monospace;
    font-weight: bold;
}
.stat_value {
    display: inline-block;
    margin-left: 0.6em;
    font-size: 1.8em;
    font-family: 'VT323', monospace;
    font-weight: bold;
    letter-spacing: 0.1em;
}
.stat_harem .stat_label {
}
.stat_harem .stat_value {
    color: var(--color-light-orange);
    font-size: 2em;
    font-family: 'Charm', cursive;
}
.stat_power .stat_label {
}
.stat_power .stat_value {
    color: var(--color-neon-purple);
}
.stat_cash .stat_label {
}
.stat_cash .stat_value {
    color: var(--color-light-green);
}
.stat_time .stat_label {
}
.stat_time .stat_value {
    margin-left: 0.2em;
    font-family: 'Glass Antiqua', monospace;
    color: var(--color-off-white);
}
.stat_save button {
    vertical-align: top;
    margin-top: 0.1em;
    border: 2px solid var(--color-off-black);
    background-color: var(--color-off-white);
    padding: 0 0.2em;
    font-size: 1.2em;
    font-family: 'VT323', monospace;
}

/* Characters */
.character_card {
    padding-top: 0.4em;
    margin: 0.2em;
    border-radius: 100em;
}
.character_card:hover {
    filter: saturate(1.2) contrast(1.2);
}
.character_card:active {
    filter: brightness(1.2);
}
.character_face {
    box-sizing: border-box;
    border-radius: 100em;
    height: 14vh;
    width: auto;
    outline: 1px solid var(--color-soft-black);
    filter: drop-shadow(5px 4px rgba(0, 0, 0, 0.5));
}
.harem_listing_slave .character_face {
/*    height: 10.5vh;*/
/*    width: 12vh;*/
}
.harem_listing_spouse, .harem_listing_lovers {
    display: inline-block;
}
.harem_listing_title {
    margin-bottom: 0.2em;
    line-height: 0.2em;
    color: var(--color-soft-white);
    text-transform: capitalize;
/*    font-family: 'Charm', cursive;*/
/*    font-family: 'Macondo', cursive;*/
    font-family: 'Glass Antiqua', cursive;
}
.harem_listing_type .harem_listing_title {
    text-shadow: 2px 2px 0px var(--color-off-black), -2px -2px 0px var(--color-off-black), 2px -2px 0px var(--color-off-black), -2px 2px 0px var(--color-off-black);
}
.harem_listing_title_faded {
    color: var(--color-light-gray);
    margin-bottom: 3em;
}
.harem_listing_spouse .harem_listing_title {
/*    font-family: 'Charm', cursive;*/
}
.harem_listing_lover .harem_listing_title {
/*    font-family: 'Bad Script', cursive;*/
}
.harem_listing_concubine .harem_listing_title {
/*    font-family: 'Macondo', cursive;*/
}
.harem_listing_slave .harem_listing_title {
/*    font-family: 'Glass Antiqua', cursive;*/
}
.character_name {
    font-size: 1.6em;
    font-weight: bold;
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    text-shadow: 2px 2px 0px var(--color-off-white), -2px -2px 0px var(--color-off-white), 2px -2px 0px var(--color-off-white), -2px 2px 0px var(--color-off-white);
    filter: drop-shadow(4px 3px rgba(0, 0, 0, 0.5));
}
.harem_listing_type .character_name {
    margin-top: -2vh;
}
.work_left {
    font-size: 1.6em;
    font-weight: bold;
    text-shadow: 2px 2px 0px var(--color-light-gray), -2px -2px 0px var(--color-light-gray), 2px -2px 0px var(--color-light-gray), -2px 2px 0px var(--color-light-gray);
    filter: drop-shadow(4px 3px rgba(0, 0, 0, 0.5));
}
.selected_character .character_face {
    border: 3px solid var(--color-neon-purple);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 1), 0 0 2px rgba(255, 255, 255, 1), 0 0 5px var(--color-neon-purple), 0 0 1px var(--color-neon-purple), 0 0 80px var(--color-neon-purple), 0 0 1px var(--color-neon-purple), 0 0 1px var(--color-neon-purple);
}
.friend_of_selected .character_face {
    border: 3px solid var(--color-soft-green);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 1), 0 0 2px rgba(255, 255, 255, 1), 0 0 5px var(--color-soft-green), 0 0 1px var(--color-soft-green), 0 0 20px var(--color-soft-green), 0 0 1px var(--color-soft-green), 0 0 1px var(--color-soft-green);
}
.lover_of_selected .character_face {
    border: 3px solid var(--color-soft-blue);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 1), 0 0 2px rgba(255, 255, 255, 1), 0 0 5px var(--color-soft-blue), 0 0 1px var(--color-soft-blue), 0 0 20px var(--color-soft-blue), 0 0 1px var(--color-soft-blue), 0 0 1px var(--color-soft-blue);
}
.rival_of_selected .character_face {
    border: 3px solid var(--color-soft-red);
    box-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 1), 0 0 2px rgba(255, 255, 255, 1), 0 0 5px var(--color-soft-red), 0 0 1px var(--color-soft-red), 0 0 20px var(--color-soft-red), 0 0 1px var(--color-soft-red), 0 0 1px var(--color-soft-red);
}

/* Character Overlay */
.character_overlay {
    display: none;
}
.character_card:hover .character_overlay, .character_overlay:has(.active_action) {
    display: block;
    animation: fadeIn ease 0.2s;
}
.character_overlay {
    z-index: 1000;
    position: fixed;
    width: 14vh;
    height: 14vh;
}
.overlay_inner {
    display: block;
    width: 100%;
    height: 100%;
    position:relative;
}
.character_overlay .overlay_action {
    display: inline-block;
    width: 50%;
    height: 50%;
}
.character_overlay .overlay_action img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.overlay_full {
    left: 0;
    top: 0;
    border-radius: 100vh;
    background-color: rgba(50, 50, 50, 0.4);
}
.overlay_top_left, .overlay_top_right, .overlay_bottom_left, .overlay_bottom_right, .overlay_middle {
    background-color: rgba(255, 255, 255, 0.4);
}
.overlay_top_left {
    border-radius: 100vh 0 0 0;
}
.overlay_top_right {
    border-radius: 0 100vh 0 0;
}
.overlay_bottom_left {
    border-radius: 0 0 0 100vh;
}
.overlay_bottom_right {
    border-radius: 0 0 100vh 0;
}
.character_overlay .overlay_middle {
    position: absolute;
    width: 30%;
    height: auto;
    margin-top: -2vh;
    margin-left: -65%;
    border-radius: 100vh;
    border: 1px solid var(--color-pure-black);
}
.character_card:not(.locked) .overlay_full:hover {
    background-color: rgba(50, 50, 50, 0.7);
}
.character_card:not(.locked) .overlay_top_left:hover {
    background-color: rgba(100, 255, 170, 0.7);
}
.character_card:not(.locked) .overlay_top_right:hover {
    background-color: rgba(150, 150, 255, 0.7);
}
.character_card:not(.locked) .overlay_bottom_left:hover {
    background-color: rgba(255, 100, 255, 0.7);
}
.character_card:not(.locked) .overlay_bottom_right:hover {
    background-color: rgba(255, 100, 100, 0.7);
}
body .character_card:not(.locked) .overlay_middle:hover {
    background-color: rgba(230, 230, 230, 0.7);
}
.overlay_top_left.active_action {
    background-color: rgba(100, 255, 170, 1);
}
.overlay_top_right.active_action {
    background-color: rgba(150, 150, 255, 1);
}
.overlay_bottom_left.active_action {
    background-color: rgba(255, 100, 255, 1);
}
.overlay_bottom_right.active_action {
    background-color: rgba(255, 100, 100, 1);
}
body .overlay_middle.active_action {
    background-color: rgba(255, 255, 255, 1);
}

/* Save */
.save_modal {
    z-index: 9999;
    position: fixed;
    height: 92vh;
    width: 84vw;
    top: 5vh;
    left: 8vw;
    overflow-y: auto;
    border: 3px solid var(--color-dark-orange);
    border-radius: 1em;
    background: url(assets/images/textures/shattered.png), var(--color-soft-black);
    color: var(--color-off-white);
}
.save_title {
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: bold;
    font-size: 2em;
    font-family: 'VT323', monospace;
    color: var(--color-off-white);
}
.save_modal button {
    font-size: 1.6em;
    border: 2px solid var(--color-off-black);
    font-family: 'VT323', monospace;
}
.save_listing button {
    height: 2.6em;
    text-align: left;
}
.save_listing button:hover {
    filter: saturate(1.6) contrast(1.6);
}
.save_listing button small {
    font-size: 0.8em;
    margin-left: 3em;
}
.save_listing button small.most_recent_save_time {
    color: var(--color-light-green);
    font-size: 0.9em;
    text-shadow: 1px 1px 0px var(--color-off-black), -1px -1px 0px var(--color-off-black), 1px -1px 0px var(--color-off-black), -1px 1px 0px var(--color-off-black);
}
button.delete_save {
    position: fixed;
    width: auto;
    padding: 0.3em 0.6em;
    background-color: var(--color-light-red);
}
button.manual_save {
    margin-left: 1em;
    width: 5vw;
    background-color: var(--color-light-green);
    vertical-align: top;
    text-align: center;
}
.load_save, .new_game {
    padding: 0.5em;
    width: 50%;
}
.load_save {
    background-color: var(--color-light-blue);
}
.new_game {
    background-color: var(--color-light-gray);
}
.floating_save_close {
    position: fixed;
    margin-top: -5vh;
    right: 6vw;
}
.close_save_button {
    display: block;
    clear: both;
    margin: 2em auto;
}
.main_credit {
    font-size: 1.4em;
    font-family: 'Macondo', cursive;
    color: var(--color-soft-white);
    text-shadow: 1px 1px 0px var(--color-off-black), -1px -1px 0px var(--color-off-black), 1px -1px 0px var(--color-off-black), -1px 1px 0px var(--color-off-black);
}
.version_number {
    display: block;
    padding-right: 3em;
    text-align: right;
    color: var(--color-light-gray);
}

/* Settings */
.settings p {
    font-family: 'Macondo', cursive;
    font-size: 1.4em;
}
.settings h3 {
    font-family: 'VT323', monospace;
}
.settings_row {
    display: block;
    clear: both;
    width: 90%;
    margin: 0 auto;
    padding-top: 1em;
}
.settings_row label {
    float: left;
    text-align: left;
    font-size: 1.2em;
    font-family: 'Macondo', cursive;
}
.settings_row .input {
    float: right;
    max-width: 30%;
    font-family: 'Nanum Gothic Coding', monospace;
    font-size: 1.4em;
}
input.input[type="checkbox"] {
    display: inline;
    transform: scale(1.5);
}
.settings_label {
    display: inline;
}
.upload_limit {
    font-size: 1em;
    color: var(--color-light-gray);
    letter-spacing: 0.05em;
}

/* Conjure */
.summon_button {
    width: 80%;
    margin: 0 auto;
    background-color: var(--color-dark-purple);
    background-image: url(assets/images/textures/diamond-upholstery.png);
    color: var(--color-off-white);
}
.conjure_actions {
    font-size: 1.2em;
    font-weight: bold;
}
.conjure_display {
    overflow-y: auto;
}
.conjure_display button {
    width: 60%;
    margin: 0.2em 0.3em;
    padding: 0.6em;
    font-size: 1.4em;
    font-family: 'VT323', monospace;
}
.conjure_display button:disabled {
    filter: grayscale(50%) brightness(33%);
    cursor: not-allowed;
}
.conjure_row {
    display: block;
    clear: both;
    margin: 0 auto;
    width: 85%;
}
.conjure_row label {
    float: left;
    text-align: left;
    font-size: 1.8em;
    font-family: 'VT323', monospace;
}
.create_mode {
    margin-top: -1em;
}
.conjure_row .input {
    float: right;
}
.conjure_add_dialogue {
    float: right;
}
.conjure_display p {
    font-size: 1.4em;
    font-weight: bold;
}
.import_submit {
    background-color: var(--color-dark-orange);
    background-image: url(assets/images/textures/light-wool.png);
    color: var(--color-off-white);
}
.create_submit {
    background-color: var(--color-dark-orange);
    background-image: url(assets/images/textures/light-wool.png);
    color: var(--color-off-white);
}
.conjure_create {
    background-color: var(--color-dark-green);
    background-image: url(assets/images/textures/light-wool.png);
    color: var(--color-off-white);
}
.conjure_import {
    background-color: var(--color-dark-purple);
    background-image: url(assets/images/textures/light-wool.png);
    color: var(--color-off-white);
}
.conjure_export {
    background-color: var(--color-dark-blue);
    background-image: url(assets/images/textures/light-wool.png);
    color: var(--color-off-white);
}
.conjure_close {
    background-color: var(--color-off-black);
    color: var(--color-off-white);
    background-image: url(assets/images/textures/light-wool.png);
}

/* Event Display */
.event_display {
    display: block;
    width: 98%;
    height: 93vh;
    background-color: var(--color-soft-black);
    color: var(--color-soft-white);
    padding-top: 0.5em;
    border-radius: 3em 3em 0.5em 0.5em;
    animation: fadeIn ease 0.5s;
}
.event_display .character_face {
    width: 50%;
    height: auto;
}
.event_display .event_character_split {
    display: inline-block;
    width: 40%;
    margin: 0 5%;
}
.event_display .event_character_full .character_face {
    width: 35%;
}
.event_display .event_character_split .character_face {
    width: 80%;
}
.event_display .character_name {
    color: var(--color-soft-white);
    text-shadow: 2px 2px 0px var(--color-off-black), -2px -2px 0px var(--color-off-black), 2px -2px 0px var(--color-off-black), -2px 2px 0px var(--color-off-black);
}
.event_scenes {
    display: block;
    padding-top: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    overflow-y: auto;
    font-size: 1.4em;
    font-family: 'Macondo', cursive;
}
.event_scene {
    display: block;
    margin: 1em 0;
    text-align: left;
}
.typing {
    margin-right: 0.3em;
}
.scene_buttons {
    position: fixed;
    bottom: 1vh;
    right: 0.4vw;
    width: 32vw;
    padding-bottom: 1em;
    font-weight: bold;
}
.response_button {
    display: block;
    width: 80%;
    margin: 0 auto;
    margin-top: 0.5em;
    padding: 0.3em;
    text-align: left;
    font-size: 1.2em;
    font-family: 'VT323', monospace;
    background-color: var(--color-dark-yellow);
    background-image: url(assets/images/textures/diamond-upholstery.png);
    background-size: 20%;
    color: var(--color-soft-white);
    text-shadow: 1px 1px 0px var(--color-off-black), -1px -1px 0px var(--color-off-black), 1px -1px 0px var(--color-off-black), -1px 1px 0px var(--color-off-black);
    animation: fadeIn ease 0.5s;
}
.is_night .response_button {
    background-color: var(--color-off-black);
}
.revealed {
    display: block;
    text-align: center;
    margin-top: 0.5em;
}
.revealed_relationship {
    animation: fadeInDelayed ease 0.40s;
}
.revealed_trait {
    animation: fadeInDelayed ease 0.40s;
}
.revealed_arousal {
    animation: fadeInDelayed ease 0.50s
}
.revealed_love {
    animation: fadeInDelayed ease 0.60s
}
.revealed_trust {
    animation: fadeInDelayed ease 0.70s
}
.revealed_obedience {
    animation: fadeInDelayed ease 0.80s
}
.revealed_happiness {
    animation: fadeInDelayed ease 0.90s
}
.revealed_cash {
    animation: fadeInDelayed ease 1.10s;
}
.revealed_sexual_power {
    animation: fadeInDelayed ease 1.30s;
}
.character_reveals {
    display: block;
}
.primary_character_reveals, .passive_character_reveals {
    display: inline-block;
    vertical-align: top;
    width: 49.5%;
}
.primary_reveals_full {
    width: 99% !important;
}
body .arousal_tag {
    position: relative;
}
body .arousal_tag.highest {
    color: var(--color-light-white);
    text-shadow: 1px 1px 0px var(--color-light-red), -1px -1px 0px var(--color-light-red), 1px -1px 0px var(--color-light-red), -1px 1px 0px var(--color-light-red);
    animation: scatter 1.75s infinite;
}
body .arousal_tag.higher {
    color: var(--color-light-red);
    animation: scatter 0.25s infinite;
}
body .arousal_tag.high {
    color: var(--color-dark-purple);
}
body .arousal_tag.lower {
    color: var(--color-dark-blue);
}
body .arousal_tag.lowest {
    color: var(--color-light-gray);
}
body .love_tag {
    color: var(--color-light-blue);
}
body .trust_tag {
    color: var(--color-light-blue);
}
body .obedience_tag {
    color: var(--color-light-blue);
}
body .happiness_tag {
    color: var(--color-light-blue);
}
body .popularity_tag {
    color: var(--color-light-blue);
}
body .cash_tag {
    color: var(--color-light-green);
}
body .sexual_power_tag {
    color: var(--color-neon-purple);
}
body .relationship_tag.friends {
    color: var(--color-light-green);
}
body .relationship_tag.lovers {
    color: var(--color-dark-purple);
}
body .relationship_tag.rivals {
    color: var(--color-light-red);
}
body .negative_tag {
    color: var(--color-light-red);
}
body .positive_tag {
    color: var(--color-light-green);
}

/* Character Display */
.character_display {
    display: block;
    width: 98%;
    height: 93vh;
    padding-top: 0.5em;
    overflow-x: hidden;
    border: 1px solid var(--color-off-black);
    border-radius: 8em 0.5em 0.5em 0.5em;
    animation: fadeIn ease 0.5s;
    background: var(--color-soft-black);
    color: var(--color-soft-white);
}
.character_display .character_name {
    color: var(--color-off-black);
}
.character_display .harem_listing_title {
    display: block;
    margin: 0.8em 0;
    font-size: 2.4em;
    color: var(--color-soft-white);
}
.character_display_section {
    display: inline-block;
    vertical-align: top;
}
.player_display .character_face, .character_display .character_face {
    width: auto;
    height: auto;
    max-height: 20vh;
}
.expand_bio, .expand_options {
    position: fixed;
    right: 1vw;
    font-size: 1.2em;
    font-weight: bold;
}
.expand_bio {
    top: 6vh;
}
.expand_options {
    top: 9vh;
}
.character_bio {
    margin: 0.5em;
    padding: 0.2em;
    font-size: 1.3em;
    font-family: 'Macondo', cursive;
}
.delete_character {
    display: block;
    position: relative;
    clear: both;
    padding: 0.3em;
    width: 33%;
    margin-left: 50%;
    margin-top: 3em;
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.4em;
    font-family: 'VT323', monospace;
    text-shadow: 1px 1px 0px var(--color-off-black), -1px -1px 0px var(--color-off-black), 1px -1px 0px var(--color-off-black), -1px 1px 0px var(--color-off-black);
    color: var(--color-off-white);
    background-color: var(--color-soft-red);
    background-image: url(assets/images/textures/diamond-upholstery.png);
    background-size: 20%;
    animation: fadeIn ease 0.5s;
}
.character_inputs_parent p {
    margin-top: 2em;
}
.uniform_input {
    text-transform: capitalize;
}
.character_display_info {
    width: 100%;
}
.display_actions {
    position: fixed;
    bottom: 2vh;
    width: 32vw;
    font-size: 1.2em;
    font-weight: bold;
}
.display_actions button {
    margin: 0.2em 0.3em;
    padding: 0.6em;
    font-size: 1.4em;
    font-family: 'VT323', monospace;
}

/* Moods */
.mood_parent {
    display: block;
}
.mood_label {
    display: inline-block;
    width: 25%;
    text-align: left;
    font-size: 1.6em;
    font-weight: bold;
    font-family: 'VT323', monospace;
    text-shadow: var(--text-shadow-black);
}
.mood {
    display: inline-block;
    width: 70%;
    font-size: 2.4em;
    text-align: left;
    font-weight: bold;
    font-family: 'Glass Antiqua', cursive;
    text-shadow: var(--text-shadow-black);
    margin-bottom: 0.5em;
}
.highest {
    color: var(--color-light-orange);
}
.higher {
    color: var(--color-soft-blue); 
}
.high {
    color: var(--color-soft-green);
}
.low {
    color: var(--color-dark-purple);
}
.lower {
    color: var(--color-soft-red); 
}
.lowest {
    color: var(--color-dark-red);
}
.arousal_value.higher {
    color: var(--color-light-red);
}
.arousal_value.high {
    color: var(--color-soft-blue);
}
.character_beloved {
    color: var(--color-light-orange);
}
.character_liked {
    color: var(--color-soft-green);
}
.character_unwelcome {
    color: var(--color-dark-purple);
}
.character_hated {
    color: var(--color-soft-red);
}
.character_alone {
    color: var(--color-light-gray);
}

/* Relationships */
.relationship_parent {
    display: inline-block;
    width: 32%;
    text-align: center;
    font-size: 1.6em;
    font-weight: bold;
    font-family: 'Glass Antiqua', cursive;
    text-shadow: var(--text-shadow-black);
}
.relationship_value {
    font-size: 1.8em;
    font-family: 'VT323', monospace;
}
.friends_parent {
    color: var(--color-soft-green);
}
.lovers_parent {
    color: var(--color-soft-blue);
}
.rivals_parent {
    color: var(--color-soft-red);
}
.friend_of_selected .character_name {
    color: var(--color-soft-green);
}
.lover_of_selected .character_name {
    color: var(--color-soft-blue);
}
.rival_of_selected .character_name {
    color: var(--color-soft-red);
}

/* Traits */
.character_trait_label {
    clear: both;
    display: block;
    margin: 0 auto;
    font-size: 2.8em;
    padding: 0.5em 0;
    font-weight: bold;
    font-family: 'Glass Antiqua', cursive;
    text-shadow: var(--text-shadow-black);
}
.tag {
    display: inline-block;
    padding: 0.3em 0.6em;
    margin: 0.2em;
    border: 2px solid var(--color-pure-black);
    border-radius: 0.3em;
    background-color: var(--color-off-black);
    color: var(--color-off-white);
    font-size: 1.4em;
    font-family: 'Nanum Gothic Coding', monospace;
    font-weight: bold;
    text-transform: capitalize;
}
.character_traits {
}
.select_traits .character_trait {
    font-size: 1.4em;
}
.character_trait {
    font-size: 1.4em;
    font-family: 'Nanum Gothic Coding', monospace;
}
.trait_tooltip {
    display: none;
}
body .character_trait:hover .trait_tooltip, body .revealed_trait:hover .trait_tooltip {
    z-index: 1000;
    display: inline;
    position: absolute;
    margin-top: 2em;
    margin-left: -6em;
    padding: 0 0.2em;
    width: auto;
    max-width: 10vw;
    border: 2px solid var(--color-pure-black);
    border-radius: 0.3em;
    background-color: var(--color-off-black);
    font-size: 0.9em;
    text-align: center;
}
.player {
    color: var(--color-light-orange);
}
.sexual {
    color: var(--color-light-red);
}
.social {
    color: var(--color-light-green);
}
.skill {
    color: var(--color-light-blue);
}

/* Outline and Library */
.character_outline {
    max-height: 35vh;
    width: auto;
    margin: 0 auto;
}
.character_library_image {
    width: auto;
    max-width: 80%;
    max-height: 35vh;
    margin: 0 auto;
    margin-top: 1em;
    border-radius: 0.3em;
    border: 1px solid var(--color-pure-black);
}
.media_buttons {
    display: block;
    margin-bottom: 0.4em;
}
.library_index_button {
    padding: 0 0.3em;
    font-size: 1.6em;
    font-weight: bold;
}
.library_index_button.active {
    background-color: var(--color-soft-blue);
    color: var(--color-off-white);
}
.library_outline_button {
    background-color: var(--color-soft-green);
    color: var(--color-off-white);
}

/* Character Actions */
.relationship_actions button {
    display: block;
    width: 80%;
    margin: 0 auto;
    margin-top: 0.1em;
    padding: 0.3em;
    text-align: center;
    font-size: 1.4em;
    font-family: 'VT323', monospace;
    color: var(--color-soft-white);
    text-shadow: 1px 1px 0px var(--color-off-black), -1px -1px 0px var(--color-off-black), 1px -1px 0px var(--color-off-black), -1px 1px 0px var(--color-off-black);
    background-image: url(assets/images/textures/diamond-upholstery.png);
    background-size: 20%;
    animation: fadeIn ease 0.5s;
}
.character_divorce_button {
    background-color: var(--color-soft-red);
    color: var(--color-off-white);
}
.character_proposal_button {
    background-color: var(--color-soft-green);
    color: var(--color-off-white);
}
.character_breakup_button {
    background-color: var(--color-soft-red);
    color: var(--color-off-white);
}
.character_freedom_button {
    background-color: var(--color-soft-green);
    color: var(--color-off-white);
}
.character_demote_button {
    background-color: var(--color-soft-red);
    color: var(--color-off-white);
}
.character_promote_button {
    background-color: var(--color-soft-green);
    color: var(--color-off-white);
}
.character_sell_button {
    background-color: var(--color-soft-red);
    color: var(--color-off-white);
}

/* Dating */
.dating_strikes {
    font-family: 'Nanum Gothic Coding', monospace;
    font-size: 1.4em;
}
.dating_strikes_value_easier {
    color: var(--color-light-green);
}
.dating_strikes_value_hard {
    color: var(--color-light-red);
}
.dating_difficulty {
    text-shadow: var(--text-shadow-black);
}
.dating_difficulty_0, .dating_difficulty_1 {
    color: var(--color-soft-red);
}
.dating_difficulty_2 {
    color: var(--color-light-red);
}
.dating_difficulty_3 {
    color: var(--color-light-orange);
}
.dating_difficulty_4, .dating_difficulty_5 {
    color: var(--color-light-green);
}
.begin_date {
    width: 80%;
    margin: 0 auto;
    background-color: var(--color-soft-green);
    background-image: url(assets/images/textures/diamond-upholstery.png);
    color: var(--color-off-white);
}
.dating_dialogue {
    display: inline-block;
    width: 80%;
    margin-top: 1em;
    padding: 0.7em;
    border: 1px solid var(--color-off-black);
    border-radius: 0.5em;
    font-size: 1.4em;
    color: var(--color-off-white);
    font-family: 'Nanum Gothic Coding', monospace;
    font-weight: bold;
    background-image: url(assets/images/textures/diamond-upholstery.png);
}
.date_failed {
    display: inline-block;
    width: 80%;
    margin-top: 1em;
    padding: 0.7em;
    border: 1px solid var(--color-dark-red);
    border-radius: 0.5em;
    font-size: 1.4em;
    color: var(--color-light-red);
    font-family: 'Nanum Gothic Coding', monospace;
    font-weight: bold;
}
.vibe.tag.vibe_correct {
    background-color: var(--color-light-green);
}
.vibe.tag.vibe_incorrect {
    background-color: var(--color-light-red);
}
.vibe.tag.vibe_unguessed {
    background-color: var(--color-light-white);
}
.good_vibe {
    background-color: var(--color-light-green);
}
.bad_vibe {
    background-color: var(--color-light-red);
}

/* Point Stars and Circles */
.point_stars {
    font-size: 2em;
}
.point_stars i {
    margin: 0 0.2em;
}
.point_earned {
    color: var(--color-light-green);
}
.point_unearned {
    color: var(--color-off-white);
}
.point_failed {
    color: var(--color-light-red);
}
.point_failed_unearned {
    color: var(--color-off-black);
}

/* Auction */
button.bid_button {
    width: 80%;
    background-color: var(--color-soft-blue);
    background-image: url(assets/images/textures/diamond-upholstery.png);
    color: var(--color-soft-white);
    text-shadow: var(--text-shadow-black);
}
.bid_button_amount {
    vertical-align: bottom;
    margin-left: 0.2em;
    font-weight: bold;
    font-family: 'Nanum Gothic Coding', monospace;
}
.bid_dialogue {
    display: inline-block;
    width: 80%;
    margin-top: 1em;
    padding: 0.7em;
    border: 1px solid var(--color-off-black);
    border-radius: 0.5em;
    font-size: 1.4em;
    color: var(--color-off-white);
    font-family: 'Nanum Gothic Coding', monospace;
    font-weight: bold;
    background-image: url(assets/images/textures/diamond-upholstery.png);
}
.bid_dialogue p {
    height: 1.2em;
}
.bid_current {
    font-size: 1.6em;
    font-family: 'VT323', monospace;
    font-weight: bold;
    color: var(--color-soft-green);
    text-shadow: var(--text-shadow-black);
    animation: fadeIn ease 0.5s;
}
.bid_counter_2 {
    font-size: 1.6em;
    font-family: 'VT323', monospace;
    font-weight: bold;
    color: var(--color-soft-blue);
    text-shadow: var(--text-shadow-black);
}
.bid_counter_1 {
    font-size: 1.6em;
    font-family: 'VT323', monospace;
    font-weight: bold;
    color: var(--color-soft-red);
    text-shadow: var(--text-shadow-black);
}
.bid_counter_0 {
    font-size: 1.6em;
    font-family: 'VT323', monospace;
    font-weight: bold;
    color: var(--color-soft-green);
    text-shadow: var(--text-shadow-black);
}
button.accept_slave_button {
    display: block;
    width: 80%;
    margin: 0 auto;
    background-color: var(--color-dark-red);
    color: var(--color-soft-white);
    background-image: url(assets/images/textures/bright-squares.png);
}
button.accept_concubine_button {
    display: block;
    width: 80%;
    margin: 0 auto;
    background-color: var(--color-dark-blue);
    color: var(--color-soft-white);
    background-image: url(assets/images/textures/bright-squares.png);
}
button.accept_lover_button {
    display: block;
    width: 80%;
    margin: 0 auto;
    background-color: var(--color-dark-purple);
    color: var(--color-soft-white);
    background-image: url(assets/images/textures/bright-squares.png);
}
.orgasms_buttons button {
    display: block;
    position: relative;
    width: 80%;
    margin: 0 auto;
    padding: 0.4em 0;
    background-color: var(--color-off-white);
    color: var(--color-soft-black);
    background-image: url(assets/images/textures/bright-squares.png);
    font-size: 1em;
    animation: scatter 1s infinite;
}
button.disabled_bid, button.disabled_bid:active {
    filter: grayscale(66%) brightness(150%);
}

/* Group Date */
.begin_group_date_button, .progress_group_date_button {
    display: block;
    width: 80%;
    margin: 0 auto;
    margin-top: 0.5em;
    padding: 0.3em;
    text-align: center;
    font-size: 1.6em;
    font-family: 'VT323', monospace;
    background-color: var(--color-dark-green);
    background-image: url(assets/images/textures/diamond-upholstery.png);
    background-size: 20%;
    color: var(--color-soft-white);
    text-shadow: 1px 1px 0px var(--color-off-black), -1px -1px 0px var(--color-off-black), 1px -1px 0px var(--color-off-black), -1px 1px 0px var(--color-off-black);
    animation: fadeIn ease 0.5s;
}
.progress_group_date_button {

}
.end_group_date_button {
    text-align: center;
}
.group_date_steps {
    text-align: center;
}
.group_date_steps .point_stars {
    font-size: 1.6em;
}
.character_card_inside.lowlighted, .locked, .locked:hover {
    filter: brightness(0.5) saturate(0.5);
}
.character_card_inside.lowlighted:hover {
    filter: none;
}
.character_card_inside.highlighted img {
    border: 4px solid var(--color-dark-orange);
    margin-bottom: -2px;
}
.group_date_label {
    display: block;
    text-align: center;
    font-size: 1.4em;
    margin-bottom: 1em;
}
.date_names {
    margin: 2em 0;
}
.date_names .character_name {
    line-height: 1.5em;
}
.cant_afford_date {
    background-color: var(--color-dark-red);
    filter: saturate(0.5);
}
.group_date_cost, .group_date_hours {
    margin-left: 2em;
    margin-top: 1em;
    font-size: 1.2em;
}
.group_date_cost_value, .group_date_hours_value {
    margin-top: 1em;
    font-size: 1.6em;
    font-family: 'VT323', monospace;
}
.group_date_hours_value {
    color: var(--color-light-blue);
}
.group_date_cost_value {
    color: var(--color-light-green);
}

/* sleep */
.sleep_button {
    background-color: var(--color-dark-blue);
}

/* Player Display */
.player_display {
    width: 98%;
    height: 93vh;
}
button.clear_custom_image {
    display: block;
    border: none;
    filter: none;
    box-shadow: none;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 0.5em;
}
.player_detailed_stats {
    width: 66%;
    margin-left: 12%;
    padding-top: 0.5em;
}
.player_detailed_stats input {
    text-align: center;
}
.player_stat_label {
    clear: both;
    float: left;
    margin-left: 1em;
    padding: 0.2em;
    font-size: 1.4em;
    font-weight: bold;
    font-family: 'VT323', monospace;
}
.player_value {
    float: right;
    font-size: 1.8em;
    font-weight: bold;
    font-family: 'Glass Antiqua', monospace;
    text-shadow: var(--text-shadow-black);
}
.player_stat_title {
    text-align: right;
}
.player_stat_harem_size .player_value {
    color: var(--color-light-orange);
}
.player_stat_sexual_power .player_value {
    color: var(--color-neon-purple);
    font-family: 'VT323', monospace;
}
.player_stat_cash .player_value {
    color: var(--color-light-green);
    font-family: 'VT323', monospace;
}
.player_popularity.alone {
    color: var(--color-off-white);
}
.player_popularity.worshipped {
    color: var(--color-light-orange);
}
.player_popularity.loved {
    color: var(--color-light-green);
}
.player_popularity.liked {
    color: var(--color-light-blue);
}
.player_popularity.disliked {
    color: var(--color-light-red);
}
.player_popularity.hated {
    color: var(--color-dark-red);
}

/* Harem Actions */
button.harem_view_button {
    width: 32%;
    height: 2.5em;
    border: none;
    border-radius: 0;
    text-transform: capitalize;
    font-size: 1.6em;
    font-weight: bold;
    text-shadow: var(--text-shadow-black-thick);
    filter: brightness(0.5) drop-shadow(2px 3px rgba(0, 0, 0, 0.5));
}
button.harem_view_button.listing_active {
    filter: brightness(1) contrast(1.5) drop-shadow(2px 3px rgba(0, 0, 0, 0.5));
}
button.harem_view_button:hover {
    filter: saturate(1.2) contrast(1.5) drop-shadow(2px 3px rgba(0, 0, 0, 0.5));
}
.harem_actions button.disabled_harem_action {
    background-image: url(assets/images/textures/diamond-upholstery.png);
    background-color: var(--color-off-black);
    filter: grayscale(1);
}
button.harem_harem_button {
    background-color: var(--color-dark-red);
    color: var(--color-soft-white);
    font-family: 'Bad Script', cursive;
    background-image: url(assets/images/textures/diamond-upholstery.png);
}
button.harem_day_button {
    background-color: var(--color-dark-yellow);
    color: var(--color-soft-white);
    font-family: 'Bad Script', cursive;
    background-image: url(assets/images/textures/diamond-upholstery.png);
}
button.harem_sleep_button {
    background-color: var(--color-dark-blue);
    color: var(--color-soft-white);
    font-family: 'Bad Script', cursive;
    background-image: url(assets/images/textures/diamond-upholstery.png);
    clear: both;
}
button.harem_group_button {
    background-color: var(--color-soft-green);
    color: var(--color-soft-white);
    font-family: 'Bad Script', cursive;
    background-image: url(assets/images/textures/diamond-upholstery.png);
}
button.harem_dating_button {
    background-color: var(--color-dark-pink);
    color: var(--color-soft-white);
    font-family: 'Glass Antiqua', cursive;
    background-image: url(assets/images/textures/crisp-paper-ruffles.png);
}
button.harem_auction_button {
    background-color: var(--color-soft-green);
    color: var(--color-soft-white);
    font-family: 'Glass Antiqua', cursive;
    background-image: url(assets/images/textures/crisp-paper-ruffles.png);
}
button.harem_summon_button {
    background-color: var(--color-dark-purple);
    color: var(--color-soft-white);
    font-family: 'Glass Antiqua', cursive;
    background-image: url(assets/images/textures/crisp-paper-ruffles.png);
}
.is_night button.harem_day_button {
    background-color: var(--color-soft-black);
}

/* Scrolling */
.character_listing_parent::-webkit-scrollbar, .event_scenes::-webkit-scrollbar {
    width: 1em;
}

/* Typed Text */
body .typed-element {
    display: inline;
}

/* Draggable */
.draggable_component {
    min-height: 6vh;
}
.draggable_item {
    display: inline-block;
}

/* Inputs */
.bt {
    cursor: pointer;
    font-family: 'VT323', monospace;
    filter: drop-shadow(2px 3px rgba(0, 0, 0, 0.5));
    transition-property: box-shadow, filter;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
    border-top: 2px ridge var(--color-gray);
    border-left: 2px groove var(--color-gray);
    border-right: 2px ridge var(--color-gray);
    border-bottom: 2px groove var(--color-gray);
}
.bt:hover {
    filter: brightness(1.2);
}
.bt:active {
    filter: brightness(1.5);
}
.select {
    float: right;
    width: 7vw;
    font-size: 1em;
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    padding: 0.3em;
    background: var(--arrow-icon) no-repeat right 0.8em center / 1.4em, linear-gradient(to left, var(--arrow-bg) 3em, var(--select-bg) 3em);
    color: var(--color-soft-black);
    border-radius: 0.25em;
    box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.select:focus {
    outline: none;
}
.file_input {
    display: block;
    text-align: center;
    margin-left: 10vw;
}

/* Mobile */
.mobile {
    display: none;
}
.non_mobile {
    display: default;
}
.mobile_close {
    z-index: 10000;
    position: absolute;
    right: 1vw;
    top: 5vh;
    background-color: var(--color-light-gray);
    font-size: 1.2em;
    padding: 1em 0.5em;
}
@media (max-width: 999px) {
    .mobile {
        display: inline-block;
    }
    .non_mobile {
        display: none;
    }
    .main_logo {
        width: 20vw;
        top: 6vh;
    }
    .character_listing_parent {
        top: 5vh;
        width: 90vw;
    }
    .harem_stat {
        padding: 0.6em;
        padding-top: 1em;
    }
    .stat_label {
        font-size: 1.2em !important;
    }
    .stat_harem .stat_value {
        font-size: 1.2em !important;
    }
    .display_parent {
        width: 98vw;
    }
    .display_actions {
        width: 99vw;
        bottom: 16vh;
    }
    .character_display {
        height: 78vh;
    }
    .event_display {
        height: 78vh;
    }
    .scene_buttons {
        width: 95vw;
        bottom: 16vh;
    }
    .harem_actions {
        width: 99vw;
    }
    .save_modal {
        width: 98vw;
        left: 0;
    }
    button.manual_save {
        width: 14vw;
        margin-left: 0;
    }
    button.load_save {
        width: 60vw;
    }
}

/* Keyframes */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeInDelayed {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes scatter {
    0% {
        top: 0;
    }
    50% {
        top: -5px;
    }
    100% {
        top: 0;
    }
}

.circle {
    float: right;
}