html, body {
    position: relative;
    padding: 0;
    margin: 0;
    min-width: 1050px;
    color: #a49d93;
    font-family: "Lucida Sans Unicode", Arial, sans-serif;
    font-size: 12px;
	background: #0b0b0b;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
}

#page {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    background: url(images/bg-top-baked.webp) center top no-repeat, url(images/bg-bottom.webp) center bottom no-repeat, url(images/bg-bottom-repeat.webp) center repeat-y, #0b0b0b;
}

#page-bg {
    position: absolute;
    z-index: 0;
    width: 1848px;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#page-bg-center {
    position: absolute;
    width: 0;
    top: 0;
    left: 50%;
    z-index: 0;
}

#panel-bg-left, #panel-bg-right {
    position: absolute;
    top: 503px;
    background: url(images/bg-side-opaque-baked.webp);
    width: 394px;
    height: 453px;
    z-index: 0;
}

#panel-bg-left {
    right: 530px;
}

#panel-bg-right {
    left: 530px;
    transform: scaleX(-1);
}

#bg-shadow {
    position: absolute;
    background: url(images/bg-shadow.webp);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

#page::after {
    display: block;
    content: '';
    height: 250px;
}

#header {
    position: relative;
    z-index: 1;
    width: 0;
    height: 468px;
}

#logo {
    display: block;
    background: url(images/logo.webp);
    width: 420px;
    height: 336px;
    position: absolute;
    top: 57px;
    left: 107px;
}

a {
    color: #c1b386;
    text-decoration: none;
    transition: color 150ms;
    text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000;
}

a:hover {
    color: #f5e3a9;
}

.button-effects {
    transition: filter 100ms;
}

.button-effects:hover {
    filter: brightness(1.2);
}

.button-effects:active {
    filter: brightness(0.8);
}

#main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

#content-wrapper {
    position: relative;
    width: 596px;
    margin: 107px -48px 0;
    z-index: 1;
}

#content-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

#content-bg-top {
    position: relative;
    background: url(images/content-top.webp);
    width: 596px;
    height: 384px;
    z-index: 2;
}

#content-bg-repeat {
    position: absolute;
    top: 384px;
    bottom: 383px;
    left: 0;
    background: url(images/content-repeat.webp);
    width: 596px;
    z-index: 1;
}

#content-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(images/content-bottom.webp);
    width: 596px;
    height: 481px;
    z-index: 3;
}

#left {
    background: url(images/panel-left.webp);
}

#right {
    background: url(images/panel-right.webp);
}

.panel-detail {
    position: absolute;
    background: url(images/panel-detail.webp);
    width: 278px;
    height: 26px;
}

#panel-detail-a {
    left: 12px;
    top: 546px;
}

#panel-detail-b {
    right: 14px;
    top: 546px;
}

#panel-detail-c {
    right: 14px;
    top: 350px;
}

.panel {
    position: relative;
    z-index: 2;
    width: 301px;
    height: 556px;
    padding: 43px 0 0;
    box-sizing: border-box;
}

.panel-header {
    text-align: center;
}

.panel-header span {
    font-family: Calibri, sans-serif;
    font-size: 1.33rem;
    line-height: 28px;

    background: linear-gradient(
        rgb(249, 226, 169) 0%, rgb(249, 226, 169) 33.2667%, rgb(255, 239, 180) 33.2767%, rgb(255, 239, 180) 38.4%,
        rgb(255, 229, 173) 38.41%, rgb(255, 229, 173) 43.5333%, rgb(255, 234, 178) 43.5433%, rgb(255, 234, 178) 48.6667%,
        rgb(255, 255, 227) 48.6767%, rgb(255, 255, 227) 53.8%, rgb(255, 255, 255) 53.81%, rgb(255, 255, 255) 58.9333%,
        rgb(255, 255, 255) 58.9433%, rgb(255, 255, 255) 64.0667%, rgb(255, 255, 208) 64.0767%, rgb(255, 255, 208) 69.2%,
        rgb(243, 218, 176) 69.21%, rgb(243, 218, 176) 74.3333%, rgb(246, 222, 181) 74.3433%, rgb(246, 222, 181) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #000) drop-shadow(0 1px 2px #000);
}

#content {
    position: relative;
    z-index: 2;
    min-height: 383px;
    padding: 56px 56px 66px;
}

#download-button-wrapper {
    position: absolute;
    left: 50%;
    width: 0;
    z-index: 0;
}

#download-button-container {
    position: absolute;
    top: -63px;
    left: -299px;
    background: url(images/download-bg.webp);
    width: 598px;
    height: 110px;
}

#download-button {
    display: block;
    position: absolute;
    top: 14px;
    left: 226px;
    background: url(images/download-button.webp);
    width: 146px;
    height: 83px;
    text-align: center;
    padding: 46px 0 0;
    box-sizing: border-box;
}

#download-button > span {
    font-family: Calibri, sans-serif;
    font-size: 1.33rem;
    line-height: 28px;

    background: linear-gradient(
        rgb(249, 226, 169) 0%, rgb(249, 226, 169) 33.2667%, rgb(255, 239, 180) 33.2767%, rgb(255, 239, 180) 38.4%,
        rgb(255, 229, 173) 38.41%, rgb(255, 229, 173) 43.5333%, rgb(255, 234, 178) 43.5433%, rgb(255, 234, 178) 48.6667%,
        rgb(255, 255, 227) 48.6767%, rgb(255, 255, 227) 53.8%, rgb(255, 255, 255) 53.81%, rgb(255, 255, 255) 58.9333%,
        rgb(255, 255, 255) 58.9433%, rgb(255, 255, 255) 64.0667%, rgb(255, 255, 208) 64.0767%, rgb(255, 255, 208) 69.2%,
        rgb(243, 218, 176) 69.21%, rgb(243, 218, 176) 74.3333%, rgb(246, 222, 181) 74.3433%, rgb(246, 222, 181) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #000) drop-shadow(0 1px 2px #000);
    text-shadow: none;
}

#navbar-wrapper {
    position: absolute;
    left: 50%;
    width: 0;
    z-index: 4;
}

#navbar {
    position: absolute;
    display: flex;
    justify-content: space-around;
    align-items: center;
    left: -272px;
    top: 32px;
    background: url(images/navbar.webp);
    width: 544px;
    height: 123px;
    box-sizing: border-box;
    padding: 0 34px 30px;
}

#navbar > a {
    display: block;
    height: 22px;
}

#navbar > a > span {
    font-family: Calibri, sans-serif;
    font-size: 1.33rem;

    background: linear-gradient(
        rgb(249, 226, 169) 0%, rgb(249, 226, 169) 33.2667%, rgb(255, 239, 180) 33.2767%, rgb(255, 239, 180) 38.4%,
        rgb(255, 229, 173) 38.41%, rgb(255, 229, 173) 43.5333%, rgb(255, 234, 178) 43.5433%, rgb(255, 234, 178) 48.6667%,
        rgb(255, 255, 227) 48.6767%, rgb(255, 255, 227) 53.8%, rgb(255, 255, 255) 53.81%, rgb(255, 255, 255) 58.9333%,
        rgb(255, 255, 255) 58.9433%, rgb(255, 255, 255) 64.0667%, rgb(255, 255, 208) 64.0767%, rgb(255, 255, 208) 69.2%,
        rgb(243, 218, 176) 69.21%, rgb(243, 218, 176) 74.3333%, rgb(246, 222, 181) 74.3433%, rgb(246, 222, 181) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #000) drop-shadow(0 1px 2px #000);
    text-shadow: none;
}

.navbar-separator {
    display: inline-block;
    background: url(images/nav-separator.webp);
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
}

#top-blend-wrapper {
    position: absolute;
    width: 0;
    left: 50%;
    z-index: 3;
    mix-blend-mode: color-dodge;
    pointer-events: none;
}

#top-blend {
    position: absolute;
    top: 357px;
    left: -161px;
    background: url(images/download-blend.webp);
    width: 296px;
    height: 160px;
}

#social-buttons {
    display: flex;
    flex-direction: column;
    justify-items: center;
    padding: 45px 0 0;
}

.social-button {
    display: block;
    width: 250px;
    height: 65px;
    position: relative;
    margin: 0 0 -6px;
}

.social-button > span {
    position: absolute;
    left: 88px;
    top: 19px;

    font-family: Calibri, sans-serif;
    font-size: 1.33rem;

    background: linear-gradient(
        rgb(249, 226, 169) 0%, rgb(249, 226, 169) 33.2667%, rgb(255, 239, 180) 33.2767%, rgb(255, 239, 180) 38.4%,
        rgb(255, 229, 173) 38.41%, rgb(255, 229, 173) 43.5333%, rgb(255, 234, 178) 43.5433%, rgb(255, 234, 178) 48.6667%,
        rgb(255, 255, 227) 48.6767%, rgb(255, 255, 227) 53.8%, rgb(255, 255, 255) 53.81%, rgb(255, 255, 255) 58.9333%,
        rgb(255, 255, 255) 58.9433%, rgb(255, 255, 255) 64.0667%, rgb(255, 255, 208) 64.0767%, rgb(255, 255, 208) 69.2%,
        rgb(243, 218, 176) 69.21%, rgb(243, 218, 176) 74.3333%, rgb(246, 222, 181) 74.3433%, rgb(246, 222, 181) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #000) drop-shadow(0 1px 2px #000);
    text-shadow: none;
}

.social-button > span.line1 {
    top: 12px;
}

.social-button > span.line2 {
    top: 28px;
}

#social-button-presentation {
    background: url(images/button-presentation.webp);
}

#social-button-presentation > span {
    font-size: 1.2em;
}

#social-button-discord {
    background: url(images/button-discord.webp);
}

#social-button-facebook {
    background: url(images/button-facebook.webp);
}

.button, button, .download-button {
    position: relative;
    display: inline-block;
    height: 40px;
    line-height: 36px;
    cursor: pointer;
    color: #FFF;
    text-decoration: none;
    font-family: Calibri, sans-serif;
    text-align: center;
    border: none;
    background: none;
    margin: -1px -3px -4px;
    padding: 0 38px 4px 38px;
    vertical-align: middle;
    text-transform: uppercase;
    font-size: 1.1rem;
    box-sizing: border-box;
    font-weight: normal;
    min-width: 0;
    white-space: nowrap;
    transition: filter 150ms;
}

.button span, button span, .download-button span {
    position: relative;
    z-index: 3;

    font-family: Calibri, sans-serif;

    background: linear-gradient(
        rgb(224, 199, 150) 0%, rgb(224, 199, 150) 37.4286%, rgb(233, 207, 156) 37.4386%, rgb(233, 207, 156) 42.6429%,
        rgb(230, 205, 155) 42.6529%, rgb(230, 205, 155) 47.8571%, rgb(255, 255, 202) 47.8671%, rgb(255, 255, 202) 53.0714%,
        rgb(255, 255, 235) 53.0814%, rgb(255, 255, 235) 58.2857%, rgb(255, 255, 224) 58.2957%, rgb(255, 255, 224) 63.5%,
        rgb(255, 232, 186) 63.51%, rgb(255, 232, 186) 68.7143%, rgb(255, 244, 199) 68.7243%, rgb(255, 244, 199) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #000) drop-shadow(0 1px 2px #000);
    text-shadow: none;
}

.button::before, button::before {
    content: '';
    display: block;
    background: url(images/button-repeat.webp) 0 0 repeat-x;
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 40px;
    z-index: 1;
}

.button::after, button::after {
    content: '';
    display: block;
    background: url(images/button-terminator.webp) left 0 no-repeat, url(images/button-terminator.webp) right -41px no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 2;
}

.button-ranking {
    line-height: 34px;
    padding: 0 0 6px 0;
    letter-spacing: -0.02rem;
    font-size: 1.23rem;
}

.button-ranking span {
    background: linear-gradient(
        rgb(233, 206, 155) 0%, rgb(233, 206, 155) 35.7143%, rgb(245, 217, 164) 35.7243%, rgb(245, 217, 164) 41.0714%,
        rgb(235, 208, 158) 41.0814%, rgb(235, 208, 158) 46.4286%, rgb(255, 255, 207) 46.4386%, rgb(255, 255, 207) 51.7857%,
        rgb(255, 255, 255) 51.7957%, rgb(255, 255, 255) 57.1429%, rgb(255, 255, 255) 57.1529%, rgb(255, 255, 255) 62.5%,
        rgb(255, 255, 255) 62.51%, rgb(255, 255, 255) 67.8571%, rgb(255, 255, 248) 67.8671%, rgb(255, 255, 248) 73.2143%,
        rgb(255, 234, 190) 73.2243%, rgb(255, 234, 190) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
}

.button:hover, button:hover {
    filter: brightness(1.2);
}

.button:active, button:active, .button.active, button.active {
    filter: brightness(0.7);
}

input[type="password"], input[type="text"], input[type="email"], select {
    height: 42px;
    box-sizing: border-box;
    border-image-slice: 21 40 21 40;
    border-image-width: 21px 40px 21px 40px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(images/input-compact.webp);
    background: none;
    padding: 0 30px 5px;
    color: #c8b085;
    outline: none;
    margin: 0 -8px;
    transition: background-color 2147483647s ease-in, background-image 2147483647s ease-in, color 2147483647s ease-in;
    min-width: 80px;
}

select {
    border-image-slice: 21 40 21 40;
    border-image-width: 21px 40px 21px 40px;
    border-image-source: url(images/select-compact.webp);
}

select option {
    background: #000;
}

textarea {
    padding: 6px 9px;
    /*border-radius: 5px;*/
    box-sizing: border-box;
    color: #c8b085;
    border-image-slice: 17 17 17 17;
    border-image-width: 17px 17px 17px 17px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(images/textarea.webp);
    background: rgba(0, 0, 0, 0.42);
    box-shadow: 0 0 10px #0006, inset 0 0 7px #000;
}

#full-ranking-button {
    margin: 0 auto;
    display: block;
    width: 166px;
}

#ranking-wrapper {
    height: 369px;
}

#ranking-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ranking-row {
    position: relative;
    display: flex;
    background: url(images/ranking-row.webp);
    width: 273px;
    height: 42px;
    margin: 0 0 -6px;
    color: #c1b191;
    line-height: 36px;
    box-sizing: border-box;
    padding: 0 31px;
    text-shadow: 0 0 5px #000, 0 0 5px #000, 0 0 5px #000, 0 0 5px #000;
}

.ranking-row-3::before, .ranking-row-1::before {
    display: block;
    content: '';
    position: absolute;
    top: 6px;
    right: 52px;
    width: 147px;
    height: 27px;
}

.ranking-row-3::before {
    background: url(images/empires.webp) -148px 0 no-repeat;
}

.ranking-row-1::before {
    background: url(images/empires.webp) 0 0 no-repeat;
}

.ranking-row a {
    color: #c1b191;
    transition: filter 150ms;
    text-shadow: 0 0 5px #000, 0 0 5px #000, 0 0 5px #000, 0 0 5px #000;
}

.ranking-row a:hover {
    filter: brightness(1.2);
}

.ranking-row a:active {
    filter: brightness(0.7);
}

.ranking-place {
    position: relative;
    width: 19px;
    flex: 0 0 19px;
    margin: 0 -4px 0 0;
    z-index: 2;
}

.ranking-name {
    position: relative;
    flex: 1 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    padding: 0 0 0 4px;
    z-index: 2;
}

.ranking-value {
    position: relative;
    z-index: 2;
}

#ranking-buttons {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 229px;
    margin: 0 auto;
    height: 40px;
    padding: 14px 0 2px;
}

#ranking-buttons .button {
    width: 116px;
    z-index: 1;
}

#ranking-buttons::after {
    display: block;
    content: '';
    position: absolute;
    top: 13px;
    left: 96px;
    background: url(images/ranking-buttons-detail.webp);
    width: 36px;
    height: 37px;
    z-index: 2;
}

#right, .user-panel, .user-buttons, #login-form-inputs {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.user-buttons .button {
    display: block;
    width: 214px;
}

.user-panel {
    height: 251px;
    box-sizing: border-box;
    padding: 25px 0 0;
}

#pin_input, #password_input, #login_input {
    height: 60px;
    width: 230px;
    box-sizing: border-box;
    border-image-slice: 30 40 30 40;
    border-image-width: 30px 40px 30px 40px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(images/input.webp);
    margin: -8px -8px -9px;
}

#session-button, .download-button {
    background: url(images/button-large.webp);
    width: 218px;
    height: 68px;
    margin: 10px 0 5px;
    font-size: 1.18rem;
    line-height: 61px;
    padding: 0 0 7px;
}

#session-button::before, #session-button::after {
    display: none;
}

#session-button span, .download-button span {
    background: linear-gradient(
        rgb(228, 203, 153) 0%, rgb(228, 203, 153) 31.5333%, rgb(255, 231, 174) 31.5433%, rgb(255, 231, 174) 36.8%,
        rgb(250, 222, 167) 36.81%, rgb(250, 222, 167) 42.0667%, rgb(253, 225, 169) 42.0767%, rgb(253, 225, 169) 47.3333%,
        rgb(255, 255, 221) 47.3433%, rgb(255, 255, 221) 52.6%, rgb(255, 255, 255) 52.61%, rgb(255, 255, 255) 57.8667%,
        rgb(255, 255, 239) 57.8767%, rgb(255, 255, 239) 63.1333%, rgb(255, 247, 195) 63.1433%, rgb(255, 247, 195) 68.4%,
        rgb(255, 255, 206) 68.41%, rgb(255, 255, 206) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
}

.form-links {
    font-family: Arial, Helvetica, sans-serif;
}

