
/* =====这个css由ai生成===== */
body{     background-color: rgb(97, 97, 97);}
 /* ===== 搜索结果列表 ===== */
        .suggestions {
            margin-top: 12px;
            background: rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 20px;
            padding: 8px 0;
            border: 1px solid rgba(255, 255, 255, 0.06);
            max-height: 320px;
            overflow-y: auto;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.3s ease;
            list-style: none;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
             background-color: rgb(97, 97, 97);
    width: 100%;
    height: 100%;
    padding: 17%;
    border-radius: 0px;
    /* 圆角 */
    /* 阴影 */
    text-align: center;
        }

        .suggestions::-webkit-scrollbar {
            width: 4px;
                text-align: center;
        }
        .suggestions::-webkit-scrollbar-track {
            background: transparent;
        }
        .suggestions::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
        }

        .suggestions.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .suggestions .no-result {
            padding: 16px 24px;
            color: rgba(255, 255, 255, 0.3);
            font-size: 0.95rem;
            text-align: center;
            font-style: italic;
        }

        .suggestions li {
            padding: 12px 24px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 14px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .suggestions li:last-child {
            border-bottom: none;
        }

        .suggestions li:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #f1f5f9;
            padding-left: 28px;
        }

        .suggestions li i {
            color: rgba(255, 255, 255, 0.2);
            font-size: 0.85rem;
            width: 20px;
            text-align: center;
        }

        .suggestions li mark {
            background: rgba(99, 102, 241, 0.3);
            color: #c7d2fe;
            padding: 0 2px;
            border-radius: 4px;
            font-weight: 500;
        }

        .suggestions li .jump-hint {
            margin-left: auto;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
            padding: 2px 10px;
            border-radius: 20px;
            transition: all 0.2s ease;
        }

        .suggestions li:hover .jump-hint {
            color: rgba(255, 255, 255, 0.5);
            background: rgba(255, 255, 255, 0.1);
        }

        .result-stats {
            text-align: right;
            color: rgba(255, 255, 255, 0.2);
            font-size: 0.75rem;
            margin-top: 6px;
            padding: 0 12px;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            min-height: 20px;
        }

        .result-stats.active {
            color: rgba(255, 255, 255, 0.5);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 520px) {
            .search-box {
                padding: 4px 4px 4px 16px;
                border-radius: 50px;
            }
            .search-input {
                padding: 12px 0;
                font-size: 0.95rem;
            }
            .search-btn {
                padding: 10px 16px;
                font-size: 0.85rem;
                gap: 4px;
            }
            .search-btn span {
                display: none;
            }
            .search-btn i {
                font-size: 1.1rem;
            }
            .search-icon {
                font-size: 1rem;
                margin-right: 8px;
            }
            .suggestions li {
                padding: 10px 160px;
                font-size: 0.85rem;
            }
            .suggestions li .jump-hint {
                display: none;
            }
        }


        .search-icon {
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.2rem;
            margin-right: 12px;
            transition: color 0.3s ease;
            flex-shrink: 0;
                text-align: center;
        }

        .search-box:focus-within .search-icon {
            color: #c7c7c7;
             text-align: center;
        }

        .search-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            padding: 16px 0;
            font-size: 1.1rem;
            color: #f1f5f9;
            font-weight: 400;
            letter-spacing: 0.3px;
            min-width: 0;
                text-align: center;
        }


  .clear-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.3);
            font-size: 1rem;
            cursor: pointer;
            padding: 8px 8px 8px 4px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.25s ease;
            flex-shrink: 0;
        }

