/* ========================================================
   User · Login / Reg / Forget (dpfrp modern design)
======================================================== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #ecfeff 100%);
    min-height: 100vh;
    color: #0f172a;
    overflow-x: hidden;
}

/* ============ 已登录的 infobox ============ */
.infobox {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.infobox::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}
.infotitle2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.marginbot {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}
.lightlink {
    display: inline-block;
    color: #6366f1;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.08);
    transition: all 0.2s;
}
.lightlink:hover {
    background: rgba(99, 102, 241, 0.15);
    text-decoration: none;
}
.loading {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(99, 102, 241, 0.12);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: lgSpin 1s linear infinite;
    margin: 0 auto 25px;
}
@keyframes lgSpin {
    to { transform: rotate(360deg); }
}

/* ============ 背景 mesh 渐变 ============ */
.lg-bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.lg-mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: lgMeshFloat 18s ease-in-out infinite;
}
.lg-mesh-1 {
    width: 540px; height: 540px;
    background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
    top: -180px; right: -120px;
}
.lg-mesh-2 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, #34d399 0%, transparent 70%);
    bottom: -160px; left: -100px;
    animation-delay: -6s;
}
.lg-mesh-3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    top: 45%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -12s;
}
@keyframes lgMeshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -40px) scale(1.06); }
    66%      { transform: translate(-20px, 30px) scale(0.96); }
}

/* ============ 顶部 logo 行 ============ */
.lg-top {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.lg-top-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.lg-top-mark {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4);
}
.lg-top-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}
.lg-top-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.lg-top-link {
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.lg-top-link:hover { color: #6366f1; }
.lg-top-home {
    font-size: 13px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.08);
    transition: all 0.2s;
}
.lg-top-home:hover {
    background: rgba(99, 102, 241, 0.16);
    text-decoration: none;
}

/* ============ 主容器 ============ */
.lg-wrap {
    position: relative;
    z-index: 5;
    max-width: 1080px;
    margin: 30px auto;
    padding: 0 24px 60px;
}
.lg-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(99, 102, 241, 0.3),
                0 6px 18px rgba(15, 23, 42, 0.06);
    position: relative;
}

/* ============ 左侧品牌区 ============ */
.lg-brand {
    position: relative;
    background: linear-gradient(145deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    min-height: 580px;
}
.lg-brand[data-variant="reg"] {
    background: linear-gradient(145deg, #10b981 0%, #059669 50%, #047857 100%);
}
.lg-brand[data-variant="forget"] {
    background: linear-gradient(145deg, #f59e0b 0%, #ea580c 50%, #dc2626 100%);
}

.lg-brand-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.4), transparent 70%);
    filter: blur(40px);
    animation: lgOrbFloat 14s ease-in-out infinite;
    pointer-events: none;
}
.lg-brand-orb-1 { width: 240px; height: 240px; top: -70px; right: -50px; }
.lg-brand-orb-2 { width: 180px; height: 180px; bottom: -50px; left: 28%; animation-delay: -5s; }
.lg-brand-orb-3 { width: 130px; height: 130px; top: 32%; left: -40px; animation-delay: -9s; }
@keyframes lgOrbFloat {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(20px, -25px); }
}

.lg-brand-content {
    position: relative;
    z-index: 1;
}
.lg-brand-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 13px;
    border-radius: 6px;
    margin-bottom: 14px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.lg-brand-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.lg-brand-grad {
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lg-brand-sub {
    margin: 0 0 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-weight: 500;
}

/* 特性列表 */
.lg-brand-features,
.lg-brand-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lg-brand-features li,
.lg-brand-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.lg-feature-icon,
.lg-step-num {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.lg-step-num {
    font-size: 14px;
    letter-spacing: 0.5px;
    font-weight: 800;
}
.lg-brand-features li > div,
.lg-brand-steps li > div {
    flex: 1;
    min-width: 0;
}
.lg-brand-features li h4,
.lg-brand-steps li h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px;
    letter-spacing: -0.2px;
}
.lg-brand-features li p,
.lg-brand-steps li p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    line-height: 1.5;
}

/* ============ 右侧表单区 ============ */
.lg-form-card {
    background: #ffffff;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.lg-form-head {
    margin-bottom: 24px;
}
.lg-form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #6366f1;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.lg-form-kicker::before {
    content: '';
    width: 18px; height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}
.lg-form-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}
.lg-form-sub {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

/* 错误 / 成功提示 */
.lg-error-tip,
.lg-success-tip {
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
    font-weight: 500;
    align-items: center;
    gap: 6px;
}
.lg-error-tip {
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.8), rgba(252, 165, 165, 0.4));
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}
.lg-success-tip {
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.8), rgba(167, 243, 208, 0.4));
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #047857;
}

/* ============ 表单 ============ */
.lg-form {
    display: flex;
    flex-direction: column;
}
.lg-field {
    margin-bottom: 16px;
}
.lg-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    padding-left: 2px;
    letter-spacing: 0.2px;
}
.lg-input-wrap {
    position: relative;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
}
.lg-input-wrap:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(99, 102, 241, 0.08);
}
.lg-input-icon {
    padding: 0 4px 0 14px;
    font-size: 16px;
    flex-shrink: 0;
}
.lg-input-wrap input {
    flex: 1;
    height: 44px;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 14px 0 8px;
    font-size: 14px;
    color: #0f172a;
    font-family: inherit;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}
.lg-input-wrap input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* 眼睛切换按钮 */
.lg-eye {
    border: none;
    background: transparent;
    padding: 0 12px;
    cursor: pointer;
    font-size: 16px;
    color: #94a3b8;
    transition: color 0.2s;
    flex-shrink: 0;
}
.lg-eye:hover { color: #6366f1; }

/* 验证码行 */
.lg-code-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
}
.lg-code-row .lg-input-wrap { height: 100%; }
.lg-code-img {
    width: 110px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s ease;
    object-fit: cover;
    background: #fff;
}
.lg-code-img:hover {
    border-color: #6366f1;
    transform: scale(1.04);
}
.lg-btn-code {
    border: none;
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    padding: 0 16px;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    font-family: inherit;
    min-width: 110px;
    height: 44px;
}
.lg-btn-code:hover:not(:disabled) {
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    color: #4f46e5;
    transform: translateY(-1px);
}
.lg-btn-code:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 密码强度 */
.lg-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.lg-strength-bar {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.lg-strength-bar > div {
    height: 100%;
    width: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: all 0.3s ease;
}
.lg-strength-text {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    min-width: 32px;
    text-align: right;
}

/* 用户协议 */
.lg-tos {
    margin: 4px 0 16px;
    font-size: 12px;
    color: #64748b;
}
.lg-tos label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    line-height: 1.6;
}
.lg-tos input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.lg-tos-box {
    flex-shrink: 0;
    width: 16px; height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 1px;
}
.lg-tos input[type="checkbox"]:checked + .lg-tos-box {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
}
.lg-tos input[type="checkbox"]:checked + .lg-tos-box::after {
    content: '✓';
    position: absolute;
    inset: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.lg-tos a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}
.lg-tos a:hover { text-decoration: underline; }

/* ============ 主按钮 ============ */
.lg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 1px;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}
.lg-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: #fff;
    box-shadow:
        0 8px 22px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.lg-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent);
    transition: left 0.6s ease;
}
.lg-btn-primary:hover:not(:disabled)::before { left: 100%; }
.lg-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow:
        0 12px 30px rgba(139, 92, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lg-btn-primary:active:not(:disabled) { transform: translateY(0); }
.lg-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.lg-btn-icon { font-size: 16px; line-height: 1; }
.lg-btn-text { font-size: 15px; }

/* ============ 底部链接 ============ */
.lg-foot {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}
.lg-foot-tip { margin-right: 4px; }
.lg-foot-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 700;
}
.lg-foot-link:hover { text-decoration: underline; }

/* ============ 响应式 ============ */
@media (max-width: 860px) {
    .lg-inner {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }
    .lg-brand {
        min-height: 0;
        padding: 36px 28px 28px;
    }
    .lg-brand-title { font-size: 28px; }
    .lg-brand-features,
    .lg-brand-steps { display: none; }
    .lg-brand-sub { margin-bottom: 0; }
    .lg-form-card {
        padding: 32px 26px 36px;
    }
    .lg-form-title { font-size: 24px; }
    .lg-bg-mesh { display: none; }
    .lg-top { padding: 14px 18px; }
    .lg-top-name { display: none; }
    .lg-top-actions { gap: 12px; }
    .lg-wrap { margin: 16px auto 30px; padding: 0 16px; }
}
@media (max-width: 480px) {
    .lg-top-home { padding: 6px 10px; font-size: 12px; }
    .lg-top-link { font-size: 12px; }
    .lg-brand { padding: 30px 22px; }
    .lg-brand-title { font-size: 24px; }
    .lg-form-card { padding: 28px 22px 32px; }
    .lg-form-title { font-size: 22px; }
    .lg-code-img { width: 90px; }
    .lg-btn-code { min-width: 90px; font-size: 12px; padding: 0 10px; }
}

/* ========== Toast 提示(替代默认 layer.msg) ========== */
.lg-toast-dialog .layui-layer-content { padding: 0 !important; }
.lg-toast-dialog { border-radius: 14px !important; overflow: hidden !important; background: transparent !important; box-shadow: none !important; }
.lg-toast-dialog .layui-layer-close { display: none !important; }

.lg-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px 14px 14px;
    background: #ffffff;
    border-radius: 14px;
    min-width: 280px;
    max-width: 380px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 12px 32px -8px rgba(15, 23, 42, 0.22),
        0 2px 8px -2px rgba(15, 23, 42, 0.06);
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.lg-toast.lg-toast-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lg-toast-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.lg-toast-body { flex: 1; min-width: 0; }
.lg-toast-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}
.lg-toast-msg {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.55;
    word-break: break-word;
}

/* 四种状态 */
.lg-toast-error .lg-toast-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.lg-toast-error { border-color: rgba(239, 68, 68, 0.18); }
.lg-toast-error .lg-toast-title { color: #b91c1c; }

.lg-toast-warn .lg-toast-icon { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.lg-toast-warn { border-color: rgba(245, 158, 11, 0.2); }
.lg-toast-warn .lg-toast-title { color: #c2410c; }

.lg-toast-success .lg-toast-icon { background: linear-gradient(135deg, #10b981, #059669); }
.lg-toast-success { border-color: rgba(16, 185, 129, 0.18); }
.lg-toast-success .lg-toast-title { color: #047857; }

.lg-toast-info .lg-toast-icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.lg-toast-info { border-color: rgba(99, 102, 241, 0.18); }
.lg-toast-info .lg-toast-title { color: #4338ca; }

@media (max-width: 480px) {
    .lg-toast { min-width: 240px; max-width: calc(100vw - 40px); padding: 12px 14px; }
    .lg-toast-icon { width: 28px; height: 28px; font-size: 14px; }
}

/* ========== 协议弹窗（用户协议 / 隐私政策） ========== */
.lg-agree-dialog .layui-layer-content { padding: 0 !important; }
.lg-agree-dialog { border-radius: 22px !important; overflow: hidden !important; }

.lg-agree {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 720px;
}

/* Hero 头(用户协议 - 紫色) */
.lg-agree-hero {
    position: relative;
    padding: 26px 28px 22px;
    background:
        linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.lg-agree-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(252, 211, 77, 0.45), transparent);
    border-radius: 50%;
    filter: blur(8px);
}
.lg-agree-hero::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.35), transparent);
    border-radius: 50%;
    filter: blur(8px);
}

/* Hero 头(隐私政策 - 青色) */
.lg-agree-hero-cyan {
    background:
        linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
}
.lg-agree-hero-cyan::before {
    background: radial-gradient(circle, rgba(45, 212, 191, 0.45), transparent);
}
.lg-agree-hero-cyan::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent);
}

.lg-agree-hero-icon {
    position: relative;
    z-index: 1;
    width: 54px; height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.lg-agree-hero-title {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.lg-agree-hero-sub {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
}

/* 内容区 */
.lg-agree-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 28px 24px;
    background: #fafafa;
}
.lg-agree-body::-webkit-scrollbar { width: 6px; }
.lg-agree-body::-webkit-scrollbar-track { background: transparent; }
.lg-agree-body::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.18);
    border-radius: 3px;
}
.lg-agree-hero-cyan ~ .lg-agree-body::-webkit-scrollbar-thumb {
    background: rgba(6, 182, 212, 0.22);
}

/* 每个 section */
.lg-agree-section {
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.04);
}
.lg-agree-hero-cyan ~ .lg-agree-body .lg-agree-section {
    border-color: rgba(6, 182, 212, 0.1);
}
.lg-agree-section:last-of-type { margin-bottom: 0; }

.lg-agree-h {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}
.lg-agree-num {
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.lg-agree-hero-cyan ~ .lg-agree-body .lg-agree-num {
    color: #0891b2;
    background: linear-gradient(135deg, #cffafe, #cbd5e1);
}

.lg-agree-p {
    font-size: 13px;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

.lg-agree-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.lg-agree-list li {
    position: relative;
    font-size: 13px;
    color: #475569;
    line-height: 1.75;
    padding-left: 18px;
    margin-bottom: 6px;
}
.lg-agree-list li:last-child { margin-bottom: 0; }
.lg-agree-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 11px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}
.lg-agree-hero-cyan ~ .lg-agree-body .lg-agree-list li::before {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.15);
}
.lg-agree-list li b,
.lg-agree-p b {
    color: #6366f1;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
}
.lg-agree-hero-cyan ~ .lg-agree-body .lg-agree-list li b,
.lg-agree-hero-cyan ~ .lg-agree-body .lg-agree-p b {
    color: #0891b2;
    background: rgba(6, 182, 212, 0.1);
}

/* 联系提示 */
.lg-agree-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    margin-top: 14px;
}
.lg-agree-hero-cyan ~ .lg-agree-body .lg-agree-tip {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(8, 145, 178, 0.06));
    border-color: rgba(6, 182, 212, 0.15);
}
.lg-agree-tip-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
}
.lg-agree-tip-text {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.6;
}
.lg-agree-tip-text b {
    color: #6366f1;
    font-weight: 600;
}
.lg-agree-hero-cyan ~ .lg-agree-body .lg-agree-tip-text b {
    color: #0891b2;
}

/* 底部按钮 */
.lg-agree-foot {
    padding: 14px 24px 18px;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.lg-agree-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow:
        0 6px 18px rgba(139, 92, 246, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.lg-agree-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 10px 24px rgba(139, 92, 246, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lg-agree-btn-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
    box-shadow:
        0 6px 18px rgba(8, 145, 178, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.lg-agree-btn-cyan:hover {
    box-shadow:
        0 10px 24px rgba(8, 145, 178, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lg-agree-btn span:first-child { font-size: 14px; }

/* 弹窗响应式 */
@media (max-width: 720px) {
    .lg-agree-dialog .layui-layer-content { padding: 0 !important; }
    .lg-agree-dialog { border-radius: 18px !important; overflow: hidden !important; }
    .lg-agree { max-height: 100%; }
    .lg-agree-hero { padding: 20px 22px 18px; }
    .lg-agree-hero-icon { width: 46px; height: 46px; font-size: 22px; }
    .lg-agree-hero-title { font-size: 19px; }
    .lg-agree-hero-sub { font-size: 10px; }
    .lg-agree-body { padding: 16px 20px 20px; }
    .lg-agree-section { padding: 14px 16px; margin-bottom: 10px; }
    .lg-agree-h { font-size: 14px; }
    .lg-agree-num { font-size: 11px; padding: 2px 8px; }
    .lg-agree-p, .lg-agree-list li { font-size: 12.5px; }
    .lg-agree-tip { padding: 12px 14px; }
    .lg-agree-foot { padding: 12px 18px 16px; }
    .lg-agree-btn { padding: 11px 16px; font-size: 13px; }
}
@media (max-width: 480px) {
    .lg-agree-hero { padding: 18px 18px 16px; }
    .lg-agree-hero-icon { width: 42px; height: 42px; font-size: 20px; border-radius: 12px; }
    .lg-agree-hero-title { font-size: 17px; }
    .lg-agree-body { padding: 14px 16px 16px; }
    .lg-agree-section { padding: 12px 14px; border-radius: 12px; }
    .lg-agree-tip { gap: 10px; }
    .lg-agree-tip-icon { font-size: 16px; }
}