:root {
    --cream: #FBF6EE;
    --cream-2: #F3ECDD;
    --ink: #1F3B2C;
    --ink-soft: #3B5647;
    --muted: #7A8A7F;
    --line: #E4DCC9;
    --brand: #F76A2D;
    --brand-deep: #D9531A;
    --yuzu: #F2C94C;
    --leaf: #8FB77E;
    --card: #FFFFFF;
    --shadow: 0 30px 60px -30px rgba(31, 59, 44, .25), 0 8px 20px -12px rgba(31, 59, 44, .15);
}

html,
body {
    height: 100%;
    overflow: hidden !important;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.yzl-login {
    height: 100vh;
    overflow: hidden;
    background: var(--cream);
}

.yzl-login a {
    color: inherit;
    text-decoration: none;
}

.yzl-login .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    z-index: 20;
    background: rgba(251, 246, 238, .75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(228, 220, 201, .6);
}

.yzl-login .brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.yzl-login .brand-logo {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.yzl-login .brand-name {
    font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
    font-weight: 900;
    font-size: 20px;
    color: var(--ink);
    letter-spacing: .02em;
    line-height: 1;
}

.yzl-login .brand-name em {
    font-style: normal;
    color: var(--brand);
}

.yzl-login .brand-tag {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .3em;
    padding-left: 12px;
    margin-left: 12px;
    border-left: 1px solid var(--line);
}

.yzl-login .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.yzl-login .nav-link {
    font-size: 13px;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    transition: .2s;
    cursor: default;
}

.yzl-login .nav-link.primary {
    position: relative;
    background: var(--ink);
    color: var(--cream);
}

.yzl-login .nav-link.primary:hover {
    background: #0f2618;
}

.yzl-login .log-type {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
}

.yzl-login .nav-link.primary:hover .log-type {
    display: block;
}

.yzl-login .type-wrap {
    box-sizing: border-box;
    padding: 16px;
    min-width: 140px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    gap: 16px;
    box-shadow: 0 16px 32px -16px rgba(31, 59, 44, .28);
}

.yzl-login .type-item {
    text-align: center;
    color: var(--ink);
    font-size: 12px;
}

.yzl-login .item-img {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yzl-login .item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yzl-login .stage {
    height: 100vh;
    padding-top: 64px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    overflow: hidden;
}

.yzl-login .left {
    position: relative;
    height: 100%;
    min-height: 0;
    padding: 28px 56px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.yzl-login .left-inner {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.yzl-login .left::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 12% 20%, rgba(242, 201, 76, .18), transparent 60%),
        radial-gradient(500px 500px at 90% 85%, rgba(143, 183, 126, .22), transparent 65%),
        radial-gradient(400px 300px at 70% 10%, rgba(247, 106, 45, .10), transparent 70%);
    pointer-events: none;
}

.yzl-login .left > * {
    position: relative;
    z-index: 1;
}

.yzl-login .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--brand-deep);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(247, 106, 45, .08);
    border: 1px solid rgba(247, 106, 45, .2);
    width: fit-content;
}

.yzl-login .eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.yzl-login .headline {
    margin-top: 16px;
    font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
    font-weight: 900;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--ink);
}

.yzl-login .headline .accent {
    color: var(--brand);
    position: relative;
    display: inline-block;
}

.yzl-login .headline .accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 10px;
    background: var(--yuzu);
    opacity: .5;
    z-index: -1;
    border-radius: 2px;
}

.yzl-login .headline .en {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-style: italic;
    font-size: .34em;
    color: var(--ink-soft);
    letter-spacing: .02em;
    margin-top: 14px;
}

.yzl-login .lede {
    max-width: 560px;
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-soft);
}

.yzl-login .lede strong {
    color: var(--ink);
    font-weight: 600;
}

.yzl-login .fruit-illust {
    flex: 1;
    min-height: 0;
    margin-top: 12px;
    width: min(100%, 600px);
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.yzl-login .right {
    position: relative;
    height: 100%;
    min-height: 0;
    padding: 24px 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    background: linear-gradient(180deg, #fffdf7 0%, #f7f0df 100%);
    border-left: 1px solid var(--line);
}

.yzl-login .fruit-deco,
.yzl-login .fruit-deco-2 {
    position: absolute;
    pointer-events: none;
}

.yzl-login .fruit-deco {
    top: -90px;
    right: -90px;
    width: 280px;
    height: 280px;
    opacity: .9;
}

.yzl-login .fruit-deco-2 {
    bottom: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    opacity: .7;
}

.yzl-login .card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 20px;
    padding: 28px 32px 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .7);
    box-sizing: border-box;
}

.yzl-login .card-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--muted);
}

.yzl-login .card-eyebrow::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--brand);
}

.yzl-login .card-title {
    margin-top: 10px;
    font-family: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
    font-weight: 900;
    font-size: 24px;
    color: var(--ink);
}

.yzl-login .card-sub {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

.yzl-login .form-wrap {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yzl-login .field {
    position: relative;
    display: flex;
    align-items: center;
    background: #FAF6EC;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0 14px 0 44px;
    height: 44px;
    transition: .2s;
    box-sizing: border-box;
}

.yzl-login .field:hover {
    background: #f5efdf;
}

.yzl-login .field:focus-within {
    background: #fff;
    border-color: var(--base-color, #F5AB37);
    box-shadow: 0 0 0 4px rgba(245, 171, 55, .18);
}

.yzl-login .field .ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--muted);
    line-height: 1;
}

.yzl-login .field:focus-within .ico {
    color: var(--base-color, #F5AB37);
}

.yzl-login .field .layui-input,
.yzl-login .field input {
    flex: 1;
    width: 0;
    height: 100% !important;
    line-height: 48px !important;
    background: transparent !important;
    border: 0 !important;
    outline: none;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 14.5px;
    color: var(--ink);
}

.yzl-login .field input::placeholder {
    color: #A9B2AC;
}

.yzl-login .field.captcha {
    padding-right: 6px;
}

.yzl-login .field .captcha {
    width: 110px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(217, 83, 26, .15);
    background: linear-gradient(135deg, #f6e6b8, #f5c9a0);
}

.yzl-login .login-btn.layui-btn,
.yzl-login .login-btn {
    margin-top: 4px;
    height: 46px !important;
    line-height: 46px !important;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #F8C056 0%, var(--base-color, #F5AB37) 55%, var(--base-color-hover, #F39605) 100%) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3em;
    width: 100%;
    box-shadow: 0 12px 24px -10px rgba(245, 171, 55, .5), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.yzl-login .login-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #F5AB37 0%, var(--base-color-hover, #F39605) 100%) !important;
    box-shadow: 0 16px 28px -10px rgba(243, 150, 5, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.yzl-login .card-foot {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
}

.yzl-login .copy {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: .05em;
}

@media (max-width: 1100px) {
    .yzl-login .stage {
        grid-template-columns: 1fr;
    }

    .yzl-login .left {
        display: none;
    }

    .yzl-login .right {
        border-left: 0;
        padding: 24px 24px 40px;
    }
}

@media (max-height: 820px) {
    .yzl-login .headline {
        font-size: 32px;
    }

    .yzl-login .lede {
        margin-top: 10px;
        font-size: 13px;
    }

    .yzl-login .card {
        padding: 22px 28px 20px;
    }
}
