:root {
            --theme-color: #3E0606;
            --theme-theme: #F4BD17;
            --theme-background: #f9f9f9;
            --theme-other_background: #ffffff;
        }
.qrcode-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.qrcode-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: modalopen 0.3s;
}

.qrcode-image {
    margin: 15px 0;
}

.qrcode-image img {
    max-width: 100%;
    height: auto;
}

.qrcode-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.qrcode-close:hover {
    color: #333;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

/* 确保headerBox固定定位并位于顶部 */
    #mainHeader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: #fff; /* 根据实际样式调整 */
        
    }
	/* 热搜弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: modalopen 0.3s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.modal-header .close {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-header .close:hover {
    color: #333;
}

.hot-search-list {
    max-height: 500px;
    overflow-y: auto;
}

.hot-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-item .ranking {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 4px;
    margin-right: 12px;
    font-size: 12px;
    color: #666;
}

.hot-item:nth-child(1) .ranking {
    background: #ff4d4f;
    color: white;
}

.hot-item:nth-child(2) .ranking {
    background: #fa8c16;
    color: white;
}

.hot-item:nth-child(3) .ranking {
    background: #faad14;
    color: white;
}

.hot-item .title {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.hot-item .title:hover {
    color: #1890ff;
}

.hot-item .hots {
    float: right;
    color: #ff4d4f;
    font-size: 12px;
    margin-left: 10px;
}

.loading, .error {
    text-align: center;
    padding: 20px;
    color: #999;
}