@font-face {
    font-family: "AlbertusNova";
    src: url("fonts/Albertus-Nova/albertusnova.otf") format("opentype");
    font-weight: 500;
}

@font-face {
    font-family: "AlbertusNova";
    src: url("fonts/Albertus-Nova/albertusnovalight.otf") format("opentype");
    font-weight: 400;
}

@font-face {
    font-family: "AlbertusNova";
    src: url("fonts/Albertus-Nova/albertusnova_bold.otf") format("opentype");
    font-weight: 600;
}

@font-face {
    font-family: "AlbertusNova";
    src: url("fonts/Albertus-Nova/albertusnovablack.otf") format("opentype");
    font-weight: 800;
}

@font-face {
    font-family: "AlbertusNova";
    src: url("fonts/Albertus-Nova/albertusnovathin.otf") format("opentype");
    font-weight: 300;
}


html, body {
    position: relative;
    padding: 0;
    margin: 0;
    min-width: 1361px;
    color: #5b5b5b;
    font-family: AlbertusNova, "Times New Roman", serif;
    font-weight: 400;
    font-size: 12px;
    background: #0d0d0d;
}

html {
    height: 100%;
}

body {
    height: 100%;
}

#page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    min-height: 100%;
}

a {
    color: #a08f6f;
    transition: color 100ms;
    text-underline-offset: 2px;
}

a:hover {
    color: #c0ac85;
}

a:active {
    color: #807259;
}

.button-effects, .download-button {
    transition: filter 150ms;
}

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

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

#header {
    background: url(images/header.webp) center 0 no-repeat;
    width: 100%;
    height: 874px;
    flex: 1 0 874px;
    z-index: 1;
}

#header .container {
    position: relative;
    height: 874px;
    z-index: 1;
}

#header-login-container {
    background: url(images/create_or_login.webp);
    width: 344px;
    height: 52px;
    position: absolute;
    top: 1px;
    left: 0;
    font-weight: 300;
    color: #FFF;
    text-align: center;
    line-height: 42px;
}

#header-login-container > span {
    color: transparent;
    background: #FFF;
    background-clip: text;
    -webkit-background-clip: text;
}

#header-login-container a {
    color: #000;
    background: none;
    font-weight: 600;
}

#header-login-container a:hover {
    color: #dddddd;
}

#header-login-container a:active {
    color: #c1c1c1;
}

#header-content {
    position: absolute;
    bottom: 285px;
    left: 87px;
    width: 526px;
}

#header-buttons {
    display: flex;
    justify-content: center;
}

#header-download-button, .download-button {
    background: url(images/download.webp);
    width: 247px;
    height: 60px;
}

#header-register-button {
    background: url(images/register.webp);
    width: 247px;
    height: 60px;
}

.header-button-wrapper a {
    text-decoration: none;
    box-sizing: border-box;
    padding: 19px 0px 0 59px;
    text-align: center;
}

.header-button-wrapper a span, .download-button span {
    background: #000;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
}

a#header-register-button span {
    background: linear-gradient(90deg, #e2c698, #847358);
    color: transparent;
    background-clip: text;
}

a#header-download-button span {
    font-weight: 500;
    color: #000;
}

.header-button-wrapper {
    display: flex;
    flex-direction: column;
}

.header-button-wrapper label {
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.header-button-wrapper label span {
    background: linear-gradient(rgb(254, 254, 255) 0%, rgb(254, 254, 255) 31.4286%, rgb(255, 254, 254) 31.4386%, rgb(255, 254, 254) 37.1429%, rgb(254, 255, 255) 37.1529%, rgb(254, 255, 255) 42.8571%, rgb(255, 254, 255) 42.8671%, rgb(255, 254, 255) 48.5714%, rgb(255, 255, 255) 48.5814%, rgb(255, 255, 255) 54.2857%, rgb(254, 255, 255) 54.2957%, rgb(254, 255, 255) 60%, rgb(250, 251, 250) 60.01%, rgb(250, 251, 250) 65.7143%, rgb(240, 240, 241) 65.7243%, rgb(240, 240, 241) 71.4286%, rgb(215, 215, 214) 71.4386%, rgb(215, 215, 214) 77.1429%, rgb(199, 199, 198) 77.1529%, rgb(199, 199, 198) 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    font-size: 1rem;
    filter: drop-shadow(0 1px 1px #0007);
    font-weight: 600;
}

#header-welcome {
    margin: 0;
    color: #000;
    text-align: center;
    font-size: 1.80rem;
    letter-spacing: 0.05rem;
    font-weight: 800;
}

#header-message {
    color: #FFF;
    margin: 13px 0 35px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 16px;
    font-weight: 100;
}

.container {
    position: relative;
    width: 1361px;
    margin: 0 auto;
}

#navbar-container {
    background: url(images/nav.webp) center 0 no-repeat;
    width: 100%;
    position: relative;
    z-index: 2;
}

#navbar {
    width: 1350px;
    margin: 0 auto;
    height: 96px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    padding: 0 0 6px;
}

#navbar > a {
    text-decoration: none;
    display: block;
    margin: 0 0 0 78px;
}

#navbar > a:first-child {
    margin: 0;
}

#language-panel {
    margin: 0 0 0 auto;
    padding: 0 36px 5px 0;
}

#navbar > a > span {
    color: transparent;
    background-image: linear-gradient(rgb(102, 90, 68) 0%, rgb(102, 90, 68) 29.8%, rgb(151, 130, 101) 29.81%, rgb(151, 130, 101) 35.2%, rgb(155, 134, 104) 35.21%, rgb(155, 134, 104) 40.6%, rgb(144, 128, 98) 40.61%, rgb(144, 128, 98) 46%, rgb(153, 135, 102) 46.01%, rgb(153, 135, 102) 51.4%, rgb(162, 143, 109) 51.41%, rgb(162, 143, 109) 56.8%, rgb(172, 153, 116) 56.81%, rgb(172, 153, 116) 62.2%, rgb(187, 163, 125) 62.21%, rgb(187, 163, 125) 67.6%, rgb(197, 173, 131) 67.61%, rgb(197, 173, 131) 73%, rgb(204, 176, 126) 73.01%, rgb(204, 176, 126) 78.4%, rgb(255, 255, 199) 78.41%, rgb(255, 255, 199) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 1px #0007);
}

#navbar > a.active > span {
    background: #FFF;
    background-clip: text;
    -webkit-background-clip: text;
}

#logo {
    position: absolute;
    left: 78px;
    top: 83px;
    display: block;
    background: url(images/degadon.webp);
    width: 549px;
    height: 282px;
}

#main {
    display: flex;
    margin: -107px 0 0;
    z-index: 2;
}

.side-panel::after {
    content: '';
    display: block;
    height: 149px;
}

.panel {

}

#login-panel {
    position: relative;
    background: url(images/login_panel.webp);
    width: 322px;
    height: 430px;
    margin: -8px 0 -4px;
    z-index: 3;
}

.ranking-panel {
    position: relative;
    background: url(images/ranking_panel.webp);
    width: 322px;
    height: 560px;
    margin: 0 0 -3px;
    z-index: 2;
}

#events-panel {
    position: relative;
    background: url(images/events_panel.webp);
    width: 322px;
    height: 407px;
    z-index: 1;
}

#buttons-panel {
    display: flex;
    flex-direction: column;
    margin: 1px 0 6px;
}

.buttons-panel-button {
    display: block;
    width: 322px;
    height: 103px;
    text-decoration: none;
    box-sizing: border-box;
    padding: 36px 0 0 134px;
}

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

#buttons-panel-discord {
    background: url(images/discord.webp);
    margin: 0 0 -1px;
}

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

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

.buttons-panel-button .title {
    background: linear-gradient(90deg, #ffffff, #ffffd1 35%, #ffebbe 50%, #d3be9a);
    width: fit-content;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.06rem;
    filter: drop-shadow(0 1px 1px #0007);
    line-height: 17px;
}

.buttons-panel-button .subtitle {
    color: #000;
    text-transform: uppercase;
    font-size: 0.8rem;
    line-height: 19px;
    letter-spacing: 0.032rem;
    font-weight: 600;
}

.buttons-panel-button.grayscale .title {
    background: linear-gradient(90deg, #d6d6d6, #7c7c7c);
    background-clip: text;
    -webkit-background-clip: text;
}

.buttons-panel-button.grayscale .subtitle {
    color: #9c9c9c;
}

#trailer-panel {
    position: relative;
    background: url(images/trailer_panel.webp);
    width: 322px;
    height: 237px;
    z-index: 1;
}

#content-container {
    width: 669px;
    margin: 0 18px 0 20px; /* todo: to jest tak zepsute specjalnie zeby pasowalo do tego co jest namalowane, jak juz wszystko bedzie zakodowane to dac z powrotem na 0 20px */
    display: flex;
    flex-direction: column;
}

#content-wrapper {
    position: relative;
    min-height: 281px;
    box-sizing: border-box;
    margin: -8px 0 0;
    flex: 1;
}

#content-title {
    position: relative;
    z-index: 2;
    height: 70px;
    padding: 26px 75px;
    box-sizing: border-box;
}

#content-title span {
    background: linear-gradient(90deg, #fff0b2, #e6c794);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.06rem;
    filter: drop-shadow(0 1px 1px #0007);
}

.panel-header {
    height: 70px;
    padding: 25px 0 25px 75px;
    box-sizing: border-box;
    display: flex;
}

.panel-header span {
    background: linear-gradient(90deg, #fff0b2, #e6c794);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.01rem;
    filter: drop-shadow(0 1px 1px #0007);
}

#login-panel .panel-header > span {
    font-size: 0.9rem;
    max-width: 135px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#login-panel .panel-header label {
    position: absolute;
    top: 23px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    width: 96px;
    height: 27px;
    margin: 0;
    text-align: center;
    color: #caaf82;
    font-weight: 300;
}

#login-panel .panel-header label a {
    color: #FFF;
}

#login-panel .panel-header label a:hover {
    color: #c0ac85;
}

#login-panel .panel-header label a:active {
    color: #807259;
}

.panel-subheader {
    background: url(images/panel-bg.webp) center center no-repeat;
    height: 45px;
    margin: 5px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.panel-subheader-title {
    line-height: 16px;
    color: #caaf82;
}

.panel-subheader-subtitle {
    line-height: 18px;
    margin: -3px 0 0;
    color: #fff;
}

.ranking-panel .panel-subheader {
    margin: 10px 0 0;
}

.events-subheader {
    margin: 17px 0 0;
    text-align: center;
}

.events-subheader-title {
    line-height: 18px;
    color: #fff;
}

.events-subheader-subtitle {
    line-height: 22px;
    color: #caaf82;
    font-size: 1.3rem;
    margin: -2px 0 0;
    letter-spacing: 0.04rem;
}

.event-row {
    display: flex;
    justify-content: space-between;
    line-height: 25px;
}

.event-name {
    color: #caaf82;
    font-size: 1.1rem;
}

.event-time {
    color: #5b5b5b;
    font-size: 1.1rem;
}

#events {
    box-sizing: border-box;
    padding: 11px 21px 0;
    height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
}

#events:focus-visible {
    outline: 1px solid #caaf82;
    outline-offset: -3px;
}

#events-panel #events .event-row {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #caaf8230;
    line-height: 1.4;
}

#events-panel #events .event-row:last-child {
    border-bottom: 0;
}

#events-panel #events .event-name {
    overflow-wrap: anywhere;
}

#events-panel #events .event-time {
    color: #b1a07f;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#events-panel #events .event-state {
    color: #caaf82;
    font-weight: 600;
}

#events-panel #events .events-empty {
    padding: 16px 0;
    color: #b1a07f;
    line-height: 1.5;
    text-align: center;
}

#content {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    padding: 21px 14px 40px;
}

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

#content-bg-top {
    position: absolute;
    background: url(images/content-top.webp);
    width: 669px;
    height: 251px;
    top: 0;
    left: 0;
    z-index: 1;
}

#content-bg-repeat {
    position: absolute;
    background: url(images/content-repeat.webp) 0 0 repeat-y;
    width: 669px;
    top: 250px;
    bottom: 101px;
    z-index: 1;
}

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

#slider {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
    height: 309px;
    background: #000;
    margin: 0 0 12px;
}

#slider .slider-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#slider .slider-image[hidden] {
    display: none;
}

#slider .slider-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    box-sizing: border-box;
    max-height: 100%;
    margin: 0;
    padding: 24px 22px 16px;
    color: #fff0d2;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 4px #000;
    background: linear-gradient(0deg, #000e, #0008 75%, #0000);
    pointer-events: none;
}

#slider .slider-caption[hidden] {
    display: none;
}

#slider:focus-visible {
    outline: 2px solid #a79370;
    outline-offset: 2px;
}

#footer {
    position: relative;
    width: 100%;
    height: 541px;
    flex: 1 0 541px;
    z-index: 1;
}

.footer-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 362px;
}

#footer-bar {
    background: url(images/footer-bar.webp) center 0 no-repeat;
    height: 87px;
    z-index: 1;
}

#footer-navigation {
    background: url(images/footer-bar-2.webp) center 0 no-repeat;
    height: 68px;
    bottom: 57px;
    z-index: 2;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 27px 0;
}

#footer-navigation a {
    margin: 0 0 0 81px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #FFF;
}

#footer-navigation a:hover {
    color: #c5c5c5;
}

#footer-navigation a:active {
    color: #a1a1a1;
}

#footer-navigation a:first-child {
    margin: 0;
}

#footer-navigation a.active {
    color: #d2bd99;
}

#footer-bar-3 {
    background: url(images/footer-bar-3.webp) center 0 no-repeat;
    height: 58px;
    bottom: 0;
    z-index: 1;
    color: #727272;
}

#footer-bar-3 span {
    color: #d2bd99;
}

#footer-bar-3 .container {
    padding: 24px 0 0 9px;
    box-sizing: border-box;
    font-weight: 400;
}

#footer-bg {
    background: url(images/footer-bg.webp) center 0 no-repeat;
    height: 238px;
    bottom: 124px;
    z-index: 1;
}

#footer-logo {
    position: absolute;
    background: url(images/degadon_small.webp);
    width: 417px;
    height: 251px;
    bottom: 5px;
    left: 50%;
    transform: translateX(-213px);
}

#footer-model {
    background: url(images/model.webp);
    width: 220px;
    height: 353px;
    position: absolute;
    bottom: 125px;
    left: 50%;
    z-index: 2;
    transform: translateX(186px);
}

#bg {
    position: absolute;
    background: url(images/background.webp) center 0 no-repeat;
    background-size: 2560px 100%;
    top: 870px;
    left: 0;
    right: 0;
    bottom: 448px;
    z-index: 0;
}

a.button-dark {
    text-decoration: none;
    display: block;
    background: url(images/button-dark.webp);
    width: 247px;
    height: 60px;
    box-sizing: border-box;
    padding: 21px 0 0;
    text-align: center;
}

a.button-dark span {
    background: linear-gradient(90deg, #e2c698, #837358);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
}

#footer-bar .container {
    display: flex;
    justify-content: space-between;
    padding: 14px 7px 0 0;
    box-sizing: border-box;
}

#layout-lang-picker-wrapper {
    position: relative;
}

#language-selector {
    position: relative;
    text-decoration: none;
    transition: filter 150ms;
}

#language-selector:hover {
    filter: brightness(1.2);
}

#language-selector:active {
    filter: brightness(0.8);
}

#language-flag {
    position: absolute;
    display: block;
    width: 26px;
    height: 26px;
    left: -1px;
    top: -4px;
    background: transparent center no-repeat;
    background-size: cover;
    border-radius: 26px;
    border: 1px solid #b69c6d;
    box-shadow: inset 0 0 2px 0 #000, inset 0 0 2px 0 #000;
}

#language-name {
    color: #595959;
    font-size: 1rem;
    margin: 0 0 0 6px;
}

#language-flag.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    left: 50%;
    transform: translate(-14px, -14px);
    background: url(../../images/loading.webp) no-repeat;
    background-size: contain;
    opacity: 0.75;
    z-index: 2;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#layout-lang-picker-wrapper.open .arrow-down {
    transform: translateY(-2px) scaleY(-1);
}

.layout-lang-picker-item-flag {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background: #F0F center no-repeat;
    background-size: cover;
    filter: brightness(0.8) saturate(0.8);
    box-shadow: 0 0 3px #000;
}

@keyframes layout-spin {
    from {
        transform: translate(-14px, -14px) rotate(0deg);
    }
    to {
        transform: translate(-14px, -14px) rotate(360deg);
    }
}

.layout-lang-picker-item-label {
    width: 106px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
    padding: 0 0 0 8px;
    color: #ccc;
    text-shadow: 0 0 3px #000;
}

.layout-lang-picker-list {
    position: absolute;
    display: flex;
    flex-direction: column;
    opacity: 0;
    top: 30px;
    right: 0;
    transition: opacity 100ms, top 100ms;
    pointer-events: none;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 6px 2px #000A, inset 0 0 5px rgba(0, 0, 0, 0.25), inset 1px 1px 0 rgba(219, 246, 255, 0.15);
    padding: 4px 0;
    border-radius: 2px;
    cursor: pointer;
}

.layout-lang-picker-item {
    display: flex;
    align-items: center;
    height: 30px;
    line-height: 30px;
    padding: 4px 8px;
    transition: background-color 100ms;
    color: #FFF;
    text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000;
}

#layout-lang-picker-wrapper.open .layout-lang-picker-list {
    display: flex;
    opacity: 1;
    pointer-events: all;
    cursor: pointer;
    border-radius: 3px;
    top: 40px;
}

.layout-lang-picker-item:hover {
    background: rgba(0, 0, 0, 0.5);
    filter: brightness(1.2);
}

.layout-lang-picker-item:active {
    background: rgba(0, 0, 0, 0.3);
    filter: brightness(0.8);
}

.arrow-down {
    background: url(images/lang-arrow.webp);
    display: inline-block;
    width: 12px;
    height: 6px;
    margin: 0 0 0 35px;
    position: relative;
    top: -2px;
}

.button-main {
    display: block;
    background: url(images/main.webp);
    width: 265px;
    height: 48px;
    text-decoration: none;
    box-sizing: border-box;
    padding: 15px 0 0 20px;
}

button.button-main {
    text-align: left;
    padding-top: 0;
}

.button-main span {
    color: transparent;
    background: linear-gradient(90deg, #ffffff, #ffffd1 35%, #ffebbe 50%, #d3be9a);
    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    font-weight: 600;
    filter: drop-shadow(0 1px 1px #0007);
    font-size: 1rem;
}

.button-main.dark {
    background: url(images/main_darken.webp);
}

.user-panel-logged-in .button-main {
    margin: 10px 0 0;
}

#user-balance {
    width: 261px;
    padding: 22px 0 2px;
    line-height: 17px;
}

#login-button {
    margin: 16px 0 0;
}

.form-links {
    margin: 10px 0 0;
    width: 254px;
    line-height: 20px;
}

.ranking {
    padding: 4px 17px 0 20px;
    box-sizing: border-box;
    height: 347px;
}

.ranking-row {
    display: flex;
    margin: 0 0 10px;
    position: relative;
}

.ranking-row > * {
    position: relative;
    z-index: 2;
}

.ranking-row:nth-child(2n)::before {
    content: '';
    display: block;
    background: rgba(91, 91, 91, 0.05);
    position: absolute;
    top: -5px;
    left: -20px;
    right: -17px;
    bottom: -5px;
    z-index: 1;
}

.ranking-avatar {
    position: relative;
    background: url(images/avatar.webp);
    width: 54px;
    height: 54px;
    flex: 1 0 54px;
}

#ranking-panel-guilds .ranking-avatar {
    background: url(images/guild_icon.webp);
}

.ranking-position {
    position: relative;
    background: url(images/rank_output.webp);
    width: 24px;
    height: 24px;
    top: 31px;
    left: -1px;
    text-align: center;
    line-height: 23px;
    color: #b49c74;
    font-size: 0.9rem;
    font-weight: 600;
}

.ranking-name-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 0 0 6px;
}

.ranking-name {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 1.3em;
    line-height: 20px;
}

.ranking-name:hover {
    color: #fff;
    text-shadow: 0 0 3px #FFF;
}

.ranking-name:active {
    color: #cdcdcd;
    text-shadow: none;
}

.ranking-guild-name {
    display: block;
    text-decoration: none;
    color: #5b5b5b;
    font-size: 1em;
    line-height: 16px;
    font-weight: 300;
    letter-spacing: -0.04rem;
    margin: -3px 0 0;
}

.ranking-name, .ranking-guild-name {
    min-width: 0;
    white-space: nowrap;
    width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-guild-name:hover {
    color: #8c8c8c;
}

.ranking-guild-name:active {
    color: #4a4a4a;
}

.ranking-value-wrapper {
    flex: 1 0 35px;
    box-sizing: border-box;
    padding: 6px 0 0;
    text-align: center;
}

.ranking-value {
    background: url(images/level_output.webp);
    width: 35px;
    height: 43px;
    color: #efd3b8;
    box-sizing: border-box;
    padding: 8px 0 0;
}

.ranking-value div {
    font-weight: 300;
    font-size: 0.7rem;
    line-height: 10px;
}

.ranking-value span {
    line-height: 17px;
    margin: 0 0 0;
}

.ranking-empire-wrapper {
    flex: 1 0 54px;
    box-sizing: border-box;
    padding: 18px 0 0;
}

.ranking-empire {
    width: 34px;
    height: 22px;
}

.ranking-empire-1 {
    background: url(images/chunjo.webp) 0 0 no-repeat;
}

.ranking-empire-2 {
    background: url(images/jinno.webp) 0 0 no-repeat;
}

.ranking-empire-3 {
    background: url(images/shinsoo.webp) 0 0 no-repeat;
}

#footer-presentation {
    text-transform: uppercase;
    font-weight: 600;
    padding: 14px 0 0 8px;
}

#footer-presentation div {
    color: #fff;
    font-size: 1.65rem;
    line-height: 18px;
    letter-spacing: 0.073rem;
}

#footer-presentation span {
    color: #000;
    line-height: 17px;
    letter-spacing: 0.015rem;
}


input[type="password"], input[type="text"], input[type="email"], select {
    height: 38px;
    box-sizing: border-box;
    border-image-slice: 18 45 20 45 fill;
    border-image-width: 18px 45px 20px 45px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: round stretch;
    border-image-source: url(images/input.webp);
    background: none;
    padding: 0 12px 0;
    outline: none;
    margin: 1px;
    transition: background-color 2147483647s ease-in, background-image 2147483647s ease-in, color 2147483647s ease-in;
    min-width: 90px;
    color: #e7e7e7;
    font-family: AlbertusNova, "Times New Roman", serif;
    font-size: 0.9rem;
    color: #a79370;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    border-image-slice: 18 45 20 45 fill;
    border-image-width: 18px 45px 20px 45px;
    border-image-source: url(images/select.webp);
    padding: 0 47px 0 24px;
}

select option {
    background: #151515;
}

textarea {
    font-family: AlbertusNova, "Times New Roman", serif;
    font-size: 0.9rem;
    color: #a79370;
    box-sizing: border-box;
    border-image-slice: 5 45 5 45 fill;
    border-image-width: 5px 45px 5px 45px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: round stretch;
    border-image-source: url(images/input.webp);
    padding: 8px 12px 0;
    outline: none;
    background: none;

    color: #e7e7e7;
}

.input-text {
    line-height: 41px;
    height: 41px;
}

.button, button {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    background: none;
    background-size: auto 100%;
    border: none;
    margin: 2px;
    height: 37px;
    line-height: 34px;
    padding: 0 29px 1px;
    box-sizing: border-box;
    transition: filter 150ms;
    cursor: pointer;
    text-decoration: none;
    text-shadow: none;
    text-align: center;
    vertical-align: top;
}

.button-bg {
    position: absolute;
    top: 0;
    left: 9px;
    right: 9px;
    z-index: 1;
    background: url(images/button-repeat.webp);
    height: 37px;
}

.button-bg::before {
    content: '';
    position: absolute;
    background: url(images/button-terminator.webp) 0 0 no-repeat, url(images/button-terminator.webp) right -38px no-repeat;
    height: 37px;
    top: 0;
    left: -9px;
    right: -9px;
    z-index: 1;
}

.button > span, button > span {
    position: relative;
    z-index: 2;
    font-family: AlbertusNova, "Times New Roman", serif;
    text-transform: uppercase;
    color: #FFF;
    font-size: 0.9rem;
    filter: drop-shadow(0 2px 2px #0003);
}

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

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

.user-panel {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

#login_input, #password_input, #pin_input {
    width: 265px;
    height: 47px;
    box-sizing: border-box;
    padding: 0 12px 0 62px;
    border-image: none;
    border: none;
    font-size: 1rem;
}

#login_input::placeholder, #password_input::placeholder, #pin_input::placeholder {
    color: inherit;
}

#login_input {
    border-image: url(images/login.webp) 0 fill / 0 stretch;
    background: none;
    -webkit-text-fill-color: #a79370;
    caret-color: #a79370;
    margin: 15px 0 0;
}

#password_input {
    border-image: url(images/password.webp) 0 fill / 0 stretch;
    background: none;
    -webkit-text-fill-color: #a79370;
    caret-color: #a79370;
    margin: 8px 0 0;
}

#pin_input {
    background: url(images/pin.webp);
    margin: 8px 0 0;
}