body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
/*
    display: flex;
    justify-content: center;
    align-items: flex-start;
*/
/*    height: 100vh;*/
    background-color: #f5f5f5;
}

.container {
    text-align: center; 
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
/*    min-height: 700px; */
    padding: 80px 0 ;
}
.othercont .search-wrapper {
    width: 100%;
}
.othercont { 
    padding: 150px 0 30px;
    text-align: left; 
    margin: 0 auto
}
.showcont{
    margin-top: -30px;
    padding: 0!important;
} 
.indexlogo {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.indexlogo img {
    width: auto;
    height: 60px; 
}
.nodatas img{
     
    height: 160px;
}
.time-display {
    font-size: 16px;
    color: #888;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: center;
}
/*导航列表*/
.title-text[data-v-0cbc9988] {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    margin-top: -40px;
}
.title-text>img[data-v-0cbc9988] {
    height: 54px;
}
.title-text .t[data-v-0cbc9988] {
    color: #212121;
    font-size: 18px;
    line-height: 18px;
    margin-top: 24px;
    position: relative;
}
/*导航列表 end*/
.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
 

.search-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
    margin-top: 2px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

#search-input {
    height: 50px;
    padding: 0 60px 0 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    width: 100%;
    outline: none;
    background-color: #fff;
    box-sizing: border-box;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#search-input:focus {
    border-color: #1e90ff;
    box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.2);
}

#search-input::placeholder {
    color: #999;
}

#search-button {
    height: 50px;
    padding: 0 20px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #1e90ff, #0077cc);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    margin-left: -1px;
}

#search-button:hover {
    background: linear-gradient(135deg, #0077cc, #1e90ff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-container {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.toggle-label {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.toggle-label.active {
    color: #1e90ff;
}

.toggle-button {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 16px;
}

.toggle-button input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.2s;
    border-radius: 16px;
}

.slider::before {
    position: absolute;
    content: '';
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #1e90ff;
}

input:checked + .slider::before {
    transform: translateX(24px);
}

.suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    overflow-y: hidden;
    max-height: none;
}

.suggestions div {
    padding: 6px 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    white-space: normal;
    text-align: left;
    word-break: break-word;
}

.suggestions div:hover {
    background-color: #f0f0f0;
}

.suggestions div::before {
    content: attr(data-index);
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-right: 10px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.suggestions div[data-index="1"]::before { color: #ff4757; }
.suggestions div[data-index="2"]::before { color: #ff6b81; }
.suggestions div[data-index="3"]::before { color: #ff7f50; }
.suggestions div[data-index="4"]::before { color: #ffa502; }
.suggestions div[data-index="5"]::before { color: #ffb142; }
.suggestions div[data-index="6"]::before { color: #ffcc00; }
.suggestions div[data-index="7"]::before { color: #7bed9f; }
.suggestions div[data-index="8"]::before { color: #70a1ff; }
.suggestions div[data-index="9"]::before { color: #5352ed; }
.suggestions div[data-index="10"]::before { color: #1e90ff; }

.custom-sites {
    margin-top: 15px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.custom-sites .sitetool{ 
    text-align: left;
    margin-bottom: 10px;
}
.custom-sites .siteslist{     
    margin-bottom: 80px;
    margin-left: -5px;
    margin-right:-5px ;
}
.custom-sites .sitetool button,.sitetool .siterbtn {
    margin-bottom: 10px;
    padding: 6px 0;
    font-size: 12px;
    border-radius: 8px;
    background: none;
    color: #9195a3;;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    height: 36px;
    font: 14px / 24px Arial, sans-serif;
    margin-right: 24px;
}
.sitetool .rightbtn{ 
    float: right; 
}
.sitetool .siterbtn{
    display: none;
    color: #9195a3;
    margin-right: 0;
    font-size: 13px;
    position: relative;
    top: 1px;
}
 
.custom-sites .sitetool button:hover,.sitetool .siterbtn:hover{ 
 
    color: var(--theme-hover);
}
#hot-sites-list{
    overflow: hidden;
}
#hot-sites-list ul{ 
    margin: 0 auto;
    overflow: hidden;
    display: flex;;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
#hot-sites-list a{
    color: var(--theme-color);
}
#hot-sites-list a:hover{
    color: var(--theme-hover);
}
#hot-sites-list li,.tophot .topcont li{
    float: left;
    width: 50%;
    box-sizing: border-box;
    text-align: left;
    font-size: 14px;
    position: relative;
    padding-left: 2px;
    counter-increment: section; /* 增加计数器 */
}
#hot-sites-list li:before,.tophot .topcont li:before{
    position: absolute;
     content: counter(section) ". "; /* 显示计数器的值 */
    left: 4px;
    top: 12px;
    color: #9195a3
}
#hot-sites-list li:nth-of-type(1)::before,.tophot .topcont li:nth-of-type(1)::before { 
    color: #fe2d46;
}
#hot-sites-list li:nth-of-type(2)::before,.tophot .topcont li:nth-of-type(2)::before { 
    color: #f60;
}
#hot-sites-list li:nth-of-type(3)::before,.tophot .topcont li:nth-of-type(3)::before { 
    color: #faa90e;
}
#hot-sites-list li a{
    display: block;
    padding: 10px 2%;
    margin-left: 10px;
}
.new_search_guide_bub {
    margin-top: 15px;
    font-size: 16px;
    line-height: 16px;
    display: flex;
    justify-content: center;
}
.new_search_guide_bub_container_left .four_point_star {
    position: absolute;
    top: -1px;
    right: 0;
}
.new_search_guide_bub_container {
    display: flex;
    align-items: center;
    padding: 8px;
    background: linear-gradient(0deg, rgba(51, 119, 255, .05), rgba(51, 119, 255, .05)), linear-gradient(90deg, rgba(229, 231, 255, .06) -4.77%, rgba(212, 222, 255, .3) 88.06%);
    background-color: #fff;
    border-radius: 29px;
}
.new_search_guide_bub_container_left .search_icon {
    width: 16px;
    height: 16px;
}.new_search_guide_bub_container_left .four_point_star {
    position: absolute;
    top: -1px;
    right: 0;
}.new_search_guide_bub_container_left {
    margin-right: 6px;
    position: relative;
    margin-left: 3px;
    margin-bottom: -1px;
}
.new_search_guide_bub_container_right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    margin-left: 6px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(62, 75, 255, .1) 0, rgba(0, 13, 255, .1) 100%);
    color: #000;
}
.new_search_guide_bub_container_center {
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    height: 24px;
    letter-spacing: .06em;
    text-align: left;
    background: #000;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}
.custom-sites .sitetool .site-active{
    color: #333; 
    position: relative;
}

.custom-sites .sitetool .site-active:after{    
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 100%;
    background: #4e71f2;
    border-radius: 4px;
}
.custom-sites-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    display: none;
}
.customshow{
    display: flex;
}
#hot-sites-list,.sitetool #more-site-btn{
    display: block;
}
.customhide{
    display: none!important;
}
.custom-site {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    width: calc(25% - 10px);
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.custom-site:hover {
    border-color: #1e90ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-site img {
    width: 30px;
    height: 30px;
    margin-right: 6px;
    border-radius: 4px;
}

.custom-site a {
    flex: 1;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 7em;
    text-align: left;
    font-size: 14px;
}

.custom-site .edit-icon,
.custom-site .delete-icon {
    position: absolute;
    cursor: pointer;
    font-size: 12px;
    color: #999;
    transition: color 0.2s ease;
    opacity: 0; /* 默认隐藏 */
}

.custom-site .edit-icon {
    top: 5px;
    right: 5px;
}

.custom-site .delete-icon {
    bottom: 5px;
    right: 5px;
}
.engine-selector { 
    display: none!important;
}

/* 鼠标悬停时显示编辑和删除按钮 */
.custom-site:hover .edit-icon,
.custom-site:hover .delete-icon {
    opacity: 1; /* 显示按钮 */
}

.custom-site .edit-icon:hover::after,
.custom-site .delete-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.custom-site .edit-icon:hover,
.custom-site .delete-icon:hover {
    color: #1e90ff;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    position: relative;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content .close,.modal-content .regclose {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.modal-content .close:hover,.modal-content .regclose:hover {
    color: #1e90ff;
}

.modal-content h3 {
    margin-bottom: 5px;
    text-align: center;
    color: #333;
    margin-top: 0;
}

.modal-content .modal-tip {
    font-size: 12px;
    color: #666;
    text-align: left;
    margin-bottom: 10px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-content label {
    display: flex;
    align-items: center;
    color: #333;
    margin-bottom: 2px;
}

.modal-content label .required {
    color: red;
    margin-left: 4px;
}

.modal-content input {
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 5px;
}

.modal-content input:focus {
    border-color: #1e90ff;
    box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.2);
}

.modal-content button {
    padding: 8px;
    background: linear-gradient(135deg, #1e90ff, #0077cc);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-content button:hover {
    background: linear-gradient(135deg, #0077cc, #1e90ff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
    .engine-selector {
        overflow-x: hidden;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .indexlogo{
        margin-top: 50px;
    }
    .indexlogo img{
        max-width: 80%;
        height: auto;
    }
    .custom-site {
        width: calc(50% - 10px);
    }
    .custom-sites{
        padding: 0 15px;
    }
    #hot-sites-list li{
        width: 100%;
        float: none; 
        box-sizing: border-box;
        margin-left: 5px;
        margin-right: 5px;
    }
    .custom-sites .sitetool button{
        margin-right: 10px;
    }
    .custom-sites .sitetool button, .sitetool .siterbtn{
            font: 13px / 24px Arial, sans-serif;
    }
    
    .search-container {
        padding: 0;
    }

    .search-wrapper {
        margin-top: 2px;
    }
}