/**
 * 和光通聘官网首页 — 即时设计风极简布局 + 品牌蓝 #1677ff
 */
:root {
    --zhyp-ld-primary: #1677ff;
    --zhyp-ld-primary-light: #4096ff;
    /* 登录/注册/验证码：浅底实色，弱化「高光按钮」感 */
    --zhyp-ld-btn-soft-bg: #f0f6fc;
    --zhyp-ld-btn-soft-bg-hover: #e4edf7;
    --zhyp-ld-btn-soft-border: #b8cce6;
    --zhyp-ld-btn-soft-border-hover: #9bb3d4;
    --zhyp-ld-btn-soft-text: #1a4a7a;
    --zhyp-ld-green: #52c41a;
    --zhyp-ld-purple: #722ed1;
    --zhyp-ld-orange: #fa8c16;
    --zhyp-ld-cyan: #13c2c2;
    --zhyp-ld-text: #333333;
    --zhyp-ld-muted: #999999;
    --zhyp-ld-nav-h: 64px;
    --zhyp-ld-radius: 12px;
    --zhyp-ld-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --zhyp-ld-transition: 0.25s ease;
    --zhyp-ld-container: 1200px;
}

.zhyp-ld {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--zhyp-ld-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.zhyp-ld * {
    box-sizing: border-box;
}

#zhyp-ld-features,
#zhyp-ld-scenarios,
#zhyp-ld-footer {
    scroll-margin-top: calc(var(--zhyp-ld-nav-h) + 12px);
}

.zhyp-ld a {
    color: inherit;
    text-decoration: none;
}

/* —— 顶栏 —— */
.zhyp-ld-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--zhyp-ld-nav-h);
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.zhyp-ld-header-inner {
    max-width: var(--zhyp-ld-container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.zhyp-ld-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--zhyp-ld-primary);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.zhyp-ld-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.25;
}

.zhyp-ld-logo-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.zhyp-ld-logo-tagline {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #8c8c8c;
    letter-spacing: 0.14em;
}

.zhyp-ld-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
    gap: 4px;
    flex-wrap: wrap;
}

.zhyp-ld-nav a {
    padding: 8px 14px;
    font-size: 14px;
    color: #595959;
    border-radius: 6px;
    transition: color var(--zhyp-ld-transition), background var(--zhyp-ld-transition);
}

.zhyp-ld-nav a:hover {
    color: var(--zhyp-ld-primary);
    background: rgba(22, 119, 255, 0.06);
}

.zhyp-ld-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.zhyp-ld-header-console {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #595959;
    border-radius: 6px;
    white-space: nowrap;
    transition: color var(--zhyp-ld-transition), background var(--zhyp-ld-transition);
}

.zhyp-ld-header-console:hover {
    color: var(--zhyp-ld-primary);
    background: rgba(22, 119, 255, 0.06);
}

.zhyp-ld-header-auth-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px;
    margin-left: 2px;
    border-left: 1px solid #f0f0f0;
}

.zhyp-ld-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 38px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--zhyp-ld-btn-soft-text);
    border: 1px solid var(--zhyp-ld-btn-soft-border);
    border-radius: 8px;
    cursor: pointer;
    background: var(--zhyp-ld-btn-soft-bg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition:
        background var(--zhyp-ld-transition),
        border-color var(--zhyp-ld-transition),
        color var(--zhyp-ld-transition),
        box-shadow var(--zhyp-ld-transition);
}

.zhyp-ld-btn-login:hover {
    background: var(--zhyp-ld-btn-soft-bg-hover);
    border-color: var(--zhyp-ld-btn-soft-border-hover);
    color: var(--zhyp-ld-btn-soft-text);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
}

/* —— Banner（与登录页同款浅蓝渐变底） —— */
.zhyp-ld-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 24px 72px;
    text-align: center;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(22, 119, 255, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 80% 40%, rgba(105, 177, 255, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, #f5f9ff 0%, #e8f2ff 38%, #eef4fc 100%);
}

.zhyp-ld-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(90deg, rgba(22, 119, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(22, 119, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.zhyp-ld-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.zhyp-ld-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1f1f1f;
}

.zhyp-ld-hero-sub {
    margin: 0 0 20px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--zhyp-ld-muted);
    line-height: 1.65;
}

.zhyp-ld-hero-lead {
    margin: 0 0 28px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.9375rem, 1.85vw, 1.0625rem);
    font-weight: 600;
    color: #434343;
    line-height: 1.75;
    letter-spacing: 0.02em;
}

.zhyp-ld-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 14px;
    margin-bottom: 8px;
}

.zhyp-ld-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition:
        transform var(--zhyp-ld-transition),
        box-shadow var(--zhyp-ld-transition),
        border-color var(--zhyp-ld-transition),
        background var(--zhyp-ld-transition),
        color var(--zhyp-ld-transition);
}

.zhyp-ld-hero-btn--primary {
    border: none;
    color: #fff;
    background: linear-gradient(180deg, var(--zhyp-ld-primary-light) 0%, var(--zhyp-ld-primary) 100%);
    box-shadow: 0 4px 18px rgba(22, 119, 255, 0.38);
}

.zhyp-ld-hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(22, 119, 255, 0.42);
    color: #fff;
}

.zhyp-ld-hero-btn--secondary {
    background: #fff;
    color: var(--zhyp-ld-primary);
    border: 1px solid #bae0ff;
    box-shadow: 0 2px 10px rgba(22, 119, 255, 0.08);
}

.zhyp-ld-hero-btn--secondary:hover {
    transform: translateY(-2px);
    background: #f0f7ff;
    border-color: var(--zhyp-ld-primary-light);
    color: #0958d9;
}

.zhyp-ld-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
    margin: 20px auto 0;
    padding: 0;
    font-size: 12px;
    color: #8c8c8c;
    line-height: 1.5;
}

.zhyp-ld-hero-tags span {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(22, 119, 255, 0.12);
    box-shadow: 0 1px 4px rgba(22, 119, 255, 0.06);
    letter-spacing: 0.02em;
}

/* —— 内容区（即时设计：大留白、区头居中） —— */
.zhyp-ld-section {
    max-width: var(--zhyp-ld-container);
    margin: 0 auto;
    padding: 72px 24px 80px;
}

.zhyp-ld-section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.zhyp-ld-section-head--title-only {
    margin-bottom: 40px;
}

.zhyp-ld-section-head--title-only .zhyp-ld-section-title {
    margin-bottom: 0;
}

.zhyp-ld-section-title {
    margin: 0 0 12px;
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #1f1f1f;
    letter-spacing: -0.02em;
}

.zhyp-ld-section-desc {
    margin: 0;
    font-size: 15px;
    color: var(--zhyp-ld-muted);
    line-height: 1.65;
}

.zhyp-ld-section--capabilities {
    padding-bottom: 56px;
}

.zhyp-ld-features {
    display: grid;
    gap: 20px;
}

/* 核心能力 4×2 */
.zhyp-ld-features--grid8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zhyp-ld-feature-card {
    display: block;
    border-radius: var(--zhyp-ld-radius);
    padding: 22px 20px 26px;
    border: 1px solid rgba(0, 0, 0, 0.045);
    box-shadow: var(--zhyp-ld-shadow);
    transition:
        transform var(--zhyp-ld-transition),
        box-shadow var(--zhyp-ld-transition),
        border-color var(--zhyp-ld-transition);
    opacity: 0;
    transform: translateY(16px);
}

.zhyp-ld--ready .zhyp-ld-feature-card {
    opacity: 1;
    transform: translateY(0);
}

.zhyp-ld--ready .zhyp-ld-feature-card:nth-child(1) { transition-delay: 0.04s; }
.zhyp-ld--ready .zhyp-ld-feature-card:nth-child(2) { transition-delay: 0.08s; }
.zhyp-ld--ready .zhyp-ld-feature-card:nth-child(3) { transition-delay: 0.12s; }
.zhyp-ld--ready .zhyp-ld-feature-card:nth-child(4) { transition-delay: 0.16s; }
.zhyp-ld--ready .zhyp-ld-feature-card:nth-child(5) { transition-delay: 0.2s; }
.zhyp-ld--ready .zhyp-ld-feature-card:nth-child(6) { transition-delay: 0.24s; }
.zhyp-ld--ready .zhyp-ld-feature-card:nth-child(7) { transition-delay: 0.28s; }
.zhyp-ld--ready .zhyp-ld-feature-card:nth-child(8) { transition-delay: 0.32s; }

.zhyp-ld-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    border-color: rgba(22, 119, 255, 0.12);
}

/* 浅蓝 / 浅紫 / 浅绿渐变底（与数据看板色系一致） */
.zhyp-ld-feature-card--blue {
    background: linear-gradient(165deg, #f0f7ff 0%, #e6f4ff 45%, #ffffff 100%);
}

.zhyp-ld-feature-card--purple {
    background: linear-gradient(165deg, #f9f0ff 0%, #efdbff 42%, #ffffff 100%);
}

.zhyp-ld-feature-card--green {
    background: linear-gradient(165deg, #f6ffed 0%, #d9f7be 40%, #ffffff 100%);
}

.zhyp-ld-feature-card--orange {
    background: linear-gradient(165deg, #fff7e6 0%, #ffe7ba 38%, #ffffff 100%);
}

.zhyp-ld-feature-card--cyan {
    background: linear-gradient(165deg, #e6fffb 0%, #b5f5ec 38%, #ffffff 100%);
}

.zhyp-ld-feature-illus {
    width: 100%;
    height: 104px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zhyp-ld-feature-illus svg {
    width: 100%;
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(22, 119, 255, 0.12));
}

.zhyp-ld-feature-card--purple .zhyp-ld-feature-illus svg {
    filter: drop-shadow(0 6px 16px rgba(114, 46, 209, 0.15));
}

.zhyp-ld-feature-card--green .zhyp-ld-feature-illus svg {
    filter: drop-shadow(0 6px 16px rgba(82, 196, 26, 0.18));
}

.zhyp-ld-feature-card--orange .zhyp-ld-feature-illus svg {
    filter: drop-shadow(0 6px 16px rgba(250, 140, 22, 0.16));
}

.zhyp-ld-feature-card--cyan .zhyp-ld-feature-illus svg {
    filter: drop-shadow(0 6px 16px rgba(19, 194, 194, 0.18));
}

.zhyp-ld-feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1.35;
}

.zhyp-ld-feature-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #666;
}

/* —— 服务场景 3 列（浅底分区） —— */
.zhyp-ld-section--scenarios {
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

.zhyp-ld-section--scenarios .zhyp-ld-section-head {
    max-width: var(--zhyp-ld-container);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.zhyp-ld-scenario-grid {
    max-width: var(--zhyp-ld-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.zhyp-ld-scenario-card {
    display: block;
    position: relative;
    padding: 28px 24px 32px;
    border-radius: var(--zhyp-ld-radius);
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--zhyp-ld-transition), box-shadow var(--zhyp-ld-transition), border-color var(--zhyp-ld-transition);
    overflow: hidden;
}

.zhyp-ld-scenario-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--zhyp-ld-radius) var(--zhyp-ld-radius) 0 0;
    background: var(--zhyp-ld-primary);
    opacity: 0.9;
}

.zhyp-ld-scenario-card--rpo::before {
    background: linear-gradient(90deg, #1677ff, #69b1ff);
}

.zhyp-ld-scenario-card--hunter::before {
    background: linear-gradient(90deg, #722ed1, #b37feb);
}

.zhyp-ld-scenario-card--corp::before {
    background: linear-gradient(90deg, #52c41a, #95de64);
}

.zhyp-ld-scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(22, 119, 255, 0.1);
}

.zhyp-ld-scenario-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 4px 10px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--zhyp-ld-primary);
    background: rgba(22, 119, 255, 0.08);
    border-radius: 6px;
}

.zhyp-ld-scenario-card--hunter .zhyp-ld-scenario-badge {
    color: var(--zhyp-ld-purple);
    background: rgba(114, 46, 209, 0.08);
}

.zhyp-ld-scenario-card--corp .zhyp-ld-scenario-badge {
    color: var(--zhyp-ld-green);
    background: rgba(82, 196, 26, 0.1);
}

.zhyp-ld-scenario-card h3 {
    margin: 0 0 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f1f1f;
}

.zhyp-ld-scenario-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* —— 页脚 —— */
.zhyp-ld-footer {
    background: #f5f5f5;
    border-top: 1px solid #ebebeb;
    padding: 40px 24px 28px;
}

.zhyp-ld-footer-inner {
    max-width: var(--zhyp-ld-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 1100px) {
    .zhyp-ld-features--grid8 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .zhyp-ld-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.zhyp-ld-footer-brand {
    font-size: 16px;
    font-weight: 700;
    color: var(--zhyp-ld-primary);
    margin-bottom: 8px;
}

.zhyp-ld-footer-meta {
    font-size: 13px;
    color: var(--zhyp-ld-muted);
    line-height: 1.7;
}

.zhyp-ld-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    font-size: 14px;
}

.zhyp-ld-footer-links a {
    color: #595959;
}

.zhyp-ld-footer-links a:hover {
    color: var(--zhyp-ld-primary);
}

.zhyp-ld-footer-copy {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    text-align: right;
}

.zhyp-ld-footer-legal > div {
    margin-top: 4px;
}

.zhyp-ld-footer-legal > div:first-child {
    margin-top: 0;
}

.zhyp-ld-footer-legal a {
    color: #999;
    text-decoration: none;
}

.zhyp-ld-footer-legal a:hover {
    color: var(--zhyp-ld-primary);
    text-decoration: underline;
}

.zhyp-ld-footer-psb a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    vertical-align: middle;
}

.zhyp-ld-beian-mps-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

@media (max-width: 900px) {
    .zhyp-ld-footer-copy {
        text-align: center;
    }

    .zhyp-ld-footer-psb a {
        justify-content: center;
    }
}

/* —— 移动端导航 —— */
.zhyp-ld-nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.zhyp-ld-nav-toggle-label {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #eee;
    cursor: pointer;
    font-size: 20px;
    color: #595959;
}

@media (max-width: 900px) {
    .zhyp-ld-nav-toggle-label {
        display: flex;
    }

    .zhyp-ld-nav {
        display: none;
        position: absolute;
        top: var(--zhyp-ld-nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
        padding: 12px 16px 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .zhyp-ld-nav-toggle:checked ~ .zhyp-ld-nav {
        display: flex;
    }

    .zhyp-ld-header-inner {
        position: relative;
        flex-wrap: wrap;
    }

    .zhyp-ld-header-console {
        padding: 6px 8px;
        font-size: 13px;
    }

    .zhyp-ld-header-auth-group {
        padding-left: 10px;
        gap: 8px;
    }

    .zhyp-ld-btn-login,
    .zhyp-ld-btn-register {
        min-width: 76px;
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
    }

    .zhyp-ld-scenario-grid {
        grid-template-columns: 1fr;
    }

    .zhyp-ld-hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .zhyp-ld-hero-btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .zhyp-ld-features--grid8 {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zhyp-ld-feature-card,
    .zhyp-ld-scenario-card,
    .zhyp-ld-btn-login,
    .zhyp-ld-hero-btn,
    .zhyp-ld-auth-send,
    .zhyp-ld-auth-submit {
        transition: none;
    }

    .zhyp-ld-hero-btn:hover {
        transform: none;
    }

    .zhyp-ld-auth-send:hover:not(:disabled),
    .zhyp-ld-auth-submit:hover {
        transform: none;
    }

    .zhyp-ld-feature-card {
        opacity: 1;
        transform: none;
    }

    .zhyp-ld-feature-card:hover,
    .zhyp-ld-scenario-card:hover {
        transform: none;
    }
}

/* —— 首页登录 / 注册弹层 —— */
.zhyp-ld-auth {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.zhyp-ld-auth.is-open {
    opacity: 1;
    visibility: visible;
}

.zhyp-ld-auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.zhyp-ld-auth-dialog {
    position: relative;
    width: min(700px, calc(100% - 32px));
    max-height: min(92vh, 720px);
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.zhyp-ld-auth.is-open .zhyp-ld-auth-dialog {
    transform: translateY(0) scale(1);
}

.zhyp-ld-auth-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    color: #595959;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.zhyp-ld-auth-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #262626;
}

.zhyp-ld-auth-corner {
    position: absolute;
    top: 14px;
    right: 56px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zhyp-ld-primary);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.zhyp-ld-auth-corner:hover {
    border-color: #bae0ff;
    background: #e6f4ff;
}

.zhyp-ld-auth-corner svg {
    width: 22px;
    height: 22px;
}

.zhyp-ld-auth-aside {
    flex: 0 0 248px;
    width: 248px;
    min-width: 0;
    padding: 32px 20px;
    background: linear-gradient(165deg, #e6f4ff 0%, #f0f5ff 45%, #fafafa 100%);
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.zhyp-ld-auth-aside-tagline {
    margin: 0;
    text-align: center;
    line-height: 1.45;
}

.zhyp-ld-auth-aside-name {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f1f1f;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.zhyp-ld-auth-aside-sub {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--zhyp-ld-primary);
    letter-spacing: 0.18em;
}

.zhyp-ld-auth-body {
    flex: 1;
    min-width: 0;
    padding: 40px 24px 28px;
    overflow-y: auto;
    position: relative;
}

.zhyp-ld-auth-title {
    margin: 0 0 4px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1f1f1f;
}

.zhyp-ld-auth-desc {
    margin: 0 0 18px;
    font-size: 14px;
    color: #8c8c8c;
    line-height: 1.55;
}

.zhyp-ld-auth-panels {
    position: relative;
}

.zhyp-ld-auth-panel {
    display: none;
}

.zhyp-ld-auth-panel.is-active {
    display: block;
}

.zhyp-ld-auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.zhyp-ld-auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 15px;
    color: #8c8c8c;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    position: relative;
    transition: color 0.2s ease;
}

.zhyp-ld-auth-tab:hover {
    color: #434343;
}

.zhyp-ld-auth-tab.is-active {
    color: var(--zhyp-ld-primary);
    font-weight: 600;
}

.zhyp-ld-auth-tab.is-active::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: -1px;
    height: 3px;
    background: var(--zhyp-ld-primary);
    border-radius: 3px 3px 0 0;
}

.zhyp-ld-auth-panel form {
    margin: 0;
}

.zhyp-ld-auth-field {
    margin-bottom: 14px;
}

.zhyp-ld-auth-field:has(+ .zhyp-ld-auth-submit) {
    margin-bottom: 10px;
}

.zhyp-ld-auth-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #434343;
}

.zhyp-ld-auth-field input[type="text"],
.zhyp-ld-auth-field input[type="password"],
.zhyp-ld-auth-field input[type="tel"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zhyp-ld-auth-field input:focus {
    outline: none;
    border-color: var(--zhyp-ld-primary);
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}

.zhyp-ld-auth-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.zhyp-ld-auth-row input {
    flex: 1;
}

.zhyp-ld-auth-send {
    flex-shrink: 0;
    min-width: 118px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--zhyp-ld-btn-soft-border);
    border-radius: 10px;
    background: var(--zhyp-ld-btn-soft-bg);
    color: var(--zhyp-ld-btn-soft-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.zhyp-ld-auth-send:hover:not(:disabled) {
    background: var(--zhyp-ld-btn-soft-bg-hover);
    border-color: var(--zhyp-ld-btn-soft-border-hover);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
}

.zhyp-ld-auth-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #e8e8e8;
    color: #bfbfbf;
}

.zhyp-ld-auth-submit {
    width: 100%;
    height: 46px;
    margin-top: 4px;
    border: 1px solid var(--zhyp-ld-btn-soft-border);
    border-radius: 10px;
    background: var(--zhyp-ld-btn-soft-bg);
    color: var(--zhyp-ld-btn-soft-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zhyp-ld-auth-submit:hover {
    background: var(--zhyp-ld-btn-soft-bg-hover);
    border-color: var(--zhyp-ld-btn-soft-border-hover);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.zhyp-ld-auth-hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #8c8c8c;
    text-align: center;
    line-height: 1.5;
}

.zhyp-ld-auth-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f5f5f5;
    font-size: 14px;
    color: #8c8c8c;
    text-align: center;
}

.zhyp-ld-auth-footer a {
    color: var(--zhyp-ld-primary);
    font-weight: 600;
    margin-left: 4px;
}

.zhyp-ld-auth-footer a:hover {
    text-decoration: underline;
}

.zhyp-ld-auth-scan {
    text-align: center;
    padding: 8px 0 16px;
}

.zhyp-ld-auth-scan img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    background: #fff;
}

.zhyp-ld-auth-scan-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border-radius: 12px;
    border: 2px dashed #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfbfbf;
    font-size: 13px;
    padding: 16px;
    line-height: 1.5;
    background: #fafafa;
}

.zhyp-ld-auth-scan p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #595959;
}

.zhyp-ld-auth-scan .zhyp-ld-auth-back {
    margin-top: 20px;
    border: none;
    background: none;
    color: var(--zhyp-ld-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.zhyp-ld-auth-scan .zhyp-ld-auth-back:hover {
    text-decoration: underline;
}

.zhyp-ld-auth-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}

.zhyp-ld-auth-extra label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #595959;
    font-weight: normal;
}

.zhyp-ld-auth-extra a {
    color: var(--zhyp-ld-primary);
}

.zhyp-ld-btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 38px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--zhyp-ld-btn-soft-text);
    background: #fff;
    border: 1px solid var(--zhyp-ld-btn-soft-border);
    border-radius: 8px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.zhyp-ld-btn-register:hover {
    background: var(--zhyp-ld-btn-soft-bg);
    border-color: var(--zhyp-ld-btn-soft-border-hover);
}

@media (max-width: 768px) {
    .zhyp-ld-auth-dialog {
        flex-direction: column;
        max-height: 94vh;
    }

    .zhyp-ld-auth-aside {
        flex: 0 1 auto;
        width: 100%;
        min-width: 0;
        padding: 24px 20px 16px;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .zhyp-ld-auth-body {
        padding: 28px 20px 24px;
    }

    .zhyp-ld-auth-corner {
        right: 52px;
    }
}
