/* 3D 视频工作台（大改造 2026-08-19）— 暗色专业风 */
.v3s-app { display: flex; flex-direction: column; height: 100%; min-height: calc(100vh - 60px); background: #0d0f16; color: #e8eaf2; }
.v3s-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #141826; border-bottom: 1px solid #232a3d; flex-wrap: wrap; }
.v3s-logo { font-weight: 700; font-size: 16px; background: linear-gradient(90deg, #7c9cff, #b48cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v3s-name { background: #1b2133; border: 1px solid #2a3350; color: #e8eaf2; border-radius: 8px; padding: 7px 12px; width: 180px; font-size: 13px; }
.v3s-btn { background: #232a3d; border: 1px solid #324063; color: #dfe4f5; border-radius: 8px; padding: 7px 14px; cursor: pointer; font-size: 13px; transition: all .15s; white-space: nowrap; }
.v3s-btn:hover { background: #2c3550; border-color: #48598a; }
.v3s-btn.primary { background: linear-gradient(135deg, #5b7cfa, #7c5bfa); border: none; color: #fff; font-weight: 600; }
.v3s-btn.primary:hover { filter: brightness(1.12); }
.v3s-btn.danger { color: #ff8a8a; }
.v3s-btn.sm { padding: 4px 10px; font-size: 12px; }
.v3s-btn.wide { width: 100%; }
.v3s-btn:disabled { opacity: .5; cursor: wait; }
.v3s-sel { background: #1b2133; border: 1px solid #2a3350; color: #e8eaf2; border-radius: 8px; padding: 7px 10px; font-size: 13px; }
.v3s-inp, .v3s-ta { background: #1b2133; border: 1px solid #2a3350; color: #e8eaf2; border-radius: 8px; padding: 8px 12px; font-size: 13px; width: 100%; box-sizing: border-box; }
.v3s-ta { resize: vertical; min-height: 64px; font-family: inherit; }
.v3s-flex { flex: 1; }
.v3s-main { display: flex; flex: 1; min-height: 0; }
.v3s-left { width: 330px; min-width: 330px; background: #12151f; border-right: 1px solid #232a3d; display: flex; flex-direction: column; }
.v3s-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid #232a3d; }
.v3s-tab { padding: 10px 13px; font-size: 13px; cursor: pointer; color: #9aa3bd; border-bottom: 2px solid transparent; }
.v3s-tab:hover { color: #e8eaf2; }
.v3s-tab.on { color: #8ba3ff; border-bottom-color: #8ba3ff; font-weight: 600; }
.v3s-panel { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.v3s-sec { font-size: 13px; font-weight: 600; color: #aab4d4; margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.v3s-hint { font-size: 12px; color: #6b7392; line-height: 1.5; }
.v3s-list { display: flex; flex-direction: column; gap: 6px; }
.v3s-item { display: flex; align-items: center; gap: 8px; background: #1a1f30; border: 1px solid #262e45; border-radius: 8px; padding: 8px 10px; font-size: 13px; cursor: pointer; }
.v3s-item:hover { border-color: #3a4a75; background: #1f2539; }
.v3s-item.on { border-color: #5b7cfa; background: #1e2740; }
.v3s-item.char { cursor: default; }
.v3s-x { color: #7a829f; cursor: pointer; padding: 2px 6px; }
.v3s-x:hover { color: #ff8a8a; }
.v3s-ok { color: #6ee7a0; font-size: 11px; }
.v3s-drop { border: 1.5px dashed #35406a; border-radius: 10px; padding: 18px; text-align: center; font-size: 13px; color: #9aa3bd; cursor: pointer; }
.v3s-drop:hover { border-color: #5b7cfa; color: #c8d2f5; }
.v3s-row { display: flex; gap: 8px; align-items: center; }
.v3s-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v3s-act { background: #1a1f30; border: 1px solid #262e45; border-radius: 10px; padding: 10px; text-align: center; cursor: pointer; transition: all .15s; }
.v3s-act:hover { border-color: #3a4a75; background: #1f2539; }
.v3s-act.on { border-color: #5b7cfa; background: #1e2740; box-shadow: 0 0 0 1px #5b7cfa inset; }
.v3s-acti { font-size: 22px; }
.v3s-actn { font-size: 12.5px; margin-top: 4px; font-weight: 600; }
.v3s-actd { font-size: 11px; color: #6b7392; margin-top: 2px; }
.v3s-slider { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #aab4d4; }
.v3s-slider input[type=range] { flex: 1; accent-color: #5b7cfa; }
.v3s-slider input[type=color] { width: 40px; height: 28px; border: none; background: none; cursor: pointer; }
.v3s-chk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #c8d2f5; cursor: pointer; }
.v3s-chk input { accent-color: #5b7cfa; }
.v3s-lines { display: flex; flex-direction: column; gap: 8px; }
.v3s-line { background: #1a1f30; border: 1px solid #262e45; border-radius: 10px; padding: 8px 10px; }
.v3s-linehead { display: flex; align-items: center; gap: 6px; }
.v3s-lnum { font-size: 11px; color: #6b7392; }
.v3s-role { width: 76px; background: #141826; border: 1px solid #2a3350; color: #8ba3ff; border-radius: 6px; padding: 4px 8px; font-size: 12px; }
.v3s-ltext { width: 100%; margin-top: 6px; background: #141826; border: 1px solid #2a3350; color: #e8eaf2; border-radius: 6px; padding: 6px 8px; font-size: 13px; resize: vertical; font-family: inherit; box-sizing: border-box; }
.v3s-lmeta { font-size: 11.5px; color: #6b7392; margin-top: 4px; }
.v3s-playln, .v3s-revoice { color: #8ba3ff; cursor: pointer; }
.v3s-playln:hover, .v3s-revoice:hover { text-decoration: underline; }
.v3s-rolebind .v3s-rolename { font-size: 13px; color: #c8d2f5; flex: 1; }
.v3s-subprev { background: rgba(0,0,0,.4); border-radius: 6px; padding: 10px; text-align: center; font-weight: 600; }
.v3s-center { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.v3s-stage { position: relative; flex: 1; min-height: 320px; background: #000; overflow: hidden; }
.v3s-canvas { display: block; width: 100% !important; height: 100% !important; }
.v3s-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8ba3ff; font-size: 14px; background: #0d0f16; z-index: 5; }
.v3s-subtitle { position: absolute; left: 50%; transform: translateX(-50%); max-width: 84%; text-align: center; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.9); border-radius: 8px; padding: 4px 14px; z-index: 4; pointer-events: none; line-height: 1.35; }
.v3s-recbadge { position: absolute; top: 12px; right: 14px; background: rgba(239,68,68,.92); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; z-index: 6; animation: v3spulse 1.2s infinite; }
@keyframes v3spulse { 50% { opacity: .55; } }
.v3s-controls { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #141826; border-top: 1px solid #232a3d; }
.v3s-pbtn { width: 34px; height: 34px; border-radius: 50%; background: #232a3d; border: 1px solid #324063; color: #e8eaf2; cursor: pointer; font-size: 14px; }
.v3s-pbtn:hover { background: #2c3550; }
.v3s-time { font-size: 13px; color: #8ba3ff; font-variant-numeric: tabular-nums; }
.v3s-mini { font-size: 12px; color: #9aa3bd; display: flex; align-items: center; gap: 6px; }
.v3s-tl { background: #10131d; border-top: 1px solid #232a3d; max-height: 200px; overflow-x: auto; overflow-y: hidden; position: relative; }
.v3s-tlruler { display: flex; position: relative; height: 22px; min-width: 100%; border-bottom: 1px solid #232a3d; }
.v3s-rspace { width: 110px; flex: none; }
.v3s-rtick { position: absolute; top: 0; bottom: 0; width: 1px; background: #232a3d; font-size: 9px; color: #6b7392; padding-left: 3px; }
.v3s-tlbody { position: relative; }
.v3s-track { display: flex; align-items: center; height: 34px; }
.v3s-trlabel { width: 110px; flex: none; font-size: 11.5px; color: #6b7392; padding-left: 12px; border-right: 1px solid #1c2336; height: 100%; display: flex; align-items: center; }
.v3s-trzone { position: relative; height: 100%; flex: 1; }
.v3s-lnblock { position: absolute; top: 4px; height: 26px; background: linear-gradient(135deg, #2c4a8f, #3d5fbf); border-radius: 6px; font-size: 11px; display: flex; align-items: center; gap: 4px; padding: 0 8px; white-space: nowrap; overflow: hidden; cursor: grab; border: 1px solid #4a6ad4; }
.v3s-lnblock.mute { background: #2a3046; border-color: #3a4260; color: #8892b0; }
.v3s-lnblock b { color: #ffd7a8; font-size: 10.5px; }
.v3s-camkey { position: absolute; top: 6px; font-size: 14px; cursor: pointer; }
.v3s-actblk { position: absolute; top: 7px; font-size: 11px; color: #9ecb9e; background: #1b2a22; border: 1px solid #2d4a3a; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.v3s-playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #ff5b7c; z-index: 5; pointer-events: none; box-shadow: 0 0 6px rgba(255,91,124,.8); }
.v3s-tlbar { display: flex; align-items: center; gap: 10px; padding: 6px 14px; background: #141826; border-top: 1px solid #232a3d; flex-wrap: wrap; }
.v3s-total { font-size: 12px; color: #8ba3ff; }
.v3s-jobwrap { display: flex; flex-direction: column; gap: 10px; }
.v3s-refresh { color: #8ba3ff; cursor: pointer; font-size: 12px; }
.v3s-refresh:hover { text-decoration: underline; }
.v3s-job { background: #141826; border: 1px solid #232a3d; border-radius: 10px; overflow: hidden; }
.v3s-jobv { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; cursor: pointer; display: block; }
.v3s-jobmeta { padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.v3s-jobname { font-size: 12px; color: #9aa3bd; }
.v3s-jobbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.v3s-dlg { position: fixed; inset: 0; background: rgba(5,7,12,.72); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.v3s-dlgbox { width: 480px; max-width: 92vw; max-height: 76vh; background: #141826; border: 1px solid #2a3350; border-radius: 14px; display: flex; flex-direction: column; }
.v3s-dlghead { display: flex; align-items: center; padding: 14px 16px; font-weight: 700; border-bottom: 1px solid #232a3d; }
.v3s-dlgbody { padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.v3s-fs { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 1001; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.v3s-fsbox { display: flex; flex-direction: column; gap: 10px; max-width: 92vw; }
.v3s-fsbox video { max-width: 92vw; max-height: 78vh; border-radius: 10px; background: #000; }
.v3s-fsbar { display: flex; gap: 10px; justify-content: center; }
.v3s-panel::-webkit-scrollbar, .v3s-tl::-webkit-scrollbar { width: 8px; height: 8px; }
.v3s-panel::-webkit-scrollbar-thumb, .v3s-tl::-webkit-scrollbar-thumb { background: #2a3350; border-radius: 4px; }
/* 3D 视频工作台（大改造 2026-08-19）— 暗色专业风 */
.v3s-app { display: flex; flex-direction: column; height: 100%; min-height: calc(100vh - 60px); background: #0d0f16; color: #e8eaf2; }
.v3s-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #141826; border-bottom: 1px solid #232a3d; flex-wrap: wrap; }
.v3s-logo { font-weight: 700; font-size: 16px; background: linear-gradient(90deg, #7c9cff, #b48cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v3s-name { background: #1b2133; border: 1px solid #2a3350; color: #e8eaf2; border-radius: 8px; padding: 7px 12px; width: 180px; font-size: 13px; }
.v3s-btn { background: #232a3d; border: 1px solid #324063; color: #dfe4f5; border-radius: 8px; padding: 7px 14px; cursor: pointer; font-size: 13px; transition: all .15s; white-space: nowrap; }
.v3s-btn:hover { background: #2c3550; border-color: #48598a; }
.v3s-btn.primary { background: linear-gradient(135deg, #5b7cfa, #7c5bfa); border: none; color: #fff; font-weight: 600; }
.v3s-btn.primary:hover { filter: brightness(1.12); }
.v3s-btn.danger { color: #ff8a8a; }
.v3s-btn.sm { padding: 4px 10px; font-size: 12px; }
.v3s-btn.wide { width: 100%; }
.v3s-btn:disabled { opacity: .5; cursor: wait; }
.v3s-sel { background: #1b2133; border: 1px solid #2a3350; color: #e8eaf2; border-radius: 8px; padding: 7px 10px; font-size: 13px; }
.v3s-inp, .v3s-ta { background: #1b2133; border: 1px solid #2a3350; color: #e8eaf2; border-radius: 8px; padding: 8px 12px; font-size: 13px; width: 100%; box-sizing: border-box; }
.v3s-ta { resize: vertical; min-height: 64px; font-family: inherit; }
.v3s-flex { flex: 1; }
.v3s-main { display: flex; flex: 1; min-height: 0; }
.v3s-left { width: 330px; min-width: 330px; background: #12151f; border-right: 1px solid #232a3d; display: flex; flex-direction: column; }
.v3s-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid #232a3d; }
.v3s-tab { padding: 10px 13px; font-size: 13px; cursor: pointer; color: #9aa3bd; border-bottom: 2px solid transparent; }
.v3s-tab:hover { color: #e8eaf2; }
.v3s-tab.on { color: #8ba3ff; border-bottom-color: #8ba3ff; font-weight: 600; }
.v3s-panel { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.v3s-sec { font-size: 13px; font-weight: 600; color: #aab4d4; margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.v3s-hint { font-size: 12px; color: #6b7392; line-height: 1.5; }
.v3s-list { display: flex; flex-direction: column; gap: 6px; }
.v3s-item { display: flex; align-items: center; gap: 8px; background: #1a1f30; border: 1px solid #262e45; border-radius: 8px; padding: 8px 10px; font-size: 13px; cursor: pointer; }
.v3s-item:hover { border-color: #3a4a75; background: #1f2539; }
.v3s-item.on { border-color: #5b7cfa; background: #1e2740; }
.v3s-item.char { cursor: default; }
.v3s-x { color: #7a829f; cursor: pointer; padding: 2px 6px; }
.v3s-x:hover { color: #ff8a8a; }
.v3s-ok { color: #6ee7a0; font-size: 11px; }
.v3s-drop { border: 1.5px dashed #35406a; border-radius: 10px; padding: 18px; text-align: center; font-size: 13px; color: #9aa3bd; cursor: pointer; }
.v3s-drop:hover { border-color: #5b7cfa; color: #c8d2f5; }
.v3s-row { display: flex; gap: 8px; align-items: center; }
.v3s-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v3s-act { background: #1a1f30; border: 1px solid #262e45; border-radius: 10px; padding: 10px; text-align: center; cursor: pointer; transition: all .15s; }
.v3s-act:hover { border-color: #3a4a75; background: #1f2539; }
.v3s-act.on { border-color: #5b7cfa; background: #1e2740; box-shadow: 0 0 0 1px #5b7cfa inset; }
.v3s-acti { font-size: 22px; }
.v3s-actn { font-size: 12.5px; margin-top: 4px; font-weight: 600; }
.v3s-actd { font-size: 11px; color: #6b7392; margin-top: 2px; }
.v3s-slider { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #aab4d4; }
.v3s-slider input[type=range] { flex: 1; accent-color: #5b7cfa; }
.v3s-slider input[type=color] { width: 40px; height: 28px; border: none; background: none; cursor: pointer; }
.v3s-chk { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #c8d2f5; cursor: pointer; }
.v3s-chk input { accent-color: #5b7cfa; }
.v3s-lines { display: flex; flex-direction: column; gap: 8px; }
.v3s-line { background: #1a1f30; border: 1px solid #262e45; border-radius: 10px; padding: 8px 10px; }
.v3s-linehead { display: flex; align-items: center; gap: 6px; }
.v3s-lnum { font-size: 11px; color: #6b7392; }
.v3s-role { width: 76px; background: #141826; border: 1px solid #2a3350; color: #8ba3ff; border-radius: 6px; padding: 4px 8px; font-size: 12px; }
.v3s-ltext { width: 100%; margin-top: 6px; background: #141826; border: 1px solid #2a3350; color: #e8eaf2; border-radius: 6px; padding: 6px 8px; font-size: 13px; resize: vertical; font-family: inherit; box-sizing: border-box; }
.v3s-lmeta { font-size: 11.5px; color: #6b7392; margin-top: 4px; }
.v3s-playln, .v3s-revoice { color: #8ba3ff; cursor: pointer; }
.v3s-playln:hover, .v3s-revoice:hover { text-decoration: underline; }
.v3s-rolebind .v3s-rolename { font-size: 13px; color: #c8d2f5; flex: 1; }
.v3s-subprev { background: rgba(0,0,0,.4); border-radius: 6px; padding: 10px; text-align: center; font-weight: 600; }
.v3s-center { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.v3s-stage { position: relative; flex: 1; min-height: 320px; background: #000; overflow: hidden; }
.v3s-canvas { display: block; width: 100% !important; height: 100% !important; }
.v3s-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8ba3ff; font-size: 14px; background: #0d0f16; z-index: 5; }
.v3s-subtitle { position: absolute; left: 50%; transform: translateX(-50%); max-width: 84%; text-align: center; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.9); border-radius: 8px; padding: 4px 14px; z-index: 4; pointer-events: none; line-height: 1.35; }
.v3s-recbadge { position: absolute; top: 12px; right: 14px; background: rgba(239,68,68,.92); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; z-index: 6; animation: v3spulse 1.2s infinite; }
@keyframes v3spulse { 50% { opacity: .55; } }
.v3s-controls { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #141826; border-top: 1px solid #232a3d; }
.v3s-pbtn { width: 34px; height: 34px; border-radius: 50%; background: #232a3d; border: 1px solid #324063; color: #e8eaf2; cursor: pointer; font-size: 14px; }
.v3s-pbtn:hover { background: #2c3550; }
.v3s-time { font-size: 13px; color: #8ba3ff; font-variant-numeric: tabular-nums; }
.v3s-mini { font-size: 12px; color: #9aa3bd; display: flex; align-items: center; gap: 6px; }
.v3s-tl { background: #10131d; border-top: 1px solid #232a3d; max-height: 200px; overflow-x: auto; overflow-y: hidden; position: relative; }
.v3s-tlruler { display: flex; position: relative; height: 22px; min-width: 100%; border-bottom: 1px solid #232a3d; }
.v3s-rspace { width: 110px; flex: none; }
.v3s-rtick { position: absolute; top: 0; bottom: 0; width: 1px; background: #232a3d; font-size: 9px; color: #6b7392; padding-left: 3px; }
.v3s-tlbody { position: relative; }
.v3s-track { display: flex; align-items: center; height: 34px; }
.v3s-trlabel { width: 110px; flex: none; font-size: 11.5px; color: #6b7392; padding-left: 12px; border-right: 1px solid #1c2336; height: 100%; display: flex; align-items: center; }
.v3s-trzone { position: relative; height: 100%; flex: 1; }
.v3s-lnblock { position: absolute; top: 4px; height: 26px; background: linear-gradient(135deg, #2c4a8f, #3d5fbf); border-radius: 6px; font-size: 11px; display: flex; align-items: center; gap: 4px; padding: 0 8px; white-space: nowrap; overflow: hidden; cursor: grab; border: 1px solid #4a6ad4; }
.v3s-lnblock.mute { background: #2a3046; border-color: #3a4260; color: #8892b0; }
.v3s-lnblock b { color: #ffd7a8; font-size: 10.5px; }
.v3s-camkey { position: absolute; top: 6px; font-size: 14px; cursor: pointer; }
.v3s-actblk { position: absolute; top: 7px; font-size: 11px; color: #9ecb9e; background: #1b2a22; border: 1px solid #2d4a3a; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.v3s-playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #ff5b7c; z-index: 5; pointer-events: none; box-shadow: 0 0 6px rgba(255,91,124,.8); }
.v3s-tlbar { display: flex; align-items: center; gap: 10px; padding: 6px 14px; background: #141826; border-top: 1px solid #232a3d; flex-wrap: wrap; }
.v3s-total { font-size: 12px; color: #8ba3ff; }
.v3s-jobwrap { display: flex; flex-direction: column; gap: 10px; }
.v3s-refresh { color: #8ba3ff; cursor: pointer; font-size: 12px; }
.v3s-refresh:hover { text-decoration: underline; }
.v3s-job { background: #141826; border: 1px solid #232a3d; border-radius: 10px; overflow: hidden; }
.v3s-jobv { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; cursor: pointer; display: block; }
.v3s-jobmeta { padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.v3s-jobname { font-size: 12px; color: #9aa3bd; }
.v3s-jobbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.v3s-dlg { position: fixed; inset: 0; background: rgba(5,7,12,.72); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.v3s-dlgbox { width: 480px; max-width: 92vw; max-height: 76vh; background: #141826; border: 1px solid #2a3350; border-radius: 14px; display: flex; flex-direction: column; }
.v3s-dlghead { display: flex; align-items: center; padding: 14px 16px; font-weight: 700; border-bottom: 1px solid #232a3d; }
.v3s-dlgbody { padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.v3s-fs { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 1001; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.v3s-fsbox { display: flex; flex-direction: column; gap: 10px; max-width: 92vw; }
.v3s-fsbox video { max-width: 92vw; max-height: 78vh; border-radius: 10px; background: #000; }
.v3s-fsbar { display: flex; gap: 10px; justify-content: center; }
.v3s-panel::-webkit-scrollbar, .v3s-tl::-webkit-scrollbar { width: 8px; height: 8px; }
.v3s-panel::-webkit-scrollbar-thumb, .v3s-tl::-webkit-scrollbar-thumb { background: #2a3350; border-radius: 4px; }

/* v17: 角色绑定输入框 */
.v3s-role-bind { width: 86px; padding: 3px 8px; border: 1px solid #2a3350; border-radius: 6px; background: #141a2e; color: #dbe4ff; font-size: 12px; }
.v3s-role-bind:focus { outline: none; border-color: #5b7cfa; }

/* v10: 台词/列表多时左侧面板内部滚动，不再撑高整页（nav 实测 64px sticky） */
.v3s-app { height: calc(100vh - 64px); min-height: 420px; }
.v3s-main { min-height: 0; }
.v3s-left { min-height: 0; }
.v3s-panel { min-height: 0; flex: 1; overflow-y: auto; }
.v3s-lines { flex: 0 0 auto; }
.v3s-top, .v3s-tabs { flex-shrink: 0; }

/* v10: 全屏工作台页隐藏页脚（含 3dvideo），台词面板内部滚动 */
body.no-footer .site-footer { display: none; }
/* v11: 工作台贴紧导航（nav 有 24px margin-bottom），页面完全免滚 */
body.no-footer #navbar { margin-bottom: 0; }

/* v13: 台词角色下拉（替代原文本输入，保证台词角色名 ≡ 场景角色名） */
select.v3s-role { -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='6'><path d='M0 0l4 6 4-6z' fill='%238ba3ff'/></svg>"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 22px; }

/* v14: 时间轴多轨分层 + 轨道锁定/隐藏/静音 */
.v3s-trlabel { justify-content: space-between; gap: 6px; }
.v3s-trictl { display: flex; gap: 2px; margin-right: 6px; flex: none; }
.v3s-tc { font-style: normal; cursor: pointer; font-size: 12px; padding: 1px 2px; border-radius: 3px; opacity: .5; transition: opacity .15s; user-select: none; }
.v3s-tc:hover { opacity: 1; }
.v3s-tc.on { opacity: 1; }
.v3s-subblk { position: absolute; top: 6px; height: 22px; background: linear-gradient(135deg, #3a2f6b, #543c9e); border: 1px solid #6a52c4; border-radius: 6px; font-size: 10.5px; display: flex; align-items: center; padding: 0 8px; color: #e6dcff; white-space: nowrap; overflow: hidden; }
.v3s-musicblk { position: absolute; top: 6px; height: 22px; background: linear-gradient(135deg, #1f4d3a, #2f6b52); border: 1px solid #3f8a6a; border-radius: 6px; font-size: 10.5px; display: flex; align-items: center; padding: 0 8px; color: #b8ecd2; white-space: nowrap; overflow: hidden; }
.v3s-lnblock.muted, .v3s-musicblk.muted { opacity: .4; filter: grayscale(.6); }

/* v15: 镜头转场遮罩 */
.v3s-trans { position: absolute; inset: 0; pointer-events: none; z-index: 30; }

/* v16: 时间轴标记 */
.v3s-mark { position: absolute; top: 0; font-size: 12px; cursor: pointer; z-index: 5; transform: translateX(-50%); }

/* v17: 场景特效轨块 */
.v3s-fxblk { position: absolute; top: 5px; font-size: 14px; cursor: pointer; transform: translateX(-50%); }

/* v18: 台词批量选择框 */
.v3s-selbox { width: 14px; height: 14px; cursor: pointer; flex: none; margin-right: 4px; accent-color: #6d8bff; }
