.evidence-video-dialog {
  width: min(96vw, 1400px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #111;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.evidence-video-dialog::backdrop {
  background: rgba(15, 20, 28, .82);
}

.evidence-video-dialog-shell {
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  background: #111;
}

.evidence-video-dialog-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #dfe4ea;
}

.evidence-video-dialog-header h2 {
  margin: 2px 0 0;
  font-size: 1rem;
}

.evidence-video-close {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  background: #fff;
  color: #28394e;
  font-weight: 800;
  cursor: pointer;
}

.evidence-video-close:hover {
  background: #f3f5f8;
}

.evidence-video-dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
  background: #000;
}

.evidence-video-dialog-body video {
  display: block;
  width: 100%;
  max-height: calc(94vh - 68px);
  background: #000;
}

@media (max-width: 700px) {
  .evidence-video-dialog {
    width: 98vw;
    max-height: 96vh;
  }

  .evidence-video-dialog-header {
    padding: 10px 12px;
  }

  .evidence-video-dialog-body video {
    max-height: calc(96vh - 64px);
  }
}
