* { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
            color: #333;
            background: #eeeeee url('/static/dh/images/back.png') no-repeat top center;
            background-size: 100% auto;
            min-height: 100vh;
            padding-bottom: 40px;
        }

        a { text-decoration: none; color: inherit; }

        .wrap {
            width: 1200px;
            max-width: calc(100% - 24px);
            margin: 0 auto;
        }

        .navia {
            height: 110px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            z-index: 50;
            gap: 16px;
        }

        .navia-left {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            min-width: 0;
        }

        .logo-fx {
            height: 58px;
            width: 58px;
            object-fit: contain;
            display: block;
            background: rgba(0, 0, 0, 0.55);
            border-radius: 50%;
            padding: 4px;
            box-shadow: 0 4px 14px rgba(0,0,0,.25);
            flex-shrink: 0;
        }

        .logo-font {
            height: 52px;
            width: auto;
            display: block;
            filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
        }

        .nav-toggle {
            display: none;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            border: 1px solid rgba(0, 252, 255, .45);
            background: rgba(0, 30, 70, .4);
            backdrop-filter: blur(8px);
            cursor: pointer;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 5px;
            padding: 0;
            flex-shrink: 0;
        }
        .nav-toggle span {
            display: block;
            width: 18px;
            height: 2px;
            border-radius: 2px;
            background: #fff;
            transition: transform .2s ease, opacity .2s ease;
        }
        .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
        .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        .site-nav {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 5px;
            border-radius: 999px;
            background: rgba(4, 22, 48, .42);
            border: 1px solid rgba(0, 210, 255, .35);
            box-shadow: 0 8px 24px rgba(0, 20, 50, .2);
            backdrop-filter: blur(10px);
        }
        .nav-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 38px;
            padding: 0 16px;
            border-radius: 999px;
            color: rgba(255,255,255,.92);
            font-size: 14px;
            font-weight: 700;
            letter-spacing: .2px;
            transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
            white-space: nowrap;
        }
        .nav-link:hover {
            background: rgba(0, 210, 255, .18);
            color: #fff;
        }
        .nav-link.active {
            background: linear-gradient(180deg, #3aa0ff, #1f6fd6);
            color: #fff;
            box-shadow: 0 6px 14px rgba(31, 111, 214, .35);
        }
        .nav-link.accent {
            background: linear-gradient(180deg, #ffe27a, #f0b429);
            color: #163f74;
            box-shadow: 0 6px 14px rgba(240, 180, 41, .28);
        }
        .nav-link.accent:hover {
            transform: translateY(-1px);
            color: #163f74;
        }

        .broker-row {
            display: flex;
            margin-bottom: 18px;
            align-items: stretch;
        }

        .broker-title {
            width: 16.666%;
            min-width: 160px;
            padding: 0 5px;
        }

        .broker-title-inner {
            height: 100%;
            min-height: 110px;
            background: #2161b3;
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 18px 10px;
            box-shadow: 0 2px 8px rgba(33, 97, 179, 0.2);
        }

        .broker-title-box {
            width: 140px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .broker-ico {
            width: 48px;
            height: 48px;
            flex-shrink: 0;
            object-fit: contain;
            display: block;
        }

        .broker-name {
            color: #fff;
            font-weight: 900;
            font-size: 16px;
            line-height: 20px;
        }

        .broker-channels {
            width: 83.334%;
            display: flex;
            flex-wrap: wrap;
        }

        .channel-col {
            width: 16.666%;
            padding: 0 5px;
            margin-bottom: 0;
        }

        .channel-card {
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 3px;
            overflow: hidden;
            transition: border-color .2s ease, box-shadow .2s ease;
            min-height: 110px;
        }

        .channel-card:hover {
            border-color: #39a7fc;
            box-shadow: 0 4px 14px rgba(57, 167, 252, 0.18);
        }

        .channel-link {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 55px;
            border-bottom: 1px solid #ddd;
            transition: background .15s ease;
        }

        .channel-link:last-child {
            border-bottom: none;
        }

        .channel-link:hover {
            background: #f4faff;
        }

        .channel-link .ent-font {
            color: #39a7fc;
            font-weight: 900;
            font-size: 15px;
            line-height: 50px;
        }

        .channel-link:hover .ent-font {
            color: #1f7fd0;
        }

        .status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            margin-right: 7px;
            display: inline-block;
            position: relative;
            top: -1px;
        }

        .status-dot.alive {
            background: #19c37d;
            box-shadow: 0 0 0 3px rgba(25, 195, 125, 0.15);
        }

        .status-dot.dead {
            background: #ff5a75;
            box-shadow: 0 0 0 3px rgba(255, 90, 117, 0.12);
        }

        .empty {
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 3px;
            text-align: center;
            padding: 60px 20px;
            color: #999;
            margin-top: 20px;
        }

        .footer {
            margin-top: 30px;
            text-align: center;
            color: #888;
            font-size: 13px;
            padding: 16px 0;
        }

        .footer a {
            color: #39a7fc;
            margin: 0 8px;
        }

        @media (max-width: 1000px) {
            .broker-row { flex-direction: column; gap: 8px; }
            .broker-title, .broker-channels { width: 100%; }
            .broker-title { min-width: 0; padding: 0; }
            .broker-title-inner { min-height: 78px; }
            .channel-col { width: 33.333%; margin-bottom: 10px; }
        }

        @media (max-width: 860px) {
            .nav-toggle { display: inline-flex; }
            .site-nav {
                display: none;
                position: absolute;
                top: calc(100% - 8px);
                right: 0;
                left: auto;
                width: min(280px, calc(100vw - 24px));
                flex-direction: column;
                align-items: stretch;
                gap: 6px;
                padding: 10px;
                border-radius: 16px;
                background: rgba(8, 24, 52, .94);
                border: 1px solid rgba(0, 210, 255, .35);
                box-shadow: 0 16px 36px rgba(0, 12, 30, .45);
            }
            .site-nav.is-open { display: flex; }
            .nav-link {
                justify-content: flex-start;
                min-height: 44px;
                padding: 0 14px;
                border-radius: 12px;
                width: 100%;
            }
        }
        @media (max-width: 640px) {
            .navia {
                height: auto;
                padding: 16px 0 12px;
                gap: 12px;
            }
            .logo-fx { height: 42px; width: 42px; }
            .logo-font { height: 34px; }
            .channel-col { width: 50%; }
            .broker-name { font-size: 15px; }
            .channel-link .ent-font { font-size: 14px; }
        }

        /* ===== CopyFXHub 跟单社区横幅 ===== */
        .cfx-banner {
            display: block;
            position: relative;
            overflow: hidden;
            margin: 0 0 14px;
            border-radius: 10px;
            min-height: 118px;
            padding: 18px 22px;
            background:
                linear-gradient(90deg, rgba(236,245,255,.96) 0%, rgba(236,245,255,.88) 38%, rgba(236,245,255,.35) 62%, rgba(236,245,255,.08) 100%),
                url('/static/dh/images/copyfxhub-banner-bg.png?v=3') right center / cover no-repeat #e8f3ff;
            box-shadow: 0 10px 28px rgba(33, 97, 179, 0.18);
            border: 1px solid rgba(33, 97, 179, .18);
            color: #163f74;
            text-decoration: none;
        }
        .cfx-banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.35) 46%, transparent 70%);
            transform: translateX(-130%);
            animation: cfxShine 3.2s ease-in-out infinite;
            pointer-events: none;
        }
        .cfx-inner {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
        .cfx-left {
            display: flex;
            align-items: center;
            gap: 14px;
            min-width: 0;
            max-width: 62%;
        }
        .cfx-mark {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            flex-shrink: 0;
            background: radial-gradient(circle at 35% 30%, #3aa0ff, #1b4fad);
            border: 2px solid rgba(255,255,255,.9);
            box-shadow: 0 0 0 4px rgba(46, 213, 115, .18), 0 8px 18px rgba(27, 79, 173, .22);
            position: relative;
            animation: pulseGlow 1.8s ease-in-out infinite;
        }
        .cfx-mark span {
            position: absolute;
            left: 50%;
            bottom: 12px;
            width: 6px;
            border-radius: 2px 2px 0 0;
            background: #2ed573;
            transform: translateX(-50%);
        }
        .cfx-mark span:nth-child(1) { margin-left: -10px; height: 12px; }
        .cfx-mark span:nth-child(2) { margin-left: 0; height: 18px; }
        .cfx-mark span:nth-child(3) { margin-left: 10px; height: 24px; }
        .cfx-mark i {
            position: absolute;
            right: 10px;
            top: 11px;
            width: 10px;
            height: 10px;
            border-top: 2px solid #fff;
            border-right: 2px solid #fff;
            transform: rotate(45deg);
        }
        .cfx-copy h3 {
            font-size: 21px;
            font-weight: 900;
            letter-spacing: .3px;
            margin-bottom: 3px;
            color: #102a56;
        }
        .cfx-copy .brand {
            color: #1a66e0;
        }
        .cfx-copy p {
            font-size: 13px;
            color: #4a607c;
            margin-bottom: 8px;
        }
        .cfx-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .cfx-tags span {
            display: inline-flex;
            align-items: center;
            height: 24px;
            padding: 0 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            background: rgba(26, 102, 224, .08);
            border: 1px solid rgba(26, 102, 224, .22);
            color: #1a4f9c;
        }
        .cfx-tags span.hot {
            background: rgba(30, 200, 106, .12);
            border-color: rgba(30, 200, 106, .4);
            color: #0d7a42;
        }
        .cfx-sync { display: none; }
        .cfx-cta {
            flex-shrink: 0;
            height: 44px;
            padding: 0 20px;
            border-radius: 999px;
            background: linear-gradient(180deg, #3aa0ff, #2161b3);
            color: #fff;
            font-size: 15px;
            font-weight: 900;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 8px 18px rgba(33, 97, 179, .32);
            animation: ctaBounce 1.8s ease-in-out infinite;
        }
        .cfx-banner:hover .cfx-cta { transform: scale(1.04); }
        @keyframes cfxShine {
            0% { transform: translateX(-130%); }
            60% { transform: translateX(130%); }
            100% { transform: translateX(130%); }
        }

        /* ===== MT4/MT5 下载广告条 ===== */
        .dl-banner {
            display: block;
            position: relative;
            overflow: hidden;
            margin: 0 0 18px;
            border-radius: 10px;
            min-height: 118px;
            padding: 18px 24px;
            background:
                linear-gradient(90deg, rgba(7,24,58,.92) 0%, rgba(10,40,96,.78) 42%, rgba(12,60,130,.28) 68%, rgba(12,60,130,.08) 100%),
                url('/static/dh/images/mt45-banner-bg.png?v=1') right center / cover no-repeat #0b2a6b;
            box-shadow: 0 10px 28px rgba(31, 111, 214, 0.35);
            border: 1px solid rgba(255,255,255,.22);
            color: #fff;
            text-decoration: none;
        }

        .dl-banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.22) 45%, transparent 70%);
            transform: translateX(-120%);
            animation: shine 2.8s ease-in-out infinite;
            pointer-events: none;
        }

        .dl-banner-inner {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .dl-left {
            display: flex;
            align-items: center;
            gap: 14px;
            min-width: 0;
            max-width: 64%;
        }

        .dl-pulse {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: linear-gradient(160deg, rgba(58,160,255,.45), rgba(13,61,140,.55));
            border: 1px solid rgba(255,255,255,.4);
            display: grid;
            place-items: center;
            font-weight: 900;
            font-size: 13px;
            line-height: 1.15;
            text-align: center;
            animation: pulseGlow 1.6s ease-in-out infinite;
            flex-shrink: 0;
            box-shadow: 0 8px 18px rgba(0,0,0,.25);
        }

        .dl-copy h3 {
            font-size: 22px;
            font-weight: 900;
            letter-spacing: .5px;
            margin-bottom: 4px;
            text-shadow: 0 2px 8px rgba(0,0,0,.35);
        }

        .dl-copy p {
            font-size: 14px;
            opacity: .95;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-shadow: 0 1px 4px rgba(0,0,0,.3);
        }

        .dl-tags {
            display: flex;
            gap: 8px;
            margin-top: 8px;
            flex-wrap: wrap;
        }

        .dl-tags span {
            display: inline-flex;
            align-items: center;
            height: 24px;
            padding: 0 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            background: rgba(255,255,255,.16);
            border: 1px solid rgba(255,255,255,.3);
            backdrop-filter: blur(4px);
            animation: tagBlink 2s ease-in-out infinite;
        }

        .dl-tags span:nth-child(2) { animation-delay: .35s; }
        .dl-tags span:nth-child(3) { animation-delay: .7s; }

        .dl-cta {
            flex-shrink: 0;
            height: 44px;
            padding: 0 22px;
            border-radius: 999px;
            background: linear-gradient(180deg, #ffe27a, #f0b429);
            color: #163f74;
            font-size: 15px;
            font-weight: 900;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 8px 18px rgba(240, 180, 41, .4);
            animation: ctaBounce 1.8s ease-in-out infinite;
        }

        .dl-banner:hover .dl-cta {
            transform: scale(1.04);
        }

        @keyframes shine {
            0% { transform: translateX(-120%); }
            55% { transform: translateX(120%); }
            100% { transform: translateX(120%); }
        }
        @keyframes pulseGlow {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); transform: scale(1); }
            50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); transform: scale(1.05); }
        }
        @keyframes floatBlob {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(12px); }
        }
        @keyframes tagBlink {
            0%, 100% { opacity: .85; }
            50% { opacity: 1; background: rgba(255,255,255,.28); }
        }
        @keyframes ctaBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }

        @media (max-width: 1417px) {
            body { background-size: auto auto; }
        }

        @media (max-width: 980px) {
            .cfx-sync { display: none; }
        }
        @media (max-width: 760px) {
            .cfx-banner { padding: 14px 16px; min-height: auto; background-position: 70% center; }
            .cfx-inner { flex-direction: column; align-items: flex-start; }
            .cfx-left { max-width: 100%; }
            .cfx-copy h3 { font-size: 17px; }
            .cfx-cta { width: 100%; justify-content: center; }
            .dl-banner { padding: 16px; min-height: auto; background-position: 72% center; }
            .dl-banner-inner { flex-direction: column; align-items: flex-start; }
            .dl-left { max-width: 100%; }
            .dl-copy h3 { font-size: 18px; }
            .dl-copy p { white-space: normal; font-size: 13px; }
            .dl-cta { width: 100%; justify-content: center; }
        }
