:root {
    --lime: #d4ff3a;
    --lime-hover: #c2ee2a;
    --black: #000;
    --white: #fff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-500: #737373;
    --gray-700: #404040;
    --gray-900: #171717;
    --danger: #ef4444;
    --success: #10b981;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.5
}

.top-bar {
    background: var(--gray-100);
    padding: 6px 32px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid var(--gray-200)
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--gray-300);
    padding: 1px 2px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: var(--gray-700)
}

.lang-btn:hover {
    background: #000;
    color: #fff
}

.main-nav {
    background: #fff;
    padding: 8px 32px;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px
}

.nav-brand {
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0
}

.nav-brand img {
    height: 52px;
    width: auto;
    display: block
}

.nav-links {
    display: flex;
    gap: 28px
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap
}

.nav-links a:hover {
    opacity: .55
}

.btn-nav-start {
    margin-left: auto;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap
}

.btn-nav-start:hover {
    background: var(--lime);
    color: #000
}

.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 32px;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.hero-left h1 {
    font-size: clamp(40px, 7vw, 96px);
    font-weight: 900;
    font-style: italic;
    line-height: .95;
    letter-spacing: -2px;
    margin-bottom: 28px
}

.hero-left h1 em {
    font-style: italic;
    border-bottom: 6px solid var(--lime);
    padding-bottom: 4px
}

.hero-left p {
    font-size: clamp(15px, 1.2vw, 17px);
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 480px
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn-lime {
    background: var(--lime);
    color: #000;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-block
}

.btn-lime:hover {
    background: var(--lime-hover);
    transform: translateY(-2px);
    transition: all .2s
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 1.5px solid #000;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer
}

.btn-outline:hover {
    background: #000;
    color: #fff
}

.hero-visual {
    display: flex;
    justify-content: center
}

.phone {
    width: 320px;
    max-width: 100%;
    aspect-ratio: 320/580;
    background: #1a1a1a;
    border-radius: 44px;
    padding: 10px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .18), 0 0 0 2px #2a2a2a inset;
    position: relative
}

.phone::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 22px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 5
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 44px 0 0
}

.phone-status {
    display: flex;
    justify-content: space-between;
    padding: 0 24px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 600
}

.chart-box {
    flex: 1;
    margin: 0 16px 16px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 16px 12px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, transparent 49%, #1a1a1a 49%, #1a1a1a 51%, transparent 51%), linear-gradient(to bottom, transparent 49%, #1a1a1a 49%, #1a1a1a 51%, transparent 51%);
    background-size: 40px 40px;
    min-height: 0
}

.candle-chart {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 100%;
    padding: 0 4px 8px;
    position: relative;
    z-index: 1
}

.cand {
    flex: 1;
    height: var(--h);
    background: #fff;
    border-radius: 2px;
    margin-bottom: var(--b);
    position: relative
}

.cand.green {
    background: var(--lime)
}

.buy-badge {
    position: absolute;
    bottom: 20px;
    right: 24px;
    background: var(--lime);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 10px;
    z-index: 2
}

.profit-panel {
    background: var(--lime);
    border-radius: 20px 20px 0 0;
    padding: 18px 20px 20px;
    color: #000;
    position: relative;
    height: 180px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0
}

.profit-label {
    font-size: 11px;
    font-weight: 700;
    opacity: .7;
    margin-bottom: 2px
}

.profit-value {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 4px
}

.profit-change {
    font-size: 11px;
    font-weight: 700;
    opacity: .8
}

.profit-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px
}

.auth-page {
    min-height: calc(100vh - 100px)
}

.auth-page[data-display="flex"] {
    display: flex
}

.auth-left {
    flex: 1;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: #fff
}

.auth-left h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2px;
    margin-bottom: 12px
}

.auth-left h1 em {
    color: var(--lime);
    border-bottom: none
}

.auth-left h2 {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff
}

.auth-left p {
    font-size: 15px;
    color: #9ca3af;
    max-width: 420px;
    line-height: 1.7
}

.auth-right {
    width: 500px;
    max-width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px;
    border-left: 1px solid var(--gray-200)
}

.auth-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 6px
}

.auth-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px
}

.form-group {
    margin-bottom: 18px
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-900)
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    background: var(--gray-50);
    color: #000
}

.form-control:focus {
    border-color: #000;
    background: #fff
}

.btn-primary {
    width: 100%;
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer
}

.btn-primary:hover {
    background: var(--lime);
    color: #000
}

.btn-lime-full {
    width: 100%;
    background: var(--lime);
    color: #000;
    font-weight: 800;
    font-size: 15px;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer
}

.btn-lime-full:hover {
    background: var(--lime-hover)
}

.link-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0
}

.link-btn:hover {
    color: #000
}

.error-message {
    color: var(--danger);
    text-align: center;
    margin-top: 12px;
    font-weight: 600;
    font-size: 13px;
    min-height: 20px
}

.app-layout {
    min-height: calc(100vh - 100px)
}

.app-layout[data-display="flex"] {
    display: flex
}

.sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #000;
    color: #fff;
    padding: 24px 14px;
    display: flex;
    flex-direction: column
}

.sidebar-brand {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    margin-bottom: 28px;
    padding-left: 14px
}

.sidebar-brand em {
    color: var(--lime);
    border-bottom: none
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: #9ca3af;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap
}

.nav-item:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff
}

.nav-item.active-lime {
    background: var(--lime);
    color: #000
}

.nav-item.danger {
    color: #fca5a5
}

.main-content {
    flex: 1;
    padding: 32px 40px;
    background: var(--gray-50);
    overflow-y: auto;
    min-width: 0
}

.hero-banner {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    color: #fff;
    position: relative;
    margin-bottom: 24px;
    overflow: hidden
}

.hero-banner h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
    position: relative;
    z-index: 1
}

.hero-banner .bg-text {
    position: absolute;
    right: 40px;
    bottom: 10px;
    font-size: 56px;
    font-weight: 900;
    opacity: .06;
    font-style: italic;
    z-index: 0
}

.card-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
    overflow: hidden
}

.card-box h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px
}

.info-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.pill {
    background: var(--gray-50);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    word-break: break-word
}

.pill b {
    color: #000
}

.table-wrap {
    width: 100%;
    max-height: 600px;
    overflow-x: auto;
    overflow-y: auto;
    margin-top: 4px
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 400px
}

th {
    text-align: left;
    padding: 11px 14px;
    background: var(--gray-50);
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 700;
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap
}

td {
    padding: 13px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
    white-space: nowrap
}

tr:hover td {
    background: var(--gray-50)
}

.badge-approved {
    color: #047857;
    background: #d1fae5;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block
}

.badge-pending {
    color: #b45309;
    background: #fef3c7;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block
}

.badge-rejected {
    color: #b91c1c;
    background: #fee2e2;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 16px
}

.modal-content {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px
}

.summary-banner {
    background: linear-gradient(135deg, #80e61f 0%, #a2f843 100%);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    color: #000;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden
}

.summary-banner .lbl {
    font-size: 13px;
    font-weight: 700;
    opacity: .7;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.summary-banner .amt {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2px;
    line-height: 1
}

.summary-banner .sub {
    font-size: 13px;
    font-weight: 600;
    opacity: .7;
    margin-top: 8px
}

.summary-banner .bg {
    position: absolute;
    right: 20px;
    bottom: -20px;
    font-size: 100px;
    font-weight: 900;
    font-style: italic;
    opacity: .08;
    line-height: 1
}

@media (max-width:1024px) {
    .nav-links {
        gap: 20px
    }

    .nav-links a {
        font-size: 13px
    }

    .hero {
        padding: 60px 28px
    }

    .phone {
        width: 280px
    }
}

@media (max-width:860px) {
    .top-bar {
        padding: 6px 20px
    }

    .main-nav {
        padding: 8px 16px
    }

    .nav-inner {
        gap: 14px
    }

    .nav-brand img {
        height: 44px
    }

    .nav-links {
        gap: 18px;
        overflow-x: auto;
        scrollbar-width: none
    }

    .nav-links::-webkit-scrollbar {
        display: none
    }

    .nav-links a {
        font-size: 13px
    }

    .btn-nav-start {
        padding: 9px 18px;
        font-size: 13px
    }

    .hero {
        grid-template-columns: 1fr !important;
        padding: 40px 20px 60px;
        gap: 40px
    }

    .hero-visual {
        order: -1
    }

    .phone {
        width: 260px
    }

    .auth-page[data-display="flex"] {
        flex-direction: column !important
    }

    .auth-left {
        padding: 40px 24px;
        min-height: auto
    }

    .auth-right {
        width: 100%;
        padding: 36px 24px;
        border-left: none
    }

    .app-layout[data-display="flex"] {
        flex-direction: column !important
    }

    .sidebar {
        position: relative;
        display:inline-block;
        width: 100%;
        flex-direction: row;
        padding: 10px 12px;
        /* overflow-x: auto; */
        overflow-wrap:anywhere;
        gap: 6px;
        scrollbar-width: none;
        align-items: center
    }

    .sidebar::-webkit-scrollbar {
        display: none
    }

    .sidebar-brand {
        margin-bottom: 0;
        padding-left: 0;
        font-size: 16px;
        flex-shrink: 0;
        padding-right: 8px;
        border-right: 1px solid #333;
        margin-right: 6px
    }

    .nav-item {
        flex-shrink: 0;
        margin-bottom: 0;
        font-size: 13px;
        padding: 9px 14px
    }

    .nav-item[style*="margin-top: auto"] {
        margin-top: 0 !important
    }

    .main-content {
        padding: 20px 16px
    }

    .hero-banner {
        padding: 22px 20px
    }

    .hero-banner .bg-text {
        font-size: 40px;
        right: 20px;
        bottom: 6px
    }

    .card-box {
        padding: 20px 16px
    }

    .modal-content {
        padding: 24px 20px
    }

    .summary-banner {
        padding: 22px 24px
    }

    .summary-banner .bg {
        font-size: 70px
    }
}

@media (max-width:560px) {
    .top-bar {
        padding: 6px 12px
    }

    .main-nav {
        padding: 6px 12px
    }

    .nav-links {
        gap: 14px
    }

    .nav-brand img {
        height: 36px
    }

    .btn-nav-start {
        padding: 8px 14px;
        font-size: 12.5px
    }

    .lang-btn {
        font-size: 15px;
        padding: 1px 2px
    }

    .hero {
        padding: 32px 16px 48px
    }

    .hero-left h1 {
        font-size: 44px;
        letter-spacing: -1.5px;
        margin-bottom: 20px
    }

    .hero-left h1 em {
        border-bottom-width: 4px
    }

    .hero-left p {
        font-size: 14px;
        margin-bottom: 24px
    }

    .hero-btns {
        width: 100%
    }

    .btn-lime,
    .btn-outline {
        flex: 1;
        padding: 12px 16px;
        font-size: 14px;
        text-align: center
    }

    .phone {
        width: 220px;
        border-radius: 36px;
        padding: 8px
    }

    .phone-screen {
        border-radius: 30px
    }

    .phone-status {
        font-size: 11px
    }

    .chart-box {
        margin: 0 10px 10px;
        padding: 10px 8px
    }

    .profit-panel {
        padding: 14px 16px;
        height: 140px
    }

    .profit-value {
        font-size: 20px
    }

    .profit-label,
    .profit-change {
        font-size: 10px
    }

    .auth-left {
        padding: 32px 18px
    }

    .auth-left h1 {
        font-size: 40px
    }

    .auth-left h2 {
        font-size: 18px
    }

    .auth-left p {
        font-size: 13px
    }

    .auth-right {
        padding: 28px 18px
    }

    .auth-title {
        font-size: 24px
    }

    .auth-subtitle {
        font-size: 13px;
        margin-bottom: 24px
    }

    .form-control {
        padding: 11px 14px;
        font-size: 14px
    }

    .btn-primary,
    .btn-lime-full {
        padding: 13px;
        font-size: 14px
    }

    .sidebar {
        padding: 8px 10px;
        gap: 4px
        
    }

    .sidebar-brand {
        font-size: 14px;
        padding-right: 6px;
        margin-right: 4px
    }

    .nav-item {
        font-size: 12px;
        padding: 8px 12px
    }

    .main-content {
        padding: 14px 12px
    }

    .hero-banner {
        padding: 18px 16px;
        margin-bottom: 16px
    }

    .hero-banner h2 {
        font-size: 22px
    }

    .card-box {
        padding: 16px 12px;
        margin-bottom: 16px
    }

    .card-box h3 {
        font-size: 16px;
        margin-bottom: 14px
    }

    .info-pills {
        gap: 8px;
        margin-bottom: 14px
    }

    .pill {
        padding: 6px 12px;
        font-size: 12px
    }

    .modal-content {
        padding: 20px 16px;
        border-radius: 16px
    }

    .modal-content h3 {
        font-size: 17px;
        margin-bottom: 18px
    }

    table {
        min-width: 400px
    }

    th,
    td {
        padding: 10px;
        font-size: 12px
    }

    .summary-banner {
        padding: 20px 18px
    }

    .summary-banner .bg {
        font-size: 50px
    }
}

@media (max-width:380px) {
    .nav-inner {
        gap: 8px
    }

    .nav-links {
        gap: 12px
    }

    .nav-links a {
        font-size: 11.5px
    }

    .nav-brand img {
        height: 30px
    }

    .btn-nav-start {
        padding: 7px 10px;
        font-size: 11.5px
    }

    .hero-left h1 {
        font-size: 36px;
        letter-spacing: -1px
    }

    .phone {
        width: 190px
    }

    .sidebar-brand {
        display: none
    }

    .nav-item {
        font-size: 11px;
        padding: 7px 10px
    }
}


/* 会员渠道 */
.wrapr {
            
            display:inline-block;
            position:absolute; 
            width: 92%;
            height: 300px;
            /* margin: 1vh auto; */
            border: 2px solid rgb(163, 183, 131);
            border-radius: 3%;
            padding: 1%;
            /* 兼容inline-block布局 消除元素间隙 */
            font-size: 6px;
            color: #24c041db;
            vertical-align: super;
        }

        /* 三层横栏 百分比宽度 自动换行 */
        .partner_row {
            position:relative;
            width: 100%;
            height:50%;
            min-height: 60px;
            margin:auto;
            border: 3px solid #cbb7b7c2;
            /* 百分比padding锁定1:0.35的横栏宽高比 兼容所有旧浏览器 */
            /* padding-top:20%;  */
            border-radius: 10px;
            background-color:#0b5b4a75;
            text-align:center;
            display:inline-block;
            
        }
        .partner_row span
        {
            min-width: 20px;
            min-height: 20px;
        }

        /* 最后一栏高度更高 单独调整比例
        .partner_row:last-child {
            padding-top: 100%;
        } */

        /* 横栏内部内容容器 脱离padding占位流 */
        .partner_row-inner {
            position:relative;
            width: 100%; 
            height:60%;            
            margin: 1px;
            padding:5px;
            font-size: 6px;
            /* vertical-align: top; */
            border-radius: 6px;
            display:inline-block;
            text-align:left;
            /* overflow-wrap: anywhere ; */
            /* overflow-y:scroll; */
        }

        /* 红色圆角小框 百分比圆角等比缩放 */
        .partner-box {   
            position:relative;         
            /* display: inline-block;   */
            min-width: 100px;                     
            border: 1.5px solid rgba(220, 227, 193, 0.754);
            border-radius: 10px;
            margin: 3px;
            padding: 3px;
            vertical-align: top;
            font-size: 8px;
            text-align: left;
            color:#e9efe4;
            background-color:#0c846ac3;
            display:inline-block;
            
            /* box-shadow:inset; */
        }