/* R186: prioritize readable evidence metadata and make mobile replay choices discoverable. */
.scene-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.case-rail {
  display: grid;
  grid-auto-rows: auto;
  gap: 8px;
}

.case-rail .source {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  margin: 0;
}

.case-rail .source span {
  display: block;
  color: #536168;
  font: 12px/1.45 var(--sans);
}

.case-rail .source.active span {
  color: #674832;
}

.panel-title {
  color: #45545b;
  font: 650 13px/1.35 var(--sans);
}

.case-rail-hint {
  display: none;
}

.brand-copy small,
.strip-title em,
.video-head-meta,
.full-frame-link,
.risk-runner-head small,
.risk-step small,
.fact-strip span,
.scene-head p,
.scene-summary,
.scene-facts dt,
.scene-facts dd,
.scene-frame-badge,
.scene-crop-label,
.mobile-nav button,
footer {
  color: #4e5d64;
}

.brand-copy small,
.strip-title em,
.video-head-meta,
.full-frame-link,
.risk-runner-head small,
.risk-step small,
.fact-strip span,
.scene-head p,
.scene-summary,
.scene-facts dt,
.scene-facts dd,
.mobile-nav button,
footer {
  font-size: 12px;
}

.scene-head p {
  max-width: 32ch;
  line-height: 1.5;
}

.scene-mode {
  flex: none;
  font-size: 11px;
}

.scene-frame-badge,
.scene-crop-label {
  font-size: 11px;
  color: #fff;
}

.scene-facts dt {
  color: #536168;
}

.scene-facts dd {
  color: #1e2b31;
}

.scene-summary {
  color: #45545b;
  line-height: 1.55;
}

.scene-evidence-pair b {
  color: #1d3230;
  font-size: 12px;
}

.kv > div {
  font-size: 12px;
}

.kv dt {
  color: #536168;
}

.corner span {
  color: #e6eceb;
}

.video-head-meta {
  flex-wrap: wrap;
  line-height: 1.45;
}

.full-frame-link {
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .side {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    overflow: visible;
  }

  .side .panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 2px 8px;
    color: #35444b;
    font-size: 13px;
  }

  .case-rail-hint {
    display: inline;
    color: #536168;
    font-size: 12px;
    font-weight: 500;
  }

  .case-rail {
    width: 100%;
    max-width: 100%;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 300px);
    grid-auto-rows: auto;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 10px;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #aeb9b7 transparent;
    -webkit-overflow-scrolling: touch;
  }

  .case-rail:focus-visible {
    outline: 2px solid #93603f;
    outline-offset: 2px;
    border-radius: 13px;
  }

  .case-rail .source {
    min-height: 86px;
    padding: 12px 13px;
    scroll-snap-align: start;
  }

  .case-rail .source b {
    font-size: 14px;
    line-height: 1.35;
  }

  .case-rail .source span {
    font-size: 12px;
    line-height: 1.5;
  }

  .side > .source.live {
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 10px 13px;
  }

  .video-head-meta {
    justify-content: flex-start;
    gap: 8px 12px;
    font-size: 12px;
  }

  .video-status {
    font-size: 11px;
  }

  .corner span {
    color: #e6eceb;
    font-size: 11px;
  }

  .risk-runner-head small,
  .risk-step small {
    color: #536168;
    font-size: 12px;
    line-height: 1.45;
  }

  .fact-strip span {
    color: #536168;
    font-size: 12px;
  }

  .scene-facts dt {
    font-size: 12px;
  }

  .scene-facts dd {
    font-size: 12px;
  }

  .scene-summary {
    font-size: 12px;
  }

  .mobile-nav button {
    font-size: 12px;
  }
}
