/* ================================================================
 *  WordPress 视频审核插件 - 前端样式
 *  包含：上传表单 / 我的投稿 / 画廊 / 视频详情页 / 互动栏 / 通知条
 * ================================================================ */

/* ================================================================
 *  一、上传表单
 * ================================================================ */
.vm-upload-wrap {
    max-width: 720px;
    margin: 24px 0;
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    box-sizing: border-box;
}
.vm-upload-wrap * { box-sizing: border-box; }

.vm-form-row { margin-bottom: 20px; }
.vm-form-row > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}
.vm-form-row .required { color: #dc2626; }
.vm-form-row small { color: #94a3b8; font-weight: 400; }

.vm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) { .vm-form-grid { grid-template-columns: 1fr; } }

.vm-upload-wrap input[type="text"],
.vm-upload-wrap select,
.vm-upload-wrap textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #1f2937;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}
.vm-upload-wrap input[type="text"]:focus,
.vm-upload-wrap select:focus,
.vm-upload-wrap textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* ---- 演职人员 ---- */
#vm-cast-list { margin-bottom: 10px; }
.vm-cast-row {
    display: grid;
    grid-template-columns: 1fr 1fr 32px;
    gap: 8px;
    margin-bottom: 8px;
}
.vm-cast-remove {
    width: 32px;
    height: 38px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #ef4444;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background .15s;
}
.vm-cast-remove:hover { background: #fef2f2; }

.vm-cast-count {
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
}

/* ---- 通用按钮 ---- */
.vm-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    height: 34px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: background .15s;
    box-sizing: border-box;
}
.vm-btn-secondary:hover { background: #f9fafb; color: #374151; }

.vm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    height: 40px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background .15s;
    box-sizing: border-box;
}
.vm-btn-primary:hover { background: #1d4ed8; color: #fff; }

.vm-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    height: 34px;
    background: #fff;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: background .15s;
    box-sizing: border-box;
}
.vm-btn-danger:hover { background: #fef2f2; }

.vm-btn-link {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    text-decoration: none;
}
.vm-btn-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

/* ---- 拖放区 ---- */
.vm-dropzone {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.vm-dropzone:hover { border-color: #94a3b8; }
.vm-dropzone.vm-dragover {
    border-color: #2563eb;
    background: #eff6ff;
}
.vm-dropzone-sm { padding: 20px; }
.vm-dropzone-icon { font-size: 32px; line-height: 1; margin-bottom: 8px; }
.vm-dropzone-inner p { margin: 4px 0; color: #475569; font-size: 14px; }
.vm-dropzone-hint { color: #94a3b8; font-size: 12px; }
.vm-dropzone .vm-link {
    color: #2563eb;
    text-decoration: none;
    border-bottom: none;
}
.vm-dropzone .vm-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

/* ---- 预览 ---- */
.vm-preview {
    margin-top: 14px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.vm-preview-video video {
    width: 200px;
    max-height: 120px;
    border-radius: 8px;
    background: #000;
    display: block;
}
.vm-preview-info { flex: 1; min-width: 0; }
.vm-preview-name {
    font-size: 14px;
    color: #1f2937;
    font-weight: 600;
    word-break: break-all;
    margin-bottom: 6px;
}
.vm-preview-size { font-size: 12px; color: #94a3b8; margin-bottom: 8px; }

.vm-preview-cover { display: inline-block; padding: 10px; }
.vm-preview-cover img {
    max-width: 220px;
    max-height: 140px;
    border-radius: 8px;
    display: block;
    margin-bottom: 8px;
}

.vm-preview-file {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}
.vm-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.vm-file-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}
.vm-file-meta { min-width: 0; flex: 1; }
.vm-file-meta .vm-preview-name {
    font-size: 13px;
    word-break: break-all;
    margin-bottom: 2px;
}
.vm-file-meta .vm-preview-size {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* ---- 版权承诺书提示 ---- */
.vm-copyright-hint {
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}
.vm-copyright-hint a {
    color: #2563eb;
    text-decoration: none;
}
.vm-copyright-hint a:hover {
    color: #1d4ed8;
    text-decoration: none;
}

/* ---- 上传进度（作用域限定，避免与播放器进度条冲突） ---- */
.vm-upload-wrap .vm-progress { margin: 18px 0; }
.vm-upload-wrap .vm-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}
.vm-upload-wrap .vm-progress-inner {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width .2s;
}
.vm-upload-wrap .vm-progress-text {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* ---- 提交区 ---- */
.vm-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.vm-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 34px;
    height: 46px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .3px;
    box-shadow: 0 4px 12px rgba(37,99,235,.25);
    transition: transform .1s, box-shadow .15s;
    box-sizing: border-box;
}
.vm-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,99,235,.35); }
.vm-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.vm-inline-message { font-size: 13px; }
.vm-inline-message.error { color: #dc2626; }

/* ================================================================
 *  二、模态框（版权承诺书 / 提交成功 / 举报）
 * ================================================================ */
.vm-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.vm-modal.vm-open { display: flex; }
.vm-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.55);
    backdrop-filter: blur(2px);
}
.vm-modal-box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    max-width: 520px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    animation: vmPopup .25s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes vmPopup {
    from { opacity: 0; transform: scale(.9) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.vm-modal-box h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #0f172a;
}
.vm-modal-body {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}
.vm-modal-body ol { padding-left: 20px; margin: 8px 0; }
.vm-modal-body li { margin-bottom: 6px; }
.vm-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}
.vm-modal-actions-center { justify-content: center; }

/* ---- 成功弹窗 ---- */
.vm-success-box { text-align: center; }
.vm-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 8px;
    animation: vmPop .4s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes vmPop {
    0%   { transform: scale(0); }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.vm-success-box h3 {
    font-size: 22px;
    margin: 8px 0 8px;
    color: #0f172a;
}
.vm-success-msg {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 18px;
}
.vm-success-detail {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
}
.vm-success-detail .vm-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}
.vm-success-detail .vm-row span:first-child { color: #94a3b8; }

/* ================================================================
 *  三、顶部通知条
 * ================================================================ */
.vm-notice-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.vm-notice-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.vm-notice-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.15);
    color: #fff;
    animation: vmSlideDown .3s ease;
}
@keyframes vmSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.vm-notice-item.vm-notice-approved { background: linear-gradient(90deg, #16a34a, #22c55e); }
.vm-notice-item.vm-notice-rejected { background: linear-gradient(90deg, #dc2626, #ef4444); }
.vm-notice-item.vm-notice-pending  { background: linear-gradient(90deg, #d97706, #f59e0b); }
.vm-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    font-size: 13px;
    flex-shrink: 0;
}
.vm-notice-text { flex: 1; line-height: 1.5; }
.vm-notice-text em { font-style: normal; text-decoration: underline; }
.vm-notice-close {
    background: rgba(255,255,255,.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    transition: background .15s;
}
.vm-notice-close:hover { background: rgba(255,255,255,.35); }

/* ================================================================
 *  四、我的投稿
 * ================================================================ */
/* ============ 我的投稿 ============ */
.vm-my-videos {
    margin: 24px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}
.vm-my-videos-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}
.vm-my-videos-head h3 {
    margin: 0;
    font-size: 18px;
}
.vm-my-videos-count {
    font-size: 13px;
    color: #94a3b8;
}
.vm-empty { color: #94a3b8; }

.vm-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ★ 表格紧凑化：总宽度降到约 880px，一般桌面无需横向滚动 */
.vm-my-videos .vm-table {
    min-width: 880px;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}
.vm-my-videos .vm-table th,
.vm-my-videos .vm-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    box-sizing: border-box;
}
.vm-my-videos .vm-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
    white-space: nowrap;
    border-bottom: 1px solid #e2e8f0;
}
.vm-my-videos .vm-table tbody tr:hover { background: #fafbfc; }
.vm-my-videos .vm-table tbody tr:last-child td { border-bottom: none; }

/* ★ 列宽收紧 */
.vm-my-videos .vm-table .col-cover  { width: 90px; }
.vm-my-videos .vm-table .col-title  { width: auto; min-width: 170px; }
.vm-my-videos .vm-table .col-stat   { width: 60px;  text-align: center; }
.vm-my-videos .vm-table .col-time   { width: 130px; white-space: nowrap; }
.vm-my-videos .vm-table .col-status { width: 80px;  text-align: center; }
.vm-my-videos .vm-table .col-action { width: 190px; }

/* ★ 封面缩到 80×45 */
.vm-thumb {
    width: 80px;
    height: 45px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}
.vm-thumb-empty {
    width: 80px;
    height: 45px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/* ★ 标题单行截断 */
.vm-title {
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
    cursor: default;
}

.vm-meta-line {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
    font-size: 11.5px;
    line-height: 1.4;
    overflow: hidden;
}
.vm-meta-line .vm-cat {
    color: #2563eb;
    background: #eff6ff;
    padding: 1px 7px;
    border-radius: 8px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}
.vm-meta-line .vm-lang {
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vm-reason {
    margin-top: 4px;
    font-size: 11.5px;
    color: #dc2626;
    background: #fef2f2;
    display: block;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

/* ---- 播放 / 评论 ---- */
.vm-my-videos .col-stat {
    font-weight: 600;
    color: #1f2937;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
}

/* ---- 操作列 ---- */
.vm-my-videos .vm-actions {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}
.vm-my-videos .vm-actions .vm-view-video,
.vm-my-videos .vm-actions .vm-btn-danger,
.vm-my-videos .vm-actions .vm-btn-secondary {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ★ 按钮缩小到 30px 高 */
.vm-my-videos .vm-view-video,
.vm-my-videos .vm-view-video:link,
.vm-my-videos .vm-view-video:visited,
.vm-my-videos .vm-view-video:hover,
.vm-my-videos .vm-view-video:focus,
.vm-my-videos .vm-view-video:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-height: 30px;
    padding: 0 12px;
    font-size: 12.5px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    border-bottom: none !important;
    background: #2563eb;
    color: #fff !important;
    border-radius: 7px;
    box-shadow: none;
    vertical-align: middle;
    box-sizing: border-box;
    transition: background .15s;
}
.vm-my-videos .vm-view-video:hover { background: #1d4ed8; }

.vm-my-videos .vm-actions .vm-btn-danger,
.vm-my-videos .vm-actions .vm-btn-secondary {
    height: 30px;
    min-height: 30px;
    padding: 0 12px;
    font-size: 12.5px;
    border-radius: 7px;
}

/* ---- 状态徽章 ---- */
.vm-status {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 11px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}
.vm-status-pending  { background: #fef3c7; color: #92400e; }
.vm-status-approved { background: #d1fae5; color: #065f46; }
.vm-status-rejected { background: #fee2e2; color: #991b1b; }
.vm-status-hidden   { background: #e5e7eb; color: #374151; }

.vm-notice {
    padding: 14px 18px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 8px;
    border: 1px solid #fde68a;
}

/* ---- 我的投稿分页 ---- */
.vm-my-pagination {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
/* ================================================================
 *  五、画廊（视频列表 / 我的收藏）
 * ================================================================ */
.vm-gallery { margin: 24px 0; }

.vm-gallery-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.vm-gallery-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 17px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    transition: background .15s, color .15s;
}
.vm-gallery-filter a:hover { background: #e2e8f0; }
.vm-gallery-filter a.active { background: #2563eb; color: #fff; }

.vm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
@media (max-width: 600px) {
    .vm-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.vm-gallery-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: transform .18s, box-shadow .18s;
}
.vm-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15,23,42,.10);
}

.vm-gallery-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}
.vm-gallery-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.vm-gallery-item:hover .vm-gallery-cover img { transform: scale(1.05); }

.vm-gallery-cover-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #64748b; font-size: 13px;
}

.vm-gallery-play {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 34px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    background: rgba(0,0,0,.15);
    opacity: 0;
    transition: opacity .2s;
}
.vm-gallery-item:hover .vm-gallery-play { opacity: 1; }

.vm-gallery-info { padding: 12px 14px 14px; }
.vm-gallery-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.9em;
    margin-bottom: 8px;
}
.vm-gallery-meta { display: flex; gap: 6px; flex-wrap: wrap; }

.vm-tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 11px;
    white-space: nowrap;
}
.vm-tag-lang { background: #fef3c7; color: #92400e; }

/* ---- 分页 ---- */
.vm-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.vm-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 13px;
    line-height: 1;
    transition: all .15s;
    box-sizing: border-box;
}
.vm-pagination .page-numbers:hover { border-color: #94a3b8; }
.vm-pagination .page-numbers.current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* ================================================================
 *  六、视频详情页
 * ================================================================ */
.vm-single-inline {
    margin: 0 0 8px;
}

.vm-single-player {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin: 0 0 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    width: 100%;
}
.vm-single-player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.vm-single-novideo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    height: 100%;
}

.vm-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 8px;
}

.vm-single-section {
    margin: 28px 0 0;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
}
.vm-single-section-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 14px;
    line-height: 1.4;
}

.vm-single-desc {
    font-size: 1em;
    line-height: 1.8;
    color: inherit;
}
.vm-single-desc p:first-child { margin-top: 0; }
.vm-single-desc p:last-child  { margin-bottom: 0; }

.vm-cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.vm-cast-item {
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}
.vm-cast-name { font-weight: 600; color: #1f2937; }
.vm-cast-role { color: #94a3b8; font-size: 12px; margin-top: 2px; }

/* ================================================================
 *  七、互动栏（点赞 / 收藏 / 举报）
 * ================================================================ */
.vm-engagement-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    margin: 0 0 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.vm-engagement-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    text-decoration: none;
    line-height: 1.4;
    font-family: inherit;
}
.vm-engagement-item svg {
    flex-shrink: 0;
}
.vm-engagement-item:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.vm-engagement-like.is-active {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}
.vm-engagement-like.is-active svg path {
    fill: #1d4ed8;
}

.vm-engagement-favorite.is-active {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}
.vm-engagement-favorite.is-active svg path {
    fill: #d97706;
}

.vm-engagement-report {
    color: #dc2626;
    border-color: #fecaca;
}
.vm-engagement-report:hover {
    background: #fef2f2;
    border-color: #f87171;
}

.vm-engagement-item:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vm-engagement-item .vm-count {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* ---- 举报弹窗内部 ---- */
.vm-report-reasons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.vm-radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    font-size: 14px;
    color: #334155;
}
.vm-radio-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.vm-radio-item input[type="radio"] {
    accent-color: #2563eb;
    flex-shrink: 0;
}
.vm-radio-item input[type="radio"]:checked + span {
    color: #1d4ed8;
    font-weight: 600;
}

/* ================================================================
 *  八、移动端适配
 * ================================================================ */
@media (max-width: 600px) {
    .vm-single-player { border-radius: 8px; }
    .vm-cast-grid { grid-template-columns: repeat(2, 1fr); }

    .vm-engagement-bar {
        gap: 6px;
    }
    .vm-engagement-item {
        padding: 6px 10px;
        font-size: 12px;
    }
    .vm-engagement-item svg {
        width: 16px;
        height: 16px;
    }
}