/* 前台推广员中心 */
.dpc-subnav {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
    padding: 6px; background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: 12px;
}
.dpc-subnav a {
    display: inline-block; padding: 7px 14px; border-radius: 999px;
    background: transparent; color: #334155; text-decoration: none; font-size: 13px;
}
.dpc-subnav a.active, .dpc-subnav a:hover {
    background: #0f766e; color: #fff;
}
.dpc-panel {
    background: #fff; border: 1px solid #ccfbf1; border-radius: 14px; padding: 16px 18px 20px;
    box-shadow: 0 8px 20px rgba(15, 118, 110, .06);
}
.dpc-hero {
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
    background: linear-gradient(135deg, #0f766e, #134e4a);
    color: #ecfdf5; border-radius: 14px; padding: 18px 18px; margin-bottom: 14px;
}
.dpc-badge {
    display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); margin-bottom: 6px;
}
.dpc-badge-soft {
    display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px;
    background: #ccfbf1; color: #115e59;
}
.dpc-name { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.dpc-meta { margin: 0; opacity: .9; font-size: 13px; }
.dpc-qr { background: #fff; border-radius: 10px; padding: 8px; text-align: center; }
.dpc-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dpc-stat {
    flex: 1 1 90px; min-width: 90px; text-align: center; background: #f0fdfa;
    border: 1px solid #99f6e4; border-radius: 10px; padding: 10px 6px;
}
.dpc-stat b { display: block; color: #0f766e; font-size: 18px; }
.dpc-stat span { color: #64748b; font-size: 12px; }
.dpc-block { border: 1px solid #ccfbf1; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.dpc-block-hd { padding: 10px 14px; background: #f0fdfa; font-weight: 600; border-bottom: 1px solid #ccfbf1; color: #134e4a; }
.dpc-block-bd { padding: 14px; }
.dpc-table th { background: #f0fdfa; }
/* —— 成为推广员落地页：对齐官网 #jt-site 深色板式 —— */
body:has(#jt-dpc-join) {
    background: #071226 !important;
}
body:has(#jt-dpc-join) > .navbar,
body:has(#jt-dpc-join) > .footer {
    display: none !important;
}
body:has(#jt-dpc-join) > main.content {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 100vh;
    overflow-x: hidden;
    background: transparent;
}

.dpc-join {
    --a-bg: #071226;
    --a-bg2: #0B1F3E;
    --a-ink: #E9F3FF;
    --a-sub: #7FA3C9;
    --a-cyan: #35E0FF;
    --a-gold: #FFC53D;
    --a-card: rgba(17, 40, 72, .55);
    font-family: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
    color: var(--a-ink);
    background:
        radial-gradient(1100px 500px at 78% -10%, rgba(46, 124, 246, .22), transparent 60%),
        radial-gradient(900px 480px at 8% 108%, rgba(53, 224, 255, .10), transparent 55%),
        linear-gradient(180deg, var(--a-bg2) 0%, var(--a-bg) 58%, #060E1D 100%);
    min-height: 100vh;
    box-sizing: border-box;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.dpc-join *,
.dpc-join *::before,
.dpc-join *::after { box-sizing: border-box; }
.dpc-join a { color: inherit; text-decoration: none; }

.dpc-join-nav {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    width: 100%; margin: 0; padding: 0 max(24px, calc((100% - 1180px) / 2 + 24px)); height: 64px;
    background: linear-gradient(180deg, #0B1F3E 0%, #071226 100%);
    border-bottom: 1px solid rgba(53, 224, 255, .12);
}
.dpc-join-brand {
    display: flex; align-items: center; gap: 10px; flex: none; color: #E9F3FF;
}
.dpc-join-mark {
    width: 28px; height: 28px; border-radius: 8px; flex: none;
    background: linear-gradient(135deg, #2E7CF6, #35C9FF);
    box-shadow: 0 6px 16px rgba(46, 124, 246, .35);
}
.dpc-join-name {
    display: block; font-size: 16px; font-weight: 700; letter-spacing: .04em; line-height: 1.2;
}
.dpc-join-sub {
    display: block; font-size: 11px; color: #7FA3C9; letter-spacing: .12em; margin-top: 1px;
}
.dpc-join-menu {
    display: flex; align-items: center; justify-content: center; flex: 1;
    gap: 4px 28px; flex-wrap: wrap; min-width: 0;
}
.dpc-join-menu a {
    position: relative; display: inline-flex; align-items: center; height: 64px;
    color: rgba(191, 230, 255, .78); font-size: 14px; font-weight: 500; letter-spacing: .06em;
    white-space: nowrap; transition: color .2s ease;
}
.dpc-join-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px;
    border-radius: 2px; background: transparent; transform: scaleX(.4); opacity: 0;
    transition: all .2s ease;
}
.dpc-join-menu a:hover { color: #E9F3FF; }
.dpc-join-menu a:hover::after {
    opacity: 1; transform: scaleX(1); background: rgba(53, 224, 255, .45);
}
.dpc-join-menu a.is-on { color: #35E0FF; font-weight: 600; }
.dpc-join-menu a.is-on::after {
    opacity: 1; transform: scaleX(1); background: #35E0FF;
}
.dpc-join-login {
    flex: none; color: #BFE6FF; font-size: 13px; font-weight: 500; letter-spacing: .04em;
    opacity: .9; transition: color .2s ease, opacity .2s ease;
}
.dpc-join-login:hover { color: #35E0FF; opacity: 1; }

.dpc-join-wrap {
    max-width: 960px; margin: 0 auto; padding: 48px 24px 72px;
}
.dpc-join-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; letter-spacing: .35em; color: var(--a-cyan); font-weight: 600;
}
.dpc-join-eyebrow::before {
    content: ""; width: 26px; height: 2px;
    background: linear-gradient(90deg, var(--a-cyan), transparent);
}
.dpc-join-title {
    margin: 14px 0 10px; font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800; letter-spacing: .02em; line-height: 1.25; color: var(--a-ink);
}
.dpc-join-subline {
    margin: 0; max-width: 720px; color: var(--a-sub); font-size: 15px;
}
.dpc-tip {
    margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 10px 16px; border-radius: 12px; font-size: 13px; color: #BFE6FF;
    background: rgba(13, 32, 62, .62); border: 1px solid rgba(53, 224, 255, .22);
}
.dpc-tip code {
    padding: 2px 8px; border-radius: 6px; font-size: 13px; font-weight: 700;
    color: var(--a-cyan); background: rgba(53, 224, 255, .12);
    border: 1px solid rgba(53, 224, 255, .25);
}

.dpc-join-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px; margin-top: 32px;
}
.dpc-join-card-item {
    position: relative; padding: 22px 20px 20px 24px; border-radius: 14px;
    background: var(--a-card); border: 1px solid rgba(53, 224, 255, .14);
    box-shadow: inset 0 0 40px rgba(46, 124, 246, .06);
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.dpc-join-card-item::after {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--a-cyan), rgba(53, 224, 255, .12));
}
.dpc-join-card-item:hover {
    transform: translateY(-3px);
    border-color: rgba(53, 224, 255, .45);
    box-shadow: 0 12px 30px rgba(4, 12, 30, .5);
}
.dpc-join-card-item h3 {
    margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #CFE4FF; letter-spacing: .04em;
}
.dpc-join-card-item p {
    margin: 0; font-size: 13px; line-height: 1.75; color: var(--a-sub);
}

.dpc-join-cta {
    margin-top: 34px; display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; border: 1px dashed rgba(53, 224, 255, .3); border-radius: 16px;
    padding: 22px 26px;
    background: linear-gradient(90deg, rgba(46, 124, 246, .10), rgba(53, 224, 255, .06));
}
.dpc-join-cta .msg {
    font-size: 17px; font-weight: 700; color: #EAF4FF;
}
.dpc-join-cta .msg small {
    display: block; font-weight: 400; font-size: 13px; color: var(--a-sub); margin-top: 4px;
}
.dpc-join-actions {
    display: flex; flex-wrap: wrap; gap: 12px;
}
.dpc-join-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 22px; border-radius: 999px;
    font-size: 14px; font-weight: 700; letter-spacing: .06em;
    background: linear-gradient(92deg, #2E7CF6, #35C9FF); color: #fff !important;
    box-shadow: 0 10px 26px rgba(46, 124, 246, .42);
    transition: transform .3s ease, box-shadow .3s ease;
}
.dpc-join-btn:hover {
    transform: translateY(-2px); box-shadow: 0 14px 34px rgba(53, 201, 255, .5); color: #fff !important;
}
.dpc-join-btn--ghost {
    background: transparent; color: #BFE6FF !important;
    border: 1px solid rgba(53, 224, 255, .35); box-shadow: none;
}
.dpc-join-btn--ghost:hover {
    border-color: rgba(53, 224, 255, .7); color: #fff !important; box-shadow: none;
}
.dpc-join-foot {
    margin: 28px 0 0; font-size: 12px; color: rgba(127, 163, 201, .75); text-align: center;
}

/* 兼容旧结构（若其它入口仍引用） */
.dpc-join-hero {
    background: linear-gradient(160deg, rgba(46, 124, 246, .35), rgba(7, 18, 38, .9));
    color: #ecfdf5; border-radius: 14px; padding: 28px 22px; margin-bottom: 16px;
    border: 1px solid rgba(53, 224, 255, .18);
}
.dpc-join-hero h2 { margin: 0 0 8px; color: #E9F3FF; }
.dpc-join-card {
    background: var(--a-card, rgba(17, 40, 72, .55));
    border: 1px solid rgba(53, 224, 255, .14); border-radius: 14px; padding: 22px;
    box-shadow: inset 0 0 40px rgba(46, 124, 246, .06); color: #E9F3FF;
}
.dpc-ul { padding-left: 18px; color: var(--a-sub, #7FA3C9); line-height: 1.9; }

@media (max-width: 900px) {
    .dpc-join-nav {
        height: auto; min-height: 56px; padding: 10px 16px; flex-wrap: wrap; gap: 8px 16px;
    }
    .dpc-join-menu {
        justify-content: flex-start; gap: 8px 18px; width: 100%; order: 3;
    }
    .dpc-join-menu a { height: 36px; font-size: 13px; }
    .dpc-join-menu a::after { bottom: 6px; }
}
@media (max-width: 640px) {
    .dpc-hero { flex-direction: column; text-align: center; }
    .dpc-join-wrap { padding: 32px 16px 56px; }
    .dpc-join-grid { grid-template-columns: 1fr; }
    .dpc-join-cta { padding: 18px 16px; }
}
