/* ── Analyze Page Layout ───────────────────────────────── */
.page-state {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* ── Upload State ────────────────────────────────────── */
.upload-container {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.upload-header {
  margin-bottom: 48px;
}

.upload-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.upload-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 400;
}

/* ── Upload Drop Zone ─────────────────────────────────── */
.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 80px 40px;
  margin: 48px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
}

.upload-dropzone:hover {
  border-color: var(--accent);
  background: rgba(245, 200, 66, 0.03);
}

.upload-dropzone.drag-over {
  border-color: var(--accent);
  background: rgba(245, 200, 66, 0.06);
  transform: scale(1.02);
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dropzone-icon {
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.upload-dropzone:hover .dropzone-icon {
  color: var(--accent);
}

.dropzone-text {
  font-size: 18px;
  color: var(--text-dim);
  font-weight: 500;
}

.upload-dropzone:hover .dropzone-text {
  color: var(--text);
}

/* ── Upload Button ─────────────────────────────────────── */
.upload-button {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 160px;
}

.upload-button:hover:not(:disabled) {
  background: #e6b53d;
  transform: translateY(-1px);
}

.upload-button:disabled {
  background: var(--surface2);
  color: var(--text-dim);
  cursor: not-allowed;
  transform: none;
}

/* ── Signin State ──────────────────────────────────────── */
.signin-container {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.signin-icon {
  color: var(--text-dim);
  margin-bottom: 24px;
}

.signin-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.signin-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.signin-button {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.signin-button:hover {
  background: #e6b53d;
  transform: translateY(-1px);
}

/* ── Processing State ────────────────────────────────── */
.processing-container {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.processing-icon {
  color: var(--accent);
  margin-bottom: 24px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.processing-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 32px;
}

.processing-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ── Progress Bar ──────────────────────────────────────── */
.progress-container {
  width: 100%;
  margin: 24px 0;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--surface2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f0d55a);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* ── Shots State Override（覆盖 .page-state 的居中对齐）── */
#shots-state {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 80px);
  height: calc(100vh - 80px);
  padding: 0;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
}

/* ── Sidebar Top Bar ─────────────────────────────────── */
.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  gap: 8px;
  flex-shrink: 0;
}

.btn-back {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-back:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.shot-counter {
  font-size: 13px;
  color: var(--text-dim);
}

.btn-analyze-all {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-analyze-all:hover:not(:disabled) {
  background: #e6b53d;
}

.btn-analyze-all:disabled {
  background: var(--surface2);
  color: var(--text-dim);
  cursor: not-allowed;
}

/* ── Dashboard Header ────────────────────────────────── */
.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 16px;
  flex-shrink: 0;
}

.dashboard-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.dashboard-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.detail-shot-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.detail-timecode {
  font-size: 12px;
  color: var(--text-dim);
  font-family: monospace;
}

/* ── Shots Layout ────────────────────────────────────── */
.shots-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.shots-sidebar {
  width: 330px;            /* 1.5倍宽度：220px → 330px */
  flex-shrink: 0;
  background: var(--bg);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.shots-sidebar-list {
  padding: 10px;           /* 稍微增加内边距 */
  flex: 1;
  overflow-y: auto;
}

.shot-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
}

/* ── Sidebar Shot Cards（竖向布局）──────────────────── */
.sidebar-card {
  padding: 12px;           /* 增加内边距：8px → 12px */
  margin-bottom: 8px;      /* 增加间距：6px → 8px */
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.sidebar-card:hover {
  background: var(--surface);
  border-color: var(--border);
}

.sidebar-card.active {
  background: var(--surface);
  border-left: 2px solid var(--accent);
  border-color: var(--accent);
}

.sidebar-overview-card {
  padding: 12px;           /* 增加内边距：8px → 12px */
  margin-bottom: 12px;     /* 增加间距：10px → 12px */
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.sidebar-overview-card:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.sidebar-overview-card.active {
  background: var(--surface);
  border-left: 2px solid var(--accent);
  border-color: var(--accent);
}

/* ── 缩略图（全宽顶部）────────────────────────────────── */
.sidebar-thumb-wrap {
  position: relative;
  border-radius: 8px;        /* 稍微增加圆角：6px → 8px */
  overflow: hidden;
  margin-bottom: 10px;       /* 增加下边距：8px → 10px */
  background: var(--surface2);
  aspect-ratio: 16/9;
}

.sidebar-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  color: var(--text-dim);
  font-size: 16px;           /* 增加占位符字体：12px → 16px */
}

/* ── badge（缩略图右上角）────────────────────────────── */
.thumb-done-badge,
.thumb-loading-badge,
.thumb-error-badge {
  position: absolute;
  top: 6px;               /* 增加偏移：4px → 6px */
  right: 6px;             /* 增加偏移：4px → 6px */
  width: 24px;            /* 增加尺寸：20px → 24px */
  height: 24px;           /* 增加尺寸：20px → 24px */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;        /* 增加字体：11px → 12px */
  font-weight: 600;
}

.thumb-done-badge  { background: #22c55e; color: #fff; }
.thumb-loading-badge { background: var(--accent); color: #000; }
.thumb-error-badge { background: #ef4444; color: #fff; }

/* ── 卡片文字 ────────────────────────────────────────── */
.sidebar-label {
  font-size: 13px;          /* 增加：11px → 13px */
  color: var(--text-dim);
  margin-top: 6px;          /* 增加：5px → 6px */
  padding: 0 3px;           /* 增加：2px → 3px */
  line-height: 1.4;
}

.sidebar-card.active .sidebar-label { color: var(--text); }

.overview-card-label {
  font-size: 13px;          /* 增加：11px → 13px */
  font-weight: 600;
  color: var(--accent);
}

.overview-card-headline {
  font-size: 13px;          /* 增加：11px → 13px */
  color: var(--text-dim);
  margin-top: 4px;          /* 增加：3px → 4px */
  padding: 0 3px;           /* 增加：2px → 3px */
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sidebar-segment-title {
  font-size: 15px;          /* 增加：12px → 15px */
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;          /* 增加：6px → 8px */
  padding: 0 3px;           /* 增加：2px → 3px */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.sidebar-segment-time {
  font-size: 12px;          /* 增加：10px → 12px */
  color: var(--text-dim);
  margin-top: 4px;          /* 增加：3px → 4px */
  padding: 0 3px;           /* 增加：2px → 3px */
  font-variant-numeric: tabular-nums;
}

.sidebar-segment-emotion {
  font-size: 12px;          /* 增加：10px → 12px */
  color: var(--accent);
  margin-top: 5px;          /* 增加：4px → 5px */
  padding: 0 3px;           /* 增加：2px → 3px */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  opacity: 0.85;
}

/* ── Detail Panel ────────────────────────────────────── */
.detail-video-wrap {
  padding: 16px 24px 0;
  flex-shrink: 0;
}

/* inner 容器：宽度铺满右侧面板，高度由视频内容撑开 */
.detail-video-inner {
  display: block;
  width: 100%;
}

.detail-video {
  display: block;
  width: 100%;          /* 铺满右侧面板宽度，无黑边 */
  height: auto;         /* 高度跟随真实宽高比 */
  max-height: 52vh;     /* 超宽屏兜底，防止视频过高 */
  border-radius: var(--radius) var(--radius) 0 0;
  background: #000;
  object-fit: contain;  /* 画面不裁剪，保持原始比例 */
}

/* ── 自定义视频控件 ──────────────────────────────────────── */
.video-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 12px;
}

.vc-play {
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.vc-play:hover { color: var(--accent); }

.vc-progress-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.vc-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.vc-time {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.detail-body {
  flex: 1;
  padding: 0;
}

.detail-placeholder {
  text-align: center;
  color: var(--text-dim);
  font-style: italic;
  padding: 60px 20px;
}

/* ── 3-Column Analysis Cards ─────────────────────────── */
.detail-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 24px 24px;
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.card-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.card-content {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  flex: 1;
}

.btn-copy-small {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy-small:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-analyze-shot {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-analyze-shot:hover {
  background: #e6b53d;
}

.analyzing-tip {
  text-align: center;
  color: var(--text-dim);
  padding: 40px 20px;
  font-style: italic;
}

.error-tip {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
}

/* ── loading dots 动画 ───────────────────────────────────── */
.loading-dots::after {
  content: '';
  animation: dots 1.2s steps(4, end) infinite;
}
@keyframes dots {
  0%, 20%  { content: ''; }
  40%      { content: '.'; }
  60%      { content: '..'; }
  80%, 100%{ content: '...'; }
}


/* ── Segment Detail Content ──────────────────────────── */
.segment-emotion-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.segment-info-block {
  margin-bottom: 16px;
}

.segment-info-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.segment-info-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

.segment-hint {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 20px;
  opacity: 0.85;
}

/* ── Overview Content (in detail-body) ───────────────── */
.overview-content {
  padding: 24px;
}

.overview-headline {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 14px;
}

.overview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.overview-tag {
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.3);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.overview-strategies {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.overview-strategy {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
}

.strategy-action {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.5;
}

.strategy-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.strategy-purpose {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.strategy-without {
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.7;
  line-height: 1.4;
  font-style: italic;
}

.overview-arc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.arc-node {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.arc-time {
  font-size: 11px;
  color: var(--accent);
  font-family: monospace;
  flex-shrink: 0;
  min-width: 40px;
  padding-top: 1px;
}

.arc-emotion {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── Shot Detail — Analyzed ──────────────────────────── */
.detail-analysis {
  padding: 0 24px 24px;
}

.shot-emotion-headline {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.analysis-section {
  margin-bottom: 20px;
}

.analysis-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.analysis-empty {
  color: var(--text-dim);
  font-size: 13px;
  padding: 8px 0;
}

.decision-chain {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.decision-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.decision-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.decision-label {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 1px;
}

.decision-goal {
  background: rgba(99, 179, 237, 0.15);
  color: #63b3ed;
}

.decision-action {
  background: rgba(245, 200, 66, 0.15);
  color: var(--accent);
}

.decision-effect {
  background: rgba(154, 230, 180, 0.15);
  color: #68d391;
}

.decision-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

.prompt-full-text {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  word-break: break-word;
  margin-bottom: 12px;
  font-family: monospace;
}

.breakdown-header {
  display: grid;
  grid-template-columns: 1fr 2fr 40px;
  gap: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.prompt-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 1fr 2fr 40px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.15s;
}

.breakdown-row:hover {
  background: var(--surface);
}

.breakdown-term {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-family: monospace;
  word-break: break-all;
}

.breakdown-controls {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.breakdown-core {
  font-size: 14px;
  text-align: center;
  color: var(--text-dim);
}

.breakdown-core.is-core {
  color: var(--accent);
}

/* ── Shot Detail — Unanalyzed ────────────────────────── */
.detail-unanalyzed {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.shot-cut-purpose {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
}

.shot-context {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.context-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.context-label {
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 1px;
}

.detail-waiting {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-dim);
  font-style: italic;
}

/* ── Responsive Design ───────────────────────────────── */
@media (max-width: 1100px) {
  .detail-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .upload-title {
    font-size: 28px;
  }

  .upload-dropzone {
    padding: 60px 20px;
    margin: 32px 0;
  }

  .shots-layout {
    flex-direction: column;
    height: auto;
    overflow: auto;
  }

  .shots-sidebar {
    width: 100%;
    height: auto;
    max-height: 220px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    overflow-y: hidden;
  }

  .shots-sidebar-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    gap: 8px;
  }

  .sidebar-card {
    flex-shrink: 0;
    width: 120px;
    margin-bottom: 0;
  }

  .detail-video-wrap {
    padding: 16px;
  }

  .dashboard-header {
    padding: 16px;
  }

  .dashboard-title {
    font-size: 18px;
  }

  .detail-cards-grid {
    padding: 0 16px 16px;
    grid-template-columns: 1fr;
  }
}
/* ── 新布局：顶部操作栏 ──────────────────────────────────── */
.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 24px 0;
  flex-shrink: 0;
  min-height: 28px;
}

/* ── 视频下方 Meta 区（标题 + 时间码 + Tags）──────────────── */
.detail-meta {
  padding: 16px 24px 8px;
  flex-shrink: 0;
}

.detail-meta-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.detail-meta .detail-shot-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.detail-meta .detail-timecode {
  font-size: 12px;
  color: var(--text-dim);
  font-family: monospace;
  flex-shrink: 0;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(245, 200, 66, 0.1);
  border: 1px solid rgba(245, 200, 66, 0.25);
  color: var(--accent);
  font-weight: 500;
}

/* ── overview 状态下 detail-shot-label 用 dim 色 ─────────── */
.detail-meta.is-overview .detail-shot-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
