
.qw-form-area { padding: 12px 0; }
.qw-input-row { display: flex; gap: 8px; margin-bottom: 10px; }
.qw-url-input { flex: 1; }
.feature-card-btn.qw-btn-parse {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff; border: none; padding: 0 18px; border-radius: 8px;
    cursor: pointer; font-size: 0.9rem; white-space: nowrap;
    transition: all 0.3s ease; height: 40px;
}
.feature-card-btn.qw-btn-parse:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.qw-paste-row { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--text-gray); }
.qw-paste-btn {
    background: rgba(139, 92, 246, 0.1); color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.3); padding: 4px 12px;
    border-radius: 6px; cursor: pointer; font-size: 0.75rem;
    transition: all 0.2s ease;
}
.qw-paste-btn:hover { background: rgba(139, 92, 246, 0.2); }
.qw-tip { color: var(--text-gray); font-size: 0.75rem; }

.qw-loading { text-align: center; padding: 30px; color: var(--text-gray); }
.qw-spinner {
    width: 36px; height: 36px; border: 3px solid #ede9fe;
    border-top-color: #8b5cf6; border-radius: 50%;
    margin: 0 auto 12px; animation: qw-spin 0.8s linear infinite;
}
@keyframes qw-spin { to { transform: rotate(360deg); } }

.qw-error {
    background: #fef2f2; color: #dc2626; padding: 10px 14px;
    border-radius: 8px; font-size: 0.85rem; margin-top: 12px;
    border: 1px solid #fecaca;
}

.qw-result { margin-top: 16px; }
.qw-content-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.qw-content-header {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    padding: 16px; display: flex; align-items: center; gap: 12px;
}
.qw-type-badge {
    background: #7c3aed; color: #fff; padding: 4px 10px;
    border-radius: 12px; font-size: 0.7rem; font-weight: 500;
    display: inline-block; margin-right: 8px;
}
.qw-author-info { flex: 1; min-width: 0; }
.qw-author-name { font-weight: 600; font-size: 0.95rem; color: #1f2937; }
.qw-title-text {
    font-size: 0.9rem; color: #6b7280; margin-top: 2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.qw-content-body { padding: 16px; }
.qw-desc {
    background: #f9fafb; padding: 10px 12px; border-radius: 8px;
    font-size: 0.85rem; color: #4b5563; line-height: 1.7;
    margin-bottom: 14px; white-space: pre-wrap; word-break: break-all;
}

.qw-meta-info {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 12px; background: #f9fafb; border-radius: 8px;
    margin-bottom: 14px;
}
.qw-meta-item { display: flex; flex-direction: column; gap: 2px; }
.qw-meta-label { font-size: 0.7rem; color: #9ca3af; }
.qw-meta-value { font-size: 0.82rem; color: #374151; font-weight: 500; }

.qw-gallery-title {
    font-size: 0.9rem; font-weight: 600; color: #374151;
    margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.qw-gallery-title .count {
    background: #7c3aed; color: #fff; font-size: 0.7rem;
    padding: 2px 8px; border-radius: 10px;
}
.qw-image-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.qw-image-item {
    position: relative; aspect-ratio: 1; border-radius: 10px;
    overflow: hidden; background: #f3f4f6; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.qw-image-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s ease;
}
.qw-image-item:hover img { transform: scale(1.05); }
.qw-image-download {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(124, 58, 237, 0.85); color: #fff; border: none;
    width: 32px; height: 32px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; opacity: 0; transition: opacity 0.2s;
    font-size: 0.8rem; backdrop-filter: blur(4px);
}
.qw-image-item:hover .qw-image-download { opacity: 1; }

.qw-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.qw-action-btn {
    flex: 1; min-width: 120px; padding: 10px 14px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff; border: none; border-radius: 8px;
    cursor: pointer; font-size: 0.85rem; font-weight: 500;
    transition: all 0.2s ease; display: flex;
    align-items: center; justify-content: center; gap: 6px;
}
.qw-action-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4); }
.qw-action-btn.secondary {
    background: #fff; color: #7c3aed;
    border: 1px solid #8b5cf6;
}
.qw-action-btn.secondary:hover {
    background: #f5f3ff; box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.qw-video-container {
    margin-bottom: 14px; border-radius: 10px; overflow: hidden;
    background: #000; aspect-ratio: 16/9;
}
.qw-video-container video { width: 100%; height: 100%; }

