.kuaishouji-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kuaishouji-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.kuaishouji-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.kuaishouji-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.kuaishouji-tab-btn:hover {
    color: #333;
}

.kuaishouji-tab-btn.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
}

.kuaishouji-tab-content {
    min-height: 400px;
}

.kuaishouji-tab-panel {
    display: none;
}

.kuaishouji-tab-panel.active {
    display: block;
}

.kuaishouji-section {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    height: auto;
    min-height: 40px;
}

/* 视频样式优化 */
.kuaishouji-video video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 4px;
    object-fit: contain;
}

.kuaishouji-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.kuaishouji-btn:hover {
    background-color: #005a8b;
}

.kuaishouji-result {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.kuaishouji-error {
    padding: 15px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* 快手热榜样式 */
.kuaishouji-hotlist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kuaishouji-hotlist-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.kuaishouji-hotlist-item:hover {
    background-color: #f0f0f0;
}

.hotlist-item-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.hotlist-item-content .rank {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    margin-right: 15px;
    border-radius: 4px;
    color: white;
}

.hotlist-item-content .rank:nth-child(1) {
    background-color: #ff4757;
}

.hotlist-item-content .rank:nth-child(2) {
    background-color: #ff6b81;
}

.hotlist-item-content .rank:nth-child(3) {
    background-color: #ff8787;
}

.hotlist-item-content .rank:nth-child(n+4) {
    background-color: #95a5a6;
}

.hotlist-item-info {
    flex: 1;
}

.hotlist-item-info .title {
    font-weight: 500;
    margin-bottom: 5px;
}

.hotlist-item-info .title a {
    color: #333;
    text-decoration: none;
}

.hotlist-item-info .title a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.hotlist-item-info .heat {
    font-size: 12px;
    color: #999;
}

/* 视频样式 */
.kuaishouji-video {
    margin-bottom: 20px;
}

.kuaishouji-video video {
    max-width: 100%;
    border-radius: 4px;
}

.kuaishouji-video .video-info {
    margin-top: 10px;
    font-size: 14px;
}

.kuaishouji-video .video-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.kuaishouji-video .video-type {
    color: #999;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .kuaishouji-container {
        padding: 10px;
    }
    
    .kuaishouji-tabs {
        flex-direction: column;
    }
    
    .kuaishouji-tab-btn {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eee;
        border-right: none;
    }
    
    .kuaishouji-tab-btn.active {
        border-bottom-color: #0073aa;
    }
}
