/* ==========================================================================
   v2 Home theme — 仅首页加载，所有选择器限定在 .v2h-home 内，避免影响其它页面
   设计 token 与 wetot-v2 保持一致（brand #e11d54 / accent #4f46e5 / ink #0f172a）
   ========================================================================== */

.v2h-home {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #0f172a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.v2h-home *,
.v2h-home *::before,
.v2h-home *::after {
    box-sizing: border-box;
}

.v2h-home img {
    max-width: 100%;
}

/* 抵消老站全局 * { margin: 0 auto }：flex/grid 子项的 auto 边距会让元素收缩并居中 */
.v2h-home,
.v2h-home * {
    margin-left: 0;
    margin-right: 0;
}

.v2h-shell {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding-inline: clamp(20px, 3vw, 64px);
}

/* ---------- 顶部导航 ---------- */

.v2h-home .v2h-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f1f5f9;
}

.v2h-home .v2h-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(66px, 5vw, 84px);
    gap: 16px;
}

.v2h-home .v2h-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    text-decoration: none;
}

.v2h-home .v2h-logo-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f43f6f 0%, #4f46e5 100%);
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.v2h-home .v2h-logo img {
    width: clamp(120px, 9vw, 150px);
    height: 38px;
    object-fit: contain;
    display: block;
}

.v2h-home .v2h-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
}

.v2h-home .v2h-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.v2h-home .v2h-lang-btn:hover {
    border-color: #fda4ba;
    color: #be1245;
    box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .35);
}

.v2h-home .v2h-lang-btn i {
    color: #4f46e5;
}

.v2h-home .v2h-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0;
    height: 38px;
    margin: 0 !important;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff1f5;
    color: #be1245;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease;
}

.v2h-home .v2h-login-link:hover {
    background: #ffe4ec;
}

/* ---------- Hero ---------- */

.v2h-home .v2h-hero {
    position: relative;
    overflow: hidden;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    padding: clamp(40px, 6vh, 96px) 0;
    background: linear-gradient(180deg, #fff1f5 0%, #eef2ff 46%, #f8fafc 100%);
}

.v2h-home .v2h-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.v2h-home .v2h-blob-a {
    width: 300px;
    height: 300px;
    left: -120px;
    top: -120px;
    background: rgba(254, 205, 216, .7);
}

.v2h-home .v2h-blob-b {
    width: 340px;
    height: 340px;
    right: -120px;
    top: 90px;
    background: rgba(199, 210, 254, .7);
}

.v2h-home .v2h-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(32px, 4vw, 80px);
    align-items: center;
}

.v2h-home .v2h-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid #fecdd8;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    color: #be1245;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.v2h-home .v2h-chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e11d54;
}

.v2h-home .v2h-title {
    margin: 22px 0 0;
    max-width: 760px;
    font-size: clamp(34px, 3.4vw, 64px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 900;
    color: #0f172a;
    text-wrap: balance;
}

.v2h-home .v2h-subtitle {
    margin: 20px 0 0;
    max-width: 560px;
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.7;
    color: #64748b;
}

.v2h-home .v2h-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.v2h-home .v2h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: 52px;
    margin: 0 !important;
    padding: 0 clamp(24px, 2vw, 34px);
    border-radius: 16px;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.v2h-home .v2h-btn-primary {
    background: linear-gradient(135deg, #e11d54, #4f46e5);
    color: #ffffff;
    box-shadow: 0 16px 34px -14px rgba(225, 29, 84, .55);
}

.v2h-home .v2h-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px -14px rgba(225, 29, 84, .6);
}

.v2h-home .v2h-btn-ghost {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 26px -18px rgba(15, 23, 42, .4);
}

.v2h-home .v2h-btn-ghost:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* 右侧视觉 */

.v2h-home .v2h-visual {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin-left: auto;
}

.v2h-home .v2h-frame {
    padding: 10px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 34px 70px -34px rgba(15, 23, 42, .48);
    transform: rotate(1.2deg);
}

.v2h-home .v2h-photo,
.v2h-home .v2h-photo-sm {
    width: 100%;
    min-height: 320px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.v2h-home .v2h-photo-sm {
    display: none;
}

.v2h-home .v2h-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .5);
}

.v2h-home .v2h-float-a {
    left: -22px;
    bottom: 34px;
}

.v2h-home .v2h-float-b {
    right: -14px;
    top: 28px;
}

.v2h-home .v2h-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fb6f92, #808cf8);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.v2h-home .v2h-avatar-alt {
    background: linear-gradient(135deg, #34d399, #4f46e5);
}

.v2h-home .v2h-lines span {
    display: block;
    height: 7px;
    border-radius: 999px;
    background: #e2e8f0;
}

.v2h-home .v2h-lines span:first-child {
    width: 74px;
    margin-bottom: 6px;
}

.v2h-home .v2h-lines span:last-child {
    width: 46px;
    background: #f1f5f9;
}

.v2h-home .v2h-online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .16);
}

/* ---------- 页脚 ---------- */

.v2h-home .v2h-footer {
    margin-top: auto;
    padding: 28px 0 34px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    color: #94a3b8;
    font-size: 13px;
}

.v2h-home .v2h-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v2h-home .v2h-footer-links li {
    flex: 0 0 auto;
    margin: 0 !important;
}

.v2h-home .v2h-footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color .2s ease;
}

.v2h-home .v2h-footer-links a:hover {
    color: #be1245;
}

.v2h-home .v2h-footer-copy {
    margin-top: 12px;
    color: #94a3b8;
    line-height: 1.6;
}

/* ---------- 弹窗通用 ---------- */

.v2h-home .home_mengban_box {
    position: fixed;
    inset: 0;
    top: 0;
    bottom: 0;
    height: auto;
    z-index: 40;
    background: rgba(15, 23, 42, .56);
    backdrop-filter: blur(3px);
}

.v2h-home .home_tc_reg,
.v2h-home .home_tc_login,
.v2h-home .home_tc_fanyi {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.v2h-home .home_tc_box {
    position: relative;
    width: min(440px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 28px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 40px 90px -40px rgba(15, 23, 42, .6);
}

.v2h-home .home_tc_box::-webkit-scrollbar {
    width: 6px;
}

.v2h-home .home_tc_box::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 999px;
}

.v2h-home .v2h-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.v2h-home .v2h-modal-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.v2h-home .home_tc_colse {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 50%;
    background: #f1f5f9 !important;
    background-image: none !important;
    cursor: pointer;
    transition: background .2s ease;
}

.v2h-home .home_tc_colse:hover {
    background: #e2e8f0 !important;
    background-image: none !important;
}

.v2h-home .home_tc_colse::before,
.v2h-home .home_tc_colse::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: #475569;
    border-radius: 2px;
}

.v2h-home .home_tc_colse::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.v2h-home .home_tc_colse::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 表单 */

.v2h-home .reg_form {
    display: block;
}

.v2h-home .reg_fild {
    margin: 0 0 12px;
}

.v2h-home .reg_fild input[type="text"],
.v2h-home .reg_fild input[type="email"],
.v2h-home .reg_fild input[type="password"],
.v2h-home .reg_fild select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.v2h-home .reg_fild input::placeholder {
    color: #94a3b8;
}

.v2h-home .reg_fild input:focus,
.v2h-home .reg_fild select:focus {
    border-color: #fb6f92;
    box-shadow: 0 0 0 3px rgba(225, 29, 84, .12);
}

.v2h-home .v2h-dob {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
}

.v2h-home .v2h-dob .reg_fild {
    display: block;
    width: 100%;
    margin: 0;
    float: none;
    overflow: visible;
}

.v2h-home .v2h-dob select {
    float: none;
    width: 100%;
    padding: 0 8px;
}

.v2h-home .reg_fild .captcha {
    display: inline-block;
    width: 110px;
    height: 48px;
    margin-right: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    object-fit: cover;
    vertical-align: middle;
    cursor: pointer;
}

.v2h-home .reg_fild input.verfiy {
    display: inline-block;
    width: calc(100% - 126px);
    vertical-align: middle;
}

.v2h-home .privacy {
    margin: 6px 0 18px;
}

.v2h-home .privacy p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.65;
}

.v2h-home .privacy a {
    color: #be1245;
    text-decoration: none;
    font-weight: 700;
}

.v2h-home .forgot {
    margin: 2px 0 18px;
    text-align: right;
}

.v2h-home .forgot a {
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
}

.v2h-home .next {
    margin-top: 6px;
}

.v2h-home .next input[type="button"],
.v2h-home .next .subbut {
    display: block;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #e11d54, #4f46e5);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 34px -16px rgba(225, 29, 84, .55);
    transition: transform .2s ease, box-shadow .2s ease;
}

.v2h-home .next input[type="button"]:hover,
.v2h-home .next .subbut:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px -16px rgba(225, 29, 84, .6);
}

/* 性别选择 */

.v2h-home .gender_outer {
    padding: 0;
}

.v2h-home .select_gender p {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.v2h-home .select_gender span {
    display: block;
    margin-bottom: 18px;
    color: #94a3b8;
    font-size: 12px;
}

.v2h-home .gender_row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.v2h-home .male_radio,
.v2h-home .female_radio {
    flex: 1;
    margin: 0;
}

.v2h-home .male_radio label,
.v2h-home .female_radio label {
    display: block;
    padding: 16px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.v2h-home .male_radio input,
.v2h-home .female_radio input {
    margin-right: 6px;
    accent-color: #e11d54;
}

.v2h-home .nxt {
    margin-top: 20px;
}

/* 语言选择 */

.v2h-home .select_lang p {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.v2h-home .language_row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
    width: 100% !important;
}

.v2h-home .lang_con {
    width: 48% !important;
    margin: 0;
}

.v2h-home .lang_con label {
    display: block;
    padding: 14px 10px !important;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.v2h-home .lang_con input {
    margin-right: 6px;
    accent-color: #e11d54;
}

/* 语言切换列表（弹窗内） */

.v2h-home .home_lang_selectno,
.v2h-home .home_lang_select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin: 0 0 10px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.v2h-home .home_lang_selectno {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.v2h-home .home_lang_select {
    background: #e11d54;
    border: 1px solid #e11d54;
    color: #ffffff;
}

/* 校验错误提示 */

.v2h-home .help-inline-error {
    display: block;
    margin-top: 4px;
    color: #e11d54;
    font-size: 12px;
    font-weight: 600;
}

.v2h-home .errcal {
    margin-bottom: 10px;
    font-size: 13px;
    color: #e11d54;
}

.v2h-home .errcal .succ {
    color: #059669;
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
    .v2h-home .v2h-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .v2h-home .v2h-visual {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .v2h-home .v2h-hero {
        padding: 48px 0 56px;
    }
}

@media (max-width: 640px) {
    .v2h-shell {
        padding-inline: 18px;
    }

    .v2h-home .v2h-nav-inner {
        min-height: 62px;
        gap: 10px;
    }

    .v2h-home .v2h-logo {
        gap: 8px;
    }

    .v2h-home .v2h-logo-mark {
        width: 32px;
        height: 32px;
        border-radius: 11px;
        font-size: 15px;
        box-shadow: 0 8px 18px -10px rgba(225, 29, 84, .8);
    }

    .v2h-home .v2h-logo img {
        width: 104px;
        height: 28px;
    }

    .v2h-home .v2h-lang-btn {
        height: 34px;
        padding: 0 12px;
    }

    .v2h-home .v2h-lang-btn span {
        display: none;
    }

    .v2h-home .v2h-login-link {
        height: 34px;
        padding: 0 14px;
        font-size: 12.5px;
    }

    .v2h-home .v2h-hero {
        padding: 28px 0 40px;
    }

    .v2h-home .v2h-hero-grid {
        gap: 28px;
    }

    .v2h-home .v2h-chip {
        font-size: 10px;
    }

    .v2h-home .v2h-title {
        font-size: clamp(26px, 8vw, 38px);
    }

    .v2h-home .v2h-subtitle {
        margin-top: 14px;
        font-size: 14.5px;
    }

    .v2h-home .v2h-cta {
        margin-top: 24px;
        gap: 10px;
    }

    .v2h-home .v2h-btn {
        flex: 1 1 0;
        width: auto !important;
        height: 50px;
        padding: 0 14px;
        border-radius: 14px;
        font-size: 14px;
    }

    .v2h-home .v2h-photo {
        display: none;
    }

    .v2h-home .v2h-photo-sm {
        display: block;
        min-height: 440px;
        aspect-ratio: 3 / 4;
    }

    .v2h-home .v2h-float-a {
        left: 8px;
    }

    .v2h-home .v2h-float-b {
        right: 8px;
    }

    .v2h-home .home_tc_box {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .v2h-home .v2h-modal-title {
        font-size: 20px;
    }

    .v2h-home .lang_con {
        width: 100% !important;
    }

    .v2h-home .v2h-footer {
        padding: 24px 0 28px;
    }
}

@media (max-width: 380px) {
    .v2h-home .v2h-logo img {
        width: 92px;
        height: 25px;
    }

    .v2h-home .v2h-nav-actions {
        gap: 8px;
    }
}
