:root {
    --lhs-ink: #2f2119;
    --lhs-brown: #5b3624;
    --lhs-gold: #f8d77a;
    --lhs-gold-deep: #b86e28;
    --lhs-jade: #64d6c1;
    --lhs-red: #ba4c38;
    --lhs-panel: rgba(255, 241, 202, 0.92);
    --lhs-panel-deep: rgba(95, 48, 31, 0.88);
    --lhs-border: rgba(130, 71, 42, 0.85);
    --lhs-shadow: 0 16px 38px rgba(24, 10, 7, 0.42);
}

body.lhs-game-skin {
    min-height: 100vh;
    color: var(--lhs-ink);
    background:
            linear-gradient(180deg, rgba(16, 13, 22, 0.2), rgba(22, 12, 10, 0.5)),
            url("../game-ui/game_start/login_ld_bg_fa5c6746.jpg") center top / cover fixed no-repeat;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    letter-spacing: 0;
}

body.lhs-game-skin::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
            radial-gradient(circle at 50% 12%, rgba(255, 231, 147, 0.24), transparent 34%),
            linear-gradient(180deg, rgba(10, 15, 29, 0.18), rgba(21, 11, 8, 0.62));
}

body.lhs-game-skin::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(14, 8, 6, 0.12);
}

body.lhs-game-skin .container,
body.lhs-game-skin .register-container,
body.lhs-game-skin .login-container,
body.lhs-game-skin .modal-overlay,
body.lhs-game-skin .confirm-modal-overlay,
body.lhs-game-skin .loading-overlay,
body.lhs-game-skin .toast {
    position: relative;
    z-index: 1;
}

body.lhs-game-skin .grid-bg {
    display: none;
}

body.lhs-game-skin .particles {
    z-index: 1;
}

body.lhs-game-skin .particle {
    width: 3px;
    height: 3px;
    background: rgba(255, 228, 142, 0.82);
    box-shadow: 0 0 12px rgba(255, 236, 162, 0.9);
}

body.lhs-game-skin .register-container,
body.lhs-game-skin .login-container {
    min-height: 100vh;
    padding: 18px;
}

body.lhs-game-skin .login-container {
    max-width: 410px;
}

body.lhs-game-skin .container {
    max-width: 820px;
    padding: 14px;
}

body.lhs-game-skin .register-form,
body.lhs-game-skin .login-box,
body.lhs-game-skin .section,
body.lhs-game-skin .tab-panel,
body.lhs-game-skin .modal-content,
body.lhs-game-skin .confirm-modal-content,
body.lhs-game-skin .pay-order-card {
    color: var(--lhs-ink);
    border: 2px solid var(--lhs-border);
    border-radius: 8px;
    background:
            linear-gradient(180deg, rgba(255, 248, 218, 0.94), rgba(222, 174, 111, 0.91)),
            url("../game-ui/common/bg/common_tips_b_15de0904.png") center / 100% 100% no-repeat;
    box-shadow: var(--lhs-shadow), inset 0 0 0 1px rgba(255, 248, 190, 0.58);
    backdrop-filter: none;
}

body.lhs-game-skin .register-form,
body.lhs-game-skin .login-box {
    padding: 34px 28px 30px;
}

body.lhs-game-skin .login-box::before,
body.lhs-game-skin .register-form::before,
body.lhs-game-skin .section::before {
    background: linear-gradient(90deg, transparent, rgba(255, 234, 147, 0.8), transparent);
}

body.lhs-game-skin .header {
    margin: 8px 0 18px;
    padding: 18px 16px;
    border: 2px solid rgba(131, 75, 42, 0.78);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(85, 42, 31, 0.88), rgba(45, 28, 24, 0.86));
    box-shadow: var(--lhs-shadow);
}

body.lhs-game-skin .header h1,
body.lhs-game-skin .logo-title,
body.lhs-game-skin .logo-glow,
body.lhs-game-skin .register-form h2 {
    color: var(--lhs-gold);
    background: none;
    -webkit-text-fill-color: currentColor;
    letter-spacing: 0;
    text-shadow: 0 2px 0 var(--lhs-brown), 0 0 16px rgba(255, 230, 137, 0.55);
}

body.lhs-game-skin .header p,
body.lhs-game-skin .logo-subtitle,
body.lhs-game-skin .subtitle,
body.lhs-game-skin .footer {
    color: rgba(255, 238, 183, 0.86);
    letter-spacing: 0;
    text-shadow: 0 1px 2px rgba(50, 20, 10, 0.75);
}

body.lhs-game-skin.lhs-register-page .subtitle,
body.lhs-game-skin.lhs-register-page #carousel {
    color: rgba(255, 238, 183, 0.92);
}

body.lhs-game-skin .logo-icon,
body.lhs-game-skin .header .icon,
body.lhs-game-skin .section-title i,
body.lhs-game-skin .input-label i {
    color: var(--lhs-gold);
    filter: drop-shadow(0 2px 3px rgba(69, 37, 18, 0.75));
}

body.lhs-game-skin .input-label,
body.lhs-game-skin .section-title,
body.lhs-game-skin .confirm-info-label,
body.lhs-game-skin .info-label {
    color: var(--lhs-brown);
    font-weight: 700;
}

body.lhs-game-skin .register-form input[type="text"],
body.lhs-game-skin .register-form input[type="password"],
body.lhs-game-skin .input-field,
body.lhs-game-skin .server-select,
body.lhs-game-skin #ptbAmount {
    min-height: 48px;
    color: #fff8dd;
    border: 1px solid rgba(251, 221, 132, 0.78);
    border-radius: 8px;
    background:
            linear-gradient(180deg, rgba(50, 30, 25, 0.86), rgba(87, 49, 35, 0.82)),
            url("../game-ui/common/bm/common_bm_shurukuang_db6f605.png") center / 100% 100% no-repeat;
    box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.34);
}

body.lhs-game-skin .register-form input[type="text"]:focus,
body.lhs-game-skin .register-form input[type="password"]:focus,
body.lhs-game-skin .input-field:focus,
body.lhs-game-skin .server-select:focus,
body.lhs-game-skin #ptbAmount:focus {
    border-color: #fff1a2;
    box-shadow: 0 0 0 2px rgba(255, 233, 138, 0.25), inset 0 2px 7px rgba(0, 0, 0, 0.34);
}

body.lhs-game-skin .register-form input::placeholder,
body.lhs-game-skin .input-field::placeholder,
body.lhs-game-skin #ptbAmount::placeholder {
    color: rgba(255, 239, 193, 0.58);
}

body.lhs-game-skin .server-select option {
    color: #fff8dd;
    background: #4c2f25;
}

body.lhs-game-skin .input-icon {
    color: var(--lhs-gold);
}

body.lhs-game-skin .register-form button,
body.lhs-game-skin .btn-login,
body.lhs-game-skin .btn-submit,
body.lhs-game-skin .confirm-btn.confirm,
body.lhs-game-skin .btn-claim,
body.lhs-game-skin .ptb-claim-btn,
body.lhs-game-skin .pay-link-btn.open {
    min-height: 46px;
    color: #5f2a12;
    border: 0;
    border-radius: 8px;
    background:
            linear-gradient(180deg, rgba(255, 247, 179, 0.82), rgba(229, 134, 45, 0.76)),
            url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
    text-shadow: 0 1px 0 rgba(255, 245, 185, 0.8);
    box-shadow: 0 7px 18px rgba(93, 43, 18, 0.34);
}

body.lhs-game-skin .confirm-btn.cancel,
body.lhs-game-skin #logoutBtn,
body.lhs-game-skin .pay-link-btn.copy {
    color: #fff0c0;
    border: 0;
    border-radius: 8px;
    background:
            linear-gradient(180deg, rgba(101, 65, 48, 0.88), rgba(61, 38, 32, 0.9)),
            url("../game-ui/common/btn/common_btn_grey_5daf728f.png") center / 100% 100% no-repeat;
    box-shadow: 0 6px 14px rgba(47, 22, 14, 0.28);
}

body.lhs-game-skin .register-form button:hover,
body.lhs-game-skin .btn-login:hover,
body.lhs-game-skin .btn-submit:hover,
body.lhs-game-skin .confirm-btn.confirm:hover,
body.lhs-game-skin .btn-claim:hover,
body.lhs-game-skin .ptb-claim-btn:hover,
body.lhs-game-skin .pay-link-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

body.lhs-game-skin .register-form button:active,
body.lhs-game-skin .btn-login:active,
body.lhs-game-skin .btn-submit:active,
body.lhs-game-skin .confirm-btn:active,
body.lhs-game-skin .pay-link-btn:active {
    transform: translateY(0);
}

body.lhs-game-skin .btn-login::before,
body.lhs-game-skin .btn-submit::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
}

body.lhs-game-skin .main-tab,
body.lhs-game-skin .activity-tab,
body.lhs-game-skin .pay-method,
body.lhs-game-skin .package-item,
body.lhs-game-skin .welfare-card,
body.lhs-game-skin .welfare-item,
body.lhs-game-skin .special-card,
body.lhs-game-skin .haoli{
    color: var(--lhs-ink);
    border: 1px solid rgba(123, 72, 43, 0.72);
    border-radius: 8px;
    background: rgba(255, 239, 196, 0.78);
    box-shadow: inset 0 0 0 1px rgba(255, 251, 214, 0.45), 0 5px 14px rgba(48, 22, 12, 0.16);
}

body.lhs-game-skin .main-tab.active,
body.lhs-game-skin .activity-tab.active,
body.lhs-game-skin .package-item.active,
body.lhs-game-skin .pay-method.active {
    color: #5a260f;
    border-color: #ffe08a;
    background: linear-gradient(180deg, rgba(255, 232, 139, 0.95), rgba(225, 146, 55, 0.88));
    box-shadow: 0 0 0 2px rgba(112, 61, 31, 0.46), 0 8px 22px rgba(170, 85, 30, 0.26);
}

body.lhs-game-skin .activity-desc,
body.lhs-game-skin .player-info,
body.lhs-game-skin .ptb-claim-box,
body.lhs-game-skin .confirm-info-row,
body.lhs-game-skin .pay-order-row,
body.lhs-game-skin .pay-link-text {
    color: var(--lhs-ink);
    border-color: rgba(126, 72, 42, 0.52);
    background: rgba(255, 248, 220, 0.68);
    border-radius: 8px;
}

body.lhs-game-skin .info-value,
body.lhs-game-skin .confirm-info-value,
body.lhs-game-skin .ptb-balance-value,
body.lhs-game-skin .price,
body.lhs-game-skin .package-price,
body.lhs-game-skin .activity-desc h4,
body.lhs-game-skin .pay-order-title {
    color: #8a331c;
}

body.lhs-game-skin .activity-desc p,
body.lhs-game-skin .package-desc,
body.lhs-game-skin .ptb-tip,
body.lhs-game-skin .pay-order-tip,
body.lhs-game-skin .welfare-desc,
body.lhs-game-skin .special-card-desc
body.lhs-game-skin .haoli-desc {
    color: rgba(60, 36, 26, 0.78);
}

body.lhs-game-skin .pay-method i,
body.lhs-game-skin .pay-type-radio-inner i {
    color: var(--lhs-gold-deep);
}

body.lhs-game-skin .pay-method.alipay i,
body.lhs-game-skin .pay-type-radio.alipay i {
    display: inline-block;
    width: 36px;
    height: 36px;
    font-size: 0;
    background: url("../game-ui/infull/infull_btn_alipay_c2e3e346.png") center / contain no-repeat;
}

body.lhs-game-skin .pay-method.wechat i,
body.lhs-game-skin .pay-type-radio.wechat i {
    display: inline-block;
    width: 36px;
    height: 36px;
    font-size: 0;
    background: url("../game-ui/infull/infull_btn_wechat_29780cdb.png") center / contain no-repeat;
}

body.lhs-game-skin .pay-type-radio-inner {
    border-radius: 8px;
    border-color: rgba(126, 72, 42, 0.6);
    background: rgba(255, 239, 196, 0.8);
    color: var(--lhs-ink);
}

body.lhs-game-skin .pay-type-radio input[type="radio"]:checked + .pay-type-radio-inner {
    border-color: #ffe08a;
    background: linear-gradient(180deg, rgba(255, 232, 139, 0.95), rgba(225, 146, 55, 0.88));
    box-shadow: 0 0 0 2px rgba(112, 61, 31, 0.38);
}

body.lhs-game-skin .modal-overlay,
body.lhs-game-skin .confirm-modal-overlay,
body.lhs-game-skin .loading-overlay {
    background: rgba(24, 12, 9, 0.68);
    backdrop-filter: blur(3px);
}

body.lhs-game-skin .close-btn {
    color: #fff4c9;
    background:
            linear-gradient(180deg, rgba(189, 84, 58, 0.96), rgba(126, 46, 36, 0.95)),
            url("../game-ui/common/btn/common_btn_red_6402cc12.png") center / 100% 100% no-repeat;
    border-radius: 8px;
}

body.lhs-game-skin .toast {
    color: #fff0c0;
    border: 1px solid rgba(255, 218, 127, 0.58);
    border-radius: 8px;
    background:
            linear-gradient(180deg, rgba(79, 45, 31, 0.96), rgba(34, 22, 19, 0.96)),
            url("../game-ui/game_start/ui_ty_black_rect_8a23ae26.png") center / 100% 100% repeat;
}

body.lhs-game-skin .loading-spinner {
    border-color: rgba(255, 238, 183, 0.28);
    border-top-color: var(--lhs-gold);
}

body.lhs-game-skin .loading-text {
    color: var(--lhs-gold);
}

body.lhs-game-skin .check-result.success {
    color: #1c7c4e;
}

body.lhs-game-skin .check-result.error {
    color: #b0382f;
}

body.lhs-game-skin .check-result.loading {
    color: #8a5a24;
}

@media (max-width: 520px) {
    body.lhs-game-skin {
        background-attachment: scroll;
        background-position: center top;
    }

    body.lhs-game-skin .register-form,
    body.lhs-game-skin .login-box {
        padding: 28px 20px 24px;
    }

    body.lhs-game-skin .container {
        padding: 10px;
    }

    body.lhs-game-skin .header {
        padding: 14px 12px;
    }
}

/* Game-style layout pass: keep the old JS flow, replace the H5-looking shell. */
body.lhs-game-skin {
    overflow-x: hidden;
    background:
            radial-gradient(circle at 52% 28%, rgba(255, 255, 255, 0.08), transparent 22%),
            linear-gradient(180deg, rgba(6, 8, 18, 0.02), rgba(16, 7, 8, 0.42)),
            url("../game-ui/game_start/login_ld_bg_fa5c6746.jpg") center top / cover fixed no-repeat;
}

body.lhs-game-skin.lhs-register-page,
body.lhs-game-skin.lhs-charge-login-page {
    display: block;
    padding: 0;
}

body.lhs-game-skin::before {
    background:
            linear-gradient(180deg, rgba(7, 8, 14, 0.04) 0%, rgba(8, 9, 14, 0.18) 46%, rgba(11, 8, 7, 0.54) 100%);
}

body.lhs-game-skin .lhs-auth-stage {
    min-height: 100vh;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 26px 14px 34px;
}

body.lhs-game-skin .lhs-auth-brand {
    width: min(92vw, 540px);
    text-align: center;
    margin: 0 auto 4px;
}

body.lhs-game-skin .logo-section {
    margin: 0 0 18px;
}

body.lhs-game-skin .logo-icon {
    display: none;
}

body.lhs-game-skin .logo-glow,
body.lhs-game-skin .logo-title {
    font-size: clamp(34px, 9vw, 54px);
    line-height: 1;
    font-weight: 900;
    color: #fff0aa;
    text-shadow:
            0 3px 0 #6b2e1e,
            0 0 12px rgba(255, 233, 155, 0.78),
            0 0 28px rgba(84, 206, 229, 0.42);
}

body.lhs-game-skin .logo-subtitle,
body.lhs-game-skin .subtitle,
body.lhs-game-skin .lhs-auth-slogan,
body.lhs-game-skin .lhs-panel-subtitle {
    color: #fff1c2;
    font-size: 13px;
    text-shadow: 0 2px 4px rgba(37, 13, 9, 0.86);
}

body.lhs-game-skin .lhs-auth-card {
    position: relative;
    width: min(94vw, 520px);
    min-height: 0;
    padding: 48px 34px 30px;
    border: 0;
    border-radius: 0;
    background:
            linear-gradient(180deg, rgba(255, 251, 225, 0.18), rgba(255, 239, 188, 0.1)),
            url("../game-ui/common/bg/common_bg_2_e628a756.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body.lhs-game-skin .lhs-auth-card::before {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    top: -6px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 238, 162, 0.38);
    filter: blur(12px);
}

body.lhs-game-skin .lhs-game-panel-title,
body.lhs-game-skin .lhs-game-shop-title {
    color: #fff3b5;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 3px 0 #73351f, 0 0 12px rgba(255, 230, 139, 0.7);
}

body.lhs-game-skin .lhs-game-panel-title {
    position: absolute;
    top: -17px;
    left: 50%;
    width: 210px;
    height: 46px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background:
            linear-gradient(180deg, rgba(123, 63, 36, 0.98), rgba(92, 37, 27, 0.98));
    border: 2px solid rgba(247, 194, 98, 0.88);
    border-radius: 999px;
    box-shadow: 0 7px 14px rgba(54, 20, 12, 0.35), inset 0 0 0 1px rgba(255, 236, 154, 0.28);
}

body.lhs-game-skin .lhs-panel-subtitle {
    margin: 0 0 16px;
    text-align: center;
    color: #6f472c;
    text-shadow: none;
}

body.lhs-game-skin .register-form h2 {
    display: none;
}

body.lhs-game-skin .input-group,
body.lhs-game-skin .am-form-group {
    margin-bottom: 14px;
}

body.lhs-game-skin .input-label {
    margin: 0 0 6px;
    color: #69432a;
    font-size: 14px;
}

body.lhs-game-skin .register-form input[type="text"],
body.lhs-game-skin .register-form input[type="password"],
body.lhs-game-skin .input-field,
body.lhs-game-skin .server-select {
    height: 48px;
    padding: 0 18px;
    color: #fff6d6;
    border: 0;
    border-radius: 0;
    background:
            linear-gradient(180deg, rgba(21, 16, 24, 0.5), rgba(7, 6, 12, 0.54)),
            url("../game-ui/game_start/login_ld_bm_txtbg_cc754cb9.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body.lhs-game-skin .register-form input[type="text"]:focus,
body.lhs-game-skin .register-form input[type="password"]:focus,
body.lhs-game-skin .input-field:focus,
body.lhs-game-skin .server-select:focus {
    border: 0;
    box-shadow: 0 0 16px rgba(255, 236, 146, 0.38);
}

body.lhs-game-skin .input-icon {
    right: 16px;
}

body.lhs-game-skin .check-result {
    min-height: 18px;
    margin-top: 4px;
    padding-left: 4px;
    font-size: 12px;
}

body.lhs-game-skin .register-form button,
body.lhs-game-skin .btn-login {
    height: 56px;
    margin-top: 10px;
    font-size: 20px;
    letter-spacing: 0;
    border-radius: 0;
    background: url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body.lhs-game-skin .footer {
    margin-top: 12px;
    color: #815633;
    font-size: 12px;
    line-height: 1.6;
    text-shadow: none;
}

body.lhs-game-skin .lhs-shop-shell {
    position: relative;
    width: min(96vw, 820px);
    max-width: 820px;
    margin: 0 auto;
    padding: 14px 10px 22px;
}

body.lhs-game-skin .lhs-shop-header {
    position: relative;
    z-index: 2;
    width: min(88vw, 420px);
    margin: 6px auto -18px;
    padding: 10px 20px 20px;
    border: 0;
    background:
            linear-gradient(180deg, rgba(111, 56, 35, 0.98), rgba(72, 31, 26, 0.98));
    border-radius: 24px 24px 10px 10px;
    box-shadow: 0 10px 18px rgba(46, 18, 10, 0.3), inset 0 0 0 2px rgba(255, 215, 125, 0.55);
}

body.lhs-game-skin .lhs-shop-header .icon,
body.lhs-game-skin .lhs-shop-header h1 {
    display: none;
}

body.lhs-game-skin .lhs-game-shop-title {
    font-size: 28px;
    line-height: 1.2;
}

body.lhs-game-skin .lhs-shop-header p {
    margin: 4px 0 0;
    color: rgba(255, 238, 190, 0.9);
    font-size: 12px;
}

body.lhs-game-skin .lhs-shop-frame {
    position: relative;
    padding: 52px 28px 28px;
    min-height: calc(100vh - 40px);
    background:
            linear-gradient(180deg, rgba(255, 255, 238, 0.16), rgba(255, 244, 203, 0.08)),
            url("../game-ui/common/bg/common_bg_1_cae9698d.png") center top / 100% 100% no-repeat;
}

body.lhs-game-skin .lhs-shop-frame > .section,
body.lhs-game-skin .lhs-shop-frame .tab-panel > .section {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none;
}

body.lhs-game-skin .section {
    margin-bottom: 12px;
    padding: 0;
}

body.lhs-game-skin .section-title {
    min-height: 34px;
    margin: 0 0 8px;
    padding: 8px 14px;
    color: #fff3b5;
    font-size: 17px;
    justify-content: center;
    background:
            linear-gradient(180deg, rgba(74, 139, 144, 0.92), rgba(35, 94, 104, 0.94)),
            url("../game-ui/common/bm/common_bm_dilan_1268c5c0.png") center / 100% 100% no-repeat;
    border-radius: 8px;
    text-shadow: 0 2px 2px rgba(36, 19, 12, 0.55);
}

body.lhs-game-skin .player-info,
body.lhs-game-skin .activity-desc,
body.lhs-game-skin .ptb-claim-box,
body.lhs-game-skin .welfare-card,
body.lhs-game-skin .welfare-item,
body.lhs-game-skin .special-card,
body.lhs-game-skin .package-item,
body.lhs-game-skin .haoli
{
    border: 1px solid rgba(112, 70, 43, 0.45);
    background: rgba(255, 248, 218, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 236, 0.5);
}

body.lhs-game-skin .player-info {
    padding: 12px;
}

body.lhs-game-skin .info-row {
    gap: 8px;
    margin-bottom: 8px;
}

body.lhs-game-skin .info-col {
    min-width: 0;
}

body.lhs-game-skin .info-value {
    color: #8d3a1c !important;
    word-break: break-all;
}

body.lhs-game-skin .main-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

body.lhs-game-skin .main-tab {
    min-height: 50px;
    padding: 8px 4px;
    border: 0;
    border-radius: 0;
    background: url("../game-ui/common/btn/common_btn_blue_d5e5ee49.png") center / 100% 100% no-repeat;
    color: #dff8f2;
    text-shadow: 0 2px 2px rgba(20, 45, 54, 0.65);
    box-shadow: none;
}

body.lhs-game-skin .main-tab.active {
    background: url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
    color: #5d2b12;
    text-shadow: 0 1px 0 rgba(255, 244, 188, 0.8);
}

body.lhs-game-skin .main-tab i {
    display: none;
}

body.lhs-game-skin .main-tab span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.lhs-game-skin .activity-tabs {
    gap: 8px;
    margin-bottom: 10px;
}

body.lhs-game-skin .activity-tab {
    border: 0;
    background: url("../game-ui/common/btn/common_btn_grey_5daf728f.png") center / 100% 100% no-repeat;
    color: #fff1c4;
    box-shadow: none;
}

body.lhs-game-skin .activity-tab.active {
    background: url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
    color: #5d2b12;
}

body.lhs-game-skin .package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.lhs-game-skin .package-item {
    position: relative;
    min-height: 118px;
    padding: 12px 10px;
    border-radius: 8px;
}

body.lhs-game-skin .package-item.active::after,
body.lhs-game-skin .pay-method.active::after {
    content: "";
    position: absolute;
    right: -5px;
    top: -5px;
    width: 30px;
    height: 30px;
    background: url("../game-ui/common/btn/common_btn_tab1_45863727.png") center / contain no-repeat;
}

body.lhs-game-skin .package-name {
    color: #5b3624;
    font-weight: 800;
}

body.lhs-game-skin .package-price {
    color: #b74124;
    font-size: 22px;
    font-weight: 900;
}

body.lhs-game-skin .pay-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

body.lhs-game-skin .pay-method {
    position: relative;
    min-height: 76px;
    padding: 10px 4px;
    border-radius: 8px;
}

body.lhs-game-skin .btn-submit,
body.lhs-game-skin .confirm-btn.confirm,
body.lhs-game-skin .ptb-claim-btn,
body.lhs-game-skin .pay-link-btn.open {
    border-radius: 0;
    background: url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body.lhs-game-skin .confirm-btn.cancel,
body.lhs-game-skin #logoutBtn,#switchDist
body.lhs-game-skin .pay-link-btn.copy {
    border-radius: 0;
    background: url("../game-ui/common/btn/common_btn_grey_5daf728f.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body.lhs-game-skin .modal-content,
body.lhs-game-skin .confirm-modal-content {
    width: min(92vw, 620px);
    border: 0;
    border-radius: 0;
    background:
            linear-gradient(180deg, rgba(255, 255, 238, 0.16), rgba(255, 244, 203, 0.08)),
            url("../game-ui/common/bg/common_bg_3_93053276.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body.lhs-game-skin .confirm-info-row,
body.lhs-game-skin .pay-order-row,
body.lhs-game-skin .pay-link-text {
    background: rgba(255, 248, 218, 0.72);
}

@media (min-width: 760px) {
    body.lhs-game-skin .lhs-auth-stage {
        align-items: center;
        justify-content: flex-end;
        padding-bottom: min(5.8vh, 58px);
    }

    body.lhs-game-skin .lhs-auth-brand {
        margin: 0 auto 4px;
    }
}

@media (max-width: 520px) {
    body.lhs-game-skin .lhs-auth-stage {
        padding: 16px 10px 22px;
    }

    body.lhs-game-skin .lhs-auth-card {
        width: 96vw;
        padding: 44px 22px 24px;
    }

    body.lhs-game-skin .lhs-game-panel-title {
        width: 178px;
        height: 42px;
        font-size: 20px;
    }

    body.lhs-game-skin .lhs-shop-shell {
        width: 100%;
        padding: 8px 4px 14px;
    }

    body.lhs-game-skin .lhs-shop-frame {
        padding: 46px 16px 20px;
        background-image:
                linear-gradient(180deg, rgba(255, 255, 238, 0.16), rgba(255, 244, 203, 0.08)),
                url("../game-ui/common/bg/common_bg_2_e628a756.png");
    }

    body.lhs-game-skin .lhs-game-shop-title {
        font-size: 24px;
    }

    body.lhs-game-skin .main-tabs {
        gap: 5px;
    }

    body.lhs-game-skin .main-tab {
        min-height: 44px;
    }

    body.lhs-game-skin .main-tab span {
        font-size: 12px;
    }

    body.lhs-game-skin .package-grid {
        grid-template-columns: 1fr;
    }
}

/* Linked Dazhuzai auth shell: mirror the client portrait login stage in RuoYi. */
body.lhs-game-skin.lhs-register-page,
body.lhs-game-skin.lhs-charge-login-page {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    min-height: 100vh;
    padding: 0 !important;
    overflow: hidden;
    background-color: #050711;
    background-image: none !important;
}

body.lhs-game-skin.lhs-register-page .lhs-auth-stage,
body.lhs-game-skin.lhs-charge-login-page .lhs-auth-stage {
    --lhs-stage-height: var(--lhs-vh, 100vh);
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    width: min(100vw, 56.24vh, 750px) !important;
    width: min(100vw, 56.24svh, 750px) !important;
    max-width: 750px !important;
    min-width: 0 !important;
    height: var(--lhs-stage-height);
    min-height: 640px;
    aspect-ratio: 960 / 1707;
    margin: 0 auto !important;
    padding: clamp(300px, 42vh, 470px) clamp(18px, 4.8vh, 54px) clamp(20px, 3vh, 36px);
    padding: clamp(300px, 42svh, 470px) clamp(18px, 4.8svh, 54px) clamp(20px, 3svh, 36px);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.46) 100%),
            url("../game-ui/game_start/login_ld_bg_fa5c6746.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 9999px #050711;
}

body.lhs-game-skin.lhs-register-page .register-container.lhs-auth-stage,
body.lhs-game-skin.lhs-charge-login-page > .lhs-auth-stage {
    width: min(100vw, 56.24vh, 750px) !important;
    width: min(100vw, 56.24svh, 750px) !important;
    min-width: 0 !important;
    max-width: 750px !important;
}

body.lhs-game-skin.lhs-register-page .particles {
    display: none !important;
}

body.lhs-game-skin .lhs-linked-scene,
body.lhs-game-skin .lhs-linked-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

body.lhs-game-skin .lhs-linked-scene {
    z-index: 1;
    opacity: 0;
    transition: opacity 0.45s ease;
}

body.lhs-game-skin .lhs-auth-stage.lhs-linked-ready .lhs-linked-scene {
    opacity: 1;
}

body.lhs-game-skin .lhs-linked-glow {
    background:
            radial-gradient(circle at 51% 47%, rgba(137, 90, 255, 0.22), transparent 26%),
            radial-gradient(circle at 70% 35%, rgba(86, 218, 255, 0.16), transparent 24%),
            linear-gradient(115deg, transparent 16%, rgba(255, 255, 255, 0.11) 18%, transparent 22%, transparent 64%, rgba(111, 87, 255, 0.11) 66%, transparent 70%);
    mix-blend-mode: screen;
    animation: lhsLdAura 5.6s ease-in-out infinite;
}

body.lhs-game-skin .lhs-linked-server-a,
body.lhs-game-skin .lhs-linked-server-b {
    left: 50%;
    right: auto;
    width: 86%;
    height: 6%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.52;
    filter: drop-shadow(0 0 16px rgba(104, 83, 255, 0.55));
}

body.lhs-game-skin .lhs-linked-server-a {
    top: 58%;
    transform: translateX(-50%);
    background-image: url("../game-ui/atlas_ui/9_login/liandong/login_ld_bm_severBg_2_8625c7db.png");
    animation: lhsLdFloatA 4.8s ease-in-out infinite;
}

body.lhs-game-skin .lhs-linked-server-b {
    top: 64%;
    transform: translateX(-50%);
    background-image: url("../game-ui/atlas_ui/9_login/liandong/login_ld_bm_severBg_1_4b37d50e.png");
    animation: lhsLdFloatB 5.2s ease-in-out infinite;
}

body.lhs-game-skin .lhs-linked-scan {
    background: linear-gradient(180deg, transparent 38%, rgba(121, 95, 255, 0.14) 48%, transparent 58%);
    mix-blend-mode: screen;
    opacity: 0.48;
    animation: lhsLdScan 6.5s linear infinite;
}

body.lhs-game-skin .lhs-auth-brand {
    position: absolute;
    left: 50%;
    top: clamp(58px, 8.2vh, 114px);
    top: clamp(58px, 8.2svh, 114px);
    transform: translateX(-50%);
    z-index: 3;
    width: min(88%, 560px);
    margin: 0;
    text-align: center;
    pointer-events: none;
}

body.lhs-game-skin .lhs-auth-logo {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.62)) drop-shadow(0 0 18px rgba(92, 54, 255, 0.35));
    transform-origin: 50% 48%;
    animation: lhsLdLogo 4.2s ease-in-out infinite;
}

body.lhs-game-skin .lhs-auth-hidden {
    display: none !important;
}

body.lhs-game-skin .lhs-auth-card {
    position: relative;
    z-index: 4;
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 46px 32px 26px;
    border: 1px solid rgba(191, 171, 255, 0.74);
    border-radius: 10px;
    color: #2d2237;
    background:
            linear-gradient(180deg, rgba(255, 249, 230, 0.95), rgba(225, 231, 215, 0.86)),
            url("../game-ui/common/bg/common_bg_2_e628a756.png") center / 100% 100% no-repeat;
    box-shadow:
            0 18px 36px rgba(0, 0, 0, 0.36),
            inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

body.lhs-game-skin .lhs-auth-card::before,
body.lhs-game-skin .lhs-auth-card::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 108%;
    height: 42px;
    transform: translateX(-50%);
    pointer-events: none;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    filter: drop-shadow(0 5px 8px rgba(48, 28, 96, 0.35));
}

body.lhs-game-skin .lhs-auth-card::before {
    top: -24px;
    background-image: url("../game-ui/atlas_ui/9_login/liandong/login_ld_bm_severBg_2_8625c7db.png");
}

body.lhs-game-skin .lhs-auth-card::after {
    bottom: -18px;
    background-image: url("../game-ui/atlas_ui/9_login/liandong/login_ld_bm_severBg_1_4b37d50e.png");
}

body.lhs-game-skin .lhs-game-panel-title {
    position: relative;
    z-index: 1;
    width: min(78%, 250px);
    min-height: 46px;
    margin: -30px auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffe9aa;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 3px rgba(50, 12, 0, 0.68);
    background: url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
}

body.lhs-game-skin .lhs-panel-subtitle,
body.lhs-game-skin .footer p {
    color: rgba(54, 45, 70, 0.76);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

body.lhs-game-skin .lhs-panel-subtitle {
    margin: 0 0 14px;
}

body.lhs-game-skin .logo-section {
    margin: 0 0 18px;
}

body.lhs-game-skin .logo-glow,
body.lhs-game-skin .logo-title {
    font-size: clamp(30px, 4.5vh, 44px);
}

body.lhs-game-skin .register-form .am-form-group,
body.lhs-game-skin .login-box .input-group {
    position: relative;
    margin-bottom: 14px;
}

body.lhs-game-skin .input-label {
    display: block;
    margin-bottom: 6px;
    color: rgba(47, 38, 63, 0.84);
    font-size: 14px;
    font-weight: 800;
}

body.lhs-game-skin .register-form input[type="text"],
body.lhs-game-skin .register-form input[type="password"],
body.lhs-game-skin .input-field,
body.lhs-game-skin .server-select {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    color: #fff7dd;
    -webkit-text-fill-color: #fff7dd;
    font-size: 15px;
    font-weight: 800;
    border: 1px solid rgba(187, 152, 255, 0.72);
    border-radius: 7px;
    outline: none;
    background-color: rgba(14, 8, 24, 0.88);
    background-image:
            linear-gradient(180deg, rgba(31, 18, 43, 0.92), rgba(11, 7, 18, 0.95)),
            url("../game-ui/atlas_ui/9_login/liandong/login_ld_bm_txtbg_56dae85.png");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            0 3px 7px rgba(28, 12, 48, 0.24);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

body.lhs-game-skin .register-form input[type="text"]:focus,
body.lhs-game-skin .register-form input[type="password"]:focus,
body.lhs-game-skin .input-field:focus,
body.lhs-game-skin .server-select:focus {
    border-color: rgba(255, 230, 152, 0.92);
    box-shadow:
            0 0 0 2px rgba(116, 85, 255, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body.lhs-game-skin .register-form input::placeholder,
body.lhs-game-skin .input-field::placeholder {
    color: rgba(255, 238, 190, 0.82);
    -webkit-text-fill-color: rgba(255, 238, 190, 0.82);
    font-weight: 700;
}

body.lhs-game-skin .input-icon {
    right: 18px;
    color: #ffe59b;
    text-shadow: 0 0 8px rgba(116, 85, 255, 0.9);
}

body.lhs-game-skin .server-select {
    color-scheme: dark;
    appearance: none;
    background-color: rgba(14, 8, 24, 0.88);
}

body.lhs-game-skin .select-wrapper::after {
    color: #ffe59b;
}

body.lhs-game-skin .server-select option {
    color: #fff7dd;
    background: #191027;
}

body.lhs-game-skin .register-form button,
body.lhs-game-skin .btn-login {
    width: 100%;
    min-height: 56px;
    margin-top: 6px;
    border: 0;
    color: #5a2f17;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 1px 0 rgba(255, 245, 190, 0.82);
    background: url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body.lhs-game-skin .register-form button:active,
body.lhs-game-skin .btn-login:active {
    transform: translateY(1px) scale(0.99);
}

@keyframes lhsLdAura {
    0%, 100% {
        opacity: 0.52;
        transform: scale(1);
    }
    50% {
        opacity: 0.88;
        transform: scale(1.018);
    }
}

@keyframes lhsLdFloatA {
    0%, 100% {
        opacity: 0.42;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.66;
        transform: translateX(-50%) translateY(-7px);
    }
}

@keyframes lhsLdFloatB {
    0%, 100% {
        opacity: 0.35;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.58;
        transform: translateX(-50%) translateY(6px);
    }
}

@keyframes lhsLdScan {
    0% {
        transform: translateY(-42%);
    }
    100% {
        transform: translateY(42%);
    }
}

@keyframes lhsLdLogo {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.015);
    }
}

@media (max-width: 520px) {
    body.lhs-game-skin.lhs-register-page,
    body.lhs-game-skin.lhs-charge-login-page {
        overflow-y: auto;
    }

    body.lhs-game-skin.lhs-register-page .lhs-auth-stage,
    body.lhs-game-skin.lhs-charge-login-page .lhs-auth-stage {
        width: 100vw !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 100vh;
        padding: clamp(270px, 39vh, 340px) 14px 22px;
        padding: clamp(270px, 39svh, 340px) 14px 22px;
        background-position: center top;
    }

    body.lhs-game-skin .lhs-auth-brand {
        top: clamp(34px, 6.8vh, 58px);
        top: clamp(34px, 6.8svh, 58px);
        width: min(calc(100vw - 26px), 420px);
    }

    body.lhs-game-skin .lhs-linked-server-a {
        top: 56%;
        width: 96%;
    }

    body.lhs-game-skin .lhs-linked-server-b {
        top: 63%;
        width: 92%;
    }

    body.lhs-game-skin .lhs-auth-card {
        width: calc(100vw - 28px) !important;
        max-width: 430px;
        padding: 44px 22px 24px;
    }

    body.lhs-game-skin .lhs-game-panel-title {
        min-height: 44px;
        font-size: 22px;
    }

    body.lhs-game-skin .register-form input[type="text"],
    body.lhs-game-skin .register-form input[type="password"],
    body.lhs-game-skin .input-field,
    body.lhs-game-skin .server-select {
        height: 50px;
        font-size: 15px;
    }
}

@media (max-height: 820px) {
    body.lhs-game-skin.lhs-register-page .lhs-auth-stage,
    body.lhs-game-skin.lhs-charge-login-page .lhs-auth-stage {
        padding-top: 230px;
        padding-bottom: 26px;
    }

    body.lhs-game-skin .lhs-auth-brand {
        top: 30px;
        width: min(78%, 500px);
    }

    body.lhs-game-skin .lhs-auth-card {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    body.lhs-game-skin .register-form .am-form-group,
    body.lhs-game-skin .login-box .input-group {
        margin-bottom: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lhs-game-skin .lhs-linked-glow,
    body.lhs-game-skin .lhs-linked-server-a,
    body.lhs-game-skin .lhs-linked-server-b,
    body.lhs-game-skin .lhs-linked-scan,
    body.lhs-game-skin .lhs-auth-logo {
        animation: none !important;
    }
}

/* Dazhuzai Spine-linked login shell, using extracted client atlas pieces. */
body.lhs-game-skin.lhs-charge-login-page {
    display: block !important;
    justify-content: normal !important;
    align-items: normal !important;
    background: #000 !important;
    min-width: 0 !important;
}

body.lhs-game-skin.lhs-register-page {
    background: #000 !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
}

body.lhs-game-skin.lhs-register-page::before,
body.lhs-game-skin.lhs-register-page::after,
body.lhs-game-skin.lhs-charge-login-page::before,
body.lhs-game-skin.lhs-charge-login-page::after {
    display: none !important;
}

body.lhs-game-skin.lhs-register-page .lhs-auth-stage,
body.lhs-game-skin.lhs-register-page .register-container.lhs-auth-stage,
body.lhs-game-skin.lhs-charge-login-page .lhs-auth-stage,
body.lhs-game-skin.lhs-charge-login-page > .lhs-auth-stage {
    width: min(100vw, 86vh, 820px) !important;
    width: min(100vw, 86svh, 820px) !important;
    max-width: 820px !important;
    min-height: 100vh;
    aspect-ratio: 820 / 960;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #0a0713;
    overflow: hidden;
}

body.lhs-game-skin .lhs-dzz-scene,
body.lhs-game-skin .lhs-dzz-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

body.lhs-game-skin .lhs-dzz-scene {
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    background: #070511;
    transition: opacity 0.35s ease;
}

body.lhs-game-skin .lhs-auth-stage.lhs-linked-ready .lhs-dzz-scene {
    opacity: 1;
}

body.lhs-game-skin .lhs-dzz-bg {
    background:
            linear-gradient(180deg, rgba(8, 6, 17, 0) 0%, rgba(8, 6, 17, 0) 72%, rgba(8, 6, 17, 0.2) 100%),
            url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_bg_rot90.png") center center / 100% 100% no-repeat;
    top: -15.625%;
    height: 131.25%;
    transform: none;
    filter: saturate(1.02) contrast(1.02);
    animation: lhsDzzBg 9s ease-in-out infinite;
}

body.lhs-game-skin .lhs-dzz-portal {
    left: 29%;
    top: 11.2%;
    right: auto;
    bottom: auto;
    width: 45.7%;
    aspect-ratio: 1 / 1;
    background: url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_portal.png") center / contain no-repeat;
    opacity: 0.9;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 26px rgba(119, 78, 255, 0.58));
    animation: lhsDzzPulse 4.8s ease-in-out infinite;
}

body.lhs-game-skin .lhs-dzz-lotus {
    left: 28.4%;
    top: 25.2%;
    right: auto;
    bottom: auto;
    width: 65.5%;
    aspect-ratio: 620 / 446;
    background: url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_lotus.png") center / contain no-repeat;
    opacity: 0.88;
    filter: drop-shadow(0 0 18px rgba(174, 96, 255, 0.42));
    animation: lhsDzzLotus 5.4s ease-in-out infinite;
}

body.lhs-game-skin .lhs-dzz-boss {
    left: 30.2%;
    top: 18.2%;
    right: auto;
    bottom: auto;
    width: 28.6%;
    aspect-ratio: 283 / 263;
    background: url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_boss.png") center / contain no-repeat;
    opacity: 0.92;
    filter: drop-shadow(0 0 20px rgba(127, 81, 255, 0.62));
    animation: lhsDzzBoss 4.9s ease-in-out infinite;
}

body.lhs-game-skin .lhs-dzz-hero {
    left: 7.5%;
    top: 25.6%;
    right: auto;
    bottom: auto;
    width: 14.4%;
    aspect-ratio: 212 / 248;
    background: url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_hero.png") center / contain no-repeat;
    opacity: 0.9;
    filter: drop-shadow(0 0 13px rgba(221, 220, 255, 0.38));
    animation: lhsDzzDrift 6.2s ease-in-out infinite;
}

body.lhs-game-skin .lhs-dzz-shard {
    left: 62.1%;
    top: 12.3%;
    right: auto;
    bottom: auto;
    width: 27.9%;
    aspect-ratio: 271 / 440;
    background: url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_shard_right.png") center / contain no-repeat;
    opacity: 0.74;
    filter: drop-shadow(0 0 16px rgba(112, 85, 255, 0.42));
    animation: lhsDzzShard 6.8s ease-in-out infinite;
}

body.lhs-game-skin .lhs-dzz-lightning {
    opacity: 0.22;
    mix-blend-mode: screen;
    background:
            radial-gradient(circle at 50% 30%, rgba(153, 98, 255, 0.3), transparent 31%),
            radial-gradient(circle at 48% 51%, rgba(255, 255, 255, 0.14), transparent 20%);
    animation: lhsDzzLightning 4.6s ease-in-out infinite;
}

body.lhs-game-skin .lhs-dzz-meteor {
    left: 12.4%;
    top: 3.8%;
    right: auto;
    bottom: auto;
    width: 29.6%;
    aspect-ratio: 256 / 372;
    opacity: 0.95;
    mix-blend-mode: screen;
    background: url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_meteor_lower.png") center / contain no-repeat;
    filter: drop-shadow(0 0 6px rgba(147, 114, 255, 0.72));
    transform: translate3d(0, 0, 0);
    animation: lhsDzzMeteor 4.2s ease-in-out infinite;
}

body.lhs-game-skin .lhs-dzz-meteor-b {
    left: 35.8%;
    top: -15.2%;
    width: 29.8%;
    aspect-ratio: 281 / 194;
    opacity: 0.5;
    background-image: url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_meteor_main.png");
    animation-duration: 5.6s;
    animation-delay: -1.8s;
}

body.lhs-game-skin .lhs-dzz-meteor-c {
    left: 66.7%;
    top: 0;
    width: 4.4%;
    aspect-ratio: 25 / 51;
    opacity: 0.58;
    background-image: url("../game-ui/spine/ui/loading_dzz/crops/loading_dzz_meteor_upper.png");
    animation-duration: 6.4s;
    animation-delay: -2.9s;
}

body.lhs-game-skin .lhs-dzz-vignette {
    background: linear-gradient(180deg, transparent 0 72%, rgba(0, 0, 0, 0.2) 100%);
}

body.lhs-game-skin .lhs-auth-brand {
    top: 8.9%;
    width: 66%;
}

body.lhs-game-skin .lhs-auth-logo {
    animation: lhsDzzLogo 4.4s ease-in-out infinite;
}

body.lhs-game-skin .lhs-auth-card {
    position: absolute;
    left: 50%;
    top: 53.5%;
    z-index: 3;
    transform: translateX(-50%);
    width: min(62%, 430px) !important;
    max-width: 430px !important;
    min-height: 0;
    padding: clamp(18px, 2.6vh, 24px) clamp(22px, 4.2vh, 34px) clamp(16px, 2.2vh, 22px);
    overflow: visible;
    border: 1px solid rgba(232, 203, 128, 0.48);
    border-radius: 8px;
    color: #f7ead1;
    background:
            radial-gradient(circle at 50% 0%, rgba(82, 211, 196, 0.18), transparent 56%),
            linear-gradient(180deg, rgba(15, 43, 50, 0.86), rgba(6, 15, 23, 0.94)),
            linear-gradient(90deg, rgba(255, 226, 141, 0.12), transparent 22% 78%, rgba(82, 211, 196, 0.1));
    box-shadow:
            0 14px 34px rgba(0, 0, 0, 0.46),
            inset 0 0 0 1px rgba(255, 255, 255, 0.06),
            inset 0 0 24px rgba(82, 211, 196, 0.13);
    backdrop-filter: blur(3px);
}

body.lhs-game-skin .register-form.lhs-auth-card,
body.lhs-game-skin .login-box.lhs-auth-card {
    max-width: 430px !important;
}

body.lhs-game-skin.lhs-charge-login-page .input-field,
body.lhs-game-skin.lhs-charge-login-page .select-wrapper {
    width: 100%;
    flex: none;
    min-width: 0;
}

body.lhs-game-skin.lhs-charge-login-page .server-select {
    width: 100%;
}

body.lhs-game-skin.lhs-register-page .lhs-panel-subtitle,
body.lhs-game-skin.lhs-charge-login-page .lhs-panel-subtitle,
body.lhs-game-skin.lhs-charge-login-page .footer {
    display: none !important;
}

body.lhs-game-skin.lhs-charge-login-page .login-box .input-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 12px;
}

body.lhs-game-skin.lhs-charge-login-page .input-label {
    justify-content: flex-start;
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex: none;
    margin: 0 0 0 2px;
    color: rgba(255, 232, 163, 0.88);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.68);
}

body.lhs-game-skin.lhs-charge-login-page .input-label i {
    display: none;
}

body.lhs-game-skin .lhs-auth-card::before,
body.lhs-game-skin .lhs-auth-card::after {
    content: none;
    display: none;
}

body.lhs-game-skin .lhs-game-panel-title {
    position: absolute;
    left: 50%;
    top: -22px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    width: min(48%, 196px);
    min-height: 40px;
    color: #ffe8a3;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 2px 0 rgba(84, 39, 14, 0.78), 0 0 12px rgba(167, 112, 255, 0.52);
    border: 1px solid rgba(255, 231, 146, 0.74);
    border-radius: 999px;
    background:
            linear-gradient(180deg, rgba(24, 58, 62, 0.96), rgba(13, 28, 36, 0.98)),
            linear-gradient(90deg, rgba(255, 226, 141, 0.14), transparent 25% 75%, rgba(82, 211, 196, 0.14));
    box-shadow:
            0 9px 20px rgba(0, 0, 0, 0.32),
            inset 0 0 0 1px rgba(255, 255, 255, 0.08),
            0 0 16px rgba(82, 211, 196, 0.2);
}

body.lhs-game-skin.lhs-register-page .register-form.lhs-auth-card {
    top: 53.5%;
    padding: clamp(20px, 2.8vh, 26px) clamp(22px, 4.2vh, 34px) clamp(16px, 2.2vh, 22px);
}

body.lhs-game-skin.lhs-register-page .register-form .am-form-group {
    margin-bottom: 11px;
}

body.lhs-game-skin .register-form .am-form-group,
body.lhs-game-skin.lhs-charge-login-page .login-box .input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

body.lhs-game-skin .lhs-panel-subtitle {
    margin: 0 0 12px;
    color: rgba(255, 235, 186, 0.72);
    font-size: 12px;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.72);
}

body.lhs-game-skin .input-label {
    color: #f2d990;
    font-size: 15px;
    font-weight: 900;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.72);
}

body.lhs-game-skin .register-form input[type="text"],
body.lhs-game-skin .register-form input[type="password"],
body.lhs-game-skin .input-field,
body.lhs-game-skin .server-select {
    height: clamp(38px, 5.1vh, 46px);
    padding: 0 clamp(14px, 2.4vh, 20px);
    color: #fff9e6;
    -webkit-text-fill-color: #fff9e6;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.82);
    caret-color: #fff1a8;
    border: 1px solid rgba(232, 203, 128, 0.44);
    border-radius: 8px;
    background:
            linear-gradient(180deg, rgba(12, 30, 38, 0.92), rgba(5, 11, 18, 0.96));
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            inset 0 0 18px rgba(0, 0, 0, 0.42),
            0 0 0 1px rgba(82, 211, 196, 0.16),
            0 8px 18px rgba(0, 0, 0, 0.18);
}

body.lhs-game-skin.lhs-register-page .register-form input[type="text"],
body.lhs-game-skin.lhs-register-page .register-form input[type="password"] {
    height: clamp(40px, 5vh, 46px);
}

body.lhs-game-skin .register-form input::placeholder,
body.lhs-game-skin .input-field::placeholder {
    color: rgba(255, 243, 205, 0.76);
    -webkit-text-fill-color: rgba(255, 243, 205, 0.76);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
}

body.lhs-game-skin .register-form input:-webkit-autofill,
body.lhs-game-skin .register-form input:-webkit-autofill:hover,
body.lhs-game-skin .register-form input:-webkit-autofill:focus,
body.lhs-game-skin .input-field:-webkit-autofill,
body.lhs-game-skin .input-field:-webkit-autofill:hover,
body.lhs-game-skin .input-field:-webkit-autofill:focus {
    color: #fff9e6;
    -webkit-text-fill-color: #fff9e6;
    caret-color: #fff1a8;
    -webkit-box-shadow: 0 0 0 1000px rgba(8, 23, 30, 0.98) inset;
    box-shadow:
            0 0 0 1000px rgba(8, 23, 30, 0.98) inset,
            0 0 0 1px rgba(82, 211, 196, 0.18);
    transition: background-color 9999s ease-out 0s;
}

body.lhs-game-skin .input-icon {
    display: block !important;
    color: rgba(255, 229, 155, 0.78);
    text-shadow: 0 0 10px rgba(82, 211, 196, 0.36);
    transform: scale(0.86);
}

body.lhs-game-skin .select-wrapper::after {
    right: 20px;
    width: 11px;
    height: 11px;
    border: 0;
    border-right: 2px solid #ffe59b;
    border-bottom: 2px solid #ffe59b;
    transform: translateY(-64%) rotate(45deg);
    background: none;
    filter: drop-shadow(0 0 6px rgba(82, 211, 196, 0.48));
}

body.lhs-game-skin .register-form button,
body.lhs-game-skin .btn-login {
    min-height: 52px;
    margin-top: 10px;
    color: #5a2f17;
    font-size: 20px;
    font-weight: 900;
    border: 0;
    border-radius: 8px;
    text-shadow: 0 1px 0 rgba(255, 245, 190, 0.82);
    background:
            linear-gradient(180deg, rgba(255, 237, 157, 0.98), rgba(226, 161, 61, 0.98) 55%, rgba(144, 77, 24, 0.98)),
            url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), 0 0 16px rgba(82, 211, 196, 0.2);
}

body.lhs-game-skin.lhs-register-page .register-form button {
    min-height: clamp(48px, 6.2vh, 54px);
    margin-top: 8px;
    color: #5a2f17;
    background:
            linear-gradient(180deg, rgba(255, 237, 157, 0.98), rgba(226, 161, 61, 0.98) 55%, rgba(144, 77, 24, 0.98)),
            url("../game-ui/common/btn/common_btn_yellow_82e87d20.png") center / 100% 100% no-repeat;
}

body.lhs-game-skin .toast {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 3000 !important;
    transform: translate(-50%, -50%) !important;
}

/* Local CSS fallback after removing the FontAwesome CDN. */
body.lhs-game-skin .fas,
body.lhs-game-skin .far,
body.lhs-game-skin .fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    min-width: 1.15em;
    height: 1.15em;
    margin-right: 0.18em;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

body.lhs-game-skin .fas::before,
body.lhs-game-skin .far::before,
body.lhs-game-skin .fab::before {
    content: "\25CF";
    font-size: 0.72em;
}

body.lhs-game-skin .toast .fas {
    display: flex;
    margin: 0 auto 8px;
}

body.lhs-game-skin .pay-method i,
body.lhs-game-skin .pay-type-radio-inner i {
    margin-right: 0;
}

body.lhs-game-skin .fa-user::before,
body.lhs-game-skin .fa-user-circle::before,
body.lhs-game-skin .fa-id-badge::before,
body.lhs-game-skin .fa-id-card::before {
    content: "U";
}

body.lhs-game-skin .fa-lock::before,
body.lhs-game-skin .fa-shield-alt::before {
    content: "L";
}

body.lhs-game-skin .fa-globe::before {
    content: "S";
}

body.lhs-game-skin .fa-sign-in-alt::before {
    content: ">";
}

body.lhs-game-skin .fa-sign-out-alt::before {
    content: "<";
}

body.lhs-game-skin .fa-info-circle::before {
    content: "i";
}

body.lhs-game-skin .fa-gem::before {
    content: "\25C6";
}

body.lhs-game-skin .fa-yen-sign::before {
    content: "\00A5";
}

body.lhs-game-skin .fa-coins::before,
body.lhs-game-skin .fa-hand-holding-usd::before {
    content: "$";
}

body.lhs-game-skin .fa-credit-card::before,
body.lhs-game-skin .fa-receipt::before {
    content: "#";
}

body.lhs-game-skin .fa-gift::before,
body.lhs-game-skin .fa-box::before {
    content: "\25A3";
}

body.lhs-game-skin .fa-shopping-cart::before {
    content: "+";
}

body.lhs-game-skin .fa-times::before {
    content: "\00D7";
}

body.lhs-game-skin .fa-check::before,
body.lhs-game-skin .fa-check-circle::before {
    content: "\2713";
}

body.lhs-game-skin .fa-spinner::before {
    content: "\25CC";
}

body.lhs-game-skin .fa-qrcode::before {
    content: "QR";
    font-size: 0.56em;
}

body.lhs-game-skin .fa-up-right-from-square::before {
    content: "\2197";
}

body.lhs-game-skin .fa-copy::before {
    content: "\2398";
}

body.lhs-game-skin .fa-tag::before {
    content: "#";
}

body.lhs-game-skin .fa-eye::before {
    content: "\25CE";
}

body.lhs-game-skin .fa-list::before {
    content: "\2630";
}

body.lhs-game-skin .fa-circle::before {
    content: "\2022";
}

body.lhs-game-skin .fa-sun::before {
    content: "\2600";
}

body.lhs-game-skin .fa-star::before {
    content: "\2605";
}

body.lhs-game-skin .fa-crown::before {
    content: "\265B";
}

body.lhs-game-skin .fa-calendar-week::before,
body.lhs-game-skin .fa-calendar-alt::before,
body.lhs-game-skin .fa-calendar-day::before {
    content: "\25A6";
}

body.lhs-game-skin .fa-infinity::before {
    content: "\221E";
}

body.lhs-game-skin .fa-hourglass-half::before {
    content: "\231B";
}

body.lhs-game-skin .fa-leaf::before {
    content: "\2726";
}

body.lhs-game-skin .fa-fire::before {
    content: "\25B2";
}

body.lhs-game-skin .fa-alipay::before {
    content: "A";
}

body.lhs-game-skin .fa-weixin::before {
    content: "W";
}

body.lhs-game-skin .fa-spin {
    animation: lhsFaSpin 0.9s linear infinite;
}

@keyframes lhsFaSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes lhsDzzBg {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.6%);
    }
}

@keyframes lhsDzzPulse {
    0%, 100% {
        opacity: 0.74;
        transform: scale(0.97) rotate(-2deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.04) rotate(2deg);
    }
}

@keyframes lhsDzzLotus {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.035);
    }
}

@keyframes lhsDzzBoss {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes lhsDzzDrift {
    0%, 100% {
        transform: translate(0, 0) rotate(-5deg);
    }
    50% {
        transform: translate(-5px, 12px) rotate(2deg);
    }
}

@keyframes lhsDzzShard {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(4px, -12px) rotate(2deg);
    }
}

@keyframes lhsDzzLightning {
    0%, 100% {
        opacity: 0.24;
    }
    50% {
        opacity: 0.42;
    }
}

@keyframes lhsDzzMeteor {
    0% {
        opacity: 0.72;
        transform: translate3d(0, 0, 0);
    }
    50% {
        opacity: 0.98;
        transform: translate3d(-1.4%, 1.8%, 0);
    }
    100% {
        opacity: 0.72;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes lhsDzzLogo {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.025);
    }
}

@media (max-width: 520px) {
    body.lhs-game-skin.lhs-register-page .lhs-auth-stage,
    body.lhs-game-skin.lhs-register-page .register-container.lhs-auth-stage,
    body.lhs-game-skin.lhs-charge-login-page .lhs-auth-stage,
    body.lhs-game-skin.lhs-charge-login-page > .lhs-auth-stage {
        width: 100vw !important;
        padding: 0 !important;
    }

    body.lhs-game-skin .lhs-auth-brand {
        left: 50% !important;
        top: clamp(42px, 8.2svh, 70px);
        width: min(68vw, 330px) !important;
    }

    body.lhs-game-skin .lhs-auth-logo {
        width: 100% !important;
        max-width: 100% !important;
        animation: none !important;
        transform: none !important;
    }

    body.lhs-game-skin .lhs-dzz-portal {
        top: 12%;
        width: 48%;
    }

    body.lhs-game-skin .lhs-dzz-lotus {
        top: 25.6%;
        width: 72%;
    }

    body.lhs-game-skin .lhs-dzz-boss {
        top: 18.4%;
        width: 32%;
    }

    body.lhs-game-skin .lhs-auth-card {
        top: 55.8%;
        width: calc(100vw - 36px) !important;
        max-width: 430px !important;
        padding: 30px 20px 20px;
    }

    body.lhs-game-skin .lhs-game-panel-title {
        top: 30px;
        width: min(52%, 188px);
        min-height: 38px;
        font-size: 20px;
    }
}

@media (max-width: 390px) {
    body.lhs-game-skin.lhs-register-page .lhs-auth-stage,
    body.lhs-game-skin.lhs-register-page .register-container.lhs-auth-stage,
    body.lhs-game-skin.lhs-charge-login-page .lhs-auth-stage,
    body.lhs-game-skin.lhs-charge-login-page > .lhs-auth-stage {
        padding: 0 !important;
    }

    body.lhs-game-skin .lhs-auth-logo {
        width: 100%;
        margin: 0 auto;
    }

    body.lhs-game-skin .lhs-auth-card {
        top: 55.8%;
        min-height: 0;
        padding: 30px 18px 18px;
    }

    body.lhs-game-skin .register-form .am-form-group,
    body.lhs-game-skin .login-box .input-group {
        margin-bottom: 9px;
    }

    body.lhs-game-skin .register-form input[type="text"],
    body.lhs-game-skin .register-form input[type="password"],
    body.lhs-game-skin .input-field,
    body.lhs-game-skin .server-select {
        height: 42px;
    }
}

@media (max-height: 520px) and (min-width: 521px) {
    body.lhs-game-skin.lhs-register-page .lhs-auth-stage,
    body.lhs-game-skin.lhs-register-page .register-container.lhs-auth-stage,
    body.lhs-game-skin.lhs-charge-login-page .lhs-auth-stage,
    body.lhs-game-skin.lhs-charge-login-page > .lhs-auth-stage {
        width: min(100vw, 470px) !important;
        max-width: 470px !important;
    }

    body.lhs-game-skin .lhs-auth-brand {
        top: 4.8%;
        width: min(60%, 290px) !important;
    }

    body.lhs-game-skin .lhs-auth-logo {
        animation: none !important;
    }

    body.lhs-game-skin .lhs-auth-card {
        top: 30%;
        width: 82% !important;
        max-width: 410px !important;
        padding: 24px 22px 16px;
    }

    body.lhs-game-skin.lhs-register-page .register-form.lhs-auth-card {
        top: 24%;
        padding: 24px 22px 16px;
    }

    body.lhs-game-skin .lhs-game-panel-title {
        top: -16px;
        width: min(48%, 160px);
        min-height: 32px;
        font-size: 18px;
    }

    body.lhs-game-skin.lhs-charge-login-page .login-box .input-group,
    body.lhs-game-skin.lhs-register-page .register-form .am-form-group {
        margin-bottom: 7px;
    }

    body.lhs-game-skin.lhs-charge-login-page .login-box .input-group {
        gap: 5px;
    }

    body.lhs-game-skin.lhs-charge-login-page .input-label {
        flex-basis: auto;
        font-size: 11px;
    }

    body.lhs-game-skin .register-form input[type="text"],
    body.lhs-game-skin .register-form input[type="password"],
    body.lhs-game-skin .input-field,
    body.lhs-game-skin .server-select {
        height: 34px;
        font-size: 13px;
    }

    body.lhs-game-skin .register-form button,
    body.lhs-game-skin .btn-login,
    body.lhs-game-skin.lhs-register-page .register-form button {
        min-height: 40px;
        margin-top: 5px;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lhs-game-skin .lhs-dzz-bg,
    body.lhs-game-skin .lhs-dzz-portal,
    body.lhs-game-skin .lhs-dzz-lotus,
    body.lhs-game-skin .lhs-dzz-boss,
    body.lhs-game-skin .lhs-dzz-hero,
    body.lhs-game-skin .lhs-dzz-shard,
    body.lhs-game-skin .lhs-dzz-lightning,
    body.lhs-game-skin .lhs-dzz-meteor,
    body.lhs-game-skin .lhs-auth-logo {
        animation: none !important;
    }
}
