/* Video member center — stores / orders / detail (uses site-tokens.css) */

.video-member-page .panel-default {
    border-color: var(--site-border);
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow);
}

.video-member-page .panel-body {
    padding: 22px 24px 24px;
}

.video-member-page .page-title,
.video-member-page h2.page-header {
    margin: 0 0 4px;
    font-size: var(--site-title-size);
    font-weight: 600;
    color: var(--site-text);
    border-bottom: 0;
    padding-bottom: 0;
}

.video-member-page .page-subtitle {
    margin: 0 0 20px;
    color: var(--site-text-muted);
    font-size: var(--site-subtitle-size);
}

.video-member-page .page-header-actions {
    margin-bottom: 18px;
}

.video-member-page .page-header-actions .btn {
    border-radius: 8px;
}

.member-id-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: var(--site-radius);
    border: 1px solid var(--site-accent-border);
    background: linear-gradient(135deg, var(--site-accent-soft) 0%, var(--site-surface) 100%);
}

.member-id-card .id-label {
    font-size: var(--site-subtitle-size);
    color: var(--site-accent-dark);
    margin-bottom: 4px;
}

.member-id-card .id-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.member-id-card .id-value {
    display: inline-block;
    min-width: 48px;
    padding: 4px 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--site-accent);
    background: var(--site-surface);
    border: 1px solid var(--site-accent-border);
    border-radius: var(--site-radius-sm);
    letter-spacing: 0.5px;
}

.member-id-card .id-tip {
    flex: 1 1 280px;
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #78716c;
}

.stores-industry-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fafbfc;
}

.stores-industry-filter .form-group {
    margin: 0;
    flex: 1 1 200px;
}

.stores-industry-filter label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--site-text-muted);
    font-weight: 600;
}

.stores-industry-filter select {
    width: 100%;
    max-width: 100%;
}

.stores-industry-filter-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.stores-industry-filter-actions .btn-link {
    padding-left: 4px;
    padding-right: 4px;
}

.video-modes-page .video-modes-meta,
.video-modes-page .video-modes-desc {
    margin-bottom: 10px;
    line-height: 1.6;
}

.video-modes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.video-mode-card {
    height: 100%;
    margin-bottom: 0;
    border-radius: var(--site-radius);
    overflow: hidden;
}

.video-mode-card .panel-body {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 18px 16px 16px;
}

.video-mode-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--site-text);
}

.video-mode-title .fa {
    margin-right: 6px;
    color: var(--site-accent);
}

.video-mode-description {
    flex: 1 1 auto;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 13px;
}

.video-mode-steps {
    font-size: 12px;
    margin-bottom: 12px;
}

.video-mode-enter {
    margin-top: auto;
    border-radius: 8px;
}

.video-modes-empty {
    margin-top: 16px;
    margin-bottom: 0;
}

.video-modes-back {
    margin-top: 16px;
    margin-bottom: 0;
}

.store-card {
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--site-shadow-sm);
    transition: box-shadow 0.2s ease;
}

.store-card:hover {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.store-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f3f4f6;
}

.store-card-name {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.store-card-name .icon {
    width: 40px;
    height: 40px;
    border-radius: var(--site-radius-sm);
    background: linear-gradient(135deg, var(--site-primary-light) 0%, var(--site-primary) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.store-card-name h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.store-status-badge.is-active {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.store-status-badge.is-expired {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.store-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 0 18px 14px;
}

.store-stat {
    padding: 12px 8px 0;
    text-align: center;
}

.store-stat .label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.store-stat .value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
    word-break: break-word;
}

.store-stat .value.is-highlight {
    font-size: 22px;
    color: #0891b2;
}

.store-stat .value.is-danger {
    color: #dc2626;
}

.store-stat .value.is-success {
    color: #059669;
}

.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px 16px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.store-actions .btn {
    border-radius: 6px;
    font-size: 13px;
    padding: 6px 14px;
}

.store-actions .btn-primary-action {
    font-weight: 600;
}

.store-actions .btn-films {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    border-color: #0d9488;
    color: #fff;
}

.store-actions .btn-films:hover,
.store-actions .btn-films:focus {
    color: #fff;
    background: linear-gradient(135deg, #115e59 0%, #0d9488 100%);
}

.stores-footnote {
    margin-top: 8px;
    padding: 12px 14px;
    font-size: 12px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #eef0f3;
}

.stores-empty {
    text-align: center;
    padding: 48px 24px;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    background: #fafafa;
}

.stores-empty .icon {
    font-size: 42px;
    color: #d1d5db;
    margin-bottom: 12px;
}

.stores-empty h4 {
    margin: 0 0 8px;
    color: #374151;
}

.stores-empty p {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
}

/* Orders list */
.video-orders-toolbar {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.video-orders-table {
    margin-bottom: 0;
}

.video-orders-table thead th {
    background: #f8fafc;
    border-bottom-width: 1px;
    font-size: 13px;
    color: #475569;
    white-space: nowrap;
}

.video-orders-table tbody td {
    vertical-align: middle !important;
    font-size: 13px;
}

.video-orders-table .col-cover {
    width: 56px;
}

.video-order-cover-cell {
    width: 56px;
    padding: 6px 8px !important;
    text-align: center;
}

.video-order-cover-link {
    display: inline-block;
    line-height: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    max-width: 40px;
}

.video-order-cover-thumb {
    display: block;
    width: 40px !important;
    max-width: 40px !important;
    height: 53px !important;
    max-height: 53px !important;
    object-fit: cover;
}

.video-order-cover-empty,
.video-order-cover-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 48px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 12px;
    border: 1px dashed #cbd5e1;
}

.video-order-cover-pending {
    color: #64748b;
    font-weight: 600;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.order-status-badge.is-queued {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.order-status-badge.is-processing {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.order-status-badge.is-completed {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.order-status-badge.is-failed {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.order-status-badge.is-default {
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.video-order-actions .btn {
    border-radius: 6px;
    margin-bottom: 4px;
}

.video-empty-alert {
    border-radius: 10px;
    border-color: #bae6fd;
    background: #f0f9ff;
    color: #0369a1;
}

/* Order detail */
.video-detail-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.video-detail-summary-main {
    flex: 1 1 240px;
    min-width: 0;
}

.video-detail-community {
    margin: 8px 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.video-detail-meta-line {
    margin: 0 0 4px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.video-detail-meta-line.is-muted {
    color: #94a3b8;
    font-size: 12px;
}

.video-detail-progress-hint {
    flex: 0 0 auto;
    max-width: 220px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1.55;
}

.video-detail-delivery-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 45%, #eff6ff 100%);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.video-detail-delivery-cta-main {
    display: flex;
    gap: 14px;
    flex: 1 1 320px;
    min-width: 0;
}

.video-detail-delivery-cta-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #16a34a, #2563eb);
    color: #fff;
    font-size: 20px;
}

.video-detail-delivery-cta-copy h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.video-detail-delivery-cta-copy p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.65;
    color: #475569;
}

.video-detail-delivery-features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 4px;
}

.video-detail-delivery-features li {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.video-detail-delivery-features .fa {
    color: #16a34a;
    margin-right: 4px;
}

.video-detail-delivery-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 160px;
}

.video-detail-delivery-cta-actions .btn-lg {
    min-width: 168px;
}

.video-detail-preview {
    margin-bottom: 22px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.video-detail-preview-body {
    max-width: 100%;
    overflow: hidden;
}

.video-detail-player-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    max-height: 320px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background: #0f172a;
}

.video-detail-player {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    background: #0f172a;
}

.video-detail-page .panel-body {
    overflow-x: hidden;
    max-width: 100%;
}

.video-detail-page .video-cover-section img {
    width: 72px !important;
    height: 96px !important;
    max-width: 72px !important;
    max-height: 96px !important;
    min-width: 72px !important;
    object-fit: cover !important;
}

.video-detail-preview-head h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
}

.video-detail-preview-head p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
}

.video-detail-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.video-detail-more {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

.video-detail-more summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    user-select: none;
}

.video-detail-more .video-detail-table {
    margin: 12px 0 0;
}

.video-detail-card .table {
    margin-bottom: 18px;
    background: #fff;
}

.video-detail-card .table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
}

.video-detail-failure {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.video-detail-failure strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.video-detail-failure p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.video-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.video-cover-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.video-cover-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.video-cover-tip {
    margin: 0 0 14px;
    font-size: 13px;
    color: #6b7280;
}

.video-cover-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .video-cover-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

.video-cover-card {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.video-cover-card-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.video-cover-thumb-wrap {
    flex: 0 0 72px;
    width: 72px;
    min-width: 72px;
    max-width: 72px;
}

.video-cover-card-main {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.video-cover-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px 8px;
    margin-bottom: 6px;
    font-size: 13px;
}

.video-cover-head strong {
    font-size: 14px;
}

.video-cover-head span {
    color: #64748b;
    font-size: 11px;
    white-space: nowrap;
}

.video-cover-thumb {
    display: block;
    width: 72px;
    height: 96px;
    min-width: 72px;
    max-width: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    line-height: 0;
    flex-shrink: 0;
}

.video-cover-thumb img {
    display: block;
    width: 72px;
    height: 96px;
    min-width: 72px;
    max-width: 72px;
    object-fit: cover;
    border: 0;
}

.video-cover-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 96px;
    min-width: 72px;
    padding: 8px;
    text-align: center;
    border-radius: 8px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.35;
    border: 1px dashed #cbd5e1;
    box-sizing: border-box;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .video-cover-thumb-wrap {
        flex: 0 0 96px;
        width: 96px;
        min-width: 96px;
        max-width: 96px;
    }

    .video-cover-card-inner {
        flex-direction: column;
        gap: 10px;
    }

    .video-cover-thumb,
    .video-cover-empty {
        width: 96px;
        height: 128px;
        min-width: 96px;
        max-width: 96px;
    }

    .video-cover-thumb img {
        width: 96px;
        height: 128px;
        min-width: 96px;
        max-width: 96px;
    }
}

.video-cover-style-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    color: #b45309;
    background: #fef3c7;
}

.video-cover-style {
    margin: 8px 0 4px;
    font-size: 12px;
    color: #b45309;
}

.video-cover-copy {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-cover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.video-cover-actions .btn {
    border-radius: 6px;
}

.video-order-no-link {
    color: var(--site-primary);
    font-weight: 600;
    text-decoration: none;
}

.video-order-no-link:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .video-cover-actions .btn {
        font-size: 12px;
        padding: 5px 8px;
    }
}

@media (max-width: 640px) {
    .video-cover-grid {
        gap: 10px;
    }
}

.video-detail-actions .btn {
    border-radius: 8px;
}

@media (max-width: 991px) {
    .store-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .video-modes-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .video-mode-card .panel-body {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .video-member-page .panel-body {
        padding: 12px 8px;
    }

    .stores-industry-filter {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .stores-industry-filter .form-group {
        flex: 1 1 auto;
        width: 100%;
    }

    .stores-industry-filter-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .stores-industry-filter-actions .btn-default {
        flex: 1 1 auto;
    }

    .video-modes-page .page-header {
        font-size: 20px;
    }

    .video-modes-page .video-modes-meta,
    .video-modes-page .video-modes-desc {
        font-size: 13px;
    }

    .video-member-page .page-title,
    .video-member-page h2.page-header {
        font-size: 20px;
    }

    .video-member-page .page-subtitle {
        margin-bottom: 12px;
    }

    .member-id-card {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px;
        margin-bottom: 14px;
        gap: 8px;
    }

    .member-id-card .id-tip {
        flex: 0 0 auto;
        width: 100%;
    }

    .store-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 8px;
        padding: 0 12px 10px;
    }

    .store-stat {
        padding: 6px 4px 0;
    }

    .store-stat .value.is-highlight {
        font-size: 18px;
    }

    .store-card-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px 8px;
        gap: 8px;
    }

    .store-actions {
        padding: 10px 12px 12px;
        gap: 6px;
    }

    .store-actions .btn {
        flex: 1 1 calc(50% - 6px);
        text-align: center;
        font-size: 12px;
        padding: 7px 8px;
    }

    .stores-footnote {
        margin-top: 4px;
        padding: 10px 12px;
    }

    .video-orders-table {
        font-size: 12px;
    }

    .video-orders-page .table-responsive {
        border: none;
        overflow: visible;
    }

    .video-orders-page .video-orders-table thead {
        display: none;
    }

    .video-orders-page .video-orders-table,
    .video-orders-page .video-orders-table tbody,
    .video-orders-page .video-orders-table tr,
    .video-orders-page .video-orders-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .video-orders-page .video-orders-table tr {
        margin-bottom: 12px;
        padding: 12px 12px 8px;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px;
        background: #fff;
    }

    .video-orders-page .video-orders-table td:not(.video-order-cover-cell):not(.video-order-actions)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        font-size: 11px;
        font-weight: 600;
        color: #94a3b8;
        letter-spacing: 0.02em;
    }

    .video-orders-page .video-orders-table td[data-label="订单号"] {
        font-size: 14px;
        padding-top: 0 !important;
    }

    .video-orders-page .video-order-cover-cell {
        width: auto !important;
        max-width: none !important;
        padding: 0 0 8px !important;
        text-align: left;
        border: none !important;
    }

    .video-orders-page .video-order-cover-thumb {
        width: 56px !important;
        max-width: 56px !important;
        height: 74px !important;
        max-height: 74px !important;
    }

    .video-orders-page .video-order-cover-link {
        max-width: 56px;
    }

    .video-orders-page .video-orders-table td:not(.video-order-cover-cell) {
        border: none !important;
        padding: 4px 0 !important;
    }

    .video-orders-page .video-order-actions {
        padding-top: 8px !important;
    }

    .video-orders-page .video-order-actions .btn {
        margin-bottom: 4px;
    }

    .video-detail-summary {
        flex-direction: column;
    }

    .video-detail-delivery-cta {
        flex-direction: column;
        padding: 14px;
    }

    .video-detail-delivery-cta-actions {
        width: 100%;
    }

    .video-detail-delivery-cta-actions .btn {
        width: 100%;
    }

    .video-detail-progress-hint {
        max-width: none;
        width: 100%;
    }

    .video-detail-community {
        font-size: 18px;
    }

    .video-detail-player-wrap {
        padding-bottom: 0 !important;
        height: 56vw !important;
        max-height: 240px !important;
    }

    .video-detail-page .col-md-9 {
        max-width: 100%;
        overflow-x: hidden;
        padding-left: 8px;
        padding-right: 8px;
    }

    .video-detail-page .container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Voice profiles — member center training page */
.voiceprofiles-page .voiceprofile-store-form {
    max-width: 360px;
    margin-bottom: 18px;
}

.voiceprofiles-page .voiceprofile-store-name {
    margin-bottom: 16px;
    color: #666;
}

.voiceprofiles-page .voiceprofile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.voiceprofiles-page .voiceprofile-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}

.voiceprofiles-page .voiceprofile-section h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.voiceprofiles-page .voiceprofile-list {
    display: grid;
    gap: 12px;
}

.voiceprofiles-page .voiceprofile-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fafafa;
}

.voiceprofiles-page .voiceprofile-card.is-ready {
    border-color: #86efac;
    background: #f0fdf4;
}

.voiceprofiles-page .voiceprofile-card.is-training {
    border-color: #fde68a;
    background: #fffbeb;
}

.voiceprofiles-page .voiceprofile-card.is-failed {
    border-color: #fecaca;
    background: #fef2f2;
}

.voiceprofiles-page .voiceprofile-card h4 {
    margin: 0 0 6px;
    font-size: 16px;
}

.voiceprofiles-page .voiceprofile-meta {
    margin: 0 0 10px;
    color: #666;
    font-size: 13px;
}

.voiceprofiles-page .voiceprofile-empty {
    text-align: center;
    padding: 28px 16px;
    color: #888;
}

.voiceprofiles-page .voiceprofile-empty .fa {
    font-size: 28px;
    margin-bottom: 8px;
}

.voiceprofiles-page .voice-rec-hint {
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 600;
}

.voiceprofiles-page .voice-rec-warn {
    color: #b45309;
    font-size: 13px;
}

.voiceprofiles-page .voice-recorder-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.voiceprofiles-page .voice-rec-timer {
    font-size: 13px;
    color: #666;
}

.voiceprofiles-page .voice-rec-preview {
    display: block;
    width: 100%;
    margin-top: 10px;
}

.voiceprofiles-page .voice-rec-preview.hidden {
    display: none;
}

.voiceprofiles-page .voice-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.voiceprofiles-page .voice-consent-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.voiceprofiles-page .voice-consent-box {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
}

.voiceprofiles-page .voice-consent-label.is-checked .voice-consent-box {
    background: #22c55e;
    border-color: #22c55e;
}

.voiceprofiles-page .voice-consent-label.is-checked .voice-consent-box::after {
    content: '✓';
    display: block;
    color: #fff;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
}

/* Batch make wizard */
.video-batch-page .video-batch-meta { margin-bottom: 8px; }
.video-batch-steps {
    display: flex;
    gap: 10px;
    margin: 20px 0 24px;
    flex-wrap: wrap;
}
.video-batch-step {
    flex: 1;
    min-width: 120px;
    border: 1px solid var(--site-border, #e2e8f0);
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    text-align: left;
    cursor: default;
    opacity: 0.65;
}
.video-batch-step-num {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    margin-right: 6px;
    vertical-align: middle;
}
.video-batch-step-label {
    display: inline;
    vertical-align: middle;
}
.video-batch-step.is-active {
    opacity: 1;
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}
.video-batch-step.is-done { opacity: 1; }
.video-batch-step.is-done .video-batch-step-num { background: #22c55e; color: #fff; }
.video-batch-panel { display: none; }
.video-batch-panel.is-active { display: block; }
.video-batch-panel h3 { margin-top: 0; font-size: 18px; }
.video-batch-upload-zone {
    border: 2px dashed #93c5fd;
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    margin-bottom: 12px;
}
.video-batch-upload-zone.is-drag { background: #eff6ff; border-color: #3b82f6; }
.video-batch-upload-zone input[type=file] { display: none; }
.video-batch-file-list { list-style: none; padding: 0; margin: 0 0 12px; }
.video-batch-file-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}
.video-batch-file-list button {
    border: 0;
    background: transparent;
    color: #dc2626;
    cursor: pointer;
}
.video-batch-paste { font-family: Consolas, monospace; font-size: 13px; margin-top: 8px; }
.video-batch-paste-tools { margin: 10px 0; }
.video-batch-format-demo {
    margin: 12px 0 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.video-batch-format-demo-title {
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.video-batch-format-demo-desc {
    margin: 0 0 10px;
    font-size: 13px;
    color: #64748b;
}
.video-batch-format-template {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
}
.video-batch-format-label {
    color: #64748b;
    margin-right: 4px;
}
.video-batch-format-sep {
    color: #2563eb;
    font-weight: 700;
    padding: 0 2px;
}
.video-batch-format-table-wrap { margin-bottom: 8px; }
.video-batch-format-table { margin-bottom: 0; background: #fff; font-size: 13px; }
.video-batch-format-table th { background: #eff6ff; white-space: nowrap; }
.video-batch-format-raw {
    font-size: 12px;
    color: #475569;
    word-break: break-all;
}
.video-batch-format-raw code {
    display: inline-block;
    margin-top: 4px;
    padding: 6px 8px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    font-family: Consolas, monospace;
    color: #0f172a;
}
.video-batch-recipe { margin: 16px 0; }
.video-batch-recipe label { display: block; margin-bottom: 6px; font-weight: 600; }
.video-batch-summary {
    padding: 14px 16px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    margin: 16px 0;
}
.video-batch-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.video-batch-back { margin-top: 20px; }
.video-batch-progress-bar-wrap { margin: 16px 0 20px; }
.video-batch-gate-banner { margin: 12px 0 16px; }
.video-batch-gate-banner .alert { margin-bottom: 0; }
.video-batch-recent-assets { padding: 10px 12px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px; }
.video-batch-mode-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.video-batch-mode-tab.active { background: #2563eb; color: #fff; border-color: #2563eb; }

