[v-cloak] {
    display: none !important;
}

.vp-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 标题区域 */
.vp-header {
    text-align: center;
    margin-bottom: 30px;
}

.vp-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.vp-subtitle {
    font-size: 15px;
    color: #909399;
    margin: 0;
}

/* 输入区域 */
.vp-input-area {
    margin-bottom: 30px;
}

.vp-input-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.vp-input {
    flex: 1;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
    line-height: 1.5;
}

.vp-input:focus {
    border-color: #007bf5;
}

.vp-btn-parse {
    flex-shrink: 0;
    width: 120px;
    height: 70px;
    border: none;
    border-radius: 8px;
    background: #007bf5;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.vp-btn-parse:hover {
    background: #0066cc;
}

.vp-btn-parse:disabled,
.vp-btn-parse.is-loading {
    background: #a0cfff;
    cursor: not-allowed;
}

/* 次数信息 */
.vp-quota-info {
    margin-top: 12px;
    padding: 0 4px;
    font-size: 13px;
    color: #909399;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vp-vip-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f5a623, #f7c948);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.vp-no-quota {
    color: #f56c6c;
}

.vp-login-tip {
    color: #007bf5;
}

/* 解析结果 */
.vp-result {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 20px;
}

.vp-result h3 {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebeef5;
}

/* 视频播放器 */
.vp-video-player {
    margin-bottom: 20px;
}

.vp-video-player video {
    width: 100%;
    border-radius: 8px;
    background: #000;
    max-height: 450px;
}

/* 信息区域 */
.vp-info-section {
    margin-bottom: 16px;
}

.vp-info-item {
    margin-bottom: 12px;
}

.vp-info-item label {
    display: block;
    font-size: 12px;
    color: #909399;
    margin-bottom: 4px;
    font-weight: 600;
}

.vp-info-item p {
    margin: 0;
    font-size: 14px;
    color: #303133;
    line-height: 1.6;
}

/* 封面图 */
.vp-cover-img {
    margin-bottom: 20px;
}

.vp-cover-img img {
    max-width: 100%;
    border-radius: 8px;
}

/* 图集 */
.vp-images-section {
    margin-bottom: 20px;
}

.vp-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.vp-image-item img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* 下载按钮 */
.vp-download-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.vp-btn-download {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.vp-btn-primary {
    background: #007bf5;
    color: #fff !important;
}

.vp-btn-primary:hover {
    background: #0066cc;
    color: #fff !important;
    text-decoration: none;
}

.vp-btn-secondary {
    background: #f0f2f5;
    color: #606266 !important;
}

.vp-btn-secondary:hover {
    background: #e4e7ed;
    color: #303133 !important;
    text-decoration: none;
}

/* 错误提示 */
.vp-error {
    background: #fef0f0;
    border: 1px solid #fde2e2;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
}

.vp-error p {
    margin: 0;
    color: #f56c6c;
    font-size: 14px;
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .vp-container {
        padding: 15px;
    }

    .vp-title {
        font-size: 22px;
    }

    .vp-subtitle {
        font-size: 13px;
    }

    .vp-input-wrapper {
        flex-direction: column;
        padding: 12px;
    }

    .vp-btn-parse {
        width: 100%;
        height: 44px;
    }

    .vp-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vp-result {
        padding: 16px;
    }

    .vp-download-actions {
        flex-direction: column;
    }

    .vp-btn-download {
        text-align: center;
    }
}
