#vortex-capture-core {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #333;
  background: #fff;
}

/* 浏览器支持检测 */
.vcc-compat-alert {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.vcc-compat-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vcc-compat-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.vcc-compat-text {
  flex: 1;
}

.vcc-compat-text strong {
  display: block;
  margin-bottom: 4px;
  color: #856404;
  font-size: 14px;
}

.vcc-compat-text p {
  margin: 0;
  font-size: 13px;
  color: #856404;
  opacity: 0.9;
  line-height: 1.4;
}

/* 状态栏 */
.vcc-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 20px;
}

.vcc-indicator-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vcc-status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4CAF50;
  display: inline-block;
  transition: background 0.3s ease;
}

.vcc-status-text {
  font-size: 14px;
  color: #666;
}

.vcc-timer {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 500;
  color: #2c3e50;
  padding: 4px 12px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e9ecef;
}

/* 控制中心 */
.vcc-control-hub {
  margin-bottom: 30px;
}

.vcc-source-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.vcc-option-card {
  flex: 1;
  min-width: 120px;
  cursor: pointer;
}

.vcc-option-card input[type="radio"] {
  display: none;
}

.vcc-option-card input[type="radio"]:checked + .vcc-option-content {
  border-color: #2196F3;
  background: #f5fbff;
}

.vcc-option-content {
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.vcc-option-card:hover .vcc-option-content {
  border-color: #2196F3;
  transform: translateY(-2px);
}

.vcc-option-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.vcc-option-label {
  font-size: 13px;
  font-weight: 500;
  color: #444;
}

/* 按钮 */
.vcc-action-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.vcc-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  min-width: 120px;
}

.vcc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.vcc-btn-primary {
  background: #2196F3;
  color: white;
}

.vcc-btn-primary:hover:not(:disabled) {
  background: #0b7dda;
  transform: translateY(-2px);
}

.vcc-btn-secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.vcc-btn-secondary:hover:not(:disabled) {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.vcc-btn-stop {
  background: #f44336;
  color: white;
}

.vcc-btn-stop:hover:not(:disabled) {
  background: #d32f2f;
  transform: translateY(-2px);
}

.vcc-btn-icon {
  font-size: 16px;
}

/* 设置面板 */
.vcc-settings-panel {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
  flex-wrap: wrap;
}

.vcc-setting-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}

.vcc-setting-item label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
}

.vcc-select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: border 0.2s ease;
}

.vcc-select:focus {
  border-color: #2196F3;
  outline: none;
}

/* 预览区 */
.vcc-preview-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin-bottom: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vcc-preview-placeholder {
  text-align: center;
  color: #999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.vcc-preview-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.vcc-preview-text {
  font-size: 14px;
}

/* 录制中提示 */
.vcc-recording-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.vcc-recording-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.vcc-recording-dot {
  width: 24px;
  height: 24px;
  background: #f44336;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 rgba(244, 67, 54, 0.7);
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 20px rgba(244, 67, 54, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
  }
}

.vcc-recording-text {
  color: white;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.vcc-preview-player {
  width: 100%;
  height: 100%;
  background: black;
  object-fit: contain;
  display: none;
  position: relative;
  z-index: 5;
}

/* 录制列表 */
.vcc-recordings-panel {
  border-top: 1px solid #eaeaea;
  padding-top: 20px;
}

.vcc-recordings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.vcc-recordings-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.vcc-clear-btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vcc-clear-btn:hover {
  background: #f5f5f5;
  color: #333;
}

.vcc-recordings-list {
  min-height: 60px;
  border: 1px dashed #ddd;
  border-radius: 6px;
  padding: 16px;
  background: #fcfcfc;
}

/* 空状态样式 */
.vcc-empty-list {
  text-align: center;
  color: #999;
  padding: 20px;
}

.vcc-empty-icon {
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.5;
}

.vcc-empty-text {
  font-size: 13px;
}

/* 录制项模板样式 */
.vcc-recording-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: background 0.2s ease;
}

.vcc-recording-item:hover {
  background: #f9f9f9;
}

.vcc-recording-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vcc-recording-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.vcc-recording-meta {
  font-size: 12px;
  color: #888;
  display: flex;
  gap: 12px;
}

.vcc-recording-actions {
  display: flex;
  gap: 8px;
}

.vcc-action-btn {
  padding: 6px 12px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vcc-action-btn:hover {
  border-color: #2196F3;
  color: #2196F3;
}

/* 响应式 */
@media (max-width: 768px) {
  .vcc-source-selector {
    flex-direction: column;
  }
  
  .vcc-action-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .vcc-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .vcc-settings-panel {
    flex-direction: column;
    align-items: center;
  }
  
  .vcc-setting-item {
    width: 100%;
    max-width: 200px;
  }
  
  .vcc-recording-indicator {
    gap: 12px;
  }
  
  .vcc-recording-dot {
    width: 20px;
    height: 20px;
  }
  
  .vcc-recording-text {
    font-size: 16px;
  }
}
.vcc-guide-section {
  width: 100%;
  margin-top: 30px;
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid #e0e0e0;
}

.vcc-guide-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eaeaea;
  font-weight: 600;
}

.vcc-guide-content h3 {
  font-size: 16px;
  color: #444;
  margin: 25px 0 15px 0;
  font-weight: 600;
}

.vcc-guide-content h4 {
  font-size: 14px;
  color: #555;
  margin: 0 0 8px 0;
  font-weight: 500;
}

.vcc-guide-content p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.vcc-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.vcc-feature-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.vcc-feature-list li:before {
  content: "•";
  color: #2196F3;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.vcc-feature-list strong {
  color: #444;
  font-weight: 500;
}

.vcc-step-box {
  margin: 0 0 20px 0;
}

.vcc-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 4px;
  border-left: 3px solid #2196F3;
}

.vcc-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #2196F3;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.vcc-step-desc {
  flex: 1;
}

.vcc-step-desc p {
  margin: 0;
  color: #777;
  font-size: 12.5px;
}

.vcc-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .vcc-scenario-grid {
    grid-template-columns: 1fr;
  }
}

.vcc-scenario-item {
  padding: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
}

.vcc-scenario-item h4 {
  color: #2c3e50;
  margin-bottom: 5px;
}

.vcc-faq-list {
  margin-bottom: 20px;
}

.vcc-faq-item {
  margin-bottom: 12px;
  padding: 12px;
  background: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 4px;
}

.vcc-faq-item h4 {
  color: #333;
  margin-bottom: 6px;
  font-weight: 500;
}

.vcc-faq-item p {
  margin: 0;
  color: #777;
  font-size: 12.5px;
}

.vcc-tips-content {
  background: #f8f9fa;
  padding: 12px 15px;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.vcc-tips-content p {
  margin: 6px 0;
  padding-left: 15px;
  position: relative;
  font-size: 12.5px;
  color: #666;
}

.vcc-tips-content p:before {
  content: "›";
  position: absolute;
  left: 0;
  color: #2196F3;
  font-weight: bold;
}

.vcc-summary {
  margin-top: 25px;
  padding: 15px;
  background: #f0f7ff;
  border-radius: 4px;
  border-left: 3px solid #2196F3;
}

.vcc-summary p {
  margin: 0;
  color: #444;
  font-size: 13px;
  line-height: 1.6;
}