*{
    box-sizing:border-box;
}

html,body{
    margin:0;
    min-height:100%;
    font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic","YuGothic","Noto Sans JP",sans-serif;
    background:#050302;
    color:#fff2d2;
}

.page-login{
    background:#050302;
}

.login-app{
    max-width:430px;
    min-height:100vh;
    margin:0 auto;
    position:relative;
    overflow:hidden;
    background:#050302;
}

.login-bg{
    position:fixed;
    left:50%;
    top:0;
    transform:translateX(-50%);
    width:min(430px,100%);
    height:100vh;
    background-image:url("/assets/img/top_lounge.webp");
    background-size:cover;
    background-position:center top;
    z-index:0;
}

.login-overlay{
    position:fixed;
    left:50%;
    top:0;
    transform:translateX(-50%);
    width:min(430px,100%);
    height:100vh;
    z-index:1;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.12) 0%,
            rgba(0,0,0,.32) 34%,
            rgba(0,0,0,.74) 72%,
            rgba(0,0,0,.94) 100%
        );
}

.login-main{
    position:relative;
    z-index:2;
    min-height:100vh;
    padding:72px 18px 34px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-brand{
    text-align:center;
    color:#f3d28d;
    text-shadow:0 5px 24px rgba(0,0,0,.85);
    margin-bottom:34px;
}

.brand-mark{
    font-size:34px;
    line-height:1;
    margin-bottom:12px;
    color:#d8a84e;
}

.login-brand h1{
    margin:0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:43px;
    letter-spacing:.10em;
    line-height:1;
}

.login-brand p{
    margin:13px 0 0;
    font-size:10px;
    font-weight:900;
    letter-spacing:.18em;
    color:#ead09b;
}

.login-card{
    position:relative;
    border-radius:30px;
    padding:22px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.12),
            rgba(255,255,255,.04)
        );
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(26px);
    -webkit-backdrop-filter:blur(26px);
    box-shadow:
        0 24px 54px rgba(0,0,0,.40),
        inset 0 1px 0 rgba(255,255,255,.16);
    overflow:hidden;
}

.login-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.16) 0%,
            rgba(255,255,255,.035) 38%,
            transparent 60%
        );
    pointer-events:none;
}

.login-card-head{
    position:relative;
    z-index:1;
    text-align:center;
    margin-bottom:20px;
}

.login-card-head p{
    margin:0 0 8px;
    color:#dbad5a;
    font-size:10px;
    font-weight:900;
    letter-spacing:.18em;
}

.login-card-head h2{
    margin:0;
    color:#f8d993;
    font-size:27px;
    line-height:1.3;
}

.login-card-head span{
    display:block;
    margin-top:8px;
    color:#f0dfbd;
    font-size:12px;
    font-weight:700;
}

.error-box{
    position:relative;
    z-index:1;
    margin-bottom:14px;
    padding:10px 12px;
    border-radius:14px;
    background:rgba(198,91,60,.16);
    border:1px solid rgba(255,139,128,.28);
    color:#ffb7aa;
    font-size:12px;
    font-weight:800;
}

.login-form{
    position:relative;
    z-index:1;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:7px;
}

.form-group label{
    color:#f5cb78;
    font-size:11px;
    font-weight:900;
    letter-spacing:.06em;
}

.form-group input{
    width:100%;
    height:50px;
    border:1px solid rgba(255,255,255,.13);
    background:rgba(255,255,255,.07);
    border-radius:18px;
    padding:0 14px;
    color:#fff2d2;
    font-size:15px;
    font-family:inherit;
    outline:none;
    backdrop-filter:blur(18px);
}

.form-group input:focus{
    border-color:rgba(243,213,141,.55);
    box-shadow:0 0 0 3px rgba(243,213,141,.12);
}

.login-button{
    margin-top:6px;
    height:52px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,#f3d58d,#b9872f);
    color:#2c1d0c;
    font-size:15px;
    font-weight:900;
    letter-spacing:.04em;
    box-shadow:0 14px 30px rgba(185,135,47,.28);
}

.login-note{
    position:relative;
    z-index:1;
    margin-top:16px;
    display:grid;
    grid-template-columns:22px 1fr;
    gap:8px;
    align-items:start;
    padding:11px 12px;
    border-radius:16px;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.10);
}

.login-note span{
    color:#f5cb78;
    font-size:14px;
}

.login-note p{
    margin:0;
    color:#f2dfbd;
    font-size:11px;
    line-height:1.6;
    font-weight:700;
}

.faceid-button{
    margin-top:4px;
    height:52px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:18px;
    background:rgba(255,255,255,.075);
    color:#f8d993;
    font-size:14px;
    font-weight:900;
    letter-spacing:.04em;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}