@font-face {
    font-family: 'immortalregular';
    src: url('../fonts/immortal-webfont.woff') format('woff');
}

* {
    box-sizing: border-box;
}

#container {
    --backgorund-color: #191533;
    --highlight: #ffffbe;
    --yellow: #dcdc2f;
    --light: #dcdcdc;
    --dark: #6e6e6e;
    --red: #dc2f2f;
    --teal: #2fdcdc;
    --tough: #00b26e;
    --sexy: #b03757;
    --cunning: #a872b5;
    --curious: #7e9eca;
    --pure: #efae45;
    --orange: #df872f;
    --dark-orange: #482c0f;
    --green: #2fdf2f;
    --scale: 12.8px;
}

html {
    background: #191533;
}

html>div[style] {
    display: none !important;
}

body {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 19px;
    color: #746f93
}

input,
textarea,
select {
    outline: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select:hover {
    cursor: pointer;
}

input:not([type="button"]):not([type="submit"]),
textarea,
[contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}

[contenteditable] {
    -webkit-user-modify: read-write;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

a {
    text-decoration: none;
    color: #333;
    -webkit-transition: color 100ms linear;
    -moz-transition: color 100ms linear;
    transition: color 100ms linear;
}

a:hover {
    color: var(--highlight);
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.anchor {
    position: absolute;
    visibility: hidden;
    top: -107px;
    left: 0;
}

.social,
#battle_mages_banner,
#main_menu,
#play_game .button,
#load_symbol,
#character_limit,
#tooltip {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.load_symbol,
#load_symbol {
    position: fixed;
    top: 50%;
    left: 50%;
    height: calc(var(--scale) * 4);
    width: calc(var(--scale) * 4);
    -webkit-mask-image: url('/game/assets/gui/symbol_buffer_condensed.svg');
    mask-image: url('/game/assets/gui/symbol_buffer_condensed.svg');
    mask-size: 100% auto;
    -webkit-transition: opacity 100ms linear;
    -moz-transition: opacity 100ms linear;
    transition: opacity 100ms linear;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
}

.load_symbol:before,
#load_symbol:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent conic-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)) no-repeat center center;
    background-size: 100% 100%;
    animation: buffer_symbol 1s linear infinite;
}

#load_symbol.visible {
    opacity: 1;
}

#container {
    position: relative;
    width: 100%;
    min-width: 900px;
    max-width: 2000px;
    margin: 0 auto;
    overflow: hidden;
}

#container.battle_mages_background {
    background: url(../img/keyart_background.png) top center no-repeat var(--backgorund-color);
}

#game_launcher,
#game_launcher iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#game_launcher {
    backdrop-filter: saturate(0.5) brightness(0.5);
    -webkit-transition: backdrop-filter 200ms linear;
    -moz-transition: backdrop-filter 200ms linear;
    transition: backdrop-filter 200ms linear;
    will-change: backdrop-filter;
}

#play_game,
#battle_mages_banner .title,
#battle_mages_banner .gang:after,
#game_launcher iframe {
    opacity: 1;
    -webkit-transition: opacity 200ms linear;
    -moz-transition: opacity 200ms linear;
    transition: opacity 200ms linear;
    will-change: opacity;
}

#game_launcher.inactive {
    backdrop-filter: saturate(1) brightness(1);
    pointer-events: none;
}

#play_game.inactive,
#battle_mages_banner.inactive .title,
#battle_mages_banner.inactive .gang:after,
#game_launcher.inactive iframe {
    opacity: 0;
    pointer-events: none;
}

#play_game {
    position: relative;
    top: max(-4em, -4vw);
    width: 100%;
    text-align: center;
    margin-bottom: calc(80px - 4em);
}

#play_game span:before {
    content: " ♡ ";
}

#play_game>div:first-child,
#highlights h1,
#highlights h2,
#terms div h1,
#terms div p.highlight {
    font-family: 'Vollkorn', serif;
    font-variant: small-caps;
    font-weight: normal;
    color: #fff;
}

#play_game>div:first-child {
    font-size: 2em;
    color: var(--sexy);
    font-variant: all-small-caps;
}

#play_game .button {
    display: inline-block;
    font-family: 'Vollkorn', serif;
    font-size: 2em;
    font-variant: small-caps;
    color: #fff;
    background: url(../img/parchment_texture.png) top center repeat var(--backgorund-color);
    border: 2px solid var(--sexy);
    border-radius: 3px;
    padding: 2px 0.5882em;
    padding-top: 0.2em;
    cursor: pointer;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}

#play_game .button:hover {
    color: var(--sexy);
    -webkit-box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5), 0 0 0.5em var(--sexy);
    -moz-box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5), 0 0 0.5em var(--sexy);
    box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5), 0 0 0.5em var(--sexy);
}

#terms div p.highlight {
    font-size: 1.5em;
}

#highlights .steam {
    padding: 40px 0;
    background-color: var(--backgorund-color);
    text-align: center;
}

#highlights .news,
#highlights .adventuring,
#highlights .skills,
#highlights .items>div:not(:first-child) {
    -webkit-box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5);
}

#report,
#profile,
#terms,
#play_game .button,
#highlights .dev_message>div:first-child>div,
#support .contributors>div:last-child {
    -webkit-box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5), 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5), 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0px 0px 30px 2px rgba(0, 0, 0, 0.5), 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
}

#highlights .adventuring,
#highlights .skills,
#highlights .items>div:not(:first-child) {
    position: relative;
    padding: 40px 0;
    border-top: 2px solid var(--dark-orange);
    background: url(../img/parchment_texture.png) top center repeat var(--backgorund-color);
    text-align: center;
}

#highlights .items {
    position: relative;
}

#highlights .items>div:nth-child(even) {
    background: url(../img/parchment_texture_darker.png) top center repeat var(--backgorund-color);
}

#highlights .adventuring {
    border-bottom: 2px solid var(--dark-orange);
    background: url(../img/highlights_background.png) center center / cover repeat var(--backgorund-color);
}

#support>div:first-child>div>h1,
#support>div:first-child>div>p,
#highlights .adventuring p,
#highlights .adventuring h1 {
    filter: drop-shadow(#000 0 1px 0) drop-shadow(#000 1px 0 0) drop-shadow(#000 0 -0.8px 0) drop-shadow(#000 -0.8px 0 0);
}

#highlights .adventuring>h1 {
    max-width: 50%;
    margin-left: auto;
    padding-right: 40px;
    text-align: left;
}

#highlights .adventuring>p {
    font-family: 'Vollkorn', serif;
    color: var(--light);
    font-size: 1.17em;
    max-width: 50%;
    margin-left: auto;
    padding: 0 40px 40px 0;
    text-align: left;
}

#highlights .adventuring>div {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

#highlights .adventuring>div>div {
    flex-shrink: 0;
    width: calc(25% - 0.67em * 4);
}

#highlights .adventuring>div>div>p:first-child {
    margin: 0.67em 0;
    color: var(--highlight);
    font-family: 'Vollkorn', serif;
    font-variant: small-caps;
}

#highlights .adventuring>div>div>p:last-child {
    text-align: left;
    color: var(--light);
    margin: 0;
}

#highlights .dev_message {
    display: flex;
}

#highlights .dev_message>div {
    width: 50%;
}

#highlights .dev_message>div:first-child {
    padding: 0 0 40px 16.6667%;
    z-index: 1;
}

#highlights .dev_message>div:first-child>div {
    padding: calc(2 * 0.67em);
    border: 2px solid var(--dark-orange);
    background: url(../img/parchment_texture.png) top center repeat var(--backgorund-color);
}

#highlights .dev_message p {
    font-size: max(19px, 1.5vw);
}

#highlights .dev_message>div:last-child {
    display: flex;
    justify-content: center;
}

#highlights .dev_message>div:last-child video {
    position: relative;
    left: -8.33333%;
    flex-shrink: 0;
    width: calc(1014 / 1263 * 100vh - 80px);
    height: calc(100vh - 80px);
    min-width: 116.667%;
    min-height: 100%;
    background-size: auto 100%;
}

#highlights .news {
    position: relative;
    border: 2px solid var(--dark-orange);
    border-left: 0;
    border-right: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    min-height: 40px;
    padding: 80px 0.3333em;
    background: url(../img/parchment_texture.png) top center repeat transparent;
    color: var(--light);
}

#highlights .news>div:nth-child(n+2) {
    position: relative;
    background: black;
    border: 2px solid var(--dark-orange);
    width: calc(100% / 3* 2 / 3);
    margin: 0.3333em;
    text-align: left;
    padding: 0 0.67em;
    z-index: 2;
}

#highlights .news p.date {
    font-family: 'Vollkorn', serif;
    color: var(--dark);
}

#highlights .news p {
    margin: 0.67em 0;
}

#highlights .news p.title {
    font-family: 'Vollkorn', serif;
    font-variant: small-caps;
    color: #fff;
    font-size: 1.17em;
    margin: 0;
}

#highlights .news a:not(:hover) {
    color: var(--orange)
}

#highlights .skills>h1 {
    padding: 0 40px;
}

#highlights .items>div:nth-child(-n + 3) p,
#highlights .items>div:last-child>p,
#highlights .items .improvised_weapons p,
#highlights .skills>p {
    font-family: 'Vollkorn', serif;
    font-size: 1.17em;
    color: var(--light);
}

#highlights .items>div:nth-child(3)>p {
    width: 66.6667%;
    margin: 0 auto;
}

#highlights .skills>p {
    max-width: 1020px;
    padding: 0 40px;
    margin: 0 auto;
}

#highlights .skills .spells {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-evenly;
    text-align: center;
}

#highlights .items>div:nth-child(2) .embedded_item.x2 {
    font-size: min(calc(25.6px * 2), 2.6vw) !important;
}

#highlights .items .vessels>div>div,
#highlights .skills .spells>div {
    width: 33.33%;
    padding: 0 2.5em;
}

#highlights .items .improvised_weapons>div>div {
    width: 33.33%;
    margin: 0 3%;
}

#highlights .items .vessels p,
#highlights .skills .spells p {
    color: var(--pure);
}

#highlights .items .vessels p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#highlights .items .vessels h2,
#highlights .skills .spells h2 {
    margin: calc(0.67em * 2) 0 0.67em;
}

#highlights .skills .spells .action_bar_button {
    display: inline-block;
}

#highlights .items .improvised_weapons>div {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}

#highlights .items .vessels>div {
    display: flex;
    padding: 0 calc(100% / 6) 0;
    align-items: flex-start;
}

#highlights .items .vessels>div:last-child {
    align-items: center;
}

#highlights .items .vessels>div>div {
    width: 50%;
}

#highlights .items .improvised_weapons {
    padding-top: 40px;
}

#highlights .items .improvised_weapons>div:first-child {
    align-items: center;
}

#highlights .items .improvised_weapons>div:first-child>div:nth-child(-n + 2) {
    font-size: calc(25.6px * 2);
    height: 4.4em;
    background: url(../img/junk_items.png) center center / contain no-repeat transparent;
    background-image: -webkit-image-set(url(../img/junk_items.png) 1x, url(../img/junk_items_2x.png) 2x);
    background-image: image-set(url(../img/junk_items.png) 1x, url(../img/junk_items_2x.png) 2x);
    filter: drop-shadow(0 0 0.33em #000);
}

#highlights .items .improvised_weapons>div:first-child>div:nth-child(2) {
    height: 2.2em;
    background-image: url(../img/components.png);
    background-image: -webkit-image-set(url(../img/components.png) 1x, url(../img/components_2x.png) 2x);
    background-image: image-set(url(../img/components.png) 1x, url(../img/components_2x.png) 2x);
}

#highlights .items .vessels span {
    display: inline-block;
}

#highlights .items>div:nth-child(2)>div {
    display: flex;
    padding: 20px calc(100% / 12) 0;
}

#highlights .items>div:nth-child(2) p {
    margin-top: 0;
    text-align: left;
    padding: 20px 20px 0;
}

#highlights .items>div:nth-child(2)>div>div {
    width: 50%;
}

#highlights .items>div:nth-child(2)>div>div>div {
    width: fit-content;
    margin: 0 auto;
}

#highlights .items>div:nth-child(2)>div>div>div>div:last-child {
    text-align: right;
}

#highlights .items>div:nth-child(2)>div>div>div>div>div {
    margin: 10px;
}

#highlights .items>div:last-child>p {
    padding: 0 calc(100% / 12);
    margin: 0 auto;
}

#highlights .magic_effect,
#highlights .magic_effect>div {
    display: inline-block;
    position: relative;
}

#highlights .magic_effect:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background-image: url(/game/assets/gui/sfx_magical_small1.jpg);
    -webkit-mask-image: url(/game/assets/gui/sfx_magical_mask1.png);
    mask-image: url(/game/assets/gui/sfx_magical_mask1.png);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    background-size: 750% auto;
    animation: tooltip_background_scrolling 409.6s linear infinite;
    will-change: background-position;
}

#highlights .magic_effect.hexed:before {
    background-image: url(/game/assets/gui/sfx_magical_small2.jpg);
}

#highlights .magic_effect.square:before {
    -webkit-mask-image: url(/game/assets/gui/sfx_magical_mask2.png);
    mask-image: url(/game/assets/gui/sfx_magical_mask2.png);
}

#highlights .action_bar_button {
    position: relative;
    font-size: calc(var(--scale)* 2);
    width: calc(1.8em * 2.203287718);
    height: calc(1.8em * 2.203287718);
    margin: 0.05em;
    pointer-events: all;
    overflow: hidden;
}

#highlights .action_bar_button>div {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-mask-image: url(/media/gui/256/status_frame_mask_square.png);
    mask-image: url(/media/gui/256/status_frame_mask_square.png);
    -webkit-mask-position: center center;
    mask-position: center center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

#highlights .action_bar_button>div:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/media/gui/128/status_frame_square.png) center center no-repeat transparent;
    background-image: -webkit-image-set(url(/media/gui/128/status_frame_square.png) 1x, url(/media/gui/256/status_frame_square.png) 2x);
    background-image: image-set(url(/media/gui/128/status_frame_square.png) 1x, url(/media/gui/256/status_frame_square.png) 2x);
    background-size: auto 100%;
}

#highlights .action_bar_button>div>div {
    width: 100%;
    height: 100%;
    background: #000 none no-repeat center center;
    background-size: auto 92.2523%;
}

#support>div {
    position: relative;
    padding: 80px 0;
    border-top: 2px solid var(--dark-orange);
    text-align: center;
}

#support .contributors .background,
#support>div:first-child .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#support>div:first-child .background {
    background: url(../img/background_girls.png) center top / cover no-repeat transparent;
    background-image: -webkit-image-set(url(../img/background_girls.png) 1x, url(../img/background_girls_2x.png) 2x);
    background-image: image-set(url(../img/background_girls.png) 1x, url(../img/background_girls_2x.png) 2x);
    filter: brightness(0.5) saturate(0.5);
}

#support .contributors .background {
    background: url(../img/velvet.jpg) center top / cover no-repeat transparent;
    filter: saturate(0.8);
}

#support>div:first-child>div {
    position: relative;
    padding: 0 40px;
    filter: drop-shadow(0 0 0.33em #000);
}

#support>div:first-child>div>p {
    font-family: 'Vollkorn', serif;
    font-size: 1.17em;
    color: var(--light);
    max-width: 1000px;
    margin: 0 auto calc(0.67em * 2);
}

#support>div:first-child>div>div {
    display: flex;
    justify-content: center;
}

#support>div:first-child .background:before,
#support .contributors .background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/game/assets/gui/screen_shade.png);
    background-size: 100% 100%;
    pointer-events: none;
}

#support .contributors>div:last-child {
    position: relative;
    background: url(../img/parchment_texture_darker.png) top center repeat transparent;
    width: 66.6667%;
    max-width: 1000px;
    margin: 0 auto;
    padding: calc(2* 0.67em) 0;
    border: 2px solid var(--dark-orange);
}

#support .contributors h1:first-child {
    margin-top: 0;
}

#support .contributors>div>div {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

#support .contributors>div>div,
#support .contributors>div>div a:not(:hover) {
    color: var(--orange);
    font-variant: small-caps;
}

#support .contributors>div>div>div {
    width: 33.33333%;
}

span.battle_mages {
    font-family: serif;
    font-variant: normal;
    text-transform: uppercase;
}

.promo {
    position: relative;
    width: 100%;
    padding: 80px 0;
    text-align: center;
    background: var(--backgorund-color);
    overflow: hidden;
}

.promo:before,
.promo .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.promo .background {
    padding: 0.67em 0;
    background: url(../img/promo_background.png) center center / 100% no-repeat var(--backgorund-color);
    background-attachment: fixed;
    background-size: cover;
    filter: blur(5vh) brightness(1.1);
    opacity: 0.5;
}

.promo:before {
    content: "";
    background: transparent url(../img/noise.png) repeat 0 0;
    background-attachment: fixed;
    mix-blend-mode: overlay;
    opacity: 0.25;
    z-index: 1;
}

.media.promo>*:nth-child(n+3) {
    position: relative;
    z-index: 2;
}

.media {
    background-color: #000;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.media>div.displayed_media {
    box-sizing: content-box;
    display: inline-block;
    position: relative;
    background: #fff;
    border: #fff solid 3px;
}

.media>div.displayed_media,
.media>div.displayed_media>img,
.media>div.displayed_media>videoimg {
    height: calc(9/16*50vw);
    width: 50vw;
    max-height: calc(9/16*0.5*2000px);
    max-width: calc(0.5*2000px);
    min-height: calc(9/16*0.5*900px);
    min-width: calc(0.5*900px);
}

.media>div.displayed_media.video>img,
.media>div.displayed_media:not(.video)>video {
    visibility: hidden;
    pointer-events: none;
}

.media>div.displayed_media>video {
    position: absolute;
    left: 0;
    top: 0;
}

.media>ul {
    margin-top: 40px;
}

.media>ul>li {
    box-sizing: content-box;
    margin: 0.5vw;
    border: #fff solid 3px;
    -webkit-transition: border-color 100ms linear;
    -moz-transition: border-color 100ms linear;
    transition: border-color 100ms linear;
}

.media>ul>li:first-child {
    margin-left: 0;
}

.media>ul>li:last-child {
    margin-right: 0;
}

.media>ul>li:hover {
    border-color: var(--highlight);
    cursor: pointer;
    cursor: hand;
}

.media>ul>li,
.media>ul>li>img {
    position: relative;
    display: inline-block;
    height: calc(9/16*15vw);
    width: 15vw;
    max-height: calc(9/16*0.15*2000px);
    max-width: calc(0.15*2000px);
    min-height: calc(9/16*0.15*900px);
    min-width: calc(0.15*900px);
}

.media>ul>li.video:before,
.media>ul>li.video:after {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.media>ul>li.video:before {
    top: 0;
    height: 100%;
    background: #fff;
    opacity: 0.5;
}

.media>ul>li.video:after {
    top: 50%;
    font: normal normal normal 72px FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateY(-50%);
}

#battle_mages_banner {
    position: relative;
    height: 61.66667vw;
    min-height: 555px;
    max-height: 1233.33333px;
    font-size: 0;
    overflow: hidden;
}

#battle_mages_banner>*,
#battle_mages_banner>*:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent none no-repeat center center;
    background-size: 100% auto;
}

#battle_mages_banner .gang,
#battle_mages_banner .castle,
#battle_mages_banner .forest,
#battle_mages_banner .background {
    top: -20%;
    bottom: -20%;
}

#battle_mages_banner .title {
    background-position: center top;
    background-image: url('../img/banner_battle_mages_title.png');
}

#battle_mages_banner .background {
    background-image: url('../img/banner_battle_mages_background.png');
}

#battle_mages_banner .castle {
    background-image: url('../img/banner_battle_mages_castle.png');
}

#battle_mages_banner .gang {
    background-image: url('../img/banner_battle_mages_trees.png');
}

#battle_mages_banner .gang:after {
    content: '';
    background-image: url('../img/banner_battle_mages_gang.png');
}

#battle_mages_banner .buttons {
    top: auto;
    text-align: center;
}

#main_menu {
    position: relative;
    min-width: 900px;
    background: #000;
    text-align: right;
}

#main_menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
}

#main_menu .wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 5px;
    overflow: hidden;
    pointer-events: all;
}

#main_menu .wrapper>div {
    width: calc(50% - 220px / 2);
}

#main_menu .wrapper>div:last-child {
    text-align: left;
}

#main_menu .wrapper>.logo {
    position: relative;
    width: 220px;
    font-size: 0;
    background: transparent url('../media/press/battle_mages_erotica_title_2023_white.png') no-repeat center center;
    background-size: 90% auto;
    -webkit-transition: opacity 100ms linear;
    -moz-transition: opacity 100ms linear;
    transition: opacity 100ms linear;
}

#main_menu .wrapper>.logo:not(:hover) {
    opacity: 0.33;
}

#main_menu .menu {
    padding: 10px 0;
}

#main_menu .menu>div {
    position: relative;
    display: inline-block;
    padding: .8em 1.2em;
    font-size: 22px;
}

#main_menu .logo a,
#main_menu .menu div:before,
#main_menu .menu a:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#main_menu .menu a:before {
    content: '';
}

#main_menu .menu a:not(:hover) {
    color: #5f5f5f;
}

#main_menu .menu div:before {
    content: "";
    bottom: 6px;
    border-bottom: 3px solid rgba(0, 0, 0, 0);
    -webkit-transition: border-color 100ms linear;
    -moz-transition: border-color 100ms linear;
    transition: border-color 100ms linear;
}

#main_menu .menu div:hover:before {
    border-color: var(--highlight);
}

#twitch_prompt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #54b8ff;
    color: #fff;
    font-size: 1.17em;
    padding: 0.2em;
    text-align: center;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-variant: small-caps;
    -webkit-transition: opacity 200ms linear;
    -moz-transition: opacity 200ms linear;
    transition: opacity 200ms linear;
    transform: translateY(100%);
}

#twitch_prompt.inactive {
    opacity: 0;
    pointer-events: none;
}

#twitch_prompt>* {
    display: inline-block;
    vertical-align: middle;
}

#twitch_prompt .join {
    cursor: pointer;
    margin: 0.1em 0;
    padding: 0.1em 0.2em;
    border: 2px solid #fff;
    border-radius: 0.2em;
    background-color: #54b8ff;
    -webkit-transition: color 100ms linear, background-color 100ms linear;
    -moz-transition: color 100ms linear, background-color 100ms linear;
    transition: color 100ms linear, background-color 100ms linear;
}

#twitch_prompt .join:hover {
    color: #54b8ff;
    background-color: #fff;
}

#twitch_prompt .close {
    position: absolute;
    padding: 0.5em;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.5;
    -webkit-transition: opacity 100ms linear;
    -moz-transition: opacity 100ms linear;
    transition: opacity 100ms linear;
}

#twitch_prompt .close:hover {
    opacity: 1;
}

#twitch_prompt .close:before {
    content: "\f129";
    font-family: Ionicons;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.social>div {
    position: relative;
    display: inline-block;
    margin: 5px;
    text-align: center;
    font-size: 24px;
    color: var(--light);
    -webkit-transition: background-color 150ms linear, color 100ms linear, border-color 100ms linear;
    -moz-transition: background-color 150ms linear, color 100ms linear, border-color 100ms linear;
    transition: background-color 150ms linear, color 100ms linear, border-color 100ms linear;
}

.social>div:after {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    font: normal normal normal 1em/38px FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    pointer-events: none;
}

.social>div.twitter:after {
    content: "\f099";
}

.social>div.twitch:after {
    content: "\f1e8";
}

.social>div:hover {
    color: #fff;
    background: #333;
}

.social>div.twitter:hover {
    background: #1da1f3;
    border-color: #1da1f3;
}

.social>div.twitch:hover {
    background: #438cbf;
    border-color: #438cbf;
}

.social>div.bluesky:before,
.social>div.substar:before,
.social>div.discord:before,
.social>div.patreon:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background: transparent none no-repeat center center;
    background-size: 60% auto;
    filter: brightness(86.27%);
    -webkit-transition: filter 1000ms linear;
    -moz-transition: filter 100ms linear;
    transition: filter 100ms linear;
}

.social>div.substar:before {
    background-image: url('../img/icon_subscribestar.svg');
}

.social>div.substar:hover {
    background-color: #fd4080;
    border-color: #fd4080;
}

.social>div.bluesky:before {
    background-image: url('../img/icon_bluesky.svg');
}

.social>div.bluesky:hover {
    background-color: #1185fe;
    border-color: #1185fe;
}

.social>div.discord:before {
    background-image: url('../img/icon_discord.svg');
}

.social>div.discord:hover {
    background-color: #7289d9;
    border-color: #7289d9;
}

.social>div.patreon:before {
    background-image: url('../img/icon_patreon.svg');
}

.social>div.patreon:hover {
    background-color: #ff5454;
    border-color: #ff5454;
}

.social>div.substar:hover:before,
.social>div.bluesky:hover:before,
.social>div.discord:hover:before,
.social>div.patreon:hover:before,
.social>div.patreon:hover:after {
    filter: none;
}

.social>div>a {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    font-size: 0;
    vertical-align: bottom;
}

#report,
#profile,
#terms {
    margin: 0 auto;
    max-width: 1200px;
    padding: calc(2 * 0.67em);
    border: 2px solid var(--dark-orange);
    border-top: none;
    border-bottom: none;
    background: url(../img/parchment_texture.png) top center repeat var(--backgorund-color);
}

#terms div {
    font-size: 19px;
    margin-top: calc(1.5 * 2em);
}

#terms div p.updated {
    font-family: 'Vollkorn', serif;
    color: var(--dark);
}

#terms ul {
    list-style-type: disc;
}

#terms ul>li {
    margin-left: 2em;
}

#footer {
    background: #000;
    border-top: 1px solid #666;
    font-size: 0;
    color: var(--light);
}

#footer>div:first-child {
    text-align: center;
    font-size: 28px;
    margin: 20px 0;
    font-variant: small-caps;
}

#footer>div:nth-child(2) {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#footer>div:first-child a:not(:hover) {
    color: var(--sexy);
}

#twitch_prompt .platform,
#support .platform,
#footer .platform {
    position: relative;
    height: 40px;
    width: 40px;
    background: transparent none no-repeat center center;
    background-size: 100% auto;
    margin: 10px;
    -webkit-transition: filter 1000ms linear;
    -moz-transition: filter 100ms linear;
    transition: filter 100ms linear;
    font-size: 0;
}

#twitch_prompt .platform {
    height: 1em;
}

#support .platform a,
#footer .platform a {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

#support .platform:not(:hover),
#footer .platform:not(:hover) {
    filter: brightness(86.27%);
}

#footer .platform.steam {
    width: calc(40px * 491.9 / 148.3);
    background-image: url('../img/logo_steam.svg');
}

#support .platform.patreon,
#footer .platform.patreon {
    width: calc(20px * 1734.9732 / 240.5909);
    background-image: url('../img/logo_patreon.svg');
    background-size: 100% auto;
}

#twitch_prompt .platform.twitch,
#footer .platform.twitch {
    width: calc(40px * 342 / 114);
    background-image: url('../img/logo_twitch.svg');
}

#twitch_prompt .platform.twitch {
    width: calc(1em * 342 / 114);
    vertical-align: middle;
    font-size: inherit;
    margin: 0.1em 0.5em 0.1em 0.25em;
}

#twitch_prompt .platform.twitch>span {
    display: none;
}

#support .platform.subscribestar,
#footer .platform.subscribestar {
    width: calc(40px * 793.7 / 200);
    background-image: url('../img/logo_subscribestar.svg');
}

#footer .platform.discord {
    width: calc(40px * 399.09 / 109.06);
    background-image: url('../img/logo_discord.svg');
}

#site_map {
    display: flex;
    padding: 20px;
    justify-content: space-around;
    align-items: flex-start;
}

#site_map ul>li {
    font-size: 19px;
    line-height: 150%;
}

#site_map ul>li:first-child {
    font-size: 28px;
    margin-bottom: 5px;
    font-variant: small-caps;
    color: var(--dark);
}

#site_map ul>li a:not(:hover) {
    color: var(--light);
}

#copyright {
    display: flex;
    padding: 20px;
    font-size: 19px;
    text-align: center;
    border-top: 1px solid #666;
}

#copyright a:not(:hover) {
    color: var(--orange);
}

#copyright>div {
    position: relative;
    width: 25%;
}

#copyright>div:nth-child(2) {
    width: 50%;
    line-height: 150%;
}

#copyright>div:nth-child(2)>span {
    font-variant: small-caps;
}

#copyright .social {
    text-align: right;
}

@media (min-width: 2000px) {
    .media>ul>li {
        margin: 10px;
    }

    #highlights .dev_message p {
        font-size: 30px;
    }

}

@media (min-width: 1800px) {
    #battle_mages_banner .title {
        background-image: -webkit-image-set(url('../img/banner_battle_mages_title.png') 1x, url('../img/banner_battle_mages_title_2x.png') 2x);
        background-image: image-set(url('../img/banner_battle_mages_title.png') 1x, url('../img/banner_battle_mages_title_2x.png') 2x);
    }

    #battle_mages_banner .background {
        background-image: -webkit-image-set(url('../img/banner_battle_mages_background.png') 1x, url('../img/banner_battle_mages_background_2x.png') 2x);
        background-image: image-set(url('../img/banner_battle_mages_background.png') 1x, url('../img/banner_battle_mages_background_2x.png') 2x);
    }

    #battle_mages_banner .castle {
        background-image: -webkit-image-set(url('../img/banner_battle_mages_castle.png') 1x, url('../img/banner_battle_mages_castle_2x.png') 2x);
        background-image: image-set(url('../img/banner_battle_mages_castle.png') 1x, url('../img/banner_battle_mages_castle_2x.png') 2x);
    }

    #battle_mages_banner .gang {
        background-image: -webkit-image-set(url('../img/banner_battle_mages_trees.png') 1x, url('../img/banner_battle_mages_trees_2x.png') 2x);
        background-image: image-set(url('../img/banner_battle_mages_trees.png') 1x, url('../img/banner_battle_mages_trees_2x.png') 2x);
    }

    #battle_mages_banner .gang:after {
        background-image: -webkit-image-set(url('../img/banner_battle_mages_gang.png') 1x, url('../img/banner_battle_mages_2x.png') 2x);
        background-image: image-set(url('../img/banner_battle_mages_gang.png') 1x, url('../img/banner_battle_mages_gang_2x.png') 2x);
    }

    #container.battle_mages_background {
        background-image: -webkit-image-set(url('../img/keyart_background.png') 1x, url('../img/keyart_background.png') 2x);
        background-image: image-set(url('../img/keyart_background.png') 1x, url('../img/keyart_background.png') 2x);
        background-size: 2000px;
    }
}

@media (max-width: 1390px) {
    .anchor {
        top: -92px;
    }

    #footer .social .patreon,
    #footer .social .substar {
        display: none;
    }
}

@media (max-width: 1240px) {
    #main_menu .menu div {
        font-size: 19px;
        padding: .8em .6em;
    }

    #main_menu .logo {
        width: 190px;
    }

    #main_menu .wrapper>div {
        width: calc(50% - 190px / 2);
    }

    #footer .info .contact {
        font-size: 0.8em;
    }

    #highlights .news.promo>div:nth-child(n+2) {
        width: auto;
    }

    #highlights .dev_message>div:first-child {
        padding-left: calc(2* 0.67em);
    }

    #highlights .adventuring>div>div {
        width: calc(50% - 0.67em * 4);
    }

    #highlights .skills .spells>div {
        width: 50%;
    }

    #highlights .news {
        flex-wrap: wrap;
    }

    #highlights .news>div:nth-child(n+2) {
        width: auto;
    }

    #highlights .items>div:nth-child(3)>div p {
        font-size: 1em !important;
    }
}

@media (max-width: 1110px) {
    .media>ul>li.video:after {
        font-size: 48px;
    }
}

@media (max-width: 900px) {
    .media>ul {
        pointer-events: none;
    }

    .media>ul>li,
    .media>ul>li:first-child,
    .media>ul>li:last-child {
        display: block;
        margin: 40px auto 0;
    }

    .media>ul>li,
    .media>ul>li>img {
        min-height: calc(9/16 * 0.5 * 900px);
        min-width: calc(0.5 * 900px);
    }

    .media:not(.has_video) ul,
    .media:not(.has_video) ul>li:first-child {
        margin-top: 0;
    }

    .media:not(.has_video) .displayed_media,
    .media>ul>li.video {
        display: none;
    }

    .media>div.displayed_media:not(.video)>video {
        visibility: visible;
        pointer-events: auto;
    }

    .media>div.displayed_media.video>img {
        visibility: hidden;
        pointer-events: none;
    }

    #highlights .items>div:nth-child(2) .embedded_item.x2 {
        font-size: 25.6px !important;
    }

    #highlights .items>div:nth-child(2)>div>div>div>div>div {
        margin: 5px;
    }

    #play_game {
        top: -36px;
    }
}