.evidence-frame-card {
  margin: 14px 0 12px;
  padding: 14px;
  border: 1px solid #dce3e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(23, 38, 48, 0.055);
}

.evidence-frame-card .scene-head {
  align-items: center;
  margin-bottom: 11px;
}

.evidence-frame-card .scene-head h3 {
  color: #17242b;
  font-size: 14px;
  letter-spacing: -0.015em;
}

.evidence-frame-card .scene-head p {
  max-width: 27ch;
  margin-top: 3px;
  color: #59686f;
  font-size: 11px;
  line-height: 1.45;
}

.evidence-frame-card .scene-mode {
  padding: 5px 8px;
  border: 1px solid #e8d6c9;
  border-radius: 999px;
  background: #fff8f3;
  color: #9a451d;
  font-size: 10px;
  font-weight: 700;
}

.evidence-frame-card .scene-evidence-stage {
  height: 176px;
  overflow: hidden;
  border: 1px solid #28343a;
  border-radius: 10px;
  background: #11191e;
  perspective: none;
}

.evidence-frame-card .scene-evidence-stage::before,
.evidence-frame-card .scene-evidence-stage::after {
  display: none;
}

.scene-evidence-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-frame-overlay {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 9px;
  background: linear-gradient(180deg, rgba(9, 16, 20, 0.66), transparent);
  pointer-events: none;
}

.scene-crop-label,
.scene-frame-badge {
  max-width: 70%;
  padding: 4px 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 6px;
  background: rgba(13, 22, 27, 0.82);
  color: #f7f9f8;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.scene-frame-badge {
  color: #ffe0bd;
}

.scene-frame-fallback:not([hidden]) {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 5;
  margin: 0;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(13, 22, 27, 0.9);
  color: #f7f9f8;
  font-size: 11px;
  line-height: 1.4;
}

.scene-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
  margin: 10px 0 0;
}

.scene-facts > div {
  min-width: 0;
  padding: 7px 0 6px;
  border-bottom: 1px solid #edf0f2;
}

.scene-facts dt {
  margin: 0 0 2px;
  color: #68767d;
  font-size: 10px;
  line-height: 1.35;
}

.scene-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #1e2b31;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.evidence-frame-card .scene-summary {
  min-height: 0;
  margin: 9px 1px 0;
  color: #53636b;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .evidence-frame-card {
    margin: 12px 0;
    padding: 12px;
  }

  .evidence-frame-card .scene-evidence-stage {
    height: clamp(145px, 48vw, 176px);
  }
}
