/* 视频拆解：黑色为主色，紫色只承担每个模块的一处信息重点。 */
#videoView {
  --video-primary: #8470FF;
  --video-primary-border: #ebe8ff;
  --video-primary-soft: #f8f7ff;
}

/* 输入页保持黑色主视觉。 */
#videoView .launch-entry .launch-hero-accent,
#videoView .launch-entry .launch-spark {
  color: var(--text);
}

#videoView .launch-entry .launch-submit .launch-spark {
  color: #fff;
}

#videoView .launch-entry .launch-inline-field input:focus,
#videoView .launch-entry .launch-inline-field select:focus,
#videoView .launch-entry .launch-url-field textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgb(0 0 0 / 8%);
}

#videoView .launch-entry .launch-check-inline input {
  accent-color: var(--text);
}

#videoView .primary-button {
  color: #fff;
  background: var(--text);
  border-color: var(--text);
}

#videoView .primary-button:hover {
  background: #202124;
  border-color: #202124;
}

#videoView .ghost-button:hover {
  color: var(--text);
  border-color: var(--text);
}

/* 顶部报告导航：正文仍为黑灰，仅激活线使用紫色。 */
#videoView.has-report .video-report-tabs button {
  color: var(--text-2);
}

#videoView.has-report .video-report-tabs button:hover {
  color: var(--text);
}

#videoView.has-report .video-report-tabs button.active {
  color: var(--text);
  border-bottom-color: var(--video-primary);
}

/* 视频总览：只有 AI 核心判断卡片使用浅紫。 */
#videoView.has-report .video-cover {
  color: var(--text-2);
  background: #fff;
  border-color: var(--line-soft);
}

#videoView.has-report .video-overview-findings span {
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line-soft);
}

#videoView.has-report .video-ai-summary {
  background: var(--video-primary-soft);
  border-color: var(--video-primary-border);
}

#videoView.has-report .video-ai-summary strong,
#videoView.has-report .video-card-kicker {
  color: var(--text);
}

/* 指标：真实与计算数据保持中性，仅 AI 判断卡片提亮。 */
#videoView.has-report .video-metric-card {
  background: #fff;
  border-color: var(--line-soft);
}

#videoView.has-report .video-metric-card.ai {
  background: var(--video-primary-soft);
  border-color: var(--video-primary-border);
}

#videoView.has-report .video-metric-card > em {
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--line-soft);
}

#videoView.has-report .video-metric-card.ai > em {
  color: var(--video-primary);
  background: var(--video-primary-border);
}

#videoView.has-report .video-metric-card.fact > em {
  color: var(--green);
  background: var(--green-soft);
}

/* 时间轴：节点和证据进度使用紫色，卡片及展开操作保持中性。 */
#videoView.has-report .video-visual-progress,
#videoView.has-report .video-time-marker span {
  color: var(--video-primary) !important;
}

#videoView.has-report .video-time-marker span {
  background: #fff;
  border-color: var(--video-primary-border);
}

#videoView.has-report .video-visual-toggle,
#videoView.has-report .video-segment-toggle {
  color: var(--text);
}

#videoView.has-report .video-visual-time {
  color: var(--video-primary);
  background: var(--video-primary-soft);
}

#videoView.has-report .video-visual-subject,
#videoView.has-report .video-visual-action,
#videoView.has-report .video-visual-scene,
#videoView.has-report .video-visual-caption {
  color: var(--text);
}

#videoView.has-report .video-second-evidence figure.is-boundary {
  border-color: var(--video-primary-border);
  box-shadow: inset 0 0 0 1px var(--video-primary-border);
}

/* 钩子与结构：钩子诊断是该模块唯一的浅紫重点。 */
#videoView.has-report .video-analysis-card,
#videoView.has-report .video-execution-card {
  background: #fff;
  border-color: var(--line);
}

#videoView.has-report #videoHook .video-deep-grid > .video-analysis-card:first-child {
  background: var(--video-primary-soft);
  border-color: var(--video-primary-border);
}

/* 评论洞察：词云使用纯浅紫底，词语保留多色。 */
#videoView.has-report .video-comment-list {
  scrollbar-color: var(--line) transparent;
}

#videoView.has-report .video-comment-list > div.is-word-hit {
  background: var(--video-primary-soft);
}

#videoView.has-report .video-comment-cloud-card {
  background: var(--video-primary-soft);
  border-color: var(--video-primary-border);
}

#videoView.has-report .video-comment-cloud-card .comment-cloud-word.tone-1 { color: #8470FF; }
#videoView.has-report .video-comment-cloud-card .comment-cloud-word.tone-2 { color: #3f75c9; }
#videoView.has-report .video-comment-cloud-card .comment-cloud-word.tone-3 { color: #16a085; }
#videoView.has-report .video-comment-cloud-card .comment-cloud-word.tone-4 { color: #c45e92; }
#videoView.has-report .video-comment-cloud-card .comment-cloud-word.tone-5 { color: #e58a17; }

#videoView.has-report .video-comment-cloud-card .comment-cloud-word.is-active {
  outline-color: var(--video-primary);
}

#videoView.has-report .video-relation-flow i {
  color: var(--text);
}

/* 传播机制：卡片中只突出改进建议区域。 */
#videoView.has-report .video-spread-card > span {
  color: var(--text);
}

#videoView.has-report .video-boundary-grid article {
  background: #fff;
  border: 1px solid var(--line-soft);
}

#videoView.has-report .video-boundary-grid article:nth-child(2) {
  background: var(--video-primary-soft);
  border-color: var(--video-primary-border);
}

#videoView.has-report .video-boundary-grid article:nth-child(3) {
  background: #fff;
  border-color: #ffe0a3;
}

#videoView.has-report .video-remake-boundary article {
  background: #fff;
  border-color: var(--line-soft);
}

#videoView.has-report .video-remake-boundary article:first-child {
  background: var(--video-primary-soft);
  border-color: var(--video-primary-border);
}

#videoView.has-report .video-remake-boundary article:last-child {
  background: #fff;
  border-color: #ffe0a3;
}

#videoView.has-report .video-spread-card em {
  color: var(--text);
  background: var(--video-primary-soft);
  border: 1px solid var(--video-primary-border);
}

#videoView.has-report .video-remake-boundary article:first-child span,
#videoView.has-report .video-storyboard-table > article > strong {
  color: var(--text);
}

/* 执行交付：外层保持白色，首个模块中的具体方案逐项使用浅紫。 */
#videoView.has-report .video-execution-grid > .video-execution-card:first-child {
  background: #fff;
  border-color: var(--line);
}

#videoView.has-report .video-execution-grid > .video-execution-card:first-child .video-exec-item,
#videoView.has-report .video-execution-grid > .video-execution-card:first-child .video-title-list > div {
  background: var(--video-primary-soft);
  border: 1px solid var(--video-primary-border);
}

/* 加载状态仅用一条紫色进度提示，主要按钮仍为黑色。 */
#videoView .video-loading-head > strong {
  color: var(--text);
}

#videoView .video-progress-track i {
  background: var(--video-primary);
}

/* 钩子与结构：从长字段表改成因果路径 + 可交互脑图。 */
#videoView.has-report .video-hook-section-title {
  align-items: flex-end;
}

#videoView.has-report .video-section-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

#videoView.has-report .video-hook-mechanism-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(680px, 1.35fr);
  gap: 14px;
  align-items: stretch;
}

#videoView.has-report .video-hook-diagnosis-card,
#videoView.has-report .video-structure-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

#videoView.has-report .video-hook-diagnosis-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--video-primary-soft);
  border-color: var(--video-primary-border);
}

#videoView.has-report .video-hook-diagnosis-card.is-empty,
#videoView.has-report .video-structure-card.is-empty {
  color: var(--text-3);
}

#videoView.has-report .video-hook-diagnosis-head,
#videoView.has-report .video-hook-diagnosis-head > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

#videoView.has-report .video-hook-diagnosis-head {
  justify-content: space-between;
}

#videoView.has-report .video-hook-diagnosis-head em,
#videoView.has-report .video-hook-diagnosis-head small {
  padding: 4px 8px;
  color: var(--text-2);
  font-size: 12px;
  font-style: normal;
  background: #fff;
  border: 1px solid var(--video-primary-border);
  border-radius: 6px;
}

#videoView.has-report .video-hook-diagnosis-head em,
#videoView.has-report .video-hook-diagnosis-head small b {
  color: var(--video-primary);
}

#videoView.has-report .video-hook-diagnosis-card > h3 {
  margin: 14px 0 5px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.35;
}

#videoView.has-report .video-hook-summary {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.65;
}

#videoView.has-report .video-hook-path {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--video-primary-border);
}

#videoView.has-report .video-hook-path h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
}

#videoView.has-report .video-hook-path ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#videoView.has-report .video-hook-path li {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  align-items: stretch;
}

#videoView.has-report .video-hook-path li:not(:last-child)::after {
  position: absolute;
  top: 27px;
  bottom: -9px;
  left: 12px;
  width: 1px;
  content: "";
  background: #c9cdd4;
}

#videoView.has-report .video-hook-path li.is-active:not(:last-child)::after {
  background: var(--video-primary);
}

#videoView.has-report .video-hook-path li > i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  background: #86909c;
  border-radius: 50%;
}

#videoView.has-report .video-hook-path li.is-active > i {
  background: var(--video-primary);
}

#videoView.has-report .video-hook-path li > div {
  min-width: 0;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

#videoView.has-report .video-hook-path li.is-active > div {
  border-color: var(--video-primary);
}

#videoView.has-report .video-hook-path li strong,
#videoView.has-report .video-hook-path li span {
  display: block;
}

#videoView.has-report .video-hook-path li strong {
  color: var(--text);
  font-size: 13px;
}

#videoView.has-report .video-hook-path li span {
  margin-top: 3px;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.55;
}

#videoView.has-report .video-hook-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

#videoView.has-report .video-hook-context-grid:has(+ .video-hook-evidence-toggle) {
  margin-bottom: 12px;
}

#videoView.has-report .video-hook-context-grid article {
  padding: 11px;
  background: #fff;
  border: 1px solid var(--video-primary-border);
  border-radius: 6px;
}

#videoView.has-report .video-hook-context-grid span,
#videoView.has-report .video-hook-risk strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

#videoView.has-report .video-hook-context-grid p {
  margin: 5px 0 0;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.55;
}

#videoView.has-report .video-hook-risk {
  display: grid;
  gap: 4px;
  margin-top: 9px;
  margin-bottom: 12px;
  padding: 10px 11px;
  background: #fff8e8;
  border: 1px solid #ffe0a3;
  border-radius: 6px;
}

#videoView.has-report .video-hook-risk strong {
  color: #b26a00;
}

#videoView.has-report .video-hook-risk span {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.55;
}

#videoView.has-report .video-hook-evidence-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin-top: auto;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  background: #fff;
  border: 1px solid var(--video-primary-border);
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
}

#videoView.has-report .video-hook-evidence-toggle:hover {
  color: var(--video-primary);
  border-color: var(--video-primary);
}

#videoView.has-report .video-hook-evidence-toggle i {
  color: var(--video-primary);
  font-style: normal;
  font-weight: 400;
}

#videoView.has-report .video-hook-evidence {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--video-primary-border);
  border-radius: 6px;
}

#videoView.has-report .video-hook-evidence summary {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

#videoView.has-report .video-hook-evidence summary::-webkit-details-marker {
  display: none;
}

#videoView.has-report .video-hook-evidence summary i {
  color: var(--video-primary);
  font-style: normal;
}

#videoView.has-report .video-hook-evidence[open] summary {
  border-bottom: 1px solid var(--video-primary-border);
}

#videoView.has-report .video-hook-evidence > div {
  display: grid;
  gap: 9px;
  padding: 12px;
}

#videoView.has-report .video-structure-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  background: #fff;
}

#videoView.has-report .video-structure-judgement {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: var(--video-primary-soft);
  border: 1px solid var(--video-primary-border);
  border-radius: 6px;
}

#videoView.has-report .video-structure-judgement > span {
  color: var(--video-primary);
  font-size: 17px;
}

#videoView.has-report .video-structure-judgement strong {
  padding-right: 12px;
  color: var(--text);
  font-size: 13px;
  border-right: 1px solid var(--video-primary-border);
}

#videoView.has-report .video-structure-judgement p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}

#videoView.has-report .video-structure-judgement small {
  color: var(--text-3);
  font-size: 11px;
}

#videoView.has-report .video-structure-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  margin-top: 10px;
}

#videoView.has-report .video-structure-map-stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 12px 12px 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
}

#videoView.has-report .video-structure-tree {
  display: grid;
  flex: 1;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  min-height: 0;
}

#videoView.has-report .video-structure-root {
  position: relative;
  align-self: center;
  padding: 15px 13px 15px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

#videoView.has-report .video-structure-root::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 31px;
  height: 1px;
  content: "";
  background: #c9cdd4;
}

#videoView.has-report .video-structure-root > i {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 9px;
  width: 3px;
  background: var(--video-primary);
  border-radius: 3px;
}

#videoView.has-report .video-structure-root strong,
#videoView.has-report .video-structure-root span {
  display: block;
  padding-left: 4px;
}

#videoView.has-report .video-structure-root strong {
  color: var(--text);
  font-size: 14px;
}

#videoView.has-report .video-structure-root span {
  margin-top: 7px;
  color: var(--text-2);
  font-size: 11px;
  line-height: 1.55;
}

#videoView.has-report .video-structure-branches {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;
  min-height: 0;
  padding: 8px 0;
  gap: 0;
}

#videoView.has-report .video-structure-branches::before {
  position: absolute;
  top: var(--trunk-top, 12.5%);
  bottom: var(--trunk-bottom, 12.5%);
  left: -16px;
  width: 1px;
  content: "";
  background: #c9cdd4;
}

#videoView.has-report .video-structure-branch {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

#videoView.has-report .video-structure-branch::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 0px);
  width: 16px;
  height: 1px;
  content: "";
  background: #c9cdd4;
}

#videoView.has-report .video-structure-branch > strong {
  padding: 12px 8px;
  color: var(--text);
  font-size: 13px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

#videoView.has-report .video-structure-branch > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#videoView.has-report .video-structure-node {
  position: relative;
  min-height: 34px;
  padding: 7px 20px 7px 9px;
  color: var(--text-2);
  font: inherit;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

#videoView.has-report .video-structure-node:hover {
  color: var(--text);
  border-color: var(--video-primary-border);
}

#videoView.has-report .video-structure-node.is-active {
  color: var(--video-primary);
  font-weight: 700;
  background: var(--video-primary-soft);
  border-color: var(--video-primary);
}

#videoView.has-report .video-structure-node.is-active > i {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 7px;
  height: 7px;
  background: var(--video-primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

#videoView.has-report .video-structure-node.is-risk {
  color: #b26a00;
  background: #fff8e8;
  border-color: #ffe0a3;
}

#videoView.has-report .video-structure-details {
  min-width: 0;
  margin-top: auto;
  flex-shrink: 0;
}

#videoView.has-report .video-structure-detail-panel {
  padding: 12px 14px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

#videoView.has-report .video-structure-detail-panel[hidden] {
  display: none;
}

#videoView.has-report .video-structure-detail-head {
  display: flex;
  gap: 11px;
  align-items: baseline;
  margin-bottom: 8px;
}

#videoView.has-report .video-structure-detail-head > span {
  color: var(--video-primary);
  font-size: 12px;
  font-weight: 700;
}

#videoView.has-report .video-structure-detail-head > h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

#videoView.has-report .video-structure-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 14px;
  align-items: stretch;
}

#videoView.has-report .video-structure-detail-layout.is-single {
  grid-template-columns: minmax(0, 1fr);
}

#videoView.has-report .video-structure-detail-primary {
  min-width: 0;
}

#videoView.has-report .video-structure-detail-copy {
  min-height: 96px;
  margin: 0;
  padding: 13px 14px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.7;
  background: #fbfcfe;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}

#videoView.has-report .video-structure-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
  align-items: stretch;
  min-height: 88px;
  padding: 0;
}

#videoView.has-report .video-structure-flow button {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 5px;
  justify-items: center;
  align-content: center;
  padding: 10px 6px 14px;
  color: var(--text-2);
  font: inherit;
  font-size: 11px;
  text-align: center;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

#videoView.has-report .video-structure-flow button:not(:last-child)::after {
  display: none;
}

#videoView.has-report .video-structure-flow i {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  background: #c9cdd4;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c9cdd4;
}

#videoView.has-report .video-structure-flow button.is-active i {
  background: var(--video-primary);
  box-shadow: 0 0 0 1px var(--video-primary);
}

#videoView.has-report .video-structure-flow button.is-active {
  background: var(--video-primary-soft);
  border-color: var(--video-primary);
  box-shadow: inset 0 0 0 1px var(--video-primary-border);
}

#videoView.has-report .video-structure-flow b {
  max-width: 100%;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#videoView.has-report .video-structure-flow button.is-active b {
  color: var(--video-primary);
  font-weight: 700;
}

#videoView.has-report .video-structure-flow small {
  display: block;
  max-width: 100%;
  color: var(--text-3);
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#videoView.has-report .video-structure-flow-focus {
  display: grid;
  gap: 4px;
  min-height: 54px;
  margin: 4px 0 0;
  padding: 10px 11px;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.55;
  background: #fbfcfe;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}

#videoView.has-report .video-structure-flow-focus strong {
  color: var(--text);
}

#videoView.has-report .video-structure-flow-focus span {
  overflow-wrap: anywhere;
}

#videoView.has-report .video-structure-evidence {
  min-width: 0;
  padding: 3px 0 3px 20px;
  border-left: 1px solid var(--line);
}

#videoView.has-report .video-structure-evidence strong {
  color: var(--text);
  font-size: 12px;
}

#videoView.has-report .video-structure-evidence p {
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#videoView.has-report .video-structure-detail-panel > aside {
  margin-top: 8px;
  padding: 6px 8px;
  color: var(--text-2);
  font-size: 10px;
  line-height: 1.45;
  background: var(--video-primary-soft);
  border: 1px solid var(--video-primary-border);
  border-radius: 6px;
}

#videoView.has-report .video-structure-detail-panel.is-risk .video-structure-detail-head > span {
  color: #b26a00;
}

#videoView.has-report .video-structure-legend {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
  padding: 6px 2px 2px;
  color: var(--text-3);
  font-size: 11px;
}

#videoView.has-report .video-structure-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

#videoView.has-report .video-structure-legend i {
  width: 7px;
  height: 7px;
  background: #c9cdd4;
  border-radius: 50%;
}

#videoView.has-report .video-structure-legend i.is-current {
  background: var(--video-primary);
}

#videoView.has-report .video-structure-legend i.is-risk {
  background: #e58a17;
}

@media (max-width: 1480px) {
  #videoView.has-report .video-hook-mechanism-layout {
    grid-template-columns: minmax(330px, 0.7fr) minmax(600px, 1.3fr);
  }

  #videoView.has-report .video-structure-detail-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr);
  }
}

@media (max-width: 1120px) {
  #videoView.has-report .video-hook-mechanism-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #videoView.has-report .video-hook-context-grid,
  #videoView.has-report .video-structure-branch > div {
    grid-template-columns: 1fr;
  }

  #videoView.has-report .video-structure-detail-layout {
    grid-template-columns: 1fr;
  }

  #videoView.has-report .video-structure-evidence {
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  #videoView.has-report .video-structure-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #videoView.has-report .video-structure-judgement {
    grid-template-columns: auto 1fr;
  }

  #videoView.has-report .video-structure-judgement p,
  #videoView.has-report .video-structure-judgement small {
    grid-column: 1 / -1;
  }

  #videoView.has-report .video-structure-tree {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #videoView.has-report .video-structure-root::after,
  #videoView.has-report .video-structure-branches::before,
  #videoView.has-report .video-structure-branch::before {
    display: none;
  }
}
