﻿.login-concept {
    box-sizing: border-box;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
    color: #ede7da;
    background:
        linear-gradient(180deg, rgba(4, 5, 6, 0.02) 0%, rgba(4, 5, 6, 0.06) 62%, rgba(0, 0, 0, 0.46) 100%),
        linear-gradient(90deg, rgba(3, 4, 5, 0.1) 0%, rgba(3, 4, 5, 0.02) 31%, rgba(3, 4, 5, 0.02) 68%, rgba(3, 4, 5, 0.18) 100%),
        url('/images/ui-concepts/redesign/public-login-scene.png') center / cover no-repeat;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.login-concept *,
.login-concept *::before,
.login-concept *::after {
    box-sizing: inherit;
}

.login-concept::before,
.login-concept::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.login-concept::before {
    background:
        radial-gradient(circle at 55% 16%, rgba(212, 175, 55, 0.13), transparent 13%),
        radial-gradient(circle at 80% 85%, rgba(202, 92, 37, 0.18), transparent 15%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.34) 72%, rgba(0, 0, 0, 0.82) 100%);
    mix-blend-mode: screen;
    opacity: 0.55;
}

.login-concept::after {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.18) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 92px 92px, 92px 92px;
    opacity: 0.12;
}

.login-concept__scene {
    display: none;
}

.login-concept__moon {
    position: absolute;
    top: 4.5%;
    left: 8.4%;
    width: 160px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.78), rgba(221, 214, 197, 0.52) 28%, rgba(171, 162, 145, 0.24) 48%, transparent 66%);
    box-shadow: 0 0 46px rgba(222, 214, 191, 0.22);
    opacity: 0.35;
}

.login-concept__castle {
    position: absolute;
    top: 2.5%;
    right: 19%;
    width: 300px;
    height: 435px;
    opacity: 0.5;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.65));
}

.login-concept__castle::before,
.login-concept__castle::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(208, 198, 176, 0.35);
    background: linear-gradient(180deg, rgba(19, 23, 25, 0.92), rgba(7, 9, 10, 0.96));
}

.login-concept__castle::before {
    top: 102px;
    width: 190px;
    height: 255px;
}

.login-concept__castle::after {
    top: 28px;
    width: 118px;
    height: 106px;
}

.login-concept__roof {
    position: absolute;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%) skewX(-9deg);
    height: 20px;
    background: linear-gradient(180deg, #c8b078, #242a33 35%, #050607 100%);
    box-shadow: 0 4px 0 #050607;
}

.login-concept__roof--top {
    top: 28px;
    width: 170px;
}

.login-concept__roof--mid {
    top: 118px;
    width: 250px;
}

.login-concept__roof--low {
    top: 232px;
    width: 318px;
}

.login-concept__banner-pole {
    position: absolute;
    left: 22.2%;
    top: 17%;
    width: 18px;
    height: 455px;
    transform: rotate(-9deg);
    background: linear-gradient(90deg, #050607, #211911 44%, #080808);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.8);
    opacity: 0.64;
}

.login-concept__banner-cloth {
    position: absolute;
    left: 21.1%;
    top: 32%;
    width: 84px;
    height: 300px;
    transform: rotate(-9deg);
    background:
        radial-gradient(circle at 50% 42%, rgba(196, 151, 75, 0.42), transparent 16%),
        linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(22, 16, 10, 0.84));
    clip-path: polygon(0 0, 100% 7%, 84% 100%, 10% 93%);
    opacity: 0.42;
}

.login-concept__warrior {
    position: absolute;
    right: 25.1%;
    bottom: 15.4%;
    width: 118px;
    height: 285px;
    background:
        radial-gradient(ellipse at 50% 11%, #101112 0 14%, transparent 15%),
        linear-gradient(90deg, transparent 0 34%, #090a0b 34% 65%, transparent 65%),
        radial-gradient(ellipse at 50% 58%, #0b0c0d 0 34%, transparent 35%);
    filter: drop-shadow(18px 24px 20px rgba(0, 0, 0, 0.8));
    opacity: 0.48;
}

.login-concept__brand,
.login-concept__side-panel,
.login-auth-panel,
.login-concept__footer,
.login-server-select {
    position: relative;
    z-index: 1;
}

.login-concept__brand {
    position: absolute;
    top: clamp(58px, 8.6vh, 112px);
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    justify-items: center;
    text-align: center;
}

.login-concept__brand-name {
    position: relative;
    color: #d6ad43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.1rem, 6vw, 7rem);
    font-weight: 800;
    line-height: 0.78;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    text-shadow:
        0 4px 0 rgba(20, 11, 4, 0.62),
        0 15px 36px rgba(0, 0, 0, 0.75);
}

.login-concept__brand-name::before,
.login-concept__brand-name::after {
    content: "";
    position: absolute;
    top: 58%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #c8973d 22%, transparent 100%);
    opacity: 0.7;
}

.login-concept__brand-name::before {
    left: -54px;
    width: 84px;
    transform: rotate(-12deg);
}

.login-concept__brand-name::after {
    right: -70px;
    width: 116px;
    transform: rotate(-9deg);
}

.login-concept__brand-kanji {
    position: absolute;
    top: 0.14em;
    right: -0.98em;
    color: #a81414;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 2.5vw, 3.1rem);
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 5px 16px rgba(0, 0, 0, 0.85);
}

.login-concept__brand-subtitle {
    margin-top: 10px;
    color: #d0a649;
    font-size: clamp(0.72rem, 1vw, 1.2rem);
    letter-spacing: 0.62em;
    text-transform: uppercase;
}

.login-concept__side-panel {
    position: absolute;
    top: clamp(220px, 27.6vh, 280px);
    display: grid;
    gap: 26px;
    width: clamp(330px, 20vw, 410px);
    padding: 25px 20px 19px;
    border: 1px solid rgba(176, 128, 45, 0.68);
    background:
        linear-gradient(180deg, rgba(11, 13, 14, 0.97), rgba(11, 13, 14, 0.89)),
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.14), transparent 42%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 224, 149, 0.05),
        0 28px 70px rgba(0, 0, 0, 0.58);
}

.login-concept__side-panel::before,
.login-auth-panel::before,
.login-concept__side-panel::after,
.login-auth-panel::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(207, 162, 65, 0.72);
    pointer-events: none;
}

.login-concept__side-panel::before,
.login-auth-panel::before {
    top: -1px;
    left: -1px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.login-concept__side-panel::after,
.login-auth-panel::after {
    right: -1px;
    bottom: -1px;
    border-right: 1px solid;
    border-bottom: 1px solid;
}

.login-concept__side-panel--left {
    left: clamp(28px, 2.15vw, 45px);
}

.login-concept__side-panel--right {
    right: clamp(28px, 2.4vw, 52px);
}

.login-info-block {
    display: grid;
    gap: 14px;
}

.login-info-block + .login-info-block {
    padding-top: 8px;
}

.login-info-block h2 {
    margin: 0;
    color: #d8ae45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-status-card,
.login-metric-card,
.login-world-card,
.login-update-card {
    border: 1px solid rgba(255, 255, 255, 0.085);
    background: rgba(9, 10, 11, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.login-status-card,
.login-metric-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 66px;
    padding: 12px 14px;
    border-radius: 7px;
}

.login-status-card strong,
.login-metric-card strong {
    display: block;
    color: #f0ece4;
    font-size: 0.96rem;
    font-weight: 650;
}

.login-status-card span:not(.login-status-dot),
.login-metric-card span {
    display: block;
    margin-top: 4px;
    color: #918d86;
    font-size: 0.77rem;
}

.login-status-dot {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #2cd84e;
    box-shadow: 0 0 20px rgba(44, 216, 78, 0.48);
}

.login-metric-card i {
    color: #d4af37;
    font-size: 1.56rem;
}

.login-metric-card strong {
    font-size: 1.65rem;
    letter-spacing: 0.06em;
}

.login-world-card {
    display: grid;
    gap: 7px;
    padding: 12px 13px 16px;
    border-radius: 7px;
}

.login-world-card__image {
    height: 99px;
    margin-bottom: 7px;
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)),
        url('/images/ui-concepts/redesign/public-login-scene.png') 50% 68% / 360% auto no-repeat;
    filter: grayscale(0.15) brightness(0.72);
}

.login-world-card strong {
    color: #ebe3d4;
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-world-card span {
    color: #a39d93;
    font-size: 0.84rem;
}

.login-auth-panel {
    position: absolute;
    top: clamp(228px, 28.1vh, 286px);
    left: 50%;
    width: clamp(520px, 32.25vw, 650px);
    transform: translateX(-50%);
    margin: 0;
    padding: 0 31px 27px;
    border: 1px solid rgba(176, 128, 45, 0.64);
    background:
        linear-gradient(180deg, rgba(11, 13, 14, 0.96), rgba(11, 13, 14, 0.9)),
        radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.1), transparent 38%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 224, 149, 0.045),
        0 32px 80px rgba(0, 0, 0, 0.62);
}

.login-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 53px;
    margin-bottom: 0;
}

.login-auth-tabs span {
    display: grid;
    place-items: center;
    border-bottom: 4px solid transparent;
    color: #8e8880;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-auth-tabs span.is-active {
    border-color: #d4af37;
    color: #e9c86f;
}

.login-form-card {
    display: grid;
    gap: 20px;
    padding: 27px 14px 30px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(9, 10, 11, 0.6), rgba(9, 10, 11, 0.38));
}

.login-field {
    display: grid;
    gap: 10px;
}

.login-field label {
    color: #9b968d;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-input-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    background: rgba(7, 8, 9, 0.72);
}

.login-input-shell i {
    color: #d4af37;
    font-size: 1.13rem;
}

.login-input-shell__end {
    color: #b99743;
}

.login-input-shell input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #d8d2c7;
    font: inherit;
    cursor: default;
}

.login-input-shell input::placeholder {
    color: #89837a;
    opacity: 1;
}

.login-options-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    color: #b99a52;
    font-size: 0.88rem;
}

.login-options-row a {
    color: #c4a153;
    text-decoration: none;
}

.login-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #c29a3c;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.32);
}

.login-enter-button {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 63px;
    overflow: hidden;
    border: 1px solid #d2aa49;
    border-radius: 6px;
    background:
        radial-gradient(circle at 8% 55%, rgba(106, 71, 22, 0.4), transparent 14%),
        radial-gradient(circle at 94% 54%, rgba(106, 71, 22, 0.48), transparent 12%),
        linear-gradient(180deg, #dbbb5e, #c5952e);
    box-shadow:
        inset 0 0 0 2px rgba(48, 31, 6, 0.42),
        inset 0 18px 26px rgba(255, 234, 153, 0.18),
        0 12px 28px rgba(0, 0, 0, 0.42);
    color: #171009;
    cursor: default;
}

.login-enter-button::before,
.login-enter-button::after {
    content: "";
    position: absolute;
    width: 78px;
    height: 78px;
    background:
        radial-gradient(circle, transparent 0 18%, rgba(85, 57, 20, 0.34) 19% 22%, transparent 23%),
        conic-gradient(from 20deg, transparent 0 10%, rgba(85, 57, 20, 0.35) 10% 14%, transparent 14% 24%, rgba(85, 57, 20, 0.35) 24% 28%, transparent 28%);
    opacity: 0.48;
}

.login-enter-button::before {
    left: -20px;
    top: -7px;
}

.login-enter-button::after {
    right: -17px;
    top: -5px;
}

.login-enter-button span {
    position: relative;
    z-index: 1;
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.login-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    color: #827b73;
    font-size: 0.86rem;
    text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14));
}

.login-divider::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent);
}

.login-social-row {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.login-social-button {
    display: grid;
    place-items: center;
    width: 68px;
    height: 49px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(13, 15, 17, 0.82);
    cursor: default;
}

.login-social-button i,
.login-social-button span {
    font-size: 1.5rem;
    font-weight: 800;
}

.login-social-button--discord i {
    color: #6974f5;
}

.login-social-button--google span {
    color: #f24b45;
}

.login-updates-list {
    display: grid;
    gap: 8px;
}

.login-update-card {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 8px;
    align-items: center;
    min-height: 0;
    padding: 7px 9px;
    border-radius: 7px;
}

.login-update-card__crest {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.08);
    color: #c49c3e;
    font-size: 1.05rem;
}

.login-update-card header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
    align-items: baseline;
}

.login-update-card strong {
    color: #f0ece4;
    font-size: 0.8rem;
    line-height: 1.25;
}

.login-update-card time {
    flex: 0 0 auto;
    color: #8d8780;
    font-size: 0.7rem;
}

.login-update-card p {
    margin: 0;
    color: #d8d2c8;
    font-size: 0.82rem;
    line-height: 1.42;
}

.login-outline-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 43px;
    margin-top: 21px;
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 6px;
    background: rgba(7, 8, 9, 0.48);
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    cursor: default;
}

.login-concept__footer {
    position: absolute;
    left: 50%;
    bottom: clamp(29px, 4.2vh, 42px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    color: #c7a052;
}

.login-concept__footer a {
    color: #c7a052;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.login-concept__footer span {
    width: 1px;
    height: 14px;
    background: rgba(199, 160, 82, 0.36);
}

.login-server-select {
    position: absolute;
    right: clamp(31px, 2.4vw, 44px);
    bottom: clamp(23px, 3vh, 32px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 250px;
    min-height: 43px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    background: rgba(12, 14, 15, 0.82);
    color: #cda852;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.login-server-select span {
    flex: 1;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-server-select i {
    color: #d4af37;
}

.login-concept {
    --login-scale-boost: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    background: #050607;
}

.login-concept--portal {
    --login-scale-boost: 0.9;
    display: block;
    overflow: hidden;
    background: url('/images/ui-concepts/redesign/public-login-scene.png') center / cover no-repeat;
}

.login-concept::before,
.login-concept::after {
    display: none;
}

.login-concept--portal .login-concept__stage {
    background: none;
}

.login-concept--portal .login-concept__stage::before,
.login-concept--portal .login-concept__stage::after {
    display: none;
}

.login-concept--portal .login-concept__stage .login-concept__side-panel {
    top: 248px;
    width: 310px;
    height: 580px;
    padding: 20px 18px 18px;
    gap: 10px;
}

.login-concept--portal .login-concept__stage .login-concept__side-panel--left {
    left: 42px;
}

.login-concept--portal .login-concept__stage .login-concept__side-panel--right {
    right: 42px;
}

.login-concept--portal .login-concept__stage .login-concept__brand {
    top: 88px;
}

.login-concept--portal .login-concept__stage .login-concept__brand-name {
    font-size: 76px;
}

.login-concept--portal .login-concept__stage .login-concept__brand-kanji {
    font-size: 38px;
    right: -54px;
}

.login-concept--portal .login-concept__stage .login-auth-panel {
    top: 248px;
    width: 500px;
    max-height: 580px;
    padding: 0 24px 18px;
    display: flex;
    flex-direction: column;
}

.login-concept--portal .login-concept__stage .login-auth-tabs {
    min-height: 46px;
    flex: 0 0 auto;
}

.login-concept--portal .login-concept__stage .login-auth-tabs a,
.login-concept--portal .login-concept__stage .login-auth-tabs span {
    font-size: 14px;
}

.login-concept--portal .login-form-card--panel {
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 rgba(0, 0, 0, 0.3);
}

.login-concept--portal .login-form-card--panel::-webkit-scrollbar {
    width: 8px;
}

.login-concept--portal .login-form-card--panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.login-concept--portal .login-form-card--panel::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #e6c547);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.login-concept--portal .login-form-card--panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e6c547, #f0d75c);
}

.login-concept--portal .login-form-card__form {
    gap: 12px;
}

.login-concept--portal .login-field {
    gap: 6px;
}

.login-concept--portal .login-input-shell {
    min-height: 40px;
    gap: 10px;
    padding: 0 14px;
}

.login-concept--portal .login-enter-button {
    min-height: 52px;
}

.login-concept--portal .login-concept__stage .login-concept__footer {
    bottom: 28px;
}

.login-concept--register-panel .login-form-card__form {
    gap: 10px;
}

.login-concept--register-panel .login-form-hint {
    font-size: 0.68rem;
    line-height: 1.25;
}

.login-concept--register-panel .login-field label {
    font-size: 0.74rem;
}

.login-concept--register-panel .login-links {
    margin-top: 4px;
}

.login-concept__stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1669px;
    height: 941px;
    overflow: hidden;
    --login-stage-scale: 1;
    transform: translate(-50%, -50%) scale(calc(var(--login-stage-scale) * var(--login-scale-boost, 1)));
    transform-origin: center center;
    background:
        linear-gradient(180deg, rgba(4, 5, 6, 0) 0%, rgba(4, 5, 6, 0.03) 58%, rgba(0, 0, 0, 0.28) 100%),
        url('/images/ui-concepts/redesign/public-login-scene.png') center / cover no-repeat;
}

.login-concept__stage::before,
.login-concept__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.login-concept__stage::before {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.3) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.04) 70%, rgba(0, 0, 0, 0.22) 100%);
}

.login-concept__stage::after {
    z-index: 2;
    background: radial-gradient(circle at 50% 17%, rgba(227, 184, 76, 0.08), transparent 18%);
}

.login-concept__stage .login-concept__brand,
.login-concept__stage .login-concept__side-panel,
.login-concept__stage .login-auth-panel,
.login-concept__stage .login-concept__footer,
.login-concept__stage .login-server-select {
    z-index: 3;
}

.login-concept__stage .login-concept__brand {
    top: 108px;
}

.login-concept__stage .login-concept__brand-name {
    font-size: 88px;
    line-height: 0.84;
}

.login-concept__stage .login-concept__brand-kanji {
    top: -2px;
    right: -62px;
    font-size: 44px;
}

.login-concept__stage .login-concept__brand-subtitle {
    margin-top: 9px;
    font-size: 14px;
}

.login-concept__stage .login-concept__side-panel {
    top: 260px;
    width: 333px;
    height: 625px;
    padding: 25px 20px 28px;
    gap: 12px;
    overflow: hidden;
}

.login-concept__stage .login-concept__side-panel--left {
    left: 36px;
}

.login-concept__stage .login-concept__side-panel--right {
    right: 40px;
}

.login-concept__stage .login-concept__side-panel--right .login-info-block {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.login-concept__stage .login-concept__side-panel--right .login-updates-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.login-concept__stage .login-info-block {
    gap: 10px;
}

.login-concept__stage .login-info-block h2 {
    font-size: 15px;
}

.login-concept__stage .login-status-card,
.login-concept__stage .login-metric-card {
    min-height: 56px;
    padding: 10px 13px;
}

.login-concept__stage .login-world-card__image {
    height: 58px;
}

.login-concept__stage .login-world-card {
    gap: 4px;
    padding: 9px;
}

.login-concept__stage .login-world-card strong {
    font-size: 10.5px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    white-space: nowrap;
}

.login-concept__stage .login-world-card span {
    font-size: 11px;
    line-height: 1.25;
}

.login-concept__stage .login-auth-panel {
    top: 269px;
    width: 538px;
    padding: 0 31px 22px;
}

.login-concept__stage .login-auth-tabs {
    min-height: 53px;
}

.login-concept__stage .login-auth-tabs span {
    font-size: 15px;
}

.login-concept__stage .login-form-card {
    gap: 16px;
    padding: 24px 14px;
}

.login-concept__stage .login-input-shell {
    min-height: 46px;
}

.login-concept__stage .login-enter-button {
    min-height: 60px;
}

.login-concept__stage .login-social-button {
    width: 68px;
    height: 49px;
}

.login-concept__stage .login-update-card {
    grid-template-columns: 32px 1fr;
    gap: 8px;
    min-height: 0;
    max-height: none;
    padding: 7px 9px;
    overflow: visible;
}

.login-concept__stage .login-update-card__crest {
    width: 32px;
    height: 32px;
}

.login-concept__stage .login-outline-button {
    min-height: 43px;
    margin-top: 21px;
}

.login-concept__stage .login-concept__footer {
    bottom: 35px;
}

.login-concept__stage .login-server-select {
    right: 40px;
    bottom: 27px;
    width: 250px;
    min-height: 43px;
}

@media (max-width: 1200px) {
    .rl-layout {
        grid-template-columns: 1fr;
    }

    .rl-nav,
    .rl-stats {
        display: none;
    }

    .rl-topbar {
        grid-template-columns: 1fr;
    }

    .rl-clan-badge {
        justify-self: start;
    }

    .login-concept:not(.login-concept--portal) {
        min-height: auto;
        padding: 32px 18px;
        overflow: visible;
        background-position: center top;
    }

    .login-concept:not(.login-concept--portal) .login-concept__brand,
    .login-concept:not(.login-concept--portal) .login-concept__side-panel,
    .login-concept:not(.login-concept--portal) .login-auth-panel,
    .login-concept:not(.login-concept--portal) .login-concept__footer {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        transform: none;
        display: grid;
        width: 100%;
        max-width: 650px;
        margin-top: 0;
        margin-right: auto;
        margin-left: auto;
    }

    .login-concept:not(.login-concept--portal) .login-concept__side-panel--left,
    .login-concept:not(.login-concept--portal) .login-concept__side-panel--right {
        align-self: auto;
        margin-top: 0;
        margin-bottom: 0;
    }

    .login-concept:not(.login-concept--portal) .login-concept__footer {
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 74px;
    }

    .login-concept:not(.login-concept--portal) .login-server-select {
        left: 18px;
        right: 18px;
        bottom: 18px;
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .login-concept:not(.login-concept--portal) {
        padding: 22px 12px;
    }

    .login-concept:not(.login-concept--portal) .login-concept__brand-name {
        font-size: 3.2rem;
    }

    .login-concept:not(.login-concept--portal) .login-concept__brand-kanji {
        right: -0.56em;
    }

    .login-concept:not(.login-concept--portal) .login-concept__brand-subtitle {
        letter-spacing: 0.34em;
    }

    .login-concept:not(.login-concept--portal) .login-concept__side-panel,
    .login-concept:not(.login-concept--portal) .login-auth-panel {
        padding-right: 16px;
        padding-left: 16px;
    }

    .login-concept:not(.login-concept--portal) .login-auth-panel {
        padding-bottom: 22px;
    }

    .login-concept:not(.login-concept--portal) .login-form-card {
        padding: 22px 12px;
    }

    .login-concept:not(.login-concept--portal) .login-update-card {
        grid-template-columns: 30px 1fr;
    }

    .login-concept:not(.login-concept--portal) .login-update-card__crest {
        width: 30px;
        height: 30px;
    }

    .login-concept:not(.login-concept--portal) .login-concept__footer {
        gap: 10px;
    }

    .login-concept:not(.login-concept--portal) .login-concept__footer a {
        font-size: 0.68rem;
    }
}
/* Production login utilities */
.login-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(183, 53, 53, 0.45);
    border-radius: 6px;
    background: rgba(183, 53, 53, 0.14);
    color: #f0c8c8;
    font-size: 0.82rem;
    line-height: 1.45;
}

.login-alert.alert-info,
.login-alert.login-alert--info {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.1);
    color: #e8d7a8;
}

.login-checkbox-input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #c29a3c;
}

.login-auth-tabs a {
    display: grid;
    place-items: center;
    border-bottom: 4px solid transparent;
    color: #8e8880;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.login-auth-tabs a.is-active {
    border-color: #d4af37;
    color: #e9c86f;
}

.login-input-shell input:not([readonly]) {
    cursor: text;
}

.login-input-shell button.login-input-shell__end {
    border: 0;
    padding: 0;
    background: transparent;
    color: #b99743;
    cursor: pointer;
}

.login-enter-button:not(:disabled) {
    cursor: pointer;
}

.login-enter-button:disabled {
    opacity: 0.72;
    cursor: wait;
}

.login-social-row .btn-google,
.login-social-button--google {
    display: grid;
    place-items: center;
    width: 68px;
    height: 49px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(13, 15, 17, 0.82);
    color: #f24b45;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.login-social-row .auth-divider,
.login-divider-wrap {
    display: contents;
}

.login-links {
    margin: 0;
    padding: 0;
    color: #b99a52;
    font-size: 0.82rem;
    text-align: center;
}

.login-back-form {
    margin: 0;
}

.login-back-btn {
    background: transparent;
    border: none;
    border-bottom: 1px solid currentColor;
    color: inherit;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0 0 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.login-back-btn:hover {
    color: #e9c86f;
    border-bottom-color: currentColor;
}

.login-input-shell--auth-code {
    justify-content: center;
}

.login-input-shell__control--auth-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1.35rem;
    letter-spacing: 0.45em;
    text-align: center;
}

.login-world-card__image--cover {
    display: block;
    width: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.login-updates-empty {
    margin: 0;
    color: #9a9488;
    font-size: 0.82rem;
}

.login-outline-button--static {
    cursor: default;
    pointer-events: none;
}

.login-options-row label {
    cursor: pointer;
}

.password-toggle-icon-hidden {
    display: none;
}

.is-hidden {
    display: none !important;
}

body.login-concept-page {
    margin: 0;
    overflow: hidden;
    background: #050607;
}

html.login-concept-page {
    margin: 0;
    height: 100%;
}

.login-form-card--panel {
    display: grid;
    gap: 16px;
}

.login-form-card__form {
    display: grid;
    gap: 16px;
}

.login-form-errors {
    color: #f0b4b4;
    font-size: 0.78rem;
    line-height: 1.35;
}

.login-form-hint {
    margin: 0;
    color: #a89d88;
    font-size: 0.76rem;
    line-height: 1.35;
}

.login-input-shell__control,
.login-input-shell input,
.login-input-shell select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #d8d2c7;
    font: inherit;
}

.login-input-shell--select {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 0 14px 0 16px;
}

.login-input-shell--select .login-input-shell__caret {
    color: #d4af37;
    font-size: 0.82rem;
    pointer-events: none;
}

.login-input-shell select.login-input-shell__control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 4px;
}

.login-input-shell select.login-input-shell__control:invalid {
    color: #89837a;
}

.login-input-shell select.login-input-shell__control:disabled {
    color: #6f6a62;
    cursor: not-allowed;
    opacity: 0.8;
}

.login-input-shell select.login-input-shell__control option {
    background: #0b0d0e;
    color: #d8d2c7;
}

.login-input-shell--select:focus-within {
    border-color: rgba(212, 175, 55, 0.42);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.login-auth-panel__heading {
    display: grid;
    gap: 10px;
    padding: 18px 14px 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.login-auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b99a52;
    font-size: 0.82rem;
    text-decoration: none;
}

.login-auth-panel__title {
    margin: 0;
    color: #e9c86f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-auth-tabs a.is-active,
.login-auth-tabs span.is-active {
    border-color: #d4af37;
    color: #e9c86f;
}

.login-alert--success {
    border-color: rgba(72, 160, 104, 0.45);
    background: rgba(72, 160, 104, 0.14);
    color: #c8efd8;
}

.login-alert.alert-info,
.login-alert.login-alert--info,
.public-notice.alert-info {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.1);
    color: #e8d7a8;
}

/* Mobile: auth-only layout for production login portal */
@media (max-width: 900px) {
    body.login-concept-page {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .login-concept--portal {
        display: block;
        height: auto;
        min-height: 100dvh;
        min-height: 100vh;
        width: 100%;
        max-width: 100vw;
        overflow: visible;
        padding:
            max(16px, env(safe-area-inset-top, 0px))
            max(16px, env(safe-area-inset-right, 0px))
            max(24px, env(safe-area-inset-bottom, 0px))
            max(16px, env(safe-area-inset-left, 0px));
        background:
            linear-gradient(180deg, rgba(4, 5, 6, 0.78) 0%, rgba(4, 5, 6, 0.92) 100%),
            url('/images/ui-concepts/redesign/public-login-scene.png') center / cover no-repeat;
    }

    .login-concept--portal .login-concept__stage {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: visible;
        transform: none;
        background: none;
    }

    .login-concept--portal .login-concept__stage::before,
    .login-concept--portal .login-concept__stage::after {
        display: none;
    }

    .login-concept--portal .login-concept__brand,
    .login-concept--portal .login-concept__side-panel,
    .login-concept--portal .login-concept__footer,
    .login-concept--portal .login-server-select {
        display: none !important;
    }

    .login-concept--portal .login-concept__stage .login-auth-panel {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 480px;
        max-height: none;
        margin: 0 auto;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .login-concept--portal .login-concept__stage .login-auth-tabs {
        min-height: 48px;
    }

    .login-concept--portal .login-concept__stage .login-auth-tabs a,
    .login-concept--portal .login-concept__stage .login-auth-tabs span {
        font-size: 0.95rem;
    }

    .login-concept--portal .login-auth-panel__heading {
        padding: 14px 12px 8px;
    }

    .login-concept--portal .login-concept__stage .login-form-card--panel {
        overflow: visible;
        max-height: none;
        flex: none;
    }

    .login-concept--portal .login-concept__stage .login-form-card {
        padding: 20px 16px 24px;
    }

    .login-concept--portal .login-concept__stage .login-input-shell {
        min-height: 48px;
        padding: 0 14px;
    }

    .login-concept--portal .login-concept__stage .login-enter-button {
        min-height: 52px;
    }

    .login-concept--portal .login-options-row {
        grid-template-columns: auto 1fr;
        row-gap: 8px;
    }

    .login-concept--portal .login-options-row a {
        grid-column: 1 / -1;
        justify-self: end;
    }
}

@media (max-width: 480px) {
    .login-concept--portal {
        padding-right: 12px;
        padding-left: 12px;
    }

    .login-concept--portal .login-form-card {
        padding: 18px 12px 20px;
    }

    .login-concept--portal .login-auth-tabs a,
    .login-concept--portal .login-auth-tabs span {
        font-size: 0.88rem;
        letter-spacing: 0.06em;
    }
}
