  /* 保持原有样式不变 */
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
        html{
            background: #f9f2eb;
        }
        body { background: #f9f2eb; color: #333; line-height: 1.6; }
        .container { max-width: 750px; margin: 0 auto; padding: 2rem 1rem; }
        
        


.flex {
    display: flex;
    flex-flow: row inwrap;
    justify-content: flex-start
}

.flex.spb {
    justify-content: space-between
}

.head_bg {
    width: 100%;
    height: 107px;
    background: #b73422;
    box-shadow: 0 5px 5px -5px #2d2d2d;
    display: flex; /* 新增：使用flex布局 */
    align-items: center; /* 垂直居中 */
}

.logo_nav {
    margin: auto;
    padding: 0 30px
}

.logo_nav>a {
    display: flex;
    align-items: center;
    height: 100%; /* 新增：让链接占满整个头部高度 */
}
.logo_nav a img {
    display: block
}



.hmb_banner {
    width: 100%;
    background: #f4ab9a;
    display: block;
    margin: auto;
    overflow: hidden
}

.hmb_banner img {
    display: block;
    margin: auto
}

.footer_warp {
    width: 100%;
    height: 1.5rem;
    margin-top: .5rem;
    /*font-size: .28rem;*/
    text-align: center;
    line-height: 1.03rem
}

.my_modal_bg {
    position: fixed;
    background: #000;
    background: rgba(0,0,0,.8);
    z-index: 100;
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9999
}

.hmb_banner .banner_m {
    width: 100%;
    display: block
}

.hmb_banner .banner_pc {
    display: none
}

@media screen and (min-width: 1200px) {

    .logo_nav {
        width: 1079px;
        padding: 0
    }

    .hmb_banner .banner_m {
        display: none
    }

    .hmb_banner .banner_pc {
        display: block
    }
}

@media screen and (min-width: 1200px) {
    .footer_warp {
        height:2.8rem;
        line-height: 2rem;
        /*font-size: .32rem*/
    }
}

@media screen and (orientation: portrait) {
    .logo_nav {
        width:100%;
        height: 100%;
        padding: 0 20px;
        box-sizing: border-box
    }

    .hmb_nav {
        height: 100%;
        display: flex;
        align-items: center
    }

    .hmb_nav a {
        display: block;
        font-size: .3rem;
        border: 0;
        padding-right: 0
    }

    .logo_nav a img {
        width: 18rem
    }

    .head_bg {
        height: 60px;
        background-size: 100% auto
    }
}


        h1 { font-size: 2rem; font-weight: 700; color: #1e293b; text-align: center; margin-bottom: 0.5rem; }
        .subtitle { color: #64748b; text-align: center; margin-bottom: 2rem; }

        .form-container {
            margin-bottom: 2rem;
            background-color: white;
            background-image: url(../img/m-bz-formBg.png);
            background-size: 100% 100%;
            background-position: center;
            padding: 15px 15px 15px 15px;
            border: 1px solid #d5a17c;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            max-width: 50rem;
            
        }
        .form-group { margin-bottom: 0.8rem; }
        label { font-weight: 500; margin-bottom: 0.3rem; color: #4b5563; font-size: 1.1rem; }
        label .required { color: #dc2626; margin-left: 4px; }
        input, select {
            width: 100%; padding: 0.6rem; border: 1px solid #d1d5db;
            border-radius: 4px;  transition: border-color 0.2s;
        }
        input:focus, select:focus {
            outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
        }

        .force-row {
            display: flex;
            gap: 0.8rem;
            margin-bottom: 0.1rem;
            overflow-x: auto;
            padding-bottom: 0.1rem;
        }
        .force-col {
            flex: 1;
            min-width: 120px;
        }
        .force-col.small {
            min-width: 100px;
        }

        .wuxing-selects-container {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .custom-select {
            position: relative;
            width: 100%;
            font-size: 14px;
            user-select: none;
        }

        .selected {
            background-color: #fff;
            border: 1px solid #ccc;
            padding: 10px 11px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 4px;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .selected:hover {
            border-color: #999;
        }

        .selected-content {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .options {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 8px;
            margin-top: 4px;
            z-index: 100;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            display: none;
            overflow: hidden;
            animation: fadeIn 0.2s ease;
        }

        .option {
            padding: 8px 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .option:hover {
            background: #f2f2f2;
        }

        .option.active {
            background: #e6f3ff;
            font-weight: bold;
        }

        .option img,
        .selected-content img {
            width: 24px;
            height: 24px;
            object-fit: contain;
        }

        .arrow {
            font-size: 12px;
            transition: transform 0.2s ease;
        }
        .arrow.open {
            transform: rotate(180deg);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-4px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .filter-col {
            display: flex;
            align-items: center;
            padding: 0.8rem;
            border-radius: 6px;
            flex: 2;
            min-width: 200px;
        }
        .filter-col input {
            width: auto;
            margin-right: 0.75rem;
        }

        button {
            width: 100%; padding: 0.8rem; background: #795548; color: white;
            border: none; border-radius: 7px; font-size: 1rem; font-weight: 600;
            cursor: pointer; transition: background 0.2s;
        }
        button:hover { background: #a1240e; }
        button:disabled {
            background: #cccccc;
            cursor: not-allowed;
            color: #666666;
        }

        .query-limit {
            text-align: center;
            margin-top: 0.8rem;
            font-size: 0.85rem;
            color: #64748b;
        }
        .query-limit.exceeded {
            color: #dc2626;
            font-weight: 500;
        }

        .result {
            background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 0.1rem; margin-top: 2rem; display: none;
        }
        .result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.1rem; margin-left: 0.4rem;}
        .result-title { font-size: 1.0rem; font-weight: 600; margin-left: 0.4rem;}
        .clear-btn, .export-btn {
            background: none; color: #64748b; padding: 0.5rem; 
            width: auto;
            margin-left: 0.5rem;
        }
        .clear-btn:hover, .export-btn:hover { background: none; color: #1e293b; }
        .result-info { 
            color: #64748b; 
            margin-bottom: 1rem; 
            font-size: 0.85rem;
            line-height: 1.4;
            padding: 0 0.9rem;
        }
        
        /* 新增八字信息样式 */
        .bazi-info {
            background-color: #f0f9ff;
            border-left: 3px solid #3b82f6;
            padding: 0.8rem;
            margin: 1rem 0;
            border-radius: 4px;
            font-size: 0.85rem;
        }
        .bazi-title {
            font-weight: 600;
            color: #1e40af;
            margin-bottom: 0.5rem;
            
        }
        .bazi-row {
            margin-bottom: 0.3rem;
        }
        .bazi-label {
            color: #3b82f6;
            font-weight: 500;
            display: inline-block;
            width: 70px;
        }

        @media (max-width: 360px) {
            .result-info {
                font-size: 0.8rem;
                margin-bottom: 0.8rem;
                margin-left: 0.4rem;
            }
            .bazi-info {
                font-size: 0.8rem;
                padding: 0.6rem;
            }
            .bazi-label {
                width: 60px;
            }
        }
        .error { color: #dc2626; padding: 1rem; text-align: center; display: none; }
        .no-results { text-align: center; padding: 2rem; color: #64748b; display: none; }

        .name-tables-container {
            margin-top: 1rem;
            overflow-x: hidden;
        }
        .name-table-wrapper {
            width: 100%;
        }
        .name-table { 
            width: 100%; 
            border-collapse: collapse;
            table-layout: fixed;
        }
        .name-table th, .name-table td {
            padding: 0.6rem 0.2rem;
            text-align: center;
            border-bottom: 1px solid #e5e7eb;
            
        }
        .name-table th {
            font-size: 0.85rem; color: #64748b; font-weight: 600;
            background: #f9fafb;
            width: 33.333%;
        }
        .name-cell {
            color: #3b82f6;
            cursor: pointer;
            position: relative;
            transition: all 0.2s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .name-cell:hover {
            color: #2563eb;
            text-decoration: underline;
        }
        .score {
            display: inline-block;
            color: #15803d;
            font-weight: 600;
            margin-left: 4px;
            cursor: pointer;
            text-decoration: underline;
        }
        .score:hover {
            color: #059669;
        }

        .loading { text-align: center; padding: 1rem; color: #64748b; }
        .pagination {
            display: flex !important;
            justify-content: center !important;
            align-items: center;
            gap: 0.3rem;
            margin: 1.5rem auto 0.8rem;
            padding: 0.5rem 0;
            width: 100%;
            max-width: 750px;
            box-sizing: border-box;
        }

        .pagination-btn {
            padding: 0.3rem 0.7rem;
            background: #f1f5f9;
            color: #333;
            border: none;
            border-radius: 4px;
            width: auto;
            font-size: 0.8rem;
            transition: all 0.2s ease;
        }

        .pagination-btn:hover {
            background: #e2e8f0;
        }

        .pagination-btn.active {
            background: #3b82f6;
            color: white;
        }

        .pagination-btn:disabled {
            background: #f8fafc;
            color: #94a3b8;
            cursor: not-allowed;
        }

        #pageInfo {
            font-size: 0.8rem;
            color: #64748b;
            padding: 0 0.2rem;
        }

        @media (max-width: 360px) {
            .pagination {
                gap: 0.2rem;
                max-width: 95%;
            }
            .pagination-btn {
                padding: 0.25rem 0.6rem;
                font-size: 0.75rem;
            }
            #pageInfo {
                font-size: 0.75rem;
            }
        }

        @media (max-width: 360px) {
            .force-col {
                min-width: 100px;
            }
            .force-col.small {
                min-width: 80px;
            }
            .filter-col {
                min-width: 160px;
                font-size: 0.85rem;
            }
            label {
                font-size: 0.8rem;
            }
            .name-table th, .name-table td {
                font-size: 0.8rem;
                padding: 0.5rem 0.1rem;
            }
        }

        .info-box {
            background-color: #fff8e1;
            border-left: 4px solid #ffc107;
            padding: 1rem;
            margin-top: 2rem;
            border-radius: 4px;
            
            color: #5d4037;
        }
        .info-box h3 {
            color: #e65100;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }
        .info-box ul {
            margin-left: 1.5rem;
            margin-top: 0.5rem;
        }
        .info-box li {
            margin-bottom: 0.3rem;
        }

        /* 调试信息样式 */
        .debug-info {
            background: #f0f8ff;
            border: 1px solid #add8e6;
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 4px;
            font-size: 0.8rem;
            color: #00008b;
        }

        /* 复制提示样式 */
        .copy-tooltip {
            position: absolute;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            margin-left: 8px;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
        }
        .copy-tooltip.show {
            opacity: 1;
        }
 