.vfe-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 1rem;
}

.vfe-drop {
    border: 2px dashed #b6c2cc;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.vfe-drop.vfe-drag {
    border-color: #2271b1;
    background: #eef5fb;
}

.vfe-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.vfe-sub {
    margin: 0 0 1.25rem;
    color: #4b5563;
    line-height: 1.55;
}

.vfe-hint {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.vfe-video {
    width: 100%;
    max-height: 420px;
    border-radius: 10px;
    background: #000;
    display: block;
}

.vfe-meta {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #6b7280;
    word-break: break-all;
}

.vfe-panel {
    margin-top: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    background: #fff;
}

.vfe-panel-title {
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.vfe-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.vfe-field {
    min-width: 140px;
    flex: 1 1 140px;
}

.vfe-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.vfe-select {
    width: 100%;
    padding: 0.55rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    box-sizing: border-box;
}

.vfe-range {
    width: 100%;
    accent-color: #2271b1;
}

.vfe-btn {
    padding: 0.6rem 1.25rem;
    border: 1px solid #888;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.vfe-btn:hover {
    background: #f0f0f0;
}

.vfe-btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.vfe-btn-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

.vfe-btn-primary:hover {
    background: #1b5d92;
}

.vfe-btn-small {
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
}

.vfe-btn-ghost {
    border-color: #d1d5db;
    color: #4b5563;
}

.vfe-progress {
    margin-top: 1rem;
    height: 10px;
    border-radius: 5px;
    background: #e5e7eb;
    overflow: hidden;
}

.vfe-bar {
    height: 100%;
    width: 0%;
    background: #2271b1;
    border-radius: 5px;
    transition: width .2s ease;
}

.vfe-msg {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: #166534;
}

.vfe-error {
    margin-top: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c6c2;
}

.vfe-error[hidden],
.vfe-msg[hidden],
.vfe-progress[hidden] {
    display: none;
}

.vfe-gallery-wrap {
    margin-top: 1.5rem;
}

.vfe-gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vfe-gallery-head .vfe-panel-title {
    margin: 0;
}

.vfe-gallery-head .vfe-row {
    margin-top: 0;
}

.vfe-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.vfe-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.vfe-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #000;
}

.vfe-cap {
    margin: 0.5rem 0.6rem 0.25rem;
    font-size: 0.78rem;
    color: #6b7280;
    font-variant-numeric: tabular-nums;
}

.vfe-card-row {
    display: flex;
    gap: 0.5rem;
    padding: 0 0.6rem 0.6rem;
}

@media (max-width: 560px) {
    .vfe-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}
