   /* 你提供的完整CSS样式（无修改） */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
        }

        body {
            background-color: #f5f7fa;
            padding: 0;
            min-width: 1200px;
        }

        .navbar {
            background-color: #28a745;
            color: #fff;
            padding: 15px 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 999;
        }
        .navbar-container {
            max-width: 1920px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .navbar-logo {
            font-size: 20px;
            font-weight: 700;
        }
        .navbar-menu {
            display: flex;
            gap: 30px;
        }
        .navbar-menu a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
            transition: opacity 0.3s;
        }
        .navbar-menu a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

        .footer {
            background-color: #333;
            color: #ccc;
            padding: 20px 15px;
            margin-top: 40px;
        }
        .footer-copyright {
            text-align: center;
            font-size: 12px;
            color: #999;
            line-height: 1.6;
        }

        .container {
            width: 98%;
            max-width: 1920px;
            margin: 0 auto;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
            padding: 30px;
            margin-top: 20px;
            margin-bottom: 20px;
        }

        .doc-header {
            text-align: center;
            padding: 20px 0;
            border-bottom: 1px solid #e5e9f0;
            margin-bottom: 30px;
        }
        .doc-header h1 {
            font-size: 28px;
            color: #2c3e50;
            margin-bottom: 10px;
        }
        .doc-header p {
            color: #666;
            font-size: 16px;
        }

        .doc-section {
            margin-bottom: 25px;
            padding: 25px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .doc-section h2 {
            font-size: 20px;
            color: #2c3e50;
            margin-bottom: 15px;
            padding-left: 10px;
            border-left: 4px solid #28a745;
        }
        .doc-section p {
            margin-bottom: 10px;
            color: #555;
            line-height: 1.6;
        }

        .form-group {
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: #2c3e50;
            font-weight: 600;
        }
        .form-control {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #e5e9f0;
            border-radius: 4px;
            font-size: 14px;
            color: #333;
        }
        .form-control:focus {
            outline: none;
            border-color: #28a745;
            box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
        }

        .btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: #28a745;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            transition: background-color 0.2s;
            -webkit-tap-highlight-color: transparent;
        }
        .btn:hover {
            background-color: #218838;
        }
        .btn-reset {
            background-color: #6c757d;
            margin-left: 10px;
        }
        .btn-reset:hover {
            background-color: #5c636a;
        }

        .note {
            background-color: #f0f8ff;
            border-left: 4px solid #28a745;
            padding: 10px 15px;
            margin: 15px 0;
            color: #666;
            line-height: 1.6;
        }

        .status-card {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin: 15px 0;
        }
        .status-item {
            flex: 1;
            min-width: 200px;
            padding: 15px;
            border-radius: 6px;
            background-color: #f8f9fa;
            border-left: 4px solid #28a745;
        }
        .status-item.success {
            border-left-color: #67c23a;
        }
        .status-item.error {
            border-left-color: #f56c6c;
        }
        .status-item .title {
            font-size: 14px;
            color: #666;
            margin-bottom: 5px;
        }
        .status-item .value {
            font-size: 20px;
            font-weight: 600;
            color: #2c3e50;
        }
        .status-item.success .value {
            color: #67c23a;
        }
        .status-item.error .value {
            color: #f56c6c;
        }
        .status-time {
            font-size: 12px;
            color: #999;
            margin-top: 5px;
        }

        .debug-result {
            margin-top: 20px;
            border: 1px solid #e5e9f0;
            border-radius: 6px;
            overflow: hidden;
        }
        .result-header {
            padding: 10px 15px;
            background-color: #f8f9fa;
            border-bottom: 1px solid #e5e9f0;
            font-weight: 600;
            color: #2c3e50;
        }
        .result-body {
            padding: 15px;
            max-height: 500px;
            overflow-y: auto;
            background-color: #fff;
        }
        .loading {
            text-align: center;
            padding: 20px;
            color: #28a745;
        }

        .code-box {
            background-color: #f8f9fa;
            border-radius: 6px;
            padding: 15px;
            margin: 15px 0;
            font-family: "Consolas", "Monaco", monospace;
            font-size: 14px;
            overflow-x: auto;
            border: 1px solid #e5e9f0;
        }
        .code-box pre {
            white-space: pre-wrap;
            word-wrap: break-word;
            line-height: 1.5;
        }
        .code-title {
            font-size: 14px;
            color: #28a745;
            margin-bottom: 5px;
            font-weight: 600;
        }

        /* 移动端适配 */
        @media only screen and (max-width: 767px) {
            body {
                min-width: unset;
                width: 100%;
                overflow-x: hidden;
            }
            .container {
                width: 100%;
                padding: 15px;
                margin: 10px auto;
            }
            .navbar-container {
                flex-direction: column;
                gap: 10px;
                align-items: flex-start;
            }
            .navbar-menu {
                gap: 10px;
                flex-wrap: wrap;
                width: 100%;
            }
            .status-card {
                flex-direction: column;
                gap: 10px;
            }
            .status-item {
                min-width: unset;
                padding: 10px;
            }
            .btn {
                width: 100%;
                margin-bottom: 10px;
                display: block;
            }
            .btn-reset {
                margin-left: 0;
            }
        }
        /* 移动端自适应样式 (768px以下) - 核心必要 */
@media only screen and (max-width: 767px) {
    body {
        min-width: unset;
        width: 100%;
        overflow-x: hidden;
    }
    .container {
        width: 100%;
        padding: 15px;
        margin: 10px auto;
        border-radius: 8px;
    }
    .navbar {
        padding: 10px 15px;
    }
    .navbar-container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .navbar-menu {
        gap: 10px;
        flex-wrap: wrap;
        width: 100%;
    }
    .navbar-menu a {
        font-size: 12px;
    }
    .ping-form-section {
        padding: 12px;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
    }
    .form-group {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }
    .form-group label {
        min-width: 70px;
        font-size: 13px;
    }
    .target-input {
        width: 100%;
        font-size: 13px;
        padding: 8px 12px;
    }
    .select-control {
        flex: 1;
        min-width: unset;
    }
    .operator-checkboxes {
        width: 100%;
        padding-left: 70px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .checkbox-item {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
        font-size: 13px;
    }
    .detect-btn {
        width: 100%;
        padding: 12px 30px;
        margin-top: 10px;
    }
    .info-section {
        padding: 12px 15px;
    }
    .info-section p {
        font-size: 13px;
    }
    #resultTitle {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
    .map-rank-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    .map-container {
        height: 300px !important;
        min-width: unset;
        width: 100% !important;
    }
    .rank-container {
        height: 300px;
        min-width: unset;
        width: 100%;
    }
    .map-legend {
        padding: 10px 12px;
        font-size: 11px;
        bottom: 15px;
        left: 15px;
    }
    .legend-item {
        gap: 6px;
        margin: 4px 0;
    }
    .legend-color {
        width: 16px;
        height: 16px;
    }
    .rank-tabs {
        overflow-x: auto;
    }
    .rank-tab {
        padding: 12px 15px;
        font-size: 13px;
    }
    .rank-content {
        padding: 12px;
    }
    .rank-table th, .rank-table td {
        padding: 8px 6px;
        font-size: 12px;
    }
    .ping-table th, .ping-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
    .operator-tag {
        padding: 2px 6px;
        font-size: 11px;
    }
    .advanced-options-content {
        gap: 12px;
    }
    .advanced-form-group {
        width: 100%;
        min-width: unset;
    }
    .advanced-form-group label {
        min-width: 70px;
        font-size: 12px;
    }
    .advanced-input {
        font-size: 12px;
    }
    #infoModal {
        padding: 15px;
    }
    #modalInner {
        width: 100%;
        padding: 15px;
    }
    #closeModal {
        top: 10px;
        right: 10px;
        font-size: 18px;
        width: 25px;
        height: 25px;
        line-height: 25px;
    }
    #modalContent {
        font-size: 12px;
    }
    .loading {
        padding: 30px;
        font-size: 14px;
    }
}
/* ============ PC端分组导航样式（修复子菜单消失问题） ============ */
.nav-group-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}
.nav-group {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    /* 新增：扩大hover区域，包含子菜单 */
    padding-bottom: 5px;
}
.nav-group-title {
    color: #fff;
    font-size: 14px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.nav-group-title:hover {
    background-color: #218838;
    border-radius: 4px;
}
/* 子菜单：默认隐藏，新增.show类控制显示 */
.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #28a745;
    min-width: 180px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    padding: 10px 0;
    z-index: 1000;
    margin-top: 0; /* 取消间距，避免hover中断 */
    /* 新增：子菜单也能接收hover事件 */
    pointer-events: auto;
}
/* 关键：.nav-group和.nav-submenu hover都保持显示 */
.nav-group:hover .nav-submenu,
.nav-submenu:hover {
    display: block;
}
.nav-submenu a {
    display: block;
    padding: 8px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s;
}
.nav-submenu a:hover {
    background-color: #218838;
}
.nav-submenu a.active {
    background-color: #1e7e34;
    color: #ffdd00;
    font-weight: 700;
}

@media only screen and (max-width: 767px) {
    .nav-group-wrapper {
        display: none;
    }
}
/* ============ 恢复移动端导航栏（汉堡菜单+下拉列表） ============ */
/* 移动端汉堡按钮（默认隐藏，767px以下显示） */
.mobile-menu-btn {
    display: none;
    width: 35px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.2s;
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

/* 移动端导航列表（默认隐藏） */
.mobile-nav-list {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 170px;
    height: 100vh;
    background-color: #28a745;
    padding: 60px 20px 20px;
    z-index: 1000;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
}
.mobile-nav-list a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-list a.active {
    color: #ffdd00;
    font-weight: 700;
}

/* 767px以下显示汉堡按钮，隐藏PC端分组导航 */
@media only screen and (max-width: 767px) {
    .nav-group-wrapper {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block;
    }
    /* 移动端容器调整：让汉堡按钮靠右显示 */
    .navbar-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .navbar-logo {
        margin: 0 !important;
    }
}