.juheshipin-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: var(--main-bg-color, #fff);
    border-radius: var(--main-radius, 8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.juheshipin-title {
    color: #282a2d;
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--main-border-color, rgba(130, 130, 130, 0.15));
}

.juheshipin-form {
    margin-bottom: 20px;
}

.juheshipin-form .form-group {
    margin-bottom: 15px;
}

.juheshipin-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #282a2d;
}

.juheshipin-form .form-control {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.875rem;
    color: #6d6e74;
    border: 1px solid #f1f3f6;
    background-color: #f1f3f6;
    border-radius: 4px;
    transition: border-color 0.3s, background-color 0.3s;
}

.juheshipin-form .form-control:focus {
    outline: none;
    border-color: #f1404b;
    background-color: #f1f3f6;
    box-shadow: 0 0 0 0.2rem rgba(241, 64, 76, 0.25);
}

.juheshipin-form .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.juheshipin-form .btn-primary {
    color: #fff;
    background-color: #f1404b;
    border-color: #f1404b;
}

.juheshipin-form .btn-primary:hover {
    color: #fff;
    background-color: #14171b;
    border-color: #14171b;
}

.juheshipin-result {
    margin-top: 20px;
    padding: 15px;
    background: var(--muted-border-color, rgba(88, 88, 88, 0.05));
    border-radius: var(--main-radius, 8px);
}

.juheshipin-result .result-item {
    margin-bottom: 15px;
}

.juheshipin-result .result-label {
    font-weight: 500;
    color: #282a2d;
    margin-bottom: 5px;
}

.juheshipin-result .result-value {
    color: #6d6e74;
}

.juheshipin-result .video-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.juheshipin-result .video-cover {
    flex: 0 0 200px;
    max-width: 200px;
}

.juheshipin-result .video-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.juheshipin-result .video-details {
    flex: 1;
    min-width: 200px;
}

.juheshipin-result .author-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.juheshipin-result .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;
}

.juheshipin-result .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.juheshipin-result .author-name {
    font-weight: 500;
    color: #282a2d;
}

.juheshipin-result .video-link {
    margin-top: 15px;
}

.juheshipin-result .video-link a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f1404b;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-right: 10px;
    margin-bottom: 10px;
}

.juheshipin-result .video-link a:hover {
    background-color: #14171b;
}

.juheshipin-result .error {
    color: #f1404b;
    font-weight: 500;
}

.juheshipin-result .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #6d6e74;
}

.juheshipin-platforms {
    margin: 15px 0;
    padding: 15px;
    background: var(--muted-border-color, rgba(88, 88, 88, 0.05));
    border-radius: var(--main-radius, 8px);
    font-size: 0.875rem;
    color: #6d6e74;
}

.juheshipin-platforms p {
    margin: 0;
    line-height: 1.5;
}

.juheshipin-result .loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f1f3f6;
    border-top: 2px solid #f1404b;
    border-radius: 50%;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 767.98px) {
    .juheshipin-container {
        padding: 15px;
    }
    
    .juheshipin-title {
        font-size: 1.125rem;
    }
    
    .juheshipin-result .video-info {
        flex-direction: column;
    }
    
    .juheshipin-result .video-cover {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .juheshipin-platforms {
        font-size: 0.75rem;
    }
}
